valgrind and tool mon. cmds prefixes changes + doc fixes + new vgdb option
--cmd-time-out
* changed prefixes of Valgrind core monitor commands from vg. to v.
* removed prefixes of Tool monitor commands
* memcheck leak_check 'leakpossible' arg renamed to 'possibleleak'
* memcheck make_memory 'ifaddressabledefined' arg renamed to
'Definedifaddressable'
(with uppercase D to avoid confusion with 'defined' arg).
* vgdb options
- Some doc updates : more logical option order documentation,
specify 'standalone' for options aimed at standalone usage.
- added option --cmd-time-out for standalone vgdb
(comment of Josef Weindendorfer, needed to interface with a callgrind GUI)
* updated tests according to the above.
* updated documentation according to the above.
* some additional minor doc fixes/clarifications
(Philippe Waroquiers, philippe.waroquiers@skynet.be). Bug 214909
comment 111.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11844 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/gdbserver_tests/mchelp.stdoutB.exp b/gdbserver_tests/mchelp.stdoutB.exp
index 90a93de..d9c7e63 100644
--- a/gdbserver_tests/mchelp.stdoutB.exp
+++ b/gdbserver_tests/mchelp.stdoutB.exp
@@ -1,66 +1,66 @@
general valgrind monitor commands:
help [debug] : monitor command help. With debug: + debugging commands
- vg.wait [<ms>] : sleep <ms> (default 0) then continue
- vg.info all_errors : show all errors found so far
- vg.info last_error : show last error found
- vg.info n_errs_found : show the nr of errors found so far
- vg.kill : kill the Valgrind process
- vg.set gdb_output : set valgrind output to gdb
- vg.set log_output : set valgrind output to log
- vg.set mixed_output : set valgrind output to log, interactive output to gdb
- vg.set vgdb-error <errornr> : debug me at error >= <errornr>
+ v.wait [<ms>] : sleep <ms> (default 0) then continue
+ v.info all_errors : show all errors found so far
+ v.info last_error : show last error found
+ v.info n_errs_found : show the nr of errors found so far
+ v.kill : kill the Valgrind process
+ v.set gdb_output : set valgrind output to gdb
+ v.set log_output : set valgrind output to log
+ v.set mixed_output : set valgrind output to log, interactive output to gdb
+ v.set vgdb-error <errornr> : debug me at error >= <errornr>
memcheck monitor commands:
- mc.get_vbits <addr> [<len>]
+ get_vbits <addr> [<len>]
returns validity bits for <len> (or 1) bytes at <addr>
bit values 0 = valid, 1 = invalid, __ = unaddressable byte
- Example: mc.get_vbits 0x........ 10
- mc.make_memory [noaccess|undefined
- |defined|ifaddressabledefined] <addr> [<len>]
+ Example: get_vbits 0x........ 10
+ make_memory [noaccess|undefined
+ |defined|Definedifaddressable] <addr> [<len>]
mark <len> (or 1) bytes at <addr> with the given accessibility
- mc.check_memory [addressable|defined] <addr> [<len>]
+ check_memory [addressable|defined] <addr> [<len>]
check that <len> (or 1) bytes at <addr> have the given accessibility
and outputs a description of <addr>
- mc.leak_check [full*|summary] [reachable|leakpossible*|definiteleak]
+ leak_check [full*|summary] [reachable|possibleleak*|definiteleak]
[increased*|changed|any]
* = defaults
- Examples: mc.leak_check
- mc.leak_check summary any
+ Examples: leak_check
+ leak_check summary any
general valgrind monitor commands:
help [debug] : monitor command help. With debug: + debugging commands
- vg.wait [<ms>] : sleep <ms> (default 0) then continue
- vg.info all_errors : show all errors found so far
- vg.info last_error : show last error found
- vg.info n_errs_found : show the nr of errors found so far
- vg.kill : kill the Valgrind process
- vg.set gdb_output : set valgrind output to gdb
- vg.set log_output : set valgrind output to log
- vg.set mixed_output : set valgrind output to log, interactive output to gdb
- vg.set vgdb-error <errornr> : debug me at error >= <errornr>
+ v.wait [<ms>] : sleep <ms> (default 0) then continue
+ v.info all_errors : show all errors found so far
+ v.info last_error : show last error found
+ v.info n_errs_found : show the nr of errors found so far
+ v.kill : kill the Valgrind process
+ v.set gdb_output : set valgrind output to gdb
+ v.set log_output : set valgrind output to log
+ v.set mixed_output : set valgrind output to log, interactive output to gdb
+ v.set vgdb-error <errornr> : debug me at error >= <errornr>
debugging valgrind internals monitor commands:
- vg.info gdbserver_status : show gdbserver status
- vg.info memory : show valgrind heap memory stats
- vg.set debuglog <level> : set valgrind debug log level to <level>
- vg.translate <addr> [<traceflags>] : debug translation of <addr> with <traceflags>
+ v.info gdbserver_status : show gdbserver status
+ v.info memory : show valgrind heap memory stats
+ v.set debuglog <level> : set valgrind debug log level to <level>
+ v.translate <addr> [<traceflags>] : debug translation of <addr> with <traceflags>
(default traceflags 0b00100000 : show after instrumentation)
An additional flag 0b100000000 allows to show gdbserver instrumentation
memcheck monitor commands:
- mc.get_vbits <addr> [<len>]
+ get_vbits <addr> [<len>]
returns validity bits for <len> (or 1) bytes at <addr>
bit values 0 = valid, 1 = invalid, __ = unaddressable byte
- Example: mc.get_vbits 0x........ 10
- mc.make_memory [noaccess|undefined
- |defined|ifaddressabledefined] <addr> [<len>]
+ Example: get_vbits 0x........ 10
+ make_memory [noaccess|undefined
+ |defined|Definedifaddressable] <addr> [<len>]
mark <len> (or 1) bytes at <addr> with the given accessibility
- mc.check_memory [addressable|defined] <addr> [<len>]
+ check_memory [addressable|defined] <addr> [<len>]
check that <len> (or 1) bytes at <addr> have the given accessibility
and outputs a description of <addr>
- mc.leak_check [full*|summary] [reachable|leakpossible*|definiteleak]
+ leak_check [full*|summary] [reachable|possibleleak*|definiteleak]
[increased*|changed|any]
* = defaults
- Examples: mc.leak_check
- mc.leak_check summary any
+ Examples: leak_check
+ leak_check summary any
monitor command request to kill this process