aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.ada/O2_float_param.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.ada/O2_float_param.exp')
-rw-r--r--gdb/testsuite/gdb.ada/O2_float_param.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.ada/O2_float_param.exp b/gdb/testsuite/gdb.ada/O2_float_param.exp
index f22dff4..f664c78 100644
--- a/gdb/testsuite/gdb.ada/O2_float_param.exp
+++ b/gdb/testsuite/gdb.ada/O2_float_param.exp
@@ -30,7 +30,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
lappend flags debug optimize=-O2
if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
- return -1
+ return
}
clean_restart ${testfile}-${scenario}