| Index: gdb/testsuite/gdb.java/jnpe.exp
|
| diff --git a/gdb/testsuite/gdb.java/jnpe.exp b/gdb/testsuite/gdb.java/jnpe.exp
|
| index f7225d80dff994f90af525a20dab649d25dd83ab..65aa5fdb3d4191a77735968a2e5cda86b7356a2a 100644
|
| --- a/gdb/testsuite/gdb.java/jnpe.exp
|
| +++ b/gdb/testsuite/gdb.java/jnpe.exp
|
| @@ -1,4 +1,4 @@
|
| -# Copyright 2009-2012 Free Software Foundation, Inc.
|
| +# Copyright 2009-2013 Free Software Foundation, Inc.
|
|
|
| # This program is free software; you can redistribute it and/or modify
|
| # it under the terms of the GNU General Public License as published by
|
| @@ -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
|
| }
|
|
|