1# connect gdb to Valgrind gdbserver:
2target remote | ./vgdb --wait=60 --vgdb-prefix=./vgdb-prefix-mssnapshot
3echo vgdb launched process attached\n
4monitor v.set vgdb-error 999999
5#
6#
7# insert break:
8break main
9#
10# continue till main
11continue
12#
13# test the massif help
14monitor help
15#
16# test non detailed and detailed snapshot
17monitor snapshot
18monitor detailed_snapshot
19monitor all_snapshots
20#
21#
22monitor v.kill
23quit
24