This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] Skip nextoverthrow.exp if debug info missing


Hi.

This test fails if debug info for _Unwind_DebugHook is missing.

Committed.

2011-11-21  Doug Evans  <dje@google.com>

	* gdb.cp/nextoverthrow.exp: Skip test if debug info for
	_Unwind_DebugHook is missing.

Index: testsuite/gdb.cp/nextoverthrow.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/nextoverthrow.exp,v
retrieving revision 1.3
diff -u -p -r1.3 nextoverthrow.exp
--- testsuite/gdb.cp/nextoverthrow.exp	1 Jan 2011 15:33:44 -0000	1.3
+++ testsuite/gdb.cp/nextoverthrow.exp	21 Nov 2011 17:32:22 -0000
@@ -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"
     }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]