From 92b8ae9161de8083d3fb7ce654ddf98bfaf07c90 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Mon, 29 Oct 2001 17:38:11 +0000 Subject: [PATCH] * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such that we catch the expected failure under Linux/x86. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/interrupt.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.30.2