Mark Wielaard 1e328c
commit 2be51225ab0155c384bc0366c34bcdb6e69def15
Mark Wielaard 1e328c
Author: mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9>
Mark Wielaard 1e328c
Date:   Fri Apr 5 13:19:12 2013 +0000
Mark Wielaard 1e328c
Mark Wielaard 1e328c
    Fix double 'the the' in documentation.
Mark Wielaard 1e328c
    
Mark Wielaard 1e328c
    git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13363 a5019735-40e9-0310-863c-91ae7b9d1cf9
Mark Wielaard 1e328c
Mark Wielaard 1e328c
diff --git a/cachegrind/docs/cg-manual.xml b/cachegrind/docs/cg-manual.xml
Mark Wielaard 1e328c
index 13331d8..f45bda8 100644
Mark Wielaard 1e328c
--- a/cachegrind/docs/cg-manual.xml
Mark Wielaard 1e328c
+++ b/cachegrind/docs/cg-manual.xml
Mark Wielaard 1e328c
@@ -352,7 +352,7 @@ a column contains only a dot it means the function never performs
Mark Wielaard 1e328c
 that event (e.g. the third row shows that
Mark Wielaard 1e328c
 <computeroutput>strcmp()</computeroutput> contains no
Mark Wielaard 1e328c
 instructions that write to memory). The name
Mark Wielaard 1e328c
-<computeroutput>???</computeroutput> is used if the the file name
Mark Wielaard 1e328c
+<computeroutput>???</computeroutput> is used if the file name
Mark Wielaard 1e328c
 and/or function name could not be determined from debugging
Mark Wielaard 1e328c
 information. If most of the entries have the form
Mark Wielaard 1e328c
 <computeroutput>???:???</computeroutput> the program probably
Mark Wielaard 1e328c
@@ -1367,7 +1367,7 @@ shortcomings:</para>
Mark Wielaard 1e328c
 </itemizedlist>
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
 <para>Another thing worth noting is that results are very sensitive.
Mark Wielaard 1e328c
-Changing the size of the the executable being profiled, or the sizes
Mark Wielaard 1e328c
+Changing the size of the executable being profiled, or the sizes
Mark Wielaard 1e328c
 of any of the shared libraries it uses, or even the length of their
Mark Wielaard 1e328c
 file names, can perturb the results.  Variations will be small, but
Mark Wielaard 1e328c
 don't expect perfectly repeatable results if your program changes at
Mark Wielaard 1e328c
diff --git a/docs/xml/manual-core-adv.xml b/docs/xml/manual-core-adv.xml
Mark Wielaard 1e328c
index 73bdb5a..ff17351 100644
Mark Wielaard 1e328c
--- a/docs/xml/manual-core-adv.xml
Mark Wielaard 1e328c
+++ b/docs/xml/manual-core-adv.xml
Mark Wielaard 1e328c
@@ -1542,7 +1542,7 @@ that wildcards are allowed for both sonames and function names.
Mark Wielaard 1e328c
 The details are discussed below.</para>
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
 <para><computeroutput>VALGRIND_GET_ORIG_FN</computeroutput>: 
Mark Wielaard 1e328c
-once in the the wrapper, the first priority is
Mark Wielaard 1e328c
+once in the wrapper, the first priority is
Mark Wielaard 1e328c
 to get hold of the address of the original (and any other supporting
Mark Wielaard 1e328c
 information needed).  This is stored in a value of opaque 
Mark Wielaard 1e328c
 type <computeroutput>OrigFn</computeroutput>.
Mark Wielaard 1e328c
diff --git a/drd/docs/drd-manual.xml b/drd/docs/drd-manual.xml
Mark Wielaard 1e328c
index a94d612..7e20d99 100644
Mark Wielaard 1e328c
--- a/drd/docs/drd-manual.xml
Mark Wielaard 1e328c
+++ b/drd/docs/drd-manual.xml
Mark Wielaard 1e328c
@@ -497,7 +497,7 @@ behavior of the DRD tool itself:</para>
Mark Wielaard 1e328c
         Print stack usage at thread exit time. When a program creates a large
Mark Wielaard 1e328c
         number of threads it becomes important to limit the amount of virtual
Mark Wielaard 1e328c
         memory allocated for thread stacks. This option makes it possible to
Mark Wielaard 1e328c
-        observe how much stack memory has been used by each thread of the the
Mark Wielaard 1e328c
+        observe how much stack memory has been used by each thread of the
Mark Wielaard 1e328c
         client program. Note: the DRD tool itself allocates some temporary
Mark Wielaard 1e328c
         data on the client thread stack. The space necessary for this
Mark Wielaard 1e328c
         temporary data must be allocated by the client program when it
Mark Wielaard 1e328c
diff --git a/exp-sgcheck/docs/sg-manual.xml b/exp-sgcheck/docs/sg-manual.xml
Mark Wielaard 1e328c
index 8b717e8..a8ee313 100644
Mark Wielaard 1e328c
--- a/exp-sgcheck/docs/sg-manual.xml
Mark Wielaard 1e328c
+++ b/exp-sgcheck/docs/sg-manual.xml
Mark Wielaard 1e328c
@@ -217,7 +217,7 @@ of.</para>
Mark Wielaard 1e328c
   </listitem>
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
   <listitem>
Mark Wielaard 1e328c
-   <para>Coverage: SGCheck does not check whether the the areas read
Mark Wielaard 1e328c
+   <para>Coverage: SGCheck does not check whether the areas read
Mark Wielaard 1e328c
    or written by system calls do overrun stack or global arrays.  This
Mark Wielaard 1e328c
    would be easy to add.</para>
Mark Wielaard 1e328c
   </listitem>
Mark Wielaard 1e328c
diff --git a/memcheck/docs/mc-manual.xml b/memcheck/docs/mc-manual.xml
Mark Wielaard 1e328c
index 7a22401..c007759 100644
Mark Wielaard 1e328c
--- a/memcheck/docs/mc-manual.xml
Mark Wielaard 1e328c
+++ b/memcheck/docs/mc-manual.xml
Mark Wielaard 1e328c
@@ -821,7 +821,7 @@ is <option>--errors-for-leak-kinds=definite,possible</option>
Mark Wielaard 1e328c
       bytes are marked as initialised.</para>
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
       <para>Note that code that behaves in this way is in violation of
Mark Wielaard 1e328c
-      the the ISO C/C++ standards, and should be considered broken.  If
Mark Wielaard 1e328c
+      the ISO C/C++ standards, and should be considered broken.  If
Mark Wielaard 1e328c
       at all possible, such code should be fixed.  This option should be
Mark Wielaard 1e328c
       used only as a last resort.</para>
Mark Wielaard 1e328c
     </listitem>
Mark Wielaard 1e328c
diff --git a/memcheck/docs/mc-tech-docs.xml b/memcheck/docs/mc-tech-docs.xml
Mark Wielaard 1e328c
index 1de368e..94911d0 100644
Mark Wielaard 1e328c
--- a/memcheck/docs/mc-tech-docs.xml
Mark Wielaard 1e328c
+++ b/memcheck/docs/mc-tech-docs.xml
Mark Wielaard 1e328c
@@ -848,7 +848,7 @@ turn maintained by
Mark Wielaard 1e328c
 <title>Introduction to UCode</title>
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
 <para>UCode lies at the heart of the x86-to-x86 JITter.  The
Mark Wielaard 1e328c
-basic premise is that dealing the the x86 instruction set head-on
Mark Wielaard 1e328c
+basic premise is that dealing with the x86 instruction set head-on
Mark Wielaard 1e328c
 is just too darn complicated, so we do the traditional
Mark Wielaard 1e328c
 compiler-writer's trick and translate it into a simpler,
Mark Wielaard 1e328c
 easier-to-deal-with form.</para>
Mark Wielaard 1e328c
Mark Wielaard 1e328c
commit b0bd2e9aca5eab4f1c8e6e2cb15d2ee325200e63
Mark Wielaard 1e328c
Author: mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9>
Mark Wielaard 1e328c
Date:   Wed Jul 3 10:00:19 2013 +0000
Mark Wielaard 1e328c
Mark Wielaard 1e328c
    Bug 321738 Add manpages for vgdb and valgrind-listener.
Mark Wielaard 1e328c
    
Mark Wielaard 1e328c
    git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13443 a5019735-40e9-0310-863c-91ae7b9d1cf9
Mark Wielaard 1e328c
Mark Wielaard 1e328c
diff --git a/auxprogs/Makefile.am b/auxprogs/Makefile.am
Mark Wielaard 1e328c
index a9f4b03..7cb0308 100644
Mark Wielaard 1e328c
--- a/auxprogs/Makefile.am
Mark Wielaard 1e328c
+++ b/auxprogs/Makefile.am
Mark Wielaard 1e328c
@@ -11,6 +11,7 @@ dist_noinst_SCRIPTS = \
Mark Wielaard 1e328c
 	posixtestsuite-1.5.1-diff-results
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
 EXTRA_DIST = \
Mark Wielaard 1e328c
+	docs/valgrind-listener-manpage.xml \
Mark Wielaard 1e328c
 	DotToScc.hs \
Mark Wielaard 1e328c
 	Merge3Way.hs \
Mark Wielaard 1e328c
 	gsl16-badfree.patch \
