Download Valgrind Documentation
Transcript
NEWS given address only. - When using --history-level=full, the new Helgrind monitor command ’accesshistory <addr> [<len>]’ will show the recorded accesses for <len> (or 1) bytes at <addr>. * ==================== OTHER CHANGES ==================== * The default value for the --smc-check option has been changed from "stack" to "all-non-file" on targets that provide automatic D-I cache coherence (x86, amd64 and s390x). The result is to provide, by default, transparent support for JIT generated and self-modifying code on all targets. * Mac OS X only: the default value for the --dsymutil option has been changed from "no" to "yes", since any serious usage on Mac OS X always required it to be "yes". * The command line options --db-attach and --db-command have been removed. They were deprecated in 3.10.0. * When a process dies due to a signal, Valgrind now shows the signal and the stacktrace at default verbosity (i.e. verbosity 1). * The address description logic used by Memcheck and Helgrind now describes addresses in anonymous segments, file mmap-ed segments, shared memory segments and the brk data segment. * The new option --error-markers=<begin>,<end> can be used to mark the begin/end of errors in textual output mode, to facilitate searching/extracting errors in output files that mix valgrind errors with program output. * The new option --max-threads=<number> can be used to change the number of threads valgrind can handle. The default is 500 threads which should be more than enough for most applications. * The new option --valgrind-stacksize=<number> can be used to change the size of the private thread stacks used by Valgrind. This is useful for reducing memory use or increasing the stack size if Valgrind segfaults due to stack overflow. * The new option --avg-transtab-entry-size=<number> can be used to specify the expected instrumented block size, either to reduce memory use or to avoid excessive retranslation. * Valgrind can be built with Intel’s ICC compiler, version 14.0 or later. * New and modified GDB server monitor features: - When a signal is reported in GDB, you can now use the GDB convenience variable $_siginfo to examine detailed signal information. - Valgrind’s gdbserver now allows the user to change the signal 5