From: Josef Weidendorfer Date: Mon, 6 Aug 2012 12:27:51 +0000 (+0000) Subject: README_DEVELOPERS: Debugging a tool needs "--tool=..." X-Git-Tag: svn/VALGRIND_3_8_0~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df260d83445973e786f37514fcd272973c426ad0;p=thirdparty%2Fvalgrind.git README_DEVELOPERS: Debugging a tool needs "--tool=..." Otherwise the function redirections / client requests seem to get confused. Symptoms are error messages such as --3031-- VG_USERREQ__CLIENT_CALL1: func=0x0 git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12852 --- diff --git a/README_DEVELOPERS b/README_DEVELOPERS index de8082ba05..2201fd63c8 100644 --- a/README_DEVELOPERS +++ b/README_DEVELOPERS @@ -111,9 +111,10 @@ without too much problem by following these steps: (gdb) b vgPlain_do_exec -(5) Run the tool with required options: +(5) Run the tool with required options (the --tool option is required + for correct setup), e.g. - (gdb) run pwd + (gdb) run --tool=lackey pwd Steps (1)--(3) can be put in a .gdbinit file, but any directory names must be fully expanded (ie. not an environment variable).