1# connect gdb to Valgrind gdbserver: 2target remote | ./vgdb --wait=60 --vgdb-prefix=./vgdb-prefix-nlpasssigalrm 3echo vgdb launched process attached\n 4monitor v.set vgdb-error 999999 5# 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 18