Mark Wielaard 1e328c
diff --git a/auxprogs/docs/valgrind-listener-manpage.xml b/auxprogs/docs/valgrind-listener-manpage.xml
Mark Wielaard 1e328c
new file mode 100644
Mark Wielaard 1e328c
index 0000000..da761b1
Mark Wielaard 1e328c
--- /dev/null
Mark Wielaard 1e328c
+++ b/auxprogs/docs/valgrind-listener-manpage.xml
Mark Wielaard 1e328c
@@ -0,0 +1,74 @@
Mark Wielaard 1e328c
+ 
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+          "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
Mark Wielaard 1e328c
+[  %vg-entities; ]>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refentry id="listener">
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refmeta>
Mark Wielaard 1e328c
+  <refentrytitle>valgrind-listener</refentrytitle>
Mark Wielaard 1e328c
+  <manvolnum>1</manvolnum>
Mark Wielaard 1e328c
+  <refmiscinfo>Release &rel-version;</refmiscinfo>
Mark Wielaard 1e328c
+</refmeta>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refnamediv>
Mark Wielaard 1e328c
+  <refname>valgrind-listener</refname>
Mark Wielaard 1e328c
+  <refpurpose>listens on a socket for Valgrind commentary</refpurpose>
Mark Wielaard 1e328c
+</refnamediv>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refsynopsisdiv>
Mark Wielaard 1e328c
+<cmdsynopsis>
Mark Wielaard 1e328c
+  <command>valgrind-listener</command>
Mark Wielaard 1e328c
+  <arg><replaceable>options</replaceable></arg>
Mark Wielaard 1e328c
+</cmdsynopsis>
Mark Wielaard 1e328c
+</refsynopsisdiv>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refsect1 id="description">
Mark Wielaard 1e328c
+<title>Description</title>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<para><command>valgrind-listener</command> accepts (multiple) connections
Mark Wielaard 1e328c
+from <command>valgrind</command> processes that use the
Mark Wielaard 1e328c
+<option>--log-socket</option> option on the specified port and copies the
Mark Wielaard 1e328c
+commentary it is sent to stdout.
Mark Wielaard 1e328c
+</para>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+</refsect1>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refsect1 id="options">
Mark Wielaard 1e328c
+<title>Options</title>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+            xmlns:xi="http://www.w3.org/2001/XInclude" />
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+</refsect1>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refsect1 id="see_also">
Mark Wielaard 1e328c
+<title>See Also</title>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<para>
Mark Wielaard 1e328c
+valgrind(1),
Mark Wielaard 1e328c
+<filename>&vg-docs-path;</filename> or
Mark Wielaard 1e328c
+<filename>&vg-docs-url;</filename>.
Mark Wielaard 1e328c
+</para>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+</refsect1>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refsect1 id="author">
Mark Wielaard 1e328c
+<title>Author</title>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<para>Julian Seward.</para>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+</refsect1>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+</refentry>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
diff --git a/coregrind/Makefile.am b/coregrind/Makefile.am
Mark Wielaard 1e328c
index 6d0fe83..32b0286 100644
Mark Wielaard 1e328c
--- a/coregrind/Makefile.am
Mark Wielaard 1e328c
+++ b/coregrind/Makefile.am
Mark Wielaard 1e328c
@@ -24,7 +24,8 @@ endif
Mark Wielaard 1e328c
 EXTRA_DIST = \
Mark Wielaard 1e328c
 	m_debuginfo/UNUSED_STABS.txt \
Mark Wielaard 1e328c
 	m_debuginfo/README.txt \
Mark Wielaard 1e328c
-	m_gdbserver/README_DEVELOPERS
Mark Wielaard 1e328c
+	m_gdbserver/README_DEVELOPERS \
Mark Wielaard 1e328c
+	docs/vgdb-manpage.xml
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
 #----------------------------------------------------------------------------
Mark Wielaard 1e328c
 # The launcher.  Built for the primary target only.
Mark Wielaard 1e328c
diff --git a/coregrind/docs/vgdb-manpage.xml b/coregrind/docs/vgdb-manpage.xml
Mark Wielaard 1e328c
new file mode 100644
Mark Wielaard 1e328c
index 0000000..85a62aa
Mark Wielaard 1e328c
--- /dev/null
Mark Wielaard 1e328c
+++ b/coregrind/docs/vgdb-manpage.xml
Mark Wielaard 1e328c
@@ -0,0 +1,84 @@
Mark Wielaard 1e328c
+ 
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+          "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
Mark Wielaard 1e328c
+[  %vg-entities; ]>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refentry id="vgdb">
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refmeta>
Mark Wielaard 1e328c
+  <refentrytitle>vgdb</refentrytitle>
Mark Wielaard 1e328c
+  <manvolnum>1</manvolnum>
Mark Wielaard 1e328c
+  <refmiscinfo>Release &rel-version;</refmiscinfo>
Mark Wielaard 1e328c
+</refmeta>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refnamediv>
Mark Wielaard 1e328c
+  <refname>vgdb</refname>
Mark Wielaard 1e328c
+  <refpurpose>intermediary between Valgrind and GDB or a shell</refpurpose>
Mark Wielaard 1e328c
+</refnamediv>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refsynopsisdiv>
Mark Wielaard 1e328c
+<cmdsynopsis>
Mark Wielaard 1e328c
+  <command>vgdb</command>
Mark Wielaard 1e328c
+  <arg><replaceable>options</replaceable></arg>
Mark Wielaard 1e328c
+</cmdsynopsis>
Mark Wielaard 1e328c
+</refsynopsisdiv>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refsect1 id="description">
Mark Wielaard 1e328c
+<title>Description</title>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<para><command>vgdb</command> ("Valgrind to GDB") is used as an
Mark Wielaard 1e328c
+intermediary between Valgrind and GDB or a shell.  It has two usage modes:
Mark Wielaard 1e328c
+</para>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+            xpointer="vgdb.desc.modes"
Mark Wielaard 1e328c
+            xmlns:xi="http://www.w3.org/2001/XInclude" />
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+</refsect1>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refsect1 id="options">
Mark Wielaard 1e328c
+<title>Options</title>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+            xpointer="vgdb.opts.list"
Mark Wielaard 1e328c
+            xmlns:xi="http://www.w3.org/2001/XInclude" />
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+</refsect1>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refsect1 id="see_also">
Mark Wielaard 1e328c
+<title>See Also</title>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<para>
Mark Wielaard 1e328c
+valgrind(1),
Mark Wielaard 1e328c
+<filename>&vg-docs-path;</filename> or
Mark Wielaard 1e328c
+<filename>&vg-docs-url;</filename>,
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+       xreflabel="&vg-gdbserver-label;"
Mark Wielaard 1e328c
+       url="&vg-gdbserver-url;">&vg-gdbserver-label;</ulink>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+       xreflabel="&vg-vgdb-label;"
Mark Wielaard 1e328c
+       url="&vg-vgdb-url;">&vg-vgdb-label;</ulink>,
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+       xreflabel="&vg-monitor-label;"
Mark Wielaard 1e328c
+       url="&vg-monitor-url;">&vg-monitor-label;</ulink>.
Mark Wielaard 1e328c
+</para>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+</refsect1>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refsect1 id="author">
Mark Wielaard 1e328c
+<title>Author</title>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<para>Philippe Waroquiers.</para>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+</refsect1>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+</refentry>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
diff --git a/docs/xml/manpages-index.xml b/docs/xml/manpages-index.xml
Mark Wielaard 1e328c
index a1a8979..7d774e5 100644
Mark Wielaard 1e328c
--- a/docs/xml/manpages-index.xml
Mark Wielaard 1e328c
+++ b/docs/xml/manpages-index.xml
Mark Wielaard 1e328c
@@ -35,5 +35,13 @@
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
     xmlns:xi="http://www.w3.org/2001/XInclude" />
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+    parse="xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+    parse="xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
 </set>
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
diff --git a/docs/xml/manual-core-adv.xml b/docs/xml/manual-core-adv.xml
Mark Wielaard 1e328c
index 870996f..23b88fe 100644
Mark Wielaard 1e328c
--- a/docs/xml/manual-core-adv.xml
Mark Wielaard 1e328c
+++ b/docs/xml/manual-core-adv.xml
Mark Wielaard 1e328c
@@ -1102,7 +1102,8 @@ $5 = 36
Mark Wielaard 1e328c
 intermediary between Valgrind and GDB or a shell.
Mark Wielaard 1e328c
 Therefore, it has two usage modes:
Mark Wielaard 1e328c
 </para>
Mark Wielaard 1e328c
-<orderedlist>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<orderedlist id="vgdb.desc.modes">
Mark Wielaard 1e328c
   <listitem id="manual-core-adv.vgdb-standalone" xreflabel="vgdb standalone">
Mark Wielaard 1e328c
     <para>As a standalone utility, it is used from a shell command
Mark Wielaard 1e328c
     line to send monitor commands to a process running under
Mark Wielaard 1e328c
@@ -1121,28 +1122,33 @@ Therefore, it has two usage modes:
Mark Wielaard 1e328c
   </listitem>
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
 </orderedlist>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
 <para><computeroutput>vgdb</computeroutput> accepts the following
Mark Wielaard 1e328c
 options:</para>
Mark Wielaard 1e328c
-<itemizedlist>
Mark Wielaard 1e328c
-  <listitem>
Mark Wielaard 1e328c
-    <para><option>--pid=<number></option>: specifies the PID of
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<variablelist id="vgdb.opts.list">
Mark Wielaard 1e328c
+  <varlistentry>
Mark Wielaard 1e328c
+    <term><option>--pid=<number></option></term>
Mark Wielaard 1e328c
+    <listitem><para>Specifies the PID of
Mark Wielaard 1e328c
     the process to which vgdb must connect to.  This option is useful
Mark Wielaard 1e328c
     in case more than one Valgrind gdbserver can be connected to.  If
Mark Wielaard 1e328c
     the <option>--pid</option> argument is not given and multiple
Mark Wielaard 1e328c
     Valgrind gdbserver processes are running, vgdb will report the
Mark Wielaard 1e328c
-    list of such processes and then exit.</para>
Mark Wielaard 1e328c
-  </listitem>
Mark Wielaard 1e328c
+    list of such processes and then exit.</para></listitem>
Mark Wielaard 1e328c
+  </varlistentry>
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
-  <listitem>
Mark Wielaard 1e328c
-    <para><option>--vgdb-prefix</option> must be given to both
Mark Wielaard 1e328c
+  <varlistentry>
Mark Wielaard 1e328c
+    <term><option>--vgdb-prefix</option></term>
Mark Wielaard 1e328c
+    <listitem><para>Must be given to both
Mark Wielaard 1e328c
     Valgrind and vgdb if you want to change the default prefix for the
Mark Wielaard 1e328c
     FIFOs (named pipes) used for communication between the Valgrind
Mark Wielaard 1e328c
-    gdbserver and vgdb. </para>
Mark Wielaard 1e328c
-  </listitem>
Mark Wielaard 1e328c
+    gdbserver and vgdb.</para></listitem>
Mark Wielaard 1e328c
+  </varlistentry>
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
-  <listitem>
Mark Wielaard 1e328c
-    <para><option>--wait=<number></option> instructs vgdb to
Mark Wielaard 1e328c
+  <varlistentry>
Mark Wielaard 1e328c
+    <term><option>--wait=<number></option></term>
Mark Wielaard 1e328c
+    <listitem><para>Instructs vgdb to
Mark Wielaard 1e328c
     search for available Valgrind gdbservers for the specified number
Mark Wielaard 1e328c
     of seconds.  This makes it possible start a vgdb process 
Mark Wielaard 1e328c
     before starting the Valgrind gdbserver with which you intend the
Mark Wielaard 1e328c
@@ -1153,11 +1159,12 @@ options:</para>
Mark Wielaard 1e328c
     "target remote" command, you must set the GDB remotetimeout to a
Mark Wielaard 1e328c
     value bigger than the --wait argument value.  See option
Mark Wielaard 1e328c
     <option>--max-invoke-ms</option> (just below)
