mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
--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
28 lines
495 B
Plaintext
28 lines
495 B
Plaintext
# connect gdb to Valgrind gdbserver:
|
|
target remote | ./vgdb --wait=60 --vgdb-prefix=./vgdb-prefix-mcsigpass
|
|
echo vgdb launched process attached\n
|
|
monitor v.set vgdb-error 999999
|
|
#
|
|
# After this continue, we will receive 5 signals.
|
|
continue
|
|
#
|
|
# SIGTRAP : caused by invalid write error detected by memcheck
|
|
continue
|
|
#
|
|
# SIGSEGV : line 99
|
|
continue
|
|
#
|
|
# SIGSEGV : line 104
|
|
continue
|
|
#
|
|
# SIGBUS : line 109
|
|
continue
|
|
#
|
|
# SIGFPE : line 114
|
|
continue
|
|
echo after continue SIGFPE
|
|
#
|
|
# program will exit
|
|
quit
|
|
|