blob: ee2b4e1ef5caf54911945a7eb3be6b58e1c40ed5 [file] [log] [blame]
sewardjb2572b52011-06-26 09:36:38 +00001# connect gdb to Valgrind gdbserver:
2target remote | ./vgdb --wait=60 --vgdb-prefix=./vgdb-prefix-nlpasssigalrm
3echo vgdb launched process attached\n
sewardj30b3eca2011-06-28 08:20:39 +00004monitor v.set vgdb-error 999999
sewardjb2572b52011-06-26 09:36:38 +00005#
6#
7# ensure SIGALRM can be passed directly to the process, without
8# going through gdb:
9handle SIGALRM stop print pass
10#
11continue
12#
13# Here, gdb should have been informed of the 1st SIGALRM
14# Tell the 2nd can be given directly
15handle SIGALRM nostop noprint pass
16continue
17quit