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