blob: 5ec79fa4a17ddb2ba9c26eadbf3ea2597df050d3 [file] [log] [blame]
# connect gdb to Valgrind gdbserver:
target remote | ./vgdb --wait=60 --vgdb-prefix=./vgdb-prefix-mcwatchpoints
monitor vg.set vgdb-error 999999
#
#
# insert break:
break breakme
#
# continue till //break1:
continue
#
# insert the watchpoints
rwatch undefined[0]
awatch undefined[4]
watch undefined[8]
#
# now we should encounter 4 break points
continue
continue
continue
continue
del
continue
quit