| Index: gdb/testsuite/gdb.cp/nextoverthrow.exp
|
| diff --git a/gdb/testsuite/gdb.cp/nextoverthrow.exp b/gdb/testsuite/gdb.cp/nextoverthrow.exp
|
| index 2224628f977324a0e2fa89e0869b22602433583e..53f59d750f135e7a1188858fa73357e320c3d9db 100644
|
| --- a/gdb/testsuite/gdb.cp/nextoverthrow.exp
|
| +++ b/gdb/testsuite/gdb.cp/nextoverthrow.exp
|
| @@ -14,19 +14,13 @@
|
| # along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
| -if $tracelevel then {
|
| - strace $tracelevel
|
| -}
|
| -
|
| if { [skip_cplus_tests] } { continue }
|
|
|
| -set testfile "nextoverthrow"
|
| -set srcfile ${testfile}.cc
|
| -set binfile $objdir/$subdir/$testfile
|
| +standard_testfile .cc
|
|
|
| # Create and source the file that provides information about the compiler
|
| # used to compile the test case.
|
| -if [get_compiler_info ${binfile} "c++"] {
|
| +if [get_compiler_info "c++"] {
|
| untested nextoverthrow.exp
|
| return -1
|
| }
|
| @@ -58,6 +52,17 @@ gdb_test_multiple "print _Unwind_DebugHook" "check for unwinder hook" {
|
| }
|
| }
|
| if {!$ok} {
|
| + gdb_test_multiple "info probe" "check for stap probe in unwinder" {
|
| + -re ".*libgcc.*unwind.*\r\n$gdb_prompt $" {
|
| + pass "check for stap probe in unwinder"
|
| + set ok 1
|
| + }
|
| + -re "\r\n$gdb_prompt $" {
|
| + }
|
| + }
|
| +}
|
| +
|
| +if {!$ok} {
|
| unsupported "nextoverthrow.exp could not find _Unwind_DebugHook"
|
| return -1
|
| }
|
|
|