* gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such

that we catch the expected failure under Linux/x86.
This commit is contained in:
Mark Kettenis 2001-10-29 17:38:11 +00:00
parent cb135b8327
commit 92b8ae9161
2 changed files with 6 additions and 1 deletions

View 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.

View 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