Solaris: fix a few compiler warnings
[valgrind.git] / gdbserver_tests / hginfo.stdinB.gdb
blob0d32962ad5ed680eb0d99b6be92fab6a75fc825f
1 # connect gdb to Valgrind gdbserver:
2 target remote | ./vgdb --wait=60 --vgdb-prefix=./vgdb-prefix-hginfo
3 echo vgdb launched process attached\n
4 monitor v.set vgdb-error 999999
7 # insert break:
8 break breakme
10 # continue till each break and execute via gdb the monitor commands
11 # ptr must be allocated at this state:
12 continue
13 monitor info locks
14 eval "monitor v.info location %p", ptr
15 # ptr must be freed at this state
16 continue
17 monitor info locks
18 eval "monitor v.info location %p", ptr
19 continue
20 quit