]> git.ipfire.org Git - thirdparty/valgrind.git/commit
callgrind_control: fix parsing of vgdb -l
authorJosef Weidendorfer <Josef.Weidendorfer@gmx.de>
Thu, 21 Jul 2011 18:58:37 +0000 (18:58 +0000)
committerJosef Weidendorfer <Josef.Weidendorfer@gmx.de>
Thu, 21 Jul 2011 18:58:37 +0000 (18:58 +0000)
commitbd379979b89d1079eb2c408c7880b7b21fb8d1dc
tree736fca45893d321798c2959a61dc75c615575e73
parentca6a8e8db93c12a99ab2de9efe9e805a6c7303bf
callgrind_control: fix parsing of vgdb -l

If valgrind is called with absolute path (as qtcreator does),
callgrind_control found nothing, as it looked for
"... for valgrind ...", thus breaking qtcreator.

This also fixes expected behavior with client commands called with
absolute path. For "/usr/bin/valgrind --tool callgrind /usr/bin/foo",
running "callgrind_control foo" should catch this callgrind command.
Instead, you previously had to include the absolute path.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11905
callgrind/callgrind_control.in