From: Nicholas Nethercote Date: Sat, 13 Dec 2008 22:27:05 +0000 (+0000) Subject: Update an FAQ to account for --track-origins=yes. X-Git-Tag: svn/VALGRIND_3_4_0~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18216143d94aed62084386ddf66abda1fa8b0a7f;p=thirdparty%2Fvalgrind.git Update an FAQ to account for --track-origins=yes. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8824 --- diff --git a/docs/xml/FAQ.xml b/docs/xml/FAQ.xml index 0dbf6e98a4..cc7607d097 100644 --- a/docs/xml/FAQ.xml +++ b/docs/xml/FAQ.xml @@ -542,10 +542,14 @@ int main(void) memory values? - We'd love to improve these errors, but we don't know how to do it - without huge performance penalties. - - You can use the client request + 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 + flag. It will run slower than + usual, but will give you extra information about the origin of + uninitialised values. + + Or if you want to do it the old fashioned way, you can use the + client request VALGRIND_CHECK_VALUE_IS_DEFINED to help track these errors down -- work backwards from the point where the uninitialised error occurs, checking suspect values until you find the