]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Record a useful nugget from Julian.
authorNicholas Nethercote <njn@valgrind.org>
Thu, 3 Nov 2005 16:24:53 +0000 (16:24 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Thu, 3 Nov 2005 16:24:53 +0000 (16:24 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4995

README_DEVELOPERS

index 372415115484289fd3329bf220fab4377e6b24e4..798c47c1495aac8605eda7ee8b26746fb0aa449f 100644 (file)
@@ -77,3 +77,16 @@ its output (ie. those lines beginning with "==<pid>==") prefixed with a
 At the time of writing the allocator is not annotated with client requests
 so Memcheck is not as useful as it could be.  It also has not been tested
 much, so don't be surprised if you hit problems.
+
+Printing out problematic blocks
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+If you want to print out a disassembly of a particular block that
+causes a crash, do the following.
+
+Try running with "--vex-guest-chase-thresh=0 --trace-flags=10000000
+--trace-notbelow=999999".  This should print one line for each block
+translated, and that includes the address.
+
+Then re-run with 999999 changed to the highest bb number shown.
+This will print the one line per block, and also will print a
+disassembly of the block in which the fault occurred.