(gdb) handle SIGILL SIGSEGV nostop noprint
+ If you are using lldb, then the equivalent command is
+
+ (lldb) pro hand -p true -s false -n false SIGILL SIGSEGV
+
(4) Set any breakpoints you want and proceed as normal for gdb. The
macro VG_(FUNC) is expanded to vgPlain_FUNC, so If you want to set
a breakpoint VG_(do_exec), you could do like this in GDB:
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
+Try running with "--vex-guest-chase=no --trace-flags=10000000
--trace-notbelow=999999". This should print one line for each block
translated, and that includes the address.
BBV vectors will be different than those generated by other tools.
In practice this does not seem to affect the accuracy of the
SimPoint results. We do internally force the
- <option>--vex-guest-chase-thresh=0</option>
+ <option>--vex-guest-chase=no</option>
option to Valgrind which forces a more basic-block-like
behavior.
</para>
* instrument, by the VEX statements that are the
* translation of that known destination. This feature is
* called 'SB chasing' and can be influenced by command
- * line option --vex-guest-chase-thresh.
+ * line option --vex-guest-chase=[yes|no].
*
* To get an accurate count of the calls to a specific
* function, taking SB chasing into account, we need to