diff options
-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 |