# 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

