FreeBSD regtest: feature test for aio_readv
[valgrind.git] / gdbserver_tests / mcinfcallRU.stdinB.gdb
blobffb122f224bba829e378f9fff764d725b6c16e3a
1 # connect gdb to Valgrind gdbserver:
2 target remote | ./vgdb --wait=60 --vgdb-prefix=./vgdb-prefix-mcinfcallRU
3 echo vgdb launched process attached\n
4 monitor v.set vgdb-error 999999
6 # We will interrupt in a few seconds (be sure the main task is ready).
7 # Once it is ready, we still have to wait to be sure it is running.
8 shell ./simulate_control_c --vgdb-prefix=./vgdb-prefix-mcinfcallRU 1 grep main mcinfcallRU.stderr.out
10 continue
11 info threads
12 thread apply all bt full
13 # Would like to call this for all threads with 'thread apply all', but due to unfair scheduling,
14 # the below can either take a long time and/or have threads finished
15 # before they have a chance to execute the whoami
16 # thread apply all
17 print whoami("inferior call pushed from gdb in mcinfcallRU.stdinB.gdb")
18 monitor v.kill
19 quit