|
From: <sv...@va...> - 2005-11-29 11:10:52
|
Author: tom Date: 2005-11-29 11:10:46 +0000 (Tue, 29 Nov 2005) New Revision: 5248 Log: Fix a few issues introduced by the previous change and my complete lack of Docbook knowledge... Modified: trunk/docs/xml/writing-tools.xml Modified: trunk/docs/xml/writing-tools.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/docs/xml/writing-tools.xml 2005-11-29 11:08:33 UTC (rev 5247) +++ trunk/docs/xml/writing-tools.xml 2005-11-29 11:10:46 UTC (rev 5248) @@ -605,7 +605,8 @@ achieve this by following these steps:</para> <orderedlist> <listitem> - <para>Set VALGRIND_LAUNCHER to <![CDATA[ <prefix>/bin/valgrind]]>: + <para>Set <computeroutput>VALGRIND_LAUNCHER</computeroutput> to=20 +<computeroutput><![CDATA[ <prefix>/bin/valgrind]]></computeroutput>: </para> <programlisting><![CDATA[ export VALGRIND_LAUNCHER=3D/usr/local/bin/valgrind]]> @@ -613,21 +614,21 @@ </listitem> =20 <listitem> - <para>Then run <screen>gdb <![CDATA[ <prefix>/lib/valgrind/<platform>/= <tool>"]]></screen>: + <para>Then run <computeroutput>gdb <![CDATA[ <prefix>/lib/valgrind/<pl= atform>/<tool>"]]></computeroutput>: </para> <programlisting><![CDATA[ gdb /usr/local/lib/valgrind/ppc32-linux/lackey]]></programlisting> </listitem> =20 <listitem> - <para>Do <screen>handle SIGSEGV SIGILL nostop noprint</screen> in + <para>Do <computeroutput>handle SIGSEGV SIGILL nostop noprint</compute= routput> in GDB to prevent GDB from stopping on a SIGSEGV or SIGILL:</para> <programlisting><![CDATA[ (gdb) handle SIGILL SIGSEGV nostop noprint]]></programlisting> </listitem> =20 <listitem> - <para>Set any breakpoints you want and proceed as normal for gdb:</par= a> + <para>Set any breakpoints you want and proceed as normal for GDB:</par= a> <programlisting><![CDATA[(gdb) b vgPlain_do_exec]]></programlisting> <para>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</pa= ra> |