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