Mark Wielaard 1e328c
-    for an example of setting the remotetimeout value.</para>
Mark Wielaard 1e328c
-  </listitem>
Mark Wielaard 1e328c
+    for an example of setting the remotetimeout value.</para></listitem>
Mark Wielaard 1e328c
+  </varlistentry>
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
-  <listitem>
Mark Wielaard 1e328c
-    <para><option>--max-invoke-ms=<number></option> gives the
Mark Wielaard 1e328c
+  <varlistentry>
Mark Wielaard 1e328c
+    <term><option>--max-invoke-ms=<number></option></term>
Mark Wielaard 1e328c
+    <listitem><para>Gives the
Mark Wielaard 1e328c
     number of milliseconds after which vgdb will force the invocation
Mark Wielaard 1e328c
     of gdbserver embedded in Valgrind.  The default value is 100
Mark Wielaard 1e328c
     milliseconds. A value of 0 disables forced invocation. The forced
Mark Wielaard 1e328c
@@ -1175,18 +1182,20 @@ options:</para>
Mark Wielaard 1e328c
     <screen>
Mark Wielaard 1e328c
     (gdb) set remotetimeout 6
Mark Wielaard 1e328c
     ]]></screen>
Mark Wielaard 1e328c
-    </para>
Mark Wielaard 1e328c
-  </listitem>
Mark Wielaard 1e328c
+    </para></listitem>
Mark Wielaard 1e328c
+  </varlistentry>
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
-  <listitem>
Mark Wielaard 1e328c
-    <para><option>--cmd-time-out=<number></option> instructs a
Mark Wielaard 1e328c
+  <varlistentry>
Mark Wielaard 1e328c
+    <term><option>--cmd-time-out=<number></option></term>
Mark Wielaard 1e328c
+    <listitem><para>Instructs a
Mark Wielaard 1e328c
     standalone vgdb to exit if the Valgrind gdbserver it is connected
Mark Wielaard 1e328c
     to does not process a command in the specified number of seconds.
Mark Wielaard 1e328c
-    The default value is to never time out.</para>
Mark Wielaard 1e328c
-  </listitem>
Mark Wielaard 1e328c
+    The default value is to never time out.</para></listitem>
Mark Wielaard 1e328c
+  </varlistentry>
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
-  <listitem>
Mark Wielaard 1e328c
-    <para><option>--port=<portnr></option> instructs vgdb to
Mark Wielaard 1e328c
+  <varlistentry>
Mark Wielaard 1e328c
+    <term><option>--port=<portnr></option></term>
Mark Wielaard 1e328c
+    <listitem><para>Instructs vgdb to
Mark Wielaard 1e328c
     use tcp/ip and listen for GDB on the specified port nr rather than
Mark Wielaard 1e328c
     to use a pipe to communicate with GDB. Using tcp/ip allows to have
Mark Wielaard 1e328c
     GDB running on one computer and debugging a Valgrind process
Mark Wielaard 1e328c
@@ -1204,41 +1213,46 @@ gdb prog
Mark Wielaard 1e328c
 (gdb) target remote targetip:1234
Mark Wielaard 1e328c
 ]]></screen>
Mark Wielaard 1e328c
     where targetip is the ip address or hostname of the target computer.
Mark Wielaard 1e328c
-    </para>
Mark Wielaard 1e328c
-  </listitem>
Mark Wielaard 1e328c
+    </para></listitem>
Mark Wielaard 1e328c
+  </varlistentry>
Mark Wielaard 1e328c
    
Mark Wielaard 1e328c
-  <listitem>
Mark Wielaard 1e328c
-    <para><option>-c</option> To give more than one command to a
Mark Wielaard 1e328c
+  <varlistentry>
Mark Wielaard 1e328c
+    <term><option>-c</option></term>
Mark Wielaard 1e328c
+    <listitem><para>To give more than one command to a
Mark Wielaard 1e328c
     standalone vgdb, separate the commands by an
Mark Wielaard 1e328c
     option <option>-c</option>. Example:
Mark Wielaard 1e328c
     <screen>
Mark Wielaard 1e328c
 vgdb v.set log_output -c leak_check any
Mark Wielaard 1e328c
-]]></screen></para>
Mark Wielaard 1e328c
-  </listitem>  
Mark Wielaard 1e328c
+]]></screen></para></listitem>
Mark Wielaard 1e328c
+  </varlistentry>  
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
-  <listitem>
Mark Wielaard 1e328c
-    <para><option>-l</option> instructs a standalone vgdb to report
Mark Wielaard 1e328c
+  <varlistentry>
Mark Wielaard 1e328c
+    <term><option>-l</option></term>
Mark Wielaard 1e328c
+    <listitem><para>Instructs a standalone vgdb to report
Mark Wielaard 1e328c
     the list of the Valgrind gdbserver processes running and then
Mark Wielaard 1e328c
-    exit.</para>
Mark Wielaard 1e328c
-  </listitem>
Mark Wielaard 1e328c
+    exit.</para></listitem>
Mark Wielaard 1e328c
+  </varlistentry>
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
-  <listitem>
Mark Wielaard 1e328c
-    <para><option>-D</option> instructs a standalone vgdb to show the
Mark Wielaard 1e328c
+  <varlistentry>
Mark Wielaard 1e328c
+    <term><option>-D</option></term>
Mark Wielaard 1e328c
+    <listitem><para>Instructs a standalone vgdb to show the
Mark Wielaard 1e328c
     state of the shared memory used by the Valgrind gdbserver.  vgdb
Mark Wielaard 1e328c
     will exit after having shown the Valgrind gdbserver shared memory
Mark Wielaard 1e328c
-    state.</para>
Mark Wielaard 1e328c
-  </listitem>
Mark Wielaard 1e328c
+    state.</para></listitem>
Mark Wielaard 1e328c
+  </varlistentry>
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
-  <listitem>
Mark Wielaard 1e328c
-    <para><option>-d</option> instructs vgdb to produce debugging
Mark Wielaard 1e328c
+  <varlistentry>
Mark Wielaard 1e328c
+    <term><option>-d</option></term>
Mark Wielaard 1e328c
+    <listitem><para>Instructs vgdb to produce debugging
Mark Wielaard 1e328c
     output.  Give multiple <option>-d</option> args to increase the
Mark Wielaard 1e328c
     verbosity. When giving <option>-d</option> to a relay vgdb, you better
Mark Wielaard 1e328c
     redirect the standard error (stderr) of vgdb to a file to avoid
Mark Wielaard 1e328c
-    interaction between GDB and vgdb debugging output.</para>
Mark Wielaard 1e328c
-  </listitem>
Mark Wielaard 1e328c
+    interaction between GDB and vgdb debugging output.</para></listitem>
Mark Wielaard 1e328c
+  </varlistentry>
Mark Wielaard 1e328c
   
Mark Wielaard 1e328c
-</itemizedlist>
Mark Wielaard 1e328c
- 
Mark Wielaard 1e328c
+</variablelist>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
 </sect2>
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
diff --git a/docs/xml/manual-core.xml b/docs/xml/manual-core.xml
Mark Wielaard 1e328c
index e489fd6..9e2708a 100644
Mark Wielaard 1e328c
--- a/docs/xml/manual-core.xml
Mark Wielaard 1e328c
+++ b/docs/xml/manual-core.xml
Mark Wielaard 1e328c
@@ -237,21 +237,27 @@ re-run, passing the <option>-v</option> option to Valgrind.  A second
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
     <para><computeroutput>valgrind-listener</computeroutput> accepts two
Mark Wielaard 1e328c
     command-line options:</para>
Mark Wielaard 1e328c
-    <itemizedlist>
Mark Wielaard 1e328c
-       <listitem>
Mark Wielaard 1e328c
-         <para><option>-e</option> or <option>--exit-at-zero</option>: 
Mark Wielaard 1e328c
-         when the number of connected processes falls back to zero,
Mark Wielaard 1e328c
-         exit.  Without this, it will run forever, that is, until you
Mark Wielaard 1e328c
-         send it Control-C.</para>
Mark Wielaard 1e328c
-       </listitem>
Mark Wielaard 1e328c
-       <listitem>
Mark Wielaard 1e328c
-        <para><option>portnumber</option>: changes the port it listens
Mark Wielaard 1e328c
-        on from the default (1500).  The specified port must be in the
Mark Wielaard 1e328c
-        range 1024 to 65535.  The same restriction applies to port
Mark Wielaard 1e328c
-        numbers specified by a <option>--log-socket</option> to
Mark Wielaard 1e328c
-        Valgrind itself.</para>
Mark Wielaard 1e328c
-      </listitem>
Mark Wielaard 1e328c
-    </itemizedlist>
Mark Wielaard 1e328c
+    
Mark Wielaard 1e328c
+    <variablelist id="listener.opts.list">
Mark Wielaard 1e328c
+       <varlistentry>
Mark Wielaard 1e328c
+         <term><option>-e --exit-at-zero</option></term>
Mark Wielaard 1e328c
+         <listitem>
Mark Wielaard 1e328c
+           <para>When the number of connected processes falls back to zero,
Mark Wielaard 1e328c
+           exit.  Without this, it will run forever, that is, until you
Mark Wielaard 1e328c
+           send it Control-C.</para>
Mark Wielaard 1e328c
+         </listitem>
Mark Wielaard 1e328c
+       </varlistentry>
Mark Wielaard 1e328c
+       <varlistentry>
Mark Wielaard 1e328c
+        <term><option>portnumber</option></term>
Mark Wielaard 1e328c
+        <listitem>
Mark Wielaard 1e328c
+          <para>Changes the port it listens on from the default (1500).
Mark Wielaard 1e328c
+          The specified port must be in the range 1024 to 65535.
Mark Wielaard 1e328c
+          The same restriction applies to port numbers specified by a
Mark Wielaard 1e328c
+          <option>--log-socket</option> to Valgrind itself.</para>
Mark Wielaard 1e328c
+        </listitem>
Mark Wielaard 1e328c
+      </varlistentry>
Mark Wielaard 1e328c
+    </variablelist>
Mark Wielaard 1e328c
+    
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
     <para>If a Valgrinded process fails to connect to a listener, for
