diff options
author | Tom Tromey <tromey@redhat.com> | 2012-08-22 14:27:49 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-08-22 14:27:49 +0000 |
commit | b4893d482803eb1c4241ff751193fdcf0bf6650c (patch) | |
tree | 7c17b3a253e55dfa5fe6eaa51e2385b261c4be0c /gdb/testsuite/gdb.java/jnpe.exp | |
parent | 2f2e97fabcc53e4f842e076613b8987b53fe2e1e (diff) | |
download | gdb-b4893d482803eb1c4241ff751193fdcf0bf6650c.zip gdb-b4893d482803eb1c4241ff751193fdcf0bf6650c.tar.gz gdb-b4893d482803eb1c4241ff751193fdcf0bf6650c.tar.bz2 |
* lib/gdb.exp (skip_unwinder_tests): New proc.
* gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
* gdb.java/jnpe.exp: Use skip_unwinder_tests.
Diffstat (limited to 'gdb/testsuite/gdb.java/jnpe.exp')
-rw-r--r-- | gdb/testsuite/gdb.java/jnpe.exp | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/gdb/testsuite/gdb.java/jnpe.exp b/gdb/testsuite/gdb.java/jnpe.exp index f7225d8..b15ee32 100644 --- a/gdb/testsuite/gdb.java/jnpe.exp +++ b/gdb/testsuite/gdb.java/jnpe.exp @@ -31,20 +31,7 @@ if ![runto "$testfile.java:$line"] then { continue } -# See whether we have the needed unwinder hooks. -set ok 1 -gdb_test_multiple "print _Unwind_DebugHook" "check for unwinder hook in java" { - -re "= .*_Unwind_DebugHook.*\r\n$gdb_prompt $" { - pass "check for unwinder hook in java" - } - -re "No symbol .* in current context.?\r\n$gdb_prompt $" { - # Pass the test so we don't get bogus fails in the results. - setup_xfail *-*-* - fail "check for unwinder hook in java" - set ok 0 - } -} -if {!$ok} { +if {![skip_unwinder_tests]} { unsupported "jnpe.exp could not find _Unwind_DebugHook" return -1 } |