]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/testsuite/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Sat, 7 Jul 2012 12:10:14 +0000 (12:10 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Sat, 7 Jul 2012 12:10:14 +0000 (12:10 +0000)
Fix XFAIL compatibility with old i386 systems.
* gdb.base/stale-infcall.exp (test system longjmp tracking support):
Check also 'Cannot insert breakpoint 0'.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/stale-infcall.exp

index 4301b03286804098e8ccafc60340be214c8e3407..ca49a2878412d07b57e5821ddebe8f4817106b68 100644 (file)
@@ -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
index 9d73ebdbd18c3931bb410ebc99b438539fb73a9a..0aa8c2ae107767d1e1b02d76fb4b8ede78d70e71 100644 (file)
@@ -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