Home | History | Annotate | Download | only in gdbserver_tests
      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
      5 #
      6 #
      7 # insert break:
      8 break breakme
      9 #
     10 # continue till //break1:
     11 continue
     12 #
     13 # insert the watchpoints
     14 rwatch undefined[0]
     15 awatch undefined[4]
     16 watch  undefined[8]
     17 #
     18 # now we should encounter 4 break points
     19 continue
     20 continue
     21 continue
     22 continue
     23 del
     24 continue
     25 quit
     26