1# test the memcheck watchpoint functionality
2# Note: we need --vgdb=full to stop at the instruction following the watchpoint.
3# We need a non buggy gdb.step as watchpoints are placed after a "step".
4prereq: test -e gdb -a -f gdb.step
5prog: watchpoints
6vgopts: --tool=memcheck --vgdb=full --vgdb-error=0 --vgdb-prefix=./vgdb-prefix-mcwatchpoints
7stdout_filter: filter_make_empty
8stderr_filter: filter_memcheck_monitor
9progB: gdb
10argsB: --quiet -l 60 --nx ./watchpoints
11stdinB: mcwatchpoints.stdinB.gdb
12stdoutB_filter: filter_gdb
13stderrB_filter: filter_make_empty
14
15