summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/stale-infcall.exp
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-07-07 12:10:14 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-07-07 12:10:14 +0000
commit32f11bad17497e06191afd582159c588fb38d21f (patch)
tree6cccd84ba0ae9c57b1b942818a247d09ba44363c /gdb/testsuite/gdb.base/stale-infcall.exp
parentf33353ae21aa655ee7ef2b9f5dd53f67810366e0 (diff)
gdb/testsuite/
Fix XFAIL compatibility with old i386 systems. * gdb.base/stale-infcall.exp (test system longjmp tracking support): Check also 'Cannot insert breakpoint 0'.
Diffstat (limited to 'gdb/testsuite/gdb.base/stale-infcall.exp')
-rw-r--r--gdb/testsuite/gdb.base/stale-infcall.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/stale-infcall.exp b/gdb/testsuite/gdb.base/stale-infcall.exp
index 9d73ebdbd1..0aa8c2ae10 100644
--- a/gdb/testsuite/gdb.base/stale-infcall.exp
+++ b/gdb/testsuite/gdb.base/stale-infcall.exp
@@ -33,7 +33,7 @@ gdb_test_multiple "next" $test {
-re " test-pass .*\r\n$gdb_prompt $" {
pass $test
}
- -re " test-fail .*\r\n$gdb_prompt $" {
+ -re "( test-fail .*|\r\nCannot insert breakpoint 0\\.\r\n.*)\r\n$gdb_prompt $" {
xfail $test
untested "System lacks support for tracking longjmps"
return -1