Don't rely on inferior I/O in gdb.base/restore.exp
authorPedro Alves <palves@redhat.com>
Wed, 29 Jul 2015 10:09:37 +0000 (11:09 +0100)
committerPedro Alves <palves@redhat.com>
Wed, 29 Jul 2015 10:09:37 +0000 (11:09 +0100)
commit12264a451d993a0a8635be82bed15618e0f4645f
tree4b864a223000fca53350f894d09f954e05e13ca4
parent23ffc893f5693f20dc807c6a7daad402de0c2e51
Don't rely on inferior I/O in gdb.base/restore.exp

There seems to be no point in relying on stdio here.  Simply use
gdb_continue_to_end instead.

(not removing the printf calls, as the .c file is half generated.)

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

* gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/restore.exp