Make gdb.base/a2-run.exp use $inferior_spawn_id and gdb_test_stdio
authorPedro Alves <palves@redhat.com>
Wed, 29 Jul 2015 10:09:40 +0000 (11:09 +0100)
committerPedro Alves <palves@redhat.com>
Wed, 29 Jul 2015 10:09:40 +0000 (11:09 +0100)
commit77e760c3aae925fef163d866a651079fea5f3143
treef595c2c740fb5829e7c8f969cc0e09005f5a20a0
parent8396d2cdf4b013b237bf8cca306bbec602bdbb72
Make gdb.base/a2-run.exp use $inferior_spawn_id and gdb_test_stdio

This one is a little more complicated than the other patches in this
series, because of the exit status wrapper handling, requiring a
little state machine.

gdb/testsuite/ChangeLog:
2015-07-29  Pedro Alves  <palves@redhat.com>

* gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
(saw_spurious_output): Expect inferior output from
$inferior_spawn_id.  Use gdb_test_stdio.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/a2-run.exp
This page took 0.029287 seconds and 4 git commands to generate.