]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
In response to bug #85665, clarify what --trace-children=yes does.
authorNicholas Nethercote <n.nethercote@gmail.com>
Thu, 22 Jul 2004 08:57:50 +0000 (08:57 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Thu, 22 Jul 2004 08:57:50 +0000 (08:57 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2521

coregrind/docs/coregrind_core.html

index 13f121c535b17d19e773e909c4ad4098ff6cc1d2..614dd33f358fff7fc7844e885f0ba5f42d50889c 100644 (file)
@@ -522,8 +522,14 @@ These options work with all tools.
   <li><code>--trace-children=no</code> [default]<br>
       <code>--trace-children=yes</code>
       <p>When enabled, Valgrind will trace into child processes.  This
-      is confusing and usually not what you want, so is disabled by
+      is confusing and often not what you want, so is disabled by
       default.
+
+      <p>Note that the name of this option is slightly misleading.
+      It actually controls whether programs started with
+      <code>exec()</code> are run under Valgrind's control.  If your
+      program calls <code>fork()</code>, both the parent and the child
+      will run under Valgrind's control.
       </li><br><p>
 
   <li><code>--log-fd=&lt;number&gt;</code> [default: 2, stderr]