[PATCH, Valgrind integration] Automatic addition of --tool=memcheck if needed
Simon MARTIN
simartin at users.sourceforge.net
Fri Jul 9 11:58:08 UTC 2004
Hello.
I noticed that with the current CVS version, one has to explicitely pass
--tool=memcheck to make the "Debug"->"Valgrind memory leak check" work:
otherwise, nothing happens.
I guess that when the user wants Valgrind to perform a memory leak check, he
wants the correct tool to be automatically chosen. That's why I propose the
following patch, which automatically adds "--tool=memcheck" (only if it
wasn't explicitely done by the user) to the arguments passed to Valgrind in
the case of a leak check. Tell me if it's OK, useful... If so, I can commit
it.
Thanks in advance for your feedback.
Regards,
Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdevelop-valgrindtoolmemcheck.diff
Type: text/x-diff
Size: 938 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20040709/d86b6279/attachment.bin>
More information about the KDevelop-devel
mailing list