diff options
author | Daniel Jacobowitz <drow@false.org> | 2010-03-24 21:20:39 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2010-03-24 21:20:39 +0000 |
commit | 2390201f4bbde371e4a97f149976d335a1aa909c (patch) | |
tree | 9f6bace2af68e68438e71f4d5890cf028bd68c79 /gdb/testsuite/gdb.base | |
parent | 6bf5e0ba81ad745cf18577ae77cd1ff75c92282a (diff) | |
download | gdb-2390201f4bbde371e4a97f149976d335a1aa909c.zip gdb-2390201f4bbde371e4a97f149976d335a1aa909c.tar.gz gdb-2390201f4bbde371e4a97f149976d335a1aa909c.tar.bz2 |
* gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
if gdb,nosignals.
* gdb.base/watchpoints.c: Do not include unnecessary headers.
* lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
exited".
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r-- | gdb/testsuite/gdb.base/call-signal-resume.exp | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/unwindonsignal.exp | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/watchpoints.c | 3 |
3 files changed, 10 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/call-signal-resume.exp b/gdb/testsuite/gdb.base/call-signal-resume.exp index 563f900..bc2b582 100644 --- a/gdb/testsuite/gdb.base/call-signal-resume.exp +++ b/gdb/testsuite/gdb.base/call-signal-resume.exp @@ -29,6 +29,11 @@ if [target_info exists gdb,noinferiorio] { continue } +if [target_info exists gdb,nosignals] { + verbose "Skipping call-signal-resume.exp because of nosignals." + continue +} + set prms_id 0 set bug_id 0 diff --git a/gdb/testsuite/gdb.base/unwindonsignal.exp b/gdb/testsuite/gdb.base/unwindonsignal.exp index b753fcf..c5597dc 100644 --- a/gdb/testsuite/gdb.base/unwindonsignal.exp +++ b/gdb/testsuite/gdb.base/unwindonsignal.exp @@ -22,6 +22,11 @@ if [target_info exists gdb,noinferiorio] { continue } +if [target_info exists gdb,nosignals] { + verbose "Skipping unwindonsignal.exp because of nosignals." + continue +} + set prms_id 0 set bug_id 0 diff --git a/gdb/testsuite/gdb.base/watchpoints.c b/gdb/testsuite/gdb.base/watchpoints.c index 23d00c0..0a53c28 100644 --- a/gdb/testsuite/gdb.base/watchpoints.c +++ b/gdb/testsuite/gdb.base/watchpoints.c @@ -21,9 +21,6 @@ /* This source is mainly to test what happens when a watchpoint is removed while another watchpoint, inserted later is left active. */ -#include <stdio.h> -#include <unistd.h> - int count = -1; int ival1 = -1; int ival2 = -1; |