diff options
author | Pedro Alves <palves@redhat.com> | 2015-07-29 11:09:36 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-07-29 11:09:36 +0100 |
commit | 23ffc893f5693f20dc807c6a7daad402de0c2e51 (patch) | |
tree | b9727a2d7e5c5dcfae3a764223fe06dd3f7d0736 /gdb/testsuite/gdb.base/unwindonsignal.c | |
parent | 655669183104eb8eab559b5faf2b5a676ab6cd3f (diff) | |
download | gdb-23ffc893f5693f20dc807c6a7daad402de0c2e51.zip gdb-23ffc893f5693f20dc807c6a7daad402de0c2e51.tar.gz gdb-23ffc893f5693f20dc807c6a7daad402de0c2e51.tar.bz2 |
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.
Diffstat (limited to 'gdb/testsuite/gdb.base/unwindonsignal.c')
-rw-r--r-- | gdb/testsuite/gdb.base/unwindonsignal.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/unwindonsignal.c b/gdb/testsuite/gdb.base/unwindonsignal.c index 92d8ba4..e1b2094 100644 --- a/gdb/testsuite/gdb.base/unwindonsignal.c +++ b/gdb/testsuite/gdb.base/unwindonsignal.c @@ -17,7 +17,6 @@ /* Support program for testing unwindonsignal. */ -#include <stdio.h> #include <signal.h> #include <unistd.h> @@ -26,8 +25,6 @@ gen_signal () { /* According to sigall.exp, SIGABRT is always supported. */ kill (getpid (), SIGABRT); - /* If we get here we couldn't generate a signal, tell dejagnu. */ - printf ("no signal\n"); } /* Easy place to set a breakpoint. */ |