* gdb.cp/nextoverthrow.exp: Skip test if debug info for
_Unwind_DebugHook is missing.
This commit is contained in:
parent
cc18928581
commit
0e965dd0b2
|
@ -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>
|
2011-11-20 Stan Shebs <stan@codesourcery.com>
|
||||||
|
|
||||||
* gdb.trace/tstatus.exp: New.
|
* gdb.trace/tstatus.exp: New.
|
||||||
|
|
|
@ -43,6 +43,11 @@ if ![runto_main] then {
|
||||||
# See whether we have the needed unwinder hooks.
|
# See whether we have the needed unwinder hooks.
|
||||||
set ok 1
|
set ok 1
|
||||||
gdb_test_multiple "print _Unwind_DebugHook" "check for unwinder hook" {
|
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 $" {
|
-re "= .*_Unwind_DebugHook.*\r\n$gdb_prompt $" {
|
||||||
pass "check for unwinder hook"
|
pass "check for unwinder hook"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue