]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* gdb.cp/nextoverthrow.exp: Skip test if debug info for
authorDoug Evans <dje@google.com>
Mon, 21 Nov 2011 17:34:17 +0000 (17:34 +0000)
committerDoug Evans <dje@google.com>
Mon, 21 Nov 2011 17:34:17 +0000 (17:34 +0000)
_Unwind_DebugHook is missing.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/nextoverthrow.exp

index d407158020f1f64f0ae54794f5827383f9c301c2..16838e10f0db7a1aabe90f696c01dcef308866f1 100644 (file)
@@ -1,3 +1,8 @@
+2011-11-21  Doug Evans  <dje@google.com>
+
+       * gdb.cp/nextoverthrow.exp: Skip test if debug info for
+       _Unwind_DebugHook is missing.
+
 2011-11-20  Stan Shebs  <stan@codesourcery.com>
 
        * gdb.trace/tstatus.exp: New.
index 89c02d65f00b647de2edd675346396a65c79a468..cc9fe86e3bc272c38e1b393482a8fa8cfa9aecd1 100644 (file)
@@ -43,6 +43,11 @@ if ![runto_main] then {
 # See whether we have the needed unwinder hooks.
 set ok 1
 gdb_test_multiple "print _Unwind_DebugHook" "check for unwinder hook" {
+    -re "= .*no debug info.*_Unwind_DebugHook.*\r\n$gdb_prompt $" {
+       # Pass the test so we don't get bogus fails in the results.
+       pass "check for unwinder hook"
+       set ok 0
+    }
     -re "= .*_Unwind_DebugHook.*\r\n$gdb_prompt $" {
        pass "check for unwinder hook"
     }