1 # connect gdb to Valgrind gdbserver:
2 target remote | ./vgdb --wait=60 --vgdb-prefix=./vgdb-prefix-mcwatchpoints
3 echo vgdb launched process attached\n
4 monitor v.set vgdb-error 999999
10 # continue till //break1:
13 # insert the watchpoints
21 # now we should encounter 4 break points
27 break watchpoints.c:70
28 # continue till //break2:
30 # trigger gdb reading data with big packets: