aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.ada/catch_ex_std.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.ada/catch_ex_std.exp')
-rw-r--r--gdb/testsuite/gdb.ada/catch_ex_std.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.ada/catch_ex_std.exp b/gdb/testsuite/gdb.ada/catch_ex_std.exp
index 8326395..d1f17f8 100644
--- a/gdb/testsuite/gdb.ada/catch_ex_std.exp
+++ b/gdb/testsuite/gdb.ada/catch_ex_std.exp
@@ -28,7 +28,7 @@ set outdir [file dirname $binfile]
# Create the shared library.
if {[gdb_compile_shlib $srcfile2 $sofile {ada debug}] != ""} {
- return -1
+ return
}
# Set linkarg such that the executable can find the shared library.
@@ -56,7 +56,7 @@ foreach option [concat $gnatbind_options $gnatlink_options] {
# Create executable.
if {[gdb_compile_ada $srcfile $binfile executable $options] != ""} {
- return -1
+ return
}
clean_restart ${testfile}
@@ -66,7 +66,7 @@ clean_restart ${testfile}
gdb_load_shlib $sofile
if {![runto_main]} {
- return 0
+ return
}
gdb_test "catch exception some_kind_of_error" \