[PATCH, Valgrind integration] Automatic addition of --tool=memcheck if needed
simartin at users.sourceforge.net
Fri Jul 9 11:58:08 UTC 2004
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
Thanks in advance for your feedback.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 938 bytes
Desc: not available
More information about the KDevelop-devel