aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.ada/excep_handle.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.ada/excep_handle.exp')
-rw-r--r--gdb/testsuite/gdb.ada/excep_handle.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.ada/excep_handle.exp b/gdb/testsuite/gdb.ada/excep_handle.exp
index 9d91d45..40047f4 100644
--- a/gdb/testsuite/gdb.ada/excep_handle.exp
+++ b/gdb/testsuite/gdb.ada/excep_handle.exp
@@ -20,7 +20,7 @@ require allow_ada_tests gnat_runtime_has_debug_info
standard_ada_testfile foo
if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug additional_flags=-gnata ]] != "" } {
- return -1
+ return
}
clean_restart ${testfile}
@@ -41,7 +41,7 @@ set catchpoint_storage_error_msg \
"Catchpoint $decimal, exception at $hex in foo \\\(\\\).*at .*foo.adb:$decimal$eol$decimal$sp$when Storage_Error =>"
if {![runto_main]} {
- return 0
+ return
}
############################################