* gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
authorMark Kettenis <kettenis@gnu.org>
Mon, 29 Oct 2001 17:38:11 +0000 (17:38 +0000)
committerMark Kettenis <kettenis@gnu.org>
Mon, 29 Oct 2001 17:38:11 +0000 (17:38 +0000)
that we catch the expected failure under Linux/x86.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/interrupt.exp

index d0251e5668bace6e277b3ef876f14409e3c3ac68..66a301a2109c6ccc01e23229ac87badfeb91025f 100644 (file)
@@ -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.
index f428b2c90f69a17a14d9d166e04a62920188f279..b370b53a52d4c1546824264de3f009398e0aa261 100644 (file)
@@ -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