]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Update an FAQ to account for --track-origins=yes.
authorNicholas Nethercote <njn@valgrind.org>
Sat, 13 Dec 2008 22:27:05 +0000 (22:27 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Sat, 13 Dec 2008 22:27:05 +0000 (22:27 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8824

docs/xml/FAQ.xml

index 0dbf6e98a4f074cebedec54937a081a8a79fd92e..cc7607d097793ab2ec8441ab79ec3145ff7a5dfe 100644 (file)
@@ -542,10 +542,14 @@ int main(void)
     memory values?</para>
   </question>
   <answer id="a-undeferrors">
-    <para>We'd love to improve these errors, but we don't know how to do it
-    without huge performance penalties.</para>
-
-    <para>You can use the client request
+    <para>Prior to version 3.4.0, the answer was "we don't know how to do it
+    without huge performance penalties".  As of 3.4.0, try using the
+    <option>--track-origins=yes</option> flag.  It will run slower than
+    usual, but will give you extra information about the origin of
+    uninitialised values.</para>
+
+    <para>Or if you want to do it the old fashioned way, you can use the
+    client request
     <computeroutput>VALGRIND_CHECK_VALUE_IS_DEFINED</computeroutput> to help
     track these errors down -- work backwards from the point where the
     uninitialised error occurs, checking suspect values until you find the