Mark Wielaard 1e328c
     whatever reason (the listener isn't running, invalid or unreachable
Mark Wielaard 1e328c
Mark Wielaard 1e328c
commit c6dba7749d99a509ab06d930be7090a99deb65ae
Mark Wielaard 1e328c
Author: mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9>
Mark Wielaard 1e328c
Date:   Wed Jul 3 10:00:17 2013 +0000
Mark Wielaard 1e328c
Mark Wielaard 1e328c
    Bug 321730 Add cg_merge and cg_diff man pages.
Mark Wielaard 1e328c
    
Mark Wielaard 1e328c
    git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13442 a5019735-40e9-0310-863c-91ae7b9d1cf9
Mark Wielaard 1e328c
Mark Wielaard 1e328c
diff --git a/cachegrind/Makefile.am b/cachegrind/Makefile.am
Mark Wielaard 1e328c
index 43a44af..ef29961 100644
Mark Wielaard 1e328c
--- a/cachegrind/Makefile.am
Mark Wielaard 1e328c
+++ b/cachegrind/Makefile.am
Mark Wielaard 1e328c
@@ -2,7 +2,9 @@ include $(top_srcdir)/Makefile.tool.am
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
 EXTRA_DIST = \
Mark Wielaard 1e328c
 	docs/cg-manual.xml \
Mark Wielaard 1e328c
-	docs/cg_annotate-manpage.xml
Mark Wielaard 1e328c
+	docs/cg_annotate-manpage.xml \
Mark Wielaard 1e328c
+	docs/cg_diff-manpage.xml \
Mark Wielaard 1e328c
+	docs/cg_merge-manpage.xml
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
 #----------------------------------------------------------------------------
Mark Wielaard 1e328c
 # Headers, etc
Mark Wielaard 1e328c
diff --git a/cachegrind/docs/cg-manual.xml b/cachegrind/docs/cg-manual.xml
Mark Wielaard 1e328c
index f45bda8..0f61e0a 100644
Mark Wielaard 1e328c
--- a/cachegrind/docs/cg-manual.xml
Mark Wielaard 1e328c
+++ b/cachegrind/docs/cg-manual.xml
Mark Wielaard 1e328c
@@ -112,7 +112,7 @@ information, and then run cg_annotate to get a detailed presentation of that
Mark Wielaard 1e328c
 information.  As an optional intermediate step, you can use cg_merge to sum
Mark Wielaard 1e328c
 together the outputs of multiple Cachegrind runs into a single file which
Mark Wielaard 1e328c
 you then use as the input for cg_annotate.  Alternatively, you can use
Mark Wielaard 1e328c
-cg_diff to difference the outputs of two Cachegrind runs into a signel file
Mark Wielaard 1e328c
+cg_diff to difference the outputs of two Cachegrind runs into a single file
Mark Wielaard 1e328c
 which you then use as the input for cg_annotate.</para>
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
@@ -1001,6 +1001,29 @@ small differences like these;  it works in the same way as
Mark Wielaard 1e328c
 </sect1>
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
+<sect1 id="cg-manual.mergeopts" xreflabel="cg_merge Command-line Options">
Mark Wielaard 1e328c
+<title>cg_merge Command-line Options</title>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<variablelist id="cg_merge.opts.list">
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+  <varlistentry>
Mark Wielaard 1e328c
+    <term>
Mark Wielaard 1e328c
+      <option></option>
Mark Wielaard 1e328c
+    </term>
Mark Wielaard 1e328c
+    <listitem>
Mark Wielaard 1e328c
+      <para>Write the profile data to <computeroutput>outfile</computeroutput>
Mark Wielaard 1e328c
+            rather than to standard output.
Mark Wielaard 1e328c
+      </para>
Mark Wielaard 1e328c
+    </listitem>
Mark Wielaard 1e328c
+  </varlistentry>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+</variablelist>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+</sect1>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
 <sect1 id="cg-manual.diffopts" xreflabel="cg_diff Command-line Options">
Mark Wielaard 1e328c
 <title>cg_diff Command-line Options</title>
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
diff --git a/cachegrind/docs/cg_diff-manpage.xml b/cachegrind/docs/cg_diff-manpage.xml
Mark Wielaard 1e328c
new file mode 100644
Mark Wielaard 1e328c
index 0000000..4823db0
Mark Wielaard 1e328c
--- /dev/null
Mark Wielaard 1e328c
+++ b/cachegrind/docs/cg_diff-manpage.xml
Mark Wielaard 1e328c
@@ -0,0 +1,75 @@
Mark Wielaard 1e328c
+ 
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+          "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
Mark Wielaard 1e328c
+[  %vg-entities; ]>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refentry id="cg_diff">
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refmeta>
Mark Wielaard 1e328c
+  <refentrytitle>cg_diff</refentrytitle>
Mark Wielaard 1e328c
+  <manvolnum>1</manvolnum>
Mark Wielaard 1e328c
+  <refmiscinfo>Release &rel-version;</refmiscinfo>
Mark Wielaard 1e328c
+</refmeta>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refnamediv>
Mark Wielaard 1e328c
+  <refname>cg_diff</refname>
Mark Wielaard 1e328c
+  <refpurpose>compares two Cachegrind output files</refpurpose>
Mark Wielaard 1e328c
+</refnamediv>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refsynopsisdiv>
Mark Wielaard 1e328c
+<cmdsynopsis>
Mark Wielaard 1e328c
+  <command>cg_diff</command>
Mark Wielaard 1e328c
+  <arg><replaceable>options</replaceable></arg>
Mark Wielaard 1e328c
+  <arg choice="plain"><replaceable>cachegrind-out-file1</replaceable></arg>
Mark Wielaard 1e328c
+  <arg choice="plain"><replaceable>cachegrind-out-file2</replaceable></arg>
Mark Wielaard 1e328c
+</cmdsynopsis>
Mark Wielaard 1e328c
+</refsynopsisdiv>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refsect1 id="description">
Mark Wielaard 1e328c
+<title>Description</title>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<para><command>cg_diff</command> takes two output files produced by the
Mark Wielaard 1e328c
+Valgrind tool Cachegrind, computes the difference and prints the result
Mark Wielaard 1e328c
+in the same format that Cachegrinds outputs.
Mark Wielaard 1e328c
+</para>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+</refsect1>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refsect1 id="options">
Mark Wielaard 1e328c
+<title>Options</title>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+            xmlns:xi="http://www.w3.org/2001/XInclude" />
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+</refsect1>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refsect1 id="see_also">
Mark Wielaard 1e328c
+<title>See Also</title>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<para>
Mark Wielaard 1e328c
+cg_annotate(1), valgrind(1),
Mark Wielaard 1e328c
+<filename>&vg-docs-path;</filename> or
Mark Wielaard 1e328c
+<filename>&vg-docs-url;</filename>.
Mark Wielaard 1e328c
+</para>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+</refsect1>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refsect1 id="author">
Mark Wielaard 1e328c
+<title>Author</title>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<para>Nicholas Nethercote.</para>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+</refsect1>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+</refentry>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
diff --git a/cachegrind/docs/cg_merge-manpage.xml b/cachegrind/docs/cg_merge-manpage.xml
Mark Wielaard 1e328c
new file mode 100644
Mark Wielaard 1e328c
index 0000000..5e733d2
Mark Wielaard 1e328c
--- /dev/null
Mark Wielaard 1e328c
+++ b/cachegrind/docs/cg_merge-manpage.xml
Mark Wielaard 1e328c
@@ -0,0 +1,73 @@
Mark Wielaard 1e328c
+ 
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+          "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
Mark Wielaard 1e328c
+[  %vg-entities; ]>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refentry id="cg_merge">
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refmeta>
Mark Wielaard 1e328c
+  <refentrytitle>cg_merge</refentrytitle>
Mark Wielaard 1e328c
+  <manvolnum>1</manvolnum>
Mark Wielaard 1e328c
+  <refmiscinfo>Release &rel-version;</refmiscinfo>
Mark Wielaard 1e328c
+</refmeta>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refnamediv>
Mark Wielaard 1e328c
+  <refname>cg_merge</refname>
Mark Wielaard 1e328c
+  <refpurpose>merges multiple Cachegrind output files into one</refpurpose>
Mark Wielaard 1e328c
+</refnamediv>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refsynopsisdiv>
Mark Wielaard 1e328c
+<cmdsynopsis>
Mark Wielaard 1e328c
+  <command>cg_merge</command>
Mark Wielaard 1e328c
+  <arg><replaceable>options</replaceable></arg>
Mark Wielaard 1e328c
+  <arg choice="opt" rep="repeat"><replaceable>cachegrind-out-files</replaceable></arg>
Mark Wielaard 1e328c
+</cmdsynopsis>
Mark Wielaard 1e328c
+</refsynopsisdiv>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refsect1 id="description">
Mark Wielaard 1e328c
+<title>Description</title>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<para><command>cg_merge</command> sums together the outputs of multiple
Mark Wielaard 1e328c
+Cachegrind runs into a single output file.
Mark Wielaard 1e328c
+</para>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+</refsect1>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refsect1 id="options">
Mark Wielaard 1e328c
+<title>Options</title>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+            xmlns:xi="http://www.w3.org/2001/XInclude" />
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+</refsect1>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refsect1 id="see_also">
Mark Wielaard 1e328c
+<title>See Also</title>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<para>
Mark Wielaard 1e328c
+cg_annotate(1), valgrind(1),
Mark Wielaard 1e328c
+<filename>&vg-docs-path;</filename> or
Mark Wielaard 1e328c
+<filename>&vg-docs-url;</filename>.
Mark Wielaard 1e328c
+</para>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+</refsect1>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<refsect1 id="author">
Mark Wielaard 1e328c
+<title>Author</title>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+<para>Nicholas Nethercote.</para>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+</refsect1>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+</refentry>
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
diff --git a/docs/xml/manpages-index.xml b/docs/xml/manpages-index.xml
Mark Wielaard 1e328c
index b02fc9c..a1a8979 100644
Mark Wielaard 1e328c
--- a/docs/xml/manpages-index.xml
Mark Wielaard 1e328c
+++ b/docs/xml/manpages-index.xml
Mark Wielaard 1e328c
@@ -15,6 +15,14 @@
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
     xmlns:xi="http://www.w3.org/2001/XInclude" />
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+    xmlns:xi="http://www.w3.org/2001/XInclude" />
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
+    xmlns:xi="http://www.w3.org/2001/XInclude" />
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
     xmlns:xi="http://www.w3.org/2001/XInclude" />
Mark Wielaard 1e328c
--- valgrind-3.8.1.orig/docs/callgrind_annotate.1	2013-07-08 15:15:20.681963472 +0200
Mark Wielaard 1e328c
+++ valgrind-3.8.1/docs/callgrind_annotate.1	2013-07-08 15:29:31.000000000 +0200
Mark Wielaard 1e328c
@@ -1,13 +1,13 @@
Mark Wielaard 1e328c
 '\" t
Mark Wielaard 1e328c
 .\"     Title: Callgrind Annotate
Mark Wielaard 1e328c
 .\"    Author: [see the "Author" section]
Mark Wielaard 1e328c
-.\" Generator: DocBook XSL Stylesheets v1.77.1 <http://docbook.sf.net/>
Mark Wielaard 1e328c
-.\"      Date: 03/12/2013
Mark Wielaard 1e328c
-.\"    Manual: Release 3.8.0
Mark Wielaard 1e328c
-.\"    Source: Release 3.8.0
Mark Wielaard 1e328c
+.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
Mark Wielaard 1e328c
+.\"      Date: 07/08/2013
Mark Wielaard 1e328c
+.\"    Manual: Release 3.8.1
Mark Wielaard 1e328c
+.\"    Source: Release 3.8.1
Mark Wielaard 1e328c
 .\"  Language: English
Mark Wielaard 1e328c
 .\"
Mark Wielaard 1e328c
-.TH "CALLGRIND ANNOTATE" "1" "03/12/2013" "Release 3.8.1" "Release 3.8.1"
Mark Wielaard 1e328c
+.TH "CALLGRIND ANNOTATE" "1" "07/08/2013" "Release 3.8.1" "Release 3.8.1"
Mark Wielaard 1e328c
 .\" -----------------------------------------------------------------
Mark Wielaard 1e328c
 .\" * Define some portability stuff
Mark Wielaard 1e328c
 .\" -----------------------------------------------------------------
Mark Wielaard 1e328c
--- valgrind-3.8.1.orig/docs/callgrind_control.1	2013-07-08 15:15:20.668963358 +0200
Mark Wielaard 1e328c
+++ valgrind-3.8.1/docs/callgrind_control.1	2013-07-08 15:29:31.000000000 +0200
Mark Wielaard 1e328c
@@ -1,13 +1,13 @@
Mark Wielaard 1e328c
 '\" t
Mark Wielaard 1e328c
 .\"     Title: Callgrind Control
Mark Wielaard 1e328c
 .\"    Author: [see the "Author" section]
Mark Wielaard 1e328c
-.\" Generator: DocBook XSL Stylesheets v1.77.1 <http://docbook.sf.net/>
Mark Wielaard 1e328c
-.\"      Date: 03/12/2013
Mark Wielaard 1e328c
-.\"    Manual: Release 3.8.0
Mark Wielaard 1e328c
-.\"    Source: Release 3.8.0
Mark Wielaard 1e328c
+.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
Mark Wielaard 1e328c
+.\"      Date: 07/08/2013
Mark Wielaard 1e328c
+.\"    Manual: Release 3.8.1
Mark Wielaard 1e328c
+.\"    Source: Release 3.8.1
Mark Wielaard 1e328c
 .\"  Language: English
Mark Wielaard 1e328c
 .\"
Mark Wielaard 1e328c
-.TH "CALLGRIND CONTROL" "1" "03/12/2013" "Release 3.8.1" "Release 3.8.1"
Mark Wielaard 1e328c
+.TH "CALLGRIND CONTROL" "1" "07/08/2013" "Release 3.8.1" "Release 3.8.1"
Mark Wielaard 1e328c
 .\" -----------------------------------------------------------------
Mark Wielaard 1e328c
 .\" * Define some portability stuff
Mark Wielaard 1e328c
 .\" -----------------------------------------------------------------
Mark Wielaard 1e328c
@@ -34,7 +34,6 @@
Mark Wielaard 1e328c
 \fBcallgrind_control\fR [\fIoptions\fR] [\fIpid|program\-name\fR...]
Mark Wielaard 1e328c
 .SH "DESCRIPTION"
Mark Wielaard 1e328c
 .PP
Mark Wielaard 1e328c
-
Mark Wielaard 1e328c
 \fBcallgrind_control\fR
Mark Wielaard 1e328c
 controls programs being run by the Valgrind tool Callgrind\&. When a
Mark Wielaard 1e328c
 \fBpid/program name\fR
Mark Wielaard 1e328c
--- valgrind-3.8.1.orig/docs/cg_annotate.1	2013-07-08 15:15:20.675963418 +0200
Mark Wielaard 1e328c
+++ valgrind-3.8.1/docs/cg_annotate.1	2013-07-08 15:29:31.000000000 +0200
Mark Wielaard 1e328c
@@ -1,13 +1,13 @@
Mark Wielaard 1e328c
 '\" t
Mark Wielaard 1e328c
 .\"     Title: cg_annotate
Mark Wielaard 1e328c
 .\"    Author: [see the "Author" section]
Mark Wielaard 1e328c
-.\" Generator: DocBook XSL Stylesheets v1.77.1 <http://docbook.sf.net/>
Mark Wielaard 1e328c
-.\"      Date: 03/12/2013
Mark Wielaard 1e328c
-.\"    Manual: Release 3.8.0
Mark Wielaard 1e328c
-.\"    Source: Release 3.8.0
Mark Wielaard 1e328c
+.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
Mark Wielaard 1e328c
+.\"      Date: 07/08/2013
Mark Wielaard 1e328c
+.\"    Manual: Release 3.8.1
Mark Wielaard 1e328c
+.\"    Source: Release 3.8.1
Mark Wielaard 1e328c
 .\"  Language: English
Mark Wielaard 1e328c
 .\"
Mark Wielaard 1e328c
-.TH "CG_ANNOTATE" "1" "03/12/2013" "Release 3.8.1" "Release 3.8.1"
Mark Wielaard 1e328c
+.TH "CG_ANNOTATE" "1" "07/08/2013" "Release 3.8.1" "Release 3.8.1"
Mark Wielaard 1e328c
 .\" -----------------------------------------------------------------
Mark Wielaard 1e328c
 .\" * Define some portability stuff
Mark Wielaard 1e328c
 .\" -----------------------------------------------------------------
Mark Wielaard 1e328c
diff -urN valgrind-3.8.1.orig/docs/cg_diff.1 docs/cg_diff.1
Mark Wielaard 1e328c
--- valgrind-3.8.1.orig/docs/cg_diff.1	1970-01-01 01:00:00.000000000 +0100
Mark Wielaard 1e328c
+++ valgrind-3.8.1/docs/cg_diff.1	2013-07-08 15:29:31.000000000 +0200
Mark Wielaard 1e328c
@@ -0,0 +1,69 @@
Mark Wielaard 1e328c
+'\" t
Mark Wielaard 1e328c
+.\"     Title: cg_diff
Mark Wielaard 1e328c
+.\"    Author: [see the "Author" section]
Mark Wielaard 1e328c
+.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
Mark Wielaard 1e328c
+.\"      Date: 07/08/2013
Mark Wielaard 1e328c
+.\"    Manual: Release 3.8.1
Mark Wielaard 1e328c
+.\"    Source: Release 3.8.1
Mark Wielaard 1e328c
+.\"  Language: English
Mark Wielaard 1e328c
+.\"
Mark Wielaard 1e328c
+.TH "CG_DIFF" "1" "07/08/2013" "Release 3.8.1" "Release 3.8.1"
Mark Wielaard 1e328c
+.\" -----------------------------------------------------------------
Mark Wielaard 1e328c
+.\" * Define some portability stuff
Mark Wielaard 1e328c
+.\" -----------------------------------------------------------------
Mark Wielaard 1e328c
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mark Wielaard 1e328c
+.\" http://bugs.debian.org/507673
Mark Wielaard 1e328c
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
Mark Wielaard 1e328c
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mark Wielaard 1e328c
+.ie \n(.g .ds Aq \(aq
Mark Wielaard 1e328c
+.el       .ds Aq '
Mark Wielaard 1e328c
+.\" -----------------------------------------------------------------
Mark Wielaard 1e328c
+.\" * set default formatting
Mark Wielaard 1e328c
+.\" -----------------------------------------------------------------
Mark Wielaard 1e328c
+.\" disable hyphenation
Mark Wielaard 1e328c
+.nh
Mark Wielaard 1e328c
+.\" disable justification (adjust text to left margin only)
Mark Wielaard 1e328c
+.ad l
Mark Wielaard 1e328c
+.\" -----------------------------------------------------------------
Mark Wielaard 1e328c
+.\" * MAIN CONTENT STARTS HERE *
Mark Wielaard 1e328c
+.\" -----------------------------------------------------------------
Mark Wielaard 1e328c
+.SH "NAME"
Mark Wielaard 1e328c
+cg_diff \- compares two Cachegrind output files
Mark Wielaard 1e328c
+.SH "SYNOPSIS"
Mark Wielaard 1e328c
+.HP \w'\fBcg_diff\fR\ 'u
Mark Wielaard 1e328c
+\fBcg_diff\fR [\fIoptions\fR] \fIcachegrind\-out\-file1\fR \fIcachegrind\-out\-file2\fR
Mark Wielaard 1e328c
+.SH "DESCRIPTION"
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+\fBcg_diff\fR
Mark Wielaard 1e328c
+takes two output files produced by the Valgrind tool Cachegrind, computes the difference and prints the result in the same format that Cachegrinds outputs\&.
Mark Wielaard 1e328c
+.SH "OPTIONS"
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+\fB\-h \-\-help \fR
Mark Wielaard 1e328c
+.RS 4
Mark Wielaard 1e328c
+Show the help message\&.
Mark Wielaard 1e328c
+.RE
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+\fB\-\-version \fR
Mark Wielaard 1e328c
+.RS 4
Mark Wielaard 1e328c
+Show the version number\&.
Mark Wielaard 1e328c
+.RE
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+\fB\-\-mod\-filename=<expr> [default: none]\fR
Mark Wielaard 1e328c
+.RS 4
Mark Wielaard 1e328c
+Specifies a Perl search\-and\-replace expression that is applied to all filenames\&. Useful for removing minor differences in paths between two different versions of a program that are sitting in different directories\&.
Mark Wielaard 1e328c
+.RE
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+\fB\-\-mod\-funcname=<expr> [default: none]\fR
Mark Wielaard 1e328c
+.RS 4
Mark Wielaard 1e328c
+Like
Mark Wielaard 1e328c
+\fB\-\-mod\-filename\fR, but for filenames\&. Useful for removing minor differences in randomized names of auto\-generated functions generated by some compilers\&.
Mark Wielaard 1e328c
+.RE
Mark Wielaard 1e328c
+.SH "SEE ALSO"
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+cg_annotate(1), valgrind(1),
Mark Wielaard 1e328c
+$INSTALL/share/doc/valgrind/html/index\&.html
Mark Wielaard 1e328c
+or
Mark Wielaard 1e328c
+http://www\&.valgrind\&.org/docs/manual/index\&.html\&.
Mark Wielaard 1e328c
+.SH "AUTHOR"
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+Nicholas Nethercote\&.
Mark Wielaard 1e328c
--- valgrind-3.8.1.orig/docs/cg_merge.1	1970-01-01 01:00:00.000000000 +0100
Mark Wielaard 1e328c
+++ valgrind-3.8.1/docs/cg_merge.1	2013-07-08 15:29:31.000000000 +0200
Mark Wielaard 1e328c
@@ -0,0 +1,55 @@
Mark Wielaard 1e328c
+'\" t
Mark Wielaard 1e328c
+.\"     Title: cg_merge
Mark Wielaard 1e328c
+.\"    Author: [see the "Author" section]
Mark Wielaard 1e328c
+.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
Mark Wielaard 1e328c
+.\"      Date: 07/08/2013
Mark Wielaard 1e328c
+.\"    Manual: Release 3.8.1
Mark Wielaard 1e328c
+.\"    Source: Release 3.8.1
Mark Wielaard 1e328c
+.\"  Language: English
Mark Wielaard 1e328c
+.\"
Mark Wielaard 1e328c
+.TH "CG_MERGE" "1" "07/08/2013" "Release 3.8.1" "Release 3.8.1"
Mark Wielaard 1e328c
+.\" -----------------------------------------------------------------
Mark Wielaard 1e328c
+.\" * Define some portability stuff
Mark Wielaard 1e328c
+.\" -----------------------------------------------------------------
Mark Wielaard 1e328c
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mark Wielaard 1e328c
+.\" http://bugs.debian.org/507673
Mark Wielaard 1e328c
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
Mark Wielaard 1e328c
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mark Wielaard 1e328c
+.ie \n(.g .ds Aq \(aq
Mark Wielaard 1e328c
+.el       .ds Aq '
Mark Wielaard 1e328c
+.\" -----------------------------------------------------------------
Mark Wielaard 1e328c
+.\" * set default formatting
Mark Wielaard 1e328c
+.\" -----------------------------------------------------------------
Mark Wielaard 1e328c
+.\" disable hyphenation
Mark Wielaard 1e328c
+.nh
Mark Wielaard 1e328c
+.\" disable justification (adjust text to left margin only)
Mark Wielaard 1e328c
+.ad l
Mark Wielaard 1e328c
+.\" -----------------------------------------------------------------
Mark Wielaard 1e328c
+.\" * MAIN CONTENT STARTS HERE *
Mark Wielaard 1e328c
+.\" -----------------------------------------------------------------
Mark Wielaard 1e328c
+.SH "NAME"
Mark Wielaard 1e328c
+cg_merge \- merges multiple Cachegrind output files into one
Mark Wielaard 1e328c
+.SH "SYNOPSIS"
Mark Wielaard 1e328c
+.HP \w'\fBcg_merge\fR\ 'u
Mark Wielaard 1e328c
+\fBcg_merge\fR [\fIoptions\fR] [\fIcachegrind\-out\-files\fR...]
Mark Wielaard 1e328c
+.SH "DESCRIPTION"
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+\fBcg_merge\fR
Mark Wielaard 1e328c
+sums together the outputs of multiple Cachegrind runs into a single output file\&.
Mark Wielaard 1e328c
+.SH "OPTIONS"
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+\fB\-o outfile\fR
Mark Wielaard 1e328c
+.RS 4
Mark Wielaard 1e328c
+Write the profile data to
Mark Wielaard 1e328c
+outfile
Mark Wielaard 1e328c
+rather than to standard output\&.
Mark Wielaard 1e328c
+.RE
Mark Wielaard 1e328c
+.SH "SEE ALSO"
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+cg_annotate(1), valgrind(1),
Mark Wielaard 1e328c
+$INSTALL/share/doc/valgrind/html/index\&.html
Mark Wielaard 1e328c
+or
Mark Wielaard 1e328c
+http://www\&.valgrind\&.org/docs/manual/index\&.html\&.
Mark Wielaard 1e328c
+.SH "AUTHOR"
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+Nicholas Nethercote\&.
Mark Wielaard 1e328c
--- valgrind-3.8.1.orig/docs/ms_print.1	2013-07-08 15:15:20.680963463 +0200
Mark Wielaard 1e328c
+++ valgrind-3.8.1/docs/ms_print.1	2013-07-08 15:29:31.000000000 +0200
Mark Wielaard 1e328c
@@ -1,13 +1,13 @@
Mark Wielaard 1e328c
 '\" t
Mark Wielaard 1e328c
 .\"     Title: ms_print
Mark Wielaard 1e328c
 .\"    Author: [see the "Author" section]
Mark Wielaard 1e328c
-.\" Generator: DocBook XSL Stylesheets v1.77.1 <http://docbook.sf.net/>
Mark Wielaard 1e328c
-.\"      Date: 03/12/2013
Mark Wielaard 1e328c
-.\"    Manual: Release 3.8.0
Mark Wielaard 1e328c
-.\"    Source: Release 3.8.0
Mark Wielaard 1e328c
+.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
Mark Wielaard 1e328c
+.\"      Date: 07/08/2013
Mark Wielaard 1e328c
+.\"    Manual: Release 3.8.1
Mark Wielaard 1e328c
+.\"    Source: Release 3.8.1
Mark Wielaard 1e328c
 .\"  Language: English
Mark Wielaard 1e328c
 .\"
Mark Wielaard 1e328c
-.TH "MS_PRINT" "1" "03/12/2013" "Release 3.8.1" "Release 3.8.1"
Mark Wielaard 1e328c
+.TH "MS_PRINT" "1" "07/08/2013" "Release 3.8.1" "Release 3.8.1"
Mark Wielaard 1e328c
 .\" -----------------------------------------------------------------
Mark Wielaard 1e328c
 .\" * Define some portability stuff
Mark Wielaard 1e328c
 .\" -----------------------------------------------------------------
Mark Wielaard 1e328c
diff -urN valgrind-3.8.1.orig/docs/valgrind.1 docs/valgrind.1
Mark Wielaard 1e328c
--- valgrind-3.8.1.orig/docs/valgrind.1	2013-07-08 15:15:20.681963472 +0200
Mark Wielaard 1e328c
+++ valgrind-3.8.1/docs/valgrind.1	2013-07-08 15:29:31.000000000 +0200
Mark Wielaard 1e328c
@@ -1,13 +1,13 @@
Mark Wielaard 1e328c
 '\" t
Mark Wielaard 1e328c
 .\"     Title: VALGRIND
Mark Wielaard 1e328c
 .\"    Author: [see the "Author" section]
Mark Wielaard 1e328c
-.\" Generator: DocBook XSL Stylesheets v1.77.1 <http://docbook.sf.net/>
Mark Wielaard 1e328c
-.\"      Date: 03/12/2013
Mark Wielaard 1e328c
-.\"    Manual: Release 3.8.0
Mark Wielaard 1e328c
-.\"    Source: Release 3.8.0
Mark Wielaard 1e328c
+.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
Mark Wielaard 1e328c
+.\"      Date: 07/08/2013
Mark Wielaard 1e328c
+.\"    Manual: Release 3.8.1
Mark Wielaard 1e328c
+.\"    Source: Release 3.8.1
Mark Wielaard 1e328c
 .\"  Language: English
Mark Wielaard 1e328c
 .\"
Mark Wielaard 1e328c
-.TH "VALGRIND" "1" "03/12/2013" "Release 3.8.1" "Release 3.8.1"
Mark Wielaard 1e328c
+.TH "VALGRIND" "1" "07/08/2013" "Release 3.8.1" "Release 3.8.1"
Mark Wielaard 1e328c
 .\" -----------------------------------------------------------------
Mark Wielaard 1e328c
 .\" * Define some portability stuff
Mark Wielaard 1e328c
 .\" -----------------------------------------------------------------
Mark Wielaard 1e328c
@@ -427,8 +427,7 @@
Mark Wielaard 1e328c
 causes Valgrind to start a debugger for the program at this point\&. When you have finished with the debugger, quit from it, and the program will continue\&. Trying to continue from inside the debugger doesn\*(Aqt work\&.
Mark Wielaard 1e328c
 .sp
Mark Wielaard 1e328c
 Note: if you use GDB, more powerful debugging support is provided by the
Mark Wielaard 1e328c
-\fB\-\-vgdb=\fR
Mark Wielaard 1e328c
-\fIyes\fR
Mark Wielaard 1e328c
+\fB\-\-vgdb=\fR\fIyes\fR
Mark Wielaard 1e328c
 or
Mark Wielaard 1e328c
 \fIfull\fR
Mark Wielaard 1e328c
 value\&. This activates Valgrind\*(Aqs internal gdbserver, which provides more\-or\-less full GDB\-style control of the application: insertion of breakpoints, continuing from inside GDB, inferior function calls, and much more\&.
Mark Wielaard 1e328c
@@ -1010,7 +1009,7 @@
Mark Wielaard 1e328c
 When
Mark Wielaard 1e328c
 \fIno\fR, loads from partially invalid addresses are treated the same as loads from completely invalid addresses: an illegal\-address error is issued, and the resulting bytes are marked as initialised\&.
Mark Wielaard 1e328c
 .sp
Mark Wielaard 1e328c
-Note that code that behaves in this way is in violation of the the ISO C/C++ standards, and should be considered broken\&. If at all possible, such code should be fixed\&. This option should be used only as a last resort\&.
Mark Wielaard 1e328c
+Note that code that behaves in this way is in violation of the ISO C/C++ standards, and should be considered broken\&. If at all possible, such code should be fixed\&. This option should be used only as a last resort\&.
Mark Wielaard 1e328c
 .RE
Mark Wielaard 1e328c
 .PP
Mark Wielaard 1e328c
 \fB\-\-freelist\-vol=<number> [default: 20000000] \fR
Mark Wielaard 1e328c
@@ -1400,7 +1399,7 @@
Mark Wielaard 1e328c
 .PP
Mark Wielaard 1e328c
 \fB\-\-show\-stack\-usage=<yes|no> [default: no]\fR
Mark Wielaard 1e328c
 .RS 4
Mark Wielaard 1e328c
-Print stack usage at thread exit time\&. When a program creates a large number of threads it becomes important to limit the amount of virtual memory allocated for thread stacks\&. This option makes it possible to observe how much stack memory has been used by each thread of the the client program\&. Note: the DRD tool itself allocates some temporary data on the client thread stack\&. The space necessary for this temporary data must be allocated by the client program when it allocates stack memory, but is not included in stack usage reported by DRD\&.
Mark Wielaard 1e328c
+Print stack usage at thread exit time\&. When a program creates a large number of threads it becomes important to limit the amount of virtual memory allocated for thread stacks\&. This option makes it possible to observe how much stack memory has been used by each thread of the client program\&. Note: the DRD tool itself allocates some temporary data on the client thread stack\&. The space necessary for this temporary data must be allocated by the client program when it allocates stack memory, but is not included in stack usage reported by DRD\&.
Mark Wielaard 1e328c
 .RE
Mark Wielaard 1e328c
 .PP
Mark Wielaard 1e328c
 \fB\-\-trace\-addr=<address> [default: none]\fR
Mark Wielaard 1e328c
@@ -1717,8 +1716,7 @@
Mark Wielaard 1e328c
 $INSTALL/share/doc/valgrind/html/index\&.html
Mark Wielaard 1e328c
 or
Mark Wielaard 1e328c
 http://www\&.valgrind\&.org/docs/manual/index\&.html,
Mark Wielaard 1e328c
-\m[blue]\fBDebugging your program using Valgrind\*(Aqs gdbserver and GDB\fR\m[]\&\s-2\u[1]\d\s+2
Mark Wielaard 1e328c
-\m[blue]\fBvgdb\fR\m[]\&\s-2\u[2]\d\s+2,
Mark Wielaard 1e328c
+\m[blue]\fBDebugging your program using Valgrind\*(Aqs gdbserver and GDB\fR\m[]\&\s-2\u[1]\d\s+2\m[blue]\fBvgdb\fR\m[]\&\s-2\u[2]\d\s+2,
Mark Wielaard 1e328c
 \m[blue]\fBValgrind monitor commands\fR\m[]\&\s-2\u[3]\d\s+2,
Mark Wielaard 1e328c
 \m[blue]\fBThe Commentary\fR\m[]\&\s-2\u[4]\d\s+2,
Mark Wielaard 1e328c
 \m[blue]\fBScheduling and Multi\-Thread Performance\fR\m[]\&\s-2\u[5]\d\s+2,
Mark Wielaard 1e328c
diff -urN valgrind-3.8.1.orig/docs/valgrind-listener.1 docs/valgrind-listener.1
Mark Wielaard 1e328c
--- valgrind-3.8.1.orig/docs/valgrind-listener.1	1970-01-01 01:00:00.000000000 +0100
Mark Wielaard 1e328c
+++ valgrind-3.8.1/docs/valgrind-listener.1	2013-07-08 15:29:31.000000000 +0200
Mark Wielaard 1e328c
@@ -0,0 +1,64 @@
Mark Wielaard 1e328c
+'\" t
Mark Wielaard 1e328c
+.\"     Title: valgrind-listener
Mark Wielaard 1e328c
+.\"    Author: [see the "Author" section]
Mark Wielaard 1e328c
+.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
Mark Wielaard 1e328c
+.\"      Date: 07/08/2013
Mark Wielaard 1e328c
+.\"    Manual: Release 3.8.1
Mark Wielaard 1e328c
+.\"    Source: Release 3.8.1
Mark Wielaard 1e328c
+.\"  Language: English
Mark Wielaard 1e328c
+.\"
Mark Wielaard 1e328c
+.TH "VALGRIND\-LISTENER" "1" "07/08/2013" "Release 3.8.1" "Release 3.8.1"
Mark Wielaard 1e328c
+.\" -----------------------------------------------------------------
Mark Wielaard 1e328c
+.\" * Define some portability stuff
Mark Wielaard 1e328c
+.\" -----------------------------------------------------------------
Mark Wielaard 1e328c
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mark Wielaard 1e328c
+.\" http://bugs.debian.org/507673
Mark Wielaard 1e328c
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
Mark Wielaard 1e328c
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mark Wielaard 1e328c
+.ie \n(.g .ds Aq \(aq
Mark Wielaard 1e328c
+.el       .ds Aq '
Mark Wielaard 1e328c
+.\" -----------------------------------------------------------------
Mark Wielaard 1e328c
+.\" * set default formatting
Mark Wielaard 1e328c
+.\" -----------------------------------------------------------------
Mark Wielaard 1e328c
+.\" disable hyphenation
Mark Wielaard 1e328c
+.nh
Mark Wielaard 1e328c
+.\" disable justification (adjust text to left margin only)
Mark Wielaard 1e328c
+.ad l
Mark Wielaard 1e328c
+.\" -----------------------------------------------------------------
Mark Wielaard 1e328c
+.\" * MAIN CONTENT STARTS HERE *
Mark Wielaard 1e328c
+.\" -----------------------------------------------------------------
Mark Wielaard 1e328c
+.SH "NAME"
Mark Wielaard 1e328c
+valgrind-listener \- listens on a socket for Valgrind commentary
Mark Wielaard 1e328c
+.SH "SYNOPSIS"
Mark Wielaard 1e328c
+.HP \w'\fBvalgrind\-listener\fR\ 'u
Mark Wielaard 1e328c
+\fBvalgrind\-listener\fR [\fIoptions\fR]
Mark Wielaard 1e328c
+.SH "DESCRIPTION"
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+\fBvalgrind\-listener\fR
Mark Wielaard 1e328c
+accepts (multiple) connections from
Mark Wielaard 1e328c
+\fBvalgrind\fR
Mark Wielaard 1e328c
+processes that use the
Mark Wielaard 1e328c
+\fB\-\-log\-socket\fR
Mark Wielaard 1e328c
+option on the specified port and copies the commentary it is sent to stdout\&.
Mark Wielaard 1e328c
+.SH "OPTIONS"
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+\fB\-e \-\-exit\-at\-zero\fR
Mark Wielaard 1e328c
+.RS 4
Mark Wielaard 1e328c
+When the number of connected processes falls back to zero, exit\&. Without this, it will run forever, that is, until you send it Control\-C\&.
Mark Wielaard 1e328c
+.RE
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+\fBportnumber\fR
Mark Wielaard 1e328c
+.RS 4
Mark Wielaard 1e328c
+Changes the port it listens on from the default (1500)\&. The specified port must be in the range 1024 to 65535\&. The same restriction applies to port numbers specified by a
Mark Wielaard 1e328c
+\fB\-\-log\-socket\fR
Mark Wielaard 1e328c
+to Valgrind itself\&.
Mark Wielaard 1e328c
+.RE
Mark Wielaard 1e328c
+.SH "SEE ALSO"
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+valgrind(1),
Mark Wielaard 1e328c
+$INSTALL/share/doc/valgrind/html/index\&.html
Mark Wielaard 1e328c
+or
Mark Wielaard 1e328c
+http://www\&.valgrind\&.org/docs/manual/index\&.html\&.
Mark Wielaard 1e328c
+.SH "AUTHOR"
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+Julian Seward\&.
Mark Wielaard 1e328c
diff -urN valgrind-3.8.1.orig/docs/vgdb.1 docs/vgdb.1
Mark Wielaard 1e328c
--- valgrind-3.8.1.orig/docs/vgdb.1	1970-01-01 01:00:00.000000000 +0100
Mark Wielaard 1e328c
+++ valgrind-3.8.1/docs/vgdb.1	2013-07-08 15:29:31.000000000 +0200
Mark Wielaard 1e328c
@@ -0,0 +1,208 @@
Mark Wielaard 1e328c
+'\" t
Mark Wielaard 1e328c
+.\"     Title: vgdb
Mark Wielaard 1e328c
+.\"    Author: [see the "Author" section]
Mark Wielaard 1e328c
+.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
Mark Wielaard 1e328c
+.\"      Date: 07/08/2013
Mark Wielaard 1e328c
+.\"    Manual: Release 3.8.1
Mark Wielaard 1e328c
+.\"    Source: Release 3.8.1
Mark Wielaard 1e328c
+.\"  Language: English
Mark Wielaard 1e328c
+.\"
Mark Wielaard 1e328c
+.TH "VGDB" "1" "07/08/2013" "Release 3.8.1" "Release 3.8.1"
Mark Wielaard 1e328c
+.\" -----------------------------------------------------------------
Mark Wielaard 1e328c
+.\" * Define some portability stuff
Mark Wielaard 1e328c
+.\" -----------------------------------------------------------------
Mark Wielaard 1e328c
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mark Wielaard 1e328c
+.\" http://bugs.debian.org/507673
Mark Wielaard 1e328c
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
Mark Wielaard 1e328c
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mark Wielaard 1e328c
+.ie \n(.g .ds Aq \(aq
Mark Wielaard 1e328c
+.el       .ds Aq '
Mark Wielaard 1e328c
+.\" -----------------------------------------------------------------
Mark Wielaard 1e328c
+.\" * set default formatting
Mark Wielaard 1e328c
+.\" -----------------------------------------------------------------
Mark Wielaard 1e328c
+.\" disable hyphenation
Mark Wielaard 1e328c
+.nh
Mark Wielaard 1e328c
+.\" disable justification (adjust text to left margin only)
Mark Wielaard 1e328c
+.ad l
Mark Wielaard 1e328c
+.\" -----------------------------------------------------------------
Mark Wielaard 1e328c
+.\" * MAIN CONTENT STARTS HERE *
Mark Wielaard 1e328c
+.\" -----------------------------------------------------------------
Mark Wielaard 1e328c
+.SH "NAME"
Mark Wielaard 1e328c
+vgdb \- intermediary between Valgrind and GDB or a shell
Mark Wielaard 1e328c
+.SH "SYNOPSIS"
Mark Wielaard 1e328c
+.HP \w'\fBvgdb\fR\ 'u
Mark Wielaard 1e328c
+\fBvgdb\fR [\fIoptions\fR]
Mark Wielaard 1e328c
+.SH "DESCRIPTION"
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+\fBvgdb\fR
Mark Wielaard 1e328c
+("Valgrind to GDB") is used as an intermediary between Valgrind and GDB or a shell\&. It has two usage modes:
Mark Wielaard 1e328c
+.sp
Mark Wielaard 1e328c
+.RS 4
Mark Wielaard 1e328c
+.ie n \{\
Mark Wielaard 1e328c
+\h'-04' 1.\h'+01'\c
Mark Wielaard 1e328c
+.\}
Mark Wielaard 1e328c
+.el \{\
Mark Wielaard 1e328c
+.sp -1
Mark Wielaard 1e328c
+.IP "  1." 4.2
Mark Wielaard 1e328c
+.\}
Mark Wielaard 1e328c
+As a standalone utility, it is used from a shell command line to send monitor commands to a process running under Valgrind\&. For this usage, the vgdb OPTION(s) must be followed by the monitor command to send\&. To send more than one command, separate them with the
Mark Wielaard 1e328c
+\fB\-c\fR
Mark Wielaard 1e328c
+option\&.
Mark Wielaard 1e328c
+.RE
Mark Wielaard 1e328c
+.sp
Mark Wielaard 1e328c
+.RS 4
Mark Wielaard 1e328c
+.ie n \{\
Mark Wielaard 1e328c
+\h'-04' 2.\h'+01'\c
Mark Wielaard 1e328c
+.\}
Mark Wielaard 1e328c
+.el \{\
Mark Wielaard 1e328c
+.sp -1
Mark Wielaard 1e328c
+.IP "  2." 4.2
Mark Wielaard 1e328c
+.\}
Mark Wielaard 1e328c
+In combination with GDB "target remote |" command, it is used as the relay application between GDB and the Valgrind gdbserver\&. For this usage, only OPTION(s) can be given, but no COMMAND can be given\&.
Mark Wielaard 1e328c
+.RE
Mark Wielaard 1e328c
+.SH "OPTIONS"
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+\fB\-\-pid=<number>\fR
Mark Wielaard 1e328c
+.RS 4
Mark Wielaard 1e328c
+Specifies the PID of the process to which vgdb must connect to\&. This option is useful in case more than one Valgrind gdbserver can be connected to\&. If the
Mark Wielaard 1e328c
+\fB\-\-pid\fR
Mark Wielaard 1e328c
+argument is not given and multiple Valgrind gdbserver processes are running, vgdb will report the list of such processes and then exit\&.
Mark Wielaard 1e328c
+.RE
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+\fB\-\-vgdb\-prefix\fR
Mark Wielaard 1e328c
+.RS 4
Mark Wielaard 1e328c
+Must be given to both Valgrind and vgdb if you want to change the default prefix for the FIFOs (named pipes) used for communication between the Valgrind gdbserver and vgdb\&.
Mark Wielaard 1e328c
+.RE
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+\fB\-\-wait=<number>\fR
Mark Wielaard 1e328c
+.RS 4
Mark Wielaard 1e328c
+Instructs vgdb to search for available Valgrind gdbservers for the specified number of seconds\&. This makes it possible start a vgdb process before starting the Valgrind gdbserver with which you intend the vgdb to communicate\&. This option is useful when used in conjunction with a
Mark Wielaard 1e328c
+\fB\-\-vgdb\-prefix\fR
Mark Wielaard 1e328c
+that is unique to the process you want to wait for\&. Also, if you use the
Mark Wielaard 1e328c
+\fB\-\-wait\fR
Mark Wielaard 1e328c
+argument in the GDB "target remote" command, you must set the GDB remotetimeout to a value bigger than the \-\-wait argument value\&. See option
Mark Wielaard 1e328c
+\fB\-\-max\-invoke\-ms\fR
Mark Wielaard 1e328c
+(just below) for an example of setting the remotetimeout value\&.
Mark Wielaard 1e328c
+.RE
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+\fB\-\-max\-invoke\-ms=<number>\fR
Mark Wielaard 1e328c
+.RS 4
Mark Wielaard 1e328c
+Gives the number of milliseconds after which vgdb will force the invocation of gdbserver embedded in Valgrind\&. The default value is 100 milliseconds\&. A value of 0 disables forced invocation\&. The forced invocation is used when vgdb is connected to a Valgrind gdbserver, and the Valgrind process has all its threads blocked in a system call\&.
Mark Wielaard 1e328c
+.sp
Mark Wielaard 1e328c
+If you specify a large value, you might need to increase the GDB "remotetimeout" value from its default value of 2 seconds\&. You should ensure that the timeout (in seconds) is bigger than the
Mark Wielaard 1e328c
+\fB\-\-max\-invoke\-ms\fR
Mark Wielaard 1e328c
+value\&. For example, for
Mark Wielaard 1e328c
+\fB\-\-max\-invoke\-ms=5000\fR, the following GDB command is suitable:
Mark Wielaard 1e328c
+.sp
Mark Wielaard 1e328c
+.if n \{\
Mark Wielaard 1e328c
+.RS 4
Mark Wielaard 1e328c
+.\}
Mark Wielaard 1e328c
+.nf
Mark Wielaard 1e328c
+    (gdb) set remotetimeout 6
Mark Wielaard 1e328c
+    
Mark Wielaard 1e328c
+.fi
Mark Wielaard 1e328c
+.if n \{\
Mark Wielaard 1e328c
+.RE
Mark Wielaard 1e328c
+.\}
Mark Wielaard 1e328c
+.sp
Mark Wielaard 1e328c
+.RE
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+\fB\-\-cmd\-time\-out=<number>\fR
Mark Wielaard 1e328c
+.RS 4
Mark Wielaard 1e328c
+Instructs a standalone vgdb to exit if the Valgrind gdbserver it is connected to does not process a command in the specified number of seconds\&. The default value is to never time out\&.
Mark Wielaard 1e328c
+.RE
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+\fB\-\-port=<portnr>\fR
Mark Wielaard 1e328c
+.RS 4
Mark Wielaard 1e328c
+Instructs vgdb to use tcp/ip and listen for GDB on the specified port nr rather than to use a pipe to communicate with GDB\&. Using tcp/ip allows to have GDB running on one computer and debugging a Valgrind process running on another target computer\&. Example:
Mark Wielaard 1e328c
+.sp
Mark Wielaard 1e328c
+.if n \{\
Mark Wielaard 1e328c
+.RS 4
Mark Wielaard 1e328c
+.\}
Mark Wielaard 1e328c
+.nf
Mark Wielaard 1e328c
+# On the target computer, start your program under valgrind using
Mark Wielaard 1e328c
+valgrind \-\-vgdb\-error=0 prog
Mark Wielaard 1e328c
+# and then in another shell, run:
Mark Wielaard 1e328c
+vgdb \-\-port=1234
Mark Wielaard 1e328c
+.fi
Mark Wielaard 1e328c
+.if n \{\
Mark Wielaard 1e328c
+.RE
Mark Wielaard 1e328c
+.\}
Mark Wielaard 1e328c
+.sp
Mark Wielaard 1e328c
+On the computer which hosts GDB, execute the command:
Mark Wielaard 1e328c
+.sp
Mark Wielaard 1e328c
+.if n \{\
Mark Wielaard 1e328c
+.RS 4
Mark Wielaard 1e328c
+.\}
Mark Wielaard 1e328c
+.nf
Mark Wielaard 1e328c
+gdb prog
Mark Wielaard 1e328c
+(gdb) target remote targetip:1234
Mark Wielaard 1e328c
+.fi
Mark Wielaard 1e328c
+.if n \{\
Mark Wielaard 1e328c
+.RE
Mark Wielaard 1e328c
+.\}
Mark Wielaard 1e328c
+.sp
Mark Wielaard 1e328c
+where targetip is the ip address or hostname of the target computer\&.
Mark Wielaard 1e328c
+.RE
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+\fB\-c\fR
Mark Wielaard 1e328c
+.RS 4
Mark Wielaard 1e328c
+To give more than one command to a standalone vgdb, separate the commands by an option
Mark Wielaard 1e328c
+\fB\-c\fR\&. Example:
Mark Wielaard 1e328c
+.sp
Mark Wielaard 1e328c
+.if n \{\
Mark Wielaard 1e328c
+.RS 4
Mark Wielaard 1e328c
+.\}
Mark Wielaard 1e328c
+.nf
Mark Wielaard 1e328c
+vgdb v\&.set log_output \-c leak_check any
Mark Wielaard 1e328c
+.fi
Mark Wielaard 1e328c
+.if n \{\
Mark Wielaard 1e328c
+.RE
Mark Wielaard 1e328c
+.\}
Mark Wielaard 1e328c
+.RE
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+\fB\-l\fR
Mark Wielaard 1e328c
+.RS 4
Mark Wielaard 1e328c
+Instructs a standalone vgdb to report the list of the Valgrind gdbserver processes running and then exit\&.
Mark Wielaard 1e328c
+.RE
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+\fB\-D\fR
Mark Wielaard 1e328c
+.RS 4
Mark Wielaard 1e328c
+Instructs a standalone vgdb to show the state of the shared memory used by the Valgrind gdbserver\&. vgdb will exit after having shown the Valgrind gdbserver shared memory state\&.
Mark Wielaard 1e328c
+.RE
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+\fB\-d\fR
Mark Wielaard 1e328c
+.RS 4
Mark Wielaard 1e328c
+Instructs vgdb to produce debugging output\&. Give multiple
Mark Wielaard 1e328c
+\fB\-d\fR
Mark Wielaard 1e328c
+args to increase the verbosity\&. When giving
Mark Wielaard 1e328c
+\fB\-d\fR
Mark Wielaard 1e328c
+to a relay vgdb, you better redirect the standard error (stderr) of vgdb to a file to avoid interaction between GDB and vgdb debugging output\&.
Mark Wielaard 1e328c
+.RE
Mark Wielaard 1e328c
+.SH "SEE ALSO"
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+valgrind(1),
Mark Wielaard 1e328c
+$INSTALL/share/doc/valgrind/html/index\&.html
Mark Wielaard 1e328c
+or
Mark Wielaard 1e328c
+http://www\&.valgrind\&.org/docs/manual/index\&.html,
Mark Wielaard 1e328c
+\m[blue]\fBDebugging your program using Valgrind\*(Aqs gdbserver and GDB\fR\m[]\&\s-2\u[1]\d\s+2\m[blue]\fBvgdb\fR\m[]\&\s-2\u[2]\d\s+2,
Mark Wielaard 1e328c
+\m[blue]\fBValgrind monitor commands\fR\m[]\&\s-2\u[3]\d\s+2\&.
Mark Wielaard 1e328c
+.SH "AUTHOR"
Mark Wielaard 1e328c
+.PP
Mark Wielaard 1e328c
+Philippe Waroquiers\&.
Mark Wielaard 1e328c
+.SH "NOTES"
Mark Wielaard 1e328c
+.IP " 1." 4
Mark Wielaard 1e328c
+Debugging your program using Valgrind's gdbserver and GDB
Mark Wielaard 1e328c
+.RS 4
Mark Wielaard 1e328c
+\%http://www.valgrind.org/docs/manual/manual-core-adv.html#manual-core-adv.gdbserver
Mark Wielaard 1e328c
+.RE
Mark Wielaard 1e328c
+.IP " 2." 4
Mark Wielaard 1e328c
+vgdb
Mark Wielaard 1e328c
+.RS 4
Mark Wielaard 1e328c
+\%http://www.valgrind.org/docs/manual/manual-core-adv.html#manual-core-adv.vgdb
Mark Wielaard 1e328c
+.RE
Mark Wielaard 1e328c
+.IP " 3." 4
Mark Wielaard 1e328c
+Valgrind monitor commands
Mark Wielaard 1e328c
+.RS 4
Mark Wielaard 1e328c
+\%http://www.valgrind.org/docs/manual/manual-core-adv.html#manual-core-adv.valgrind-monitor-commands
Mark Wielaard 1e328c
+.RE
Mark Wielaard 1e328c
diff -urN valgrind-3.8.1.orig/docs/xml/vg-entities.xml docs/xml/vg-entities.xml
Mark Wielaard 1e328c
--- valgrind-3.8.1.orig/docs/xml/vg-entities.xml	2013-07-08 15:15:20.675963418 +0200
Mark Wielaard 1e328c
+++ valgrind-3.8.1/docs/xml/vg-entities.xml	2013-07-08 15:29:23.000000000 +0200
Mark Wielaard 1e328c
@@ -6,7 +6,7 @@
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
-
Mark Wielaard 1e328c
+
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c
 
Mark Wielaard 1e328c