support pidfd_getfd
[valgrind.git] / gdbserver_tests / nlsigvgdb.stdinB.gdb
blobe3990455b488b977ac2e3f8a2951c259a8b034c3
1 # connect gdb to Valgrind gdbserver:
2 target remote | ./vgdb --wait=60 --vgdb-prefix=./vgdb-prefix-nlsigvgdb
3 echo vgdb launched process attached\n
4 monitor v.set vgdb-error 999999
7 # simulate control-c in a few seconds
8 # The control-c will cause a character to be sent to gdbserver, causing
9 # an invocation while the gdbserver is already busy.
10 shell ./simulate_control_c --vgdb-prefix=./vgdb-prefix-nlsigvgdb 1 grep continuing nlsigvgdb.stderrB.out
12 monitor v.wait 5000
14 # kill the process now
15 monitor v.kill
16 quit