From: Mark Kettenis Date: Mon, 29 Oct 2001 17:38:11 +0000 (+0000) Subject: * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=92b8ae9161de8083d3fb7ce654ddf98bfaf07c90;p=binutils-gdb.git * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such that we catch the expected failure under Linux/x86. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index d0251e5668b..66a301a2109 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2001-10-28 Mark Kettenis + + * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such + that we catch the expected failure under Linux/x86. + 2001-10-29 Orjan Friberg * gdb.base/setvar.exp: Escape curly braces. diff --git a/gdb/testsuite/gdb.base/interrupt.exp b/gdb/testsuite/gdb.base/interrupt.exp index f428b2c90f6..b370b53a52d 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