mirror of
https://github.com/ioacademy-jikim/debugging
synced 2025-06-08 00:16:11 +00:00
15 lines
563 B
Plaintext
15 lines
563 B
Plaintext
# test the memcheck watchpoint functionality
|
|
# Note: we need --vgdb=full to stop at the instruction following the watchpoint.
|
|
# We need a non buggy gdb.step as watchpoints are placed after a "step".
|
|
prereq: test -e gdb -a -f gdb.step
|
|
prog: watchpoints
|
|
vgopts: --tool=memcheck --vgdb=full --vgdb-error=0 --vgdb-prefix=./vgdb-prefix-mcwatchpoints
|
|
stdout_filter: filter_make_empty
|
|
stderr_filter: filter_memcheck_monitor
|
|
progB: gdb
|
|
argsB: --quiet -l 60 --nx ./watchpoints
|
|
stdinB: mcwatchpoints.stdinB.gdb
|
|
stdoutB_filter: filter_gdb
|
|
stderrB_filter: filter_make_empty
|
|
|