diff options
author | Mark Kettenis <kettenis@gnu.org> | 2001-10-29 17:38:11 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2001-10-29 17:38:11 +0000 |
commit | 92b8ae9161de8083d3fb7ce654ddf98bfaf07c90 (patch) | |
tree | 2768966aaad80a3631b835d281254c30bb4fcab7 /gdb/testsuite | |
parent | cb135b83270513425282290e717baaa9df2c1c12 (diff) | |
download | gdb-92b8ae9161de8083d3fb7ce654ddf98bfaf07c90.zip gdb-92b8ae9161de8083d3fb7ce654ddf98bfaf07c90.tar.gz gdb-92b8ae9161de8083d3fb7ce654ddf98bfaf07c90.tar.bz2 |
* gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
that we catch the expected failure under Linux/x86.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/interrupt.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index d0251e5..66a301a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2001-10-28 Mark Kettenis <kettenis@gnu.org> + + * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such + that we catch the expected failure under Linux/x86. + 2001-10-29 Orjan Friberg <orjanf@axis.com> * gdb.base/setvar.exp: Escape curly braces. diff --git a/gdb/testsuite/gdb.base/interrupt.exp b/gdb/testsuite/gdb.base/interrupt.exp index f428b2c..b370b53 100644 --- a/gdb/testsuite/gdb.base/interrupt.exp +++ b/gdb/testsuite/gdb.base/interrupt.exp @@ -101,7 +101,7 @@ if ![file exists $binfile] then { send_gdb "p func1 ()\n" gdb_expect { -re " = 4.*$gdb_prompt $" { pass "call function when asleep" } - -re ".*Program received signal SIGSEGV.*$gdb_prompt $" { + -re ".*Program received signal SIG(SEGV|ILL).*$gdb_prompt $" { setup_xfail "i*86-pc-linux*-gnu*" fail "child died when we called func1, skipped rest of tests" return |