blob: 9411ef013c5b947a38e1c494b099d55918e73892 [file] [log] [blame]
sewardj3b290482011-05-06 21:02:55 +00001# connect gdb to Valgrind gdbserver:
2target remote | ./vgdb --wait=60 --vgdb-prefix=./vgdb-prefix-mcwatchpoints
sewardjeefeeb72011-05-10 11:01:07 +00003echo vgdb launched process attached\n
sewardj30b3eca2011-06-28 08:20:39 +00004monitor v.set vgdb-error 999999
sewardj3b290482011-05-06 21:02:55 +00005#
6#
7# insert break:
8break breakme
9#
10# continue till //break1:
11continue
12#
13# insert the watchpoints
14rwatch undefined[0]
15awatch undefined[4]
16watch undefined[8]
17#
18# now we should encounter 4 break points
19continue
20continue
21continue
22continue
23del
24continue
25quit