aboutsummaryrefslogtreecommitdiff
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
parentf33353ae21aa655ee7ef2b9f5dd53f67810366e0 (diff)
downloadgdb-32f11bad17497e06191afd582159c588fb38d21f.zip
gdb-32f11bad17497e06191afd582159c588fb38d21f.tar.gz
gdb-32f11bad17497e06191afd582159c588fb38d21f.tar.bz2
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'.
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.base/stale-infcall.exp2
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 4301b03..ca49a28 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix XFAIL compatibility with old i386 systems.
+ * gdb.base/stale-infcall.exp (test system longjmp tracking support):
+ Check also 'Cannot insert breakpoint 0'.
+
2012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
PR 14321
diff --git a/gdb/testsuite/gdb.base/stale-infcall.exp b/gdb/testsuite/gdb.base/stale-infcall.exp
index 9d73ebdb..0aa8c2a 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