From: Tom Hughes Date: Tue, 29 Nov 2005 11:10:46 +0000 (+0000) Subject: Fix a few issues introduced by the previous change and my complete X-Git-Tag: svn/VALGRIND_3_2_0~567 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d3eaf1f0ba69eb158a057decb1393f548ed2fbea;p=thirdparty%2Fvalgrind.git Fix a few issues introduced by the previous change and my complete lack of Docbook knowledge... git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5248 --- diff --git a/docs/xml/writing-tools.xml b/docs/xml/writing-tools.xml index caa33e73ec..1c5e26023b 100644 --- a/docs/xml/writing-tools.xml +++ b/docs/xml/writing-tools.xml @@ -605,7 +605,8 @@ by your tool, the usual GDB command: achieve this by following these steps: - Set VALGRIND_LAUNCHER to /bin/valgrind]]>: + Set VALGRIND_LAUNCHER to +/bin/valgrind]]>: @@ -613,21 +614,21 @@ achieve this by following these steps: - Then run gdb /lib/valgrind//"]]>: + Then run gdb /lib/valgrind//"]]>: - Do handle SIGSEGV SIGILL nostop noprint in + Do handle SIGSEGV SIGILL nostop noprint in GDB to prevent GDB from stopping on a SIGSEGV or SIGILL: - Set any breakpoints you want and proceed as normal for gdb: + Set any breakpoints you want and proceed as normal for GDB: The macro VG_(FUNC) is expanded to vgPlain_FUNC, so If you want to set a breakpoint VG_(do_exec), you could do like this in GDB