Don't rely on inferior I/O in {call-signal-resume, unwindonsignal}.exp
authorPedro Alves <palves@redhat.com>
Wed, 29 Jul 2015 10:09:36 +0000 (11:09 +0100)
committerPedro Alves <palves@redhat.com>
Wed, 29 Jul 2015 10:09:36 +0000 (11:09 +0100)
commit23ffc893f5693f20dc807c6a7daad402de0c2e51
treeb9727a2d7e5c5dcfae3a764223fe06dd3f7d0736
parent655669183104eb8eab559b5faf2b5a676ab6cd3f
Don't rely on inferior I/O in {call-signal-resume, unwindonsignal}.exp

These tests rely on inferior I/O, but that seems pointless and
unrelated here.  Simply remove the printf calls, and don't expect
them.

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

* gdb.base/call-signal-resume.exp: Remove check for
gdb,noinferiorio.  Don't expect "no signal".  Use gdb_test.
* gdb.base/unwindonsignal.exp: Likewise.
* gdb.base/call-signals.c (gen_signal): Remove printf call.
* gdb.base/unwindonsignal.c (gen_signal): Likewise.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/call-signal-resume.exp
gdb/testsuite/gdb.base/call-signals.c
gdb/testsuite/gdb.base/unwindonsignal.c
gdb/testsuite/gdb.base/unwindonsignal.exp