diff options
author | Doug Evans <dje@google.com> | 2011-11-21 17:34:17 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2011-11-21 17:34:17 +0000 |
commit | 0e965dd0b2c38e9c6a430363af473aab8cb75b4a (patch) | |
tree | a538980b5b2c0f06a1ca1a2a740be61f922df00e /gdb/testsuite | |
parent | cc1892858129c01ceb226e64f1295fa9c70aa259 (diff) | |
download | gdb-0e965dd0b2c38e9c6a430363af473aab8cb75b4a.zip gdb-0e965dd0b2c38e9c6a430363af473aab8cb75b4a.tar.gz gdb-0e965dd0b2c38e9c6a430363af473aab8cb75b4a.tar.bz2 |
* gdb.cp/nextoverthrow.exp: Skip test if debug info for
_Unwind_DebugHook is missing.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/nextoverthrow.exp | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index d407158..16838e1 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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. diff --git a/gdb/testsuite/gdb.cp/nextoverthrow.exp b/gdb/testsuite/gdb.cp/nextoverthrow.exp index 89c02d6..cc9fe86 100644 --- a/gdb/testsuite/gdb.cp/nextoverthrow.exp +++ b/gdb/testsuite/gdb.cp/nextoverthrow.exp @@ -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" } |