]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Clean up "return -1" in gdb.ada
authorTom Tromey <tromey@adacore.com>
Fri, 19 Sep 2025 16:05:38 +0000 (10:05 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 3 Oct 2025 18:12:13 +0000 (12:12 -0600)
gdb tests historically used "return -1" for some kinds of failure, but
there is no reason for the "-1".  This patch removes this from the
gdb.ada tests.

225 files changed:
gdb/testsuite/gdb.ada/O2_float_param.exp
gdb/testsuite/gdb.ada/access_tagged_param.exp
gdb/testsuite/gdb.ada/access_to_packed_array.exp
gdb/testsuite/gdb.ada/access_to_unbounded_array.exp
gdb/testsuite/gdb.ada/addr_arith.exp
gdb/testsuite/gdb.ada/aliased_array.exp
gdb/testsuite/gdb.ada/arr_acc_idx_w_gap.exp
gdb/testsuite/gdb.ada/arr_arr.exp
gdb/testsuite/gdb.ada/arr_enum_idx_w_gap.exp
gdb/testsuite/gdb.ada/array_bounds.exp
gdb/testsuite/gdb.ada/array_char_idx.exp
gdb/testsuite/gdb.ada/array_of_symbolic_length.exp
gdb/testsuite/gdb.ada/array_of_variable_length.exp
gdb/testsuite/gdb.ada/array_of_variant.exp
gdb/testsuite/gdb.ada/array_ptr_renaming.exp
gdb/testsuite/gdb.ada/array_return.exp
gdb/testsuite/gdb.ada/array_subscript_addr.exp
gdb/testsuite/gdb.ada/arraydim.exp
gdb/testsuite/gdb.ada/arrayidx.exp
gdb/testsuite/gdb.ada/arrayparam.exp
gdb/testsuite/gdb.ada/arrayptr.exp
gdb/testsuite/gdb.ada/assign_arr.exp
gdb/testsuite/gdb.ada/assoc.exp
gdb/testsuite/gdb.ada/atomic_enum.exp
gdb/testsuite/gdb.ada/attr_ref_and_charlit.exp
gdb/testsuite/gdb.ada/ax-ada.exp
gdb/testsuite/gdb.ada/bad-task-bp-keyword.exp
gdb/testsuite/gdb.ada/bias.exp
gdb/testsuite/gdb.ada/big_packed_array.exp
gdb/testsuite/gdb.ada/bp_c_mixed_case.exp
gdb/testsuite/gdb.ada/bp_enum_homonym.exp
gdb/testsuite/gdb.ada/bp_fun_addr.exp
gdb/testsuite/gdb.ada/bp_inlined_func.exp
gdb/testsuite/gdb.ada/bp_on_var.exp
gdb/testsuite/gdb.ada/bp_range_type.exp
gdb/testsuite/gdb.ada/bp_reset.exp
gdb/testsuite/gdb.ada/break-label.exp
gdb/testsuite/gdb.ada/byte_packed_arr.exp
gdb/testsuite/gdb.ada/call-no-debug.exp
gdb/testsuite/gdb.ada/call_pn.exp
gdb/testsuite/gdb.ada/catch_assert_if.exp
gdb/testsuite/gdb.ada/catch_ex.exp
gdb/testsuite/gdb.ada/catch_ex_std.exp
gdb/testsuite/gdb.ada/char_enum.exp
gdb/testsuite/gdb.ada/char_enum_overload.exp
gdb/testsuite/gdb.ada/char_enum_unicode.exp
gdb/testsuite/gdb.ada/char_param.exp
gdb/testsuite/gdb.ada/complete.exp
gdb/testsuite/gdb.ada/cond_lang.exp
gdb/testsuite/gdb.ada/convvar_comp.exp
gdb/testsuite/gdb.ada/data-sections.exp
gdb/testsuite/gdb.ada/delta-assign.exp
gdb/testsuite/gdb.ada/dgopt.exp
gdb/testsuite/gdb.ada/disc_arr_bound.exp
gdb/testsuite/gdb.ada/discrete-char.exp
gdb/testsuite/gdb.ada/display_nested.exp
gdb/testsuite/gdb.ada/dot_all.exp
gdb/testsuite/gdb.ada/dyn-bit-offset.exp
gdb/testsuite/gdb.ada/dyn-range.exp
gdb/testsuite/gdb.ada/dyn_arrayidx.exp
gdb/testsuite/gdb.ada/dyn_loc.exp
gdb/testsuite/gdb.ada/dyn_stride.exp
gdb/testsuite/gdb.ada/dynamic-iface.exp
gdb/testsuite/gdb.ada/enum_idx_packed.exp
gdb/testsuite/gdb.ada/enum_qual.exp
gdb/testsuite/gdb.ada/enums_overload.exp
gdb/testsuite/gdb.ada/excep_handle.exp
gdb/testsuite/gdb.ada/exception-lto.exp
gdb/testsuite/gdb.ada/exec_changed.exp
gdb/testsuite/gdb.ada/expr_delims.exp
gdb/testsuite/gdb.ada/expr_with_funcall.exp
gdb/testsuite/gdb.ada/exprs.exp
gdb/testsuite/gdb.ada/file-then-restart.exp
gdb/testsuite/gdb.ada/fin_fun_out.exp
gdb/testsuite/gdb.ada/finish-large.exp
gdb/testsuite/gdb.ada/finish-var-size.exp
gdb/testsuite/gdb.ada/fixed_cmp.exp
gdb/testsuite/gdb.ada/fixed_points.exp
gdb/testsuite/gdb.ada/fixed_points_function.exp
gdb/testsuite/gdb.ada/float-bits.exp
gdb/testsuite/gdb.ada/float_param.exp
gdb/testsuite/gdb.ada/formatted_ref.exp
gdb/testsuite/gdb.ada/frame_arg_lang.exp
gdb/testsuite/gdb.ada/frame_args.exp
gdb/testsuite/gdb.ada/fullname_bp.exp
gdb/testsuite/gdb.ada/fun_addr.exp
gdb/testsuite/gdb.ada/fun_in_declare.exp
gdb/testsuite/gdb.ada/fun_overload_menu.exp
gdb/testsuite/gdb.ada/fun_renaming.exp
gdb/testsuite/gdb.ada/funcall_char.exp
gdb/testsuite/gdb.ada/funcall_param.exp
gdb/testsuite/gdb.ada/funcall_ptr.exp
gdb/testsuite/gdb.ada/funcall_ref.exp
gdb/testsuite/gdb.ada/ghost.exp
gdb/testsuite/gdb.ada/homonym.exp
gdb/testsuite/gdb.ada/import.exp
gdb/testsuite/gdb.ada/info_addr_mixed_case.exp
gdb/testsuite/gdb.ada/info_auto_lang.exp
gdb/testsuite/gdb.ada/info_exc.exp
gdb/testsuite/gdb.ada/info_locals_renaming.exp
gdb/testsuite/gdb.ada/info_types.exp
gdb/testsuite/gdb.ada/inline-section-gc.exp
gdb/testsuite/gdb.ada/int_deref.exp
gdb/testsuite/gdb.ada/interface.exp
gdb/testsuite/gdb.ada/iterated-assign.exp
gdb/testsuite/gdb.ada/iwide.exp
gdb/testsuite/gdb.ada/lang_switch.exp
gdb/testsuite/gdb.ada/lazy-string.exp
gdb/testsuite/gdb.ada/length_cond.exp
gdb/testsuite/gdb.ada/limited-length.exp
gdb/testsuite/gdb.ada/local-enum.exp
gdb/testsuite/gdb.ada/maint_with_ada.exp
gdb/testsuite/gdb.ada/mi_catch_assert.exp
gdb/testsuite/gdb.ada/mi_catch_ex.exp
gdb/testsuite/gdb.ada/mi_catch_ex_hand.exp
gdb/testsuite/gdb.ada/mi_dyn_arr.exp
gdb/testsuite/gdb.ada/mi_ex_cond.exp
gdb/testsuite/gdb.ada/mi_exc_info.exp
gdb/testsuite/gdb.ada/mi_interface.exp
gdb/testsuite/gdb.ada/mi_prot.exp
gdb/testsuite/gdb.ada/mi_ref_changeable.exp
gdb/testsuite/gdb.ada/mi_string_access.exp
gdb/testsuite/gdb.ada/mi_task_arg.exp
gdb/testsuite/gdb.ada/mi_task_info.exp
gdb/testsuite/gdb.ada/mi_var_access.exp
gdb/testsuite/gdb.ada/mi_var_array.exp
gdb/testsuite/gdb.ada/mi_var_union.exp
gdb/testsuite/gdb.ada/mi_variant.exp
gdb/testsuite/gdb.ada/minsyms.exp
gdb/testsuite/gdb.ada/mod_from_name.exp
gdb/testsuite/gdb.ada/multiarray.exp
gdb/testsuite/gdb.ada/n_arr_bound.exp
gdb/testsuite/gdb.ada/nested.exp
gdb/testsuite/gdb.ada/non-ascii-latin-1.exp
gdb/testsuite/gdb.ada/non-ascii-latin-3.exp
gdb/testsuite/gdb.ada/non-ascii-utf-8.exp
gdb/testsuite/gdb.ada/notcplusplus.exp
gdb/testsuite/gdb.ada/null_array.exp
gdb/testsuite/gdb.ada/null_overload.exp
gdb/testsuite/gdb.ada/null_record.exp
gdb/testsuite/gdb.ada/operator_bp.exp
gdb/testsuite/gdb.ada/operator_call.exp
gdb/testsuite/gdb.ada/optim_drec.exp
gdb/testsuite/gdb.ada/out_of_line_in_inlined.exp
gdb/testsuite/gdb.ada/overload_menu_crash.exp
gdb/testsuite/gdb.ada/overloads.exp
gdb/testsuite/gdb.ada/p-bounds.exp
gdb/testsuite/gdb.ada/packed_array.exp
gdb/testsuite/gdb.ada/packed_array_assign.exp
gdb/testsuite/gdb.ada/packed_record.exp
gdb/testsuite/gdb.ada/packed_record_2.exp
gdb/testsuite/gdb.ada/packed_tagged.exp
gdb/testsuite/gdb.ada/pckd_arr_ren.exp
gdb/testsuite/gdb.ada/pckd_neg.exp
gdb/testsuite/gdb.ada/pkd_arr_elem.exp
gdb/testsuite/gdb.ada/pp-rec-component.exp
gdb/testsuite/gdb.ada/print_chars.exp
gdb/testsuite/gdb.ada/print_pc.exp
gdb/testsuite/gdb.ada/ptr_typedef.exp
gdb/testsuite/gdb.ada/ptype-o.exp
gdb/testsuite/gdb.ada/ptype_array.exp
gdb/testsuite/gdb.ada/ptype_field.exp
gdb/testsuite/gdb.ada/ptype_tagged_param.exp
gdb/testsuite/gdb.ada/ptype_union.exp
gdb/testsuite/gdb.ada/py_range.exp
gdb/testsuite/gdb.ada/py_taft.exp
gdb/testsuite/gdb.ada/rdv_wait.exp
gdb/testsuite/gdb.ada/rec_comp.exp
gdb/testsuite/gdb.ada/rec_ptype.exp
gdb/testsuite/gdb.ada/rec_return.exp
gdb/testsuite/gdb.ada/recursive-variant.exp
gdb/testsuite/gdb.ada/ref_param.exp
gdb/testsuite/gdb.ada/ref_tick_size.exp
gdb/testsuite/gdb.ada/rename_subscript_param.exp
gdb/testsuite/gdb.ada/repeat_dyn.exp
gdb/testsuite/gdb.ada/return-small-char-array.exp
gdb/testsuite/gdb.ada/same_component_name.exp
gdb/testsuite/gdb.ada/same_enum.exp
gdb/testsuite/gdb.ada/scoped_watch.exp
gdb/testsuite/gdb.ada/set_pckd_arr_elt.exp
gdb/testsuite/gdb.ada/set_wstr.exp
gdb/testsuite/gdb.ada/small_reg_param.exp
gdb/testsuite/gdb.ada/start.exp
gdb/testsuite/gdb.ada/static-link.exp
gdb/testsuite/gdb.ada/str_binop_equal.exp
gdb/testsuite/gdb.ada/str_chars.exp
gdb/testsuite/gdb.ada/str_ref_cmp.exp
gdb/testsuite/gdb.ada/str_uninit.exp
gdb/testsuite/gdb.ada/sub_variant.exp
gdb/testsuite/gdb.ada/sym_print_name.exp
gdb/testsuite/gdb.ada/taft_type.exp
gdb/testsuite/gdb.ada/tagged-lookup.exp
gdb/testsuite/gdb.ada/tagged.exp
gdb/testsuite/gdb.ada/tagged_access.exp
gdb/testsuite/gdb.ada/tagged_not_init.exp
gdb/testsuite/gdb.ada/task_bp.exp
gdb/testsuite/gdb.ada/task_switch_in_core.exp
gdb/testsuite/gdb.ada/task_watch.exp
gdb/testsuite/gdb.ada/tasks.exp
gdb/testsuite/gdb.ada/tick_last_segv.exp
gdb/testsuite/gdb.ada/tick_length_array_enum_idx.exp
gdb/testsuite/gdb.ada/type-tick-size.exp
gdb/testsuite/gdb.ada/type_coercion.exp
gdb/testsuite/gdb.ada/unc_arr_ptr_in_var_rec.exp
gdb/testsuite/gdb.ada/unchecked_union.exp
gdb/testsuite/gdb.ada/uninitialized-variable-record.exp
gdb/testsuite/gdb.ada/uninitialized_vars.exp
gdb/testsuite/gdb.ada/unsigned_last.exp
gdb/testsuite/gdb.ada/unsigned_range.exp
gdb/testsuite/gdb.ada/var_arr_attrs.exp
gdb/testsuite/gdb.ada/var_arr_typedef.exp
gdb/testsuite/gdb.ada/var_rec_arr.exp
gdb/testsuite/gdb.ada/variant-record.exp
gdb/testsuite/gdb.ada/variant.exp
gdb/testsuite/gdb.ada/variant_record_field.exp
gdb/testsuite/gdb.ada/variant_record_packed_array.exp
gdb/testsuite/gdb.ada/varsize_limit.exp
gdb/testsuite/gdb.ada/verylong.exp
gdb/testsuite/gdb.ada/vla.exp
gdb/testsuite/gdb.ada/voidctx.exp
gdb/testsuite/gdb.ada/watch_arg.exp
gdb/testsuite/gdb.ada/watch_minus_l.exp
gdb/testsuite/gdb.ada/whatis_array_val.exp
gdb/testsuite/gdb.ada/widewide.exp
gdb/testsuite/gdb.ada/win_fu_syms.exp

index f22dff4b0c47d6c161487c3532c7cfca696125f3..f664c78e1c1c3f3df28c97f22fb5e8f89abc0c9f 100644 (file)
@@ -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}
index 113ac3308e35f4797f45ac4d3065138d997e371a..12a351202bcd1f19496e52e25886203bbde28739 100644 (file)
@@ -23,7 +23,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 420ea8c2b4b84e4f8fc957837a611cac3cc6e534..bf750905ea499203d5b247da7fd4d9bdeced7691 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 6959683aed0ddf3d1855442a9bab0f606e4adcd1..13e5a02c280007acbcef6f1e3dd1e1956d6cb7b7 100644 (file)
@@ -23,7 +23,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index 049ecfb13fd24a0ab1c0f7241da2de59c2fdf40f..15c57e52e0739573ad34da507bd001838b4648d0 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo_na07_019
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index fe195a21c2ce29d5e031376356c47fff5314b72f..2110cf14a6c916c62afd30e5c4d351f05fd18a6e 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index dbbe4a88da7b9f4654441ec5d4ea344aab03bd56..bb2b1f0d359ef8b9479c4ffe3c16f71059dbf737 100644 (file)
@@ -24,7 +24,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" \
             executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index 1f252f0e7dcffffa0bfc5fdfffeb54fdb6221249..a41d1d46600d88c5c509883058307465123ff5e7 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 249c613dd7909af8ef429f22f721022fc3513b27..f90bcf4012329c3d19bd5e16391155ac7b9c0deb 100644 (file)
@@ -23,7 +23,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index ab50da7eadc0c3b41e33d0a70ea5a3e9b5d013b5..3b84db594d1a1a00f9a9675eea0e07654c22c01c 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile bar
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index acc2bc461251a293b31130b2dc06473c0fb96789..f0919b04ba7722fc9c121889e2ef97c5c649373e 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 51dd5bb10b1cced0363493868f894d2884e4eef5..8e6c32e373165ec1fcf18ebd1778ef033d927714 100644 (file)
@@ -23,7 +23,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index fa05bd8e7ebb7d260c677c4825463a6830dee3fc..62cbefedfdab660c10befa89c97a2d5a44ce2ca2 100644 (file)
@@ -23,7 +23,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index 84239a79ce0a2213d87062903a557bc9e5036730..5b95647082778b6b68a7c27a686a8044b0b76e53 100644 (file)
@@ -44,7 +44,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index b33adf426b037bf97f70302aba5a684968969e8d..42935d2730eff92541692c1cac6369592b087e53 100644 (file)
@@ -23,7 +23,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index 903edf55f71139522f9250e5fb35d2e690149d52..a27c8f324c8fb2d4094b63aa629aea477dbfde16 100644 (file)
@@ -26,7 +26,7 @@ if { [ada_fvar_tracking] } {
 }
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable $opts] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 07b97a4b757acdb91dc1034aac3830c2a51a99b5..c679a70d6045b8d2b77e35867d6d46d1b1131069 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile p
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 037ed8aaa5d4ce121bb9fdcca745eff3b5d6a0f3..a732751395d45cf4121989e1efd720b1bd912e05 100644 (file)
@@ -25,7 +25,7 @@ set cobject [standard_output_file ${cfile}.o]
 
 gdb_compile "${csrcfile}" "${cobject}" object [list debug]
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug additional_flags=-largs additional_flags=${cobject} additional_flags=-margs]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index b29a2a742b1f59da9e264fee689532096d75fe81..6a7188a9b351f26ef7a5f1e6eb9687afaa60c52c 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile p
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 set old_gcc [gnat_version_compare <= {4 6}]
index f15e4c06786a8ee05d70452f313d90b8e21ca775..3e2d3b69aa9f13d849da1d46e724dc309fb52187 100644 (file)
@@ -26,7 +26,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index 211d4861d11f9cf8145a45e3bad7c4481b32d588..eecc9aec2197253683b5cda163bbd1e24ea96618 100644 (file)
@@ -23,7 +23,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index 4954188241993a3ab9957bdde82414d5528d6c28..b4897183f764fa33ed4d42333216bd250dafe4cb 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile main_p324_051
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index f7dba3dc38b139555499b2d8308a334127f9acae..b2a464e0469bfcaeb00f7398608e539d1d30197a 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile main
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable debug] != ""} {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index f7d764d33db2169af233453db95b9646c051655e..58838feda63493ee44e5cece8e965fbd6ee42ec9 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug additional_flags=-gnat05 ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 3d0459a8191e1ff57e5febf0455f49e3be224bb6..87a233a253e8c90f4ca4d0fb904b655e901a646f 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile "foo"
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index a824815947c16c6969f62f76b045250735a8f583..ee041681ba75845dbf49d0d45c8ca9217972465e 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile prog
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index c452b1529cfce3a4fee9615ead101c7fb996c6cc..48ff9c1ae87d4a2b429349695c8c7cdd8a192ec7 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 4f8303731bc3c3461cbc1fbccfe4b1db819bd95a..c9b875f4a08b46bfeaf0227e03993bf68a95fe5f 100644 (file)
@@ -25,7 +25,7 @@ if {[ada_minimal_encodings]} {
 }
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable $flags] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index aa328a56921c63ac449b5ef2b65385308f6973fb..96ed9d29a285b11aa380c6800879da196d25138c 100644 (file)
@@ -27,7 +27,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index 42312877c52f262ddc827293b77f0511d5b67fc3..63b6ecb126e37e6e0a15b0ba4599cfa9b62f35bb 100644 (file)
@@ -41,7 +41,7 @@ set options [list debug \
                 additional_flags=${cobject2} \
                 additional_flags=-margs]
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable $options] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index de826bd391df2fb39ccd078669d1f36579201984..511b5dbcf484522e0e4254f8e595a3b5f026a513 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile p
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 46f9d5217f2070eaa1c9d97c0699779f7076eae1..82481a94c7e08c92513a8ea85bcb47c2a8378a9f 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile bp_fun_addr
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 04cf755b99e7fb4aac63eb15188c34a75f1b6d44..4d772ff1f2310f3585067df9fcb19e20087720ca 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index e540a92ae98aab866a2bb00ac629ba39d58e4884..78ba4bfba70729238762665d1af5262f51fe17e8 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 # Test inserting breakpoint on pck.my_global_variable.
index 704b714cc5b959ba4fd6c0469dfa28b29a3808f3..fd9ab9881965e42774c63f596a6a5080d8f535d9 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 8d840619a864e688072ff8276263e1faf67eeeb7..c8a18570b6f97219eec9912147c7635ac8e3cefe 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index c30903cf97ba4c2a5b4303a6eef1657022f7cbbb..22fa95978e7aca517d26f3a420000f24d8ab4687 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile proc
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable debug] != ""} {
-  return -1
+  return
 }
 
 # Ada is case-insensitive, so both of these should work.
index e240ffda1b1fda6e4d684ef9f276d948d891e7c8..d3f51d933cb140ef5c8b520e556b52457711aac8 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile reprod_main
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 30e605a7d170b6b79d9a636c50a0dedf3d6669d4..baf8e9bce872950f01676ed5558ee9849af73d7d 100644 (file)
@@ -29,7 +29,7 @@ if {[gdb_compile_ada $srcdir/$subdir/$testdir/pck.adb \
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable \
         {debug no-force}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 4d9c26e1f45feb961dda024c2b3f7aba2a531af8..295e7c7932d06916333a7237f900c4ba9c5ab83e 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 9e63c176960248e6b53ab5318583646ff7f1c8b3..2ac47d14bd4e1dfee161323ab5dd938a23067043 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests gnat_runtime_has_debug_info
 standard_ada_testfile bla
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug additional_flags=-gnata ]] != "" } {
-   return -1
+   return
 }
 
 clean_restart ${testfile}
index 6b5773517de739dc4317a348bfff693a69f6e157..5ac06ca70e737badb98aa04bac62ab3a352804c7 100644 (file)
@@ -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}
index 8326395a4c1aec8e6e3c3e8b3eb9e30d11d3ab27..fb12c76ad5f0a4d92cbd68158359baaa38976c90 100644 (file)
@@ -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}
index 8757a10995104cb0d8bac404f5dc873b5121b3eb..6fbfb7b8be89bdefdbbde4a538679fa9ec6e428b 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 1ab8e9eb01cf56f1a4accf948117078f77220e83..8a8cc5adcdf655afe37e5ccf29def1f1fa9847dd 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 838bae08883115b2d3c28ee842f2305cf715571d..33e5aebcf1cba1615ed7108e7d907cbcf6030961 100644 (file)
@@ -21,7 +21,7 @@ standard_ada_testfile foo
 
 set flags [list debug additional_flags=-gnatW8]
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable $flags] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index fe19a8330138098b6274ed45ed2e67f74b464f8e..1490b7102849d46e655bdb9ea2294a338934bcc8 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 18548c7255b710b3eb5d766fb34bb63bdbd41b68..fbdd24c466b4f0b58d6af98124850f93303f8457 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 3577ad7c165d64ce6a63dbdc5d9a44a34063bb19..a0db685b09c2a7e419d76c60cfec47bb8a6e10f6 100644 (file)
@@ -25,7 +25,7 @@ set cobject [standard_output_file ${cfile}.o]
 
 gdb_compile "${csrcfile}" "${cobject}" object [list debug]
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 0b847cc6b2c0ca6a094d240e95e84a6aadec6eaa..339fb34b94f9e4083512cbf229f1255c757242c3 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile pb16_063
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index ff9be0febfcb4bf171a93fd50024f0444ffa6c56..51844b0a855373ffe0be4d6f14d8bdd310737ef5 100644 (file)
@@ -22,7 +22,7 @@ standard_ada_testfile main
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable \
         {debug additional_flags=-fdata-sections ldflags=-Wl,--gc-sections}] \
        != ""} {
-    return -1
+    return
 }
 
 # The bug was that the DWARF reader would crash when processing a
index 13b62b801754da917d59ef9f1bd6a9790d8dd080..fbb87679478a6703bf3f482ca14e9a92f77661b7 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile main
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 7967f32e6ead8a8b232eaba638c41d352f6d12b5..438840fe9b0cc03c1d0a40f18ac65fdb4456a136 100644 (file)
@@ -23,7 +23,7 @@ standard_ada_testfile x
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable \
         {debug additional_flags=-gnatDG}] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index e11bc56ed2dcd3951daee833549ebe543e339a82..7ea65a8d1e96e84b94e060b3afbf9187b16378cb 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo_n612_026
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index dfe698a11415182bc9e1ce21faf62bb865842e46..515219aa2b6b5363aea40f49ff450be510da3303 100644 (file)
@@ -22,7 +22,7 @@ require allow_ada_tests
 standard_ada_testfile main
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index fbc072b7d01c9e0c1bf5c71755474c0a907cb789..4316dc9da4a497359cfb0a30cfaf5c3de0b431f8 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable debug] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index ba5d9df4a00520b243598e1c75a1bd39098f9f4f..3bae392dff818108a8939ea640433dd88836b484 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index f8a43637668752a44acbb6644b255c990070a81d..a825d3b858a25715c1506a4d6eced9fc2b2d1c97 100644 (file)
@@ -25,7 +25,7 @@ if {[ada_minimal_encodings]} {
 }
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable $flags] != ""} {
-    return -1
+    return
 }
 
 # GCC needs to have fixes:
index aed5847018e2cd57148ebb61fb740c926f1f76b3..a0dabb95d8ef3d92d9b663064103d3db7e23feea 100644 (file)
@@ -20,14 +20,14 @@ require allow_ada_tests
 standard_ada_testfile dyn
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
 
 set bp_location [gdb_get_line_number "STOP" ${testdir}/dyn.adb]
 if {![runto "dyn.adb:$bp_location"]} {
-    return -1
+    return
 }
 
 # Accept "dyn." prefix for older versions of GNAT.
index fa5b95e56226d7dcb8512aea931fb5b3135cc8fc..f166e2add333b9827eabd1cd8fcb594907180d11 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug additional_flags=-gnat12}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 0a1313b729ce6608ca7b751c936888168f867ecf..b8207644212e650a9c3453da5f7c9bee3a493eed 100644 (file)
@@ -20,14 +20,14 @@ require allow_ada_tests
 standard_ada_testfile p
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
 
 set bp_location [gdb_get_line_number "BREAK" ${testdir}/pack.adb]
 if {![runto "pack.adb:$bp_location"]} {
-  return -1
+  return
 }
 
 set eol "\r\n"
index deeeddd51b721ba0b55d0593356e368166f41344..95ec606b3b8df8b9c5773c627aaa7c6b02de9415 100644 (file)
@@ -20,14 +20,14 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
 
 set bp_location [gdb_get_line_number "STOP" ${testdir}/foo.adb]
 if {![runto "foo.adb:$bp_location"]} {
-  return -1
+  return
 }
 
 gdb_test "print A1(1)" \
index a3add3f4311279c52b36948c936523fc88613e3b..3e55be949963bf0852b48aa7fadfd9efb483ab7e 100644 (file)
@@ -22,7 +22,7 @@ require gnat_runtime_has_debug_info
 standard_ada_testfile main
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug additional_flags=-gnat05}] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index c274d2b5fc72ef8629adad802694e080c1b358ae..e6690557961a09271dbcd16df954b8e543503b7a 100644 (file)
@@ -23,7 +23,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index 75df83c6d4c30017761808d877970d5e36b98c46..e5e57e6701d3428130d45dba6a8ad1022c014684 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile qual
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable debug] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 8109e862ee9982eab01a20c1f4eaa38cadbef0e7..cbb8b5c49e4737509dcc9f06e143edd3e8520fa3 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile enums_overload_main
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 9d91d45373b039eed487a8548de509df6a3afd61..624725d9047dfac36110199eee2dbd956646f86b 100644 (file)
@@ -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}
index 42a5472cc11fde0a438d32600e68ffb4c3f7bf04..94f04835ac1391432926ea668a12ba744e24f381 100644 (file)
@@ -24,7 +24,7 @@ require allow_ada_tests
 standard_testfile .c
 
 if {[build_executable "failed to prepare" $testfile $srcfile] == -1} {
-    return -1
+    return
 }
 
 # Try this test in both the C and Ada language modes.
index 31add111e96c943d5d5cb2cbc55e980936772082..b67f6d49c06babd6784b769090bbba63bf699359 100644 (file)
@@ -25,7 +25,7 @@ standard_ada_testfile first
 
 # Build the first test program (note that cygwin needs the $EXEEXT).
 if {[gdb_compile_ada "${srcfile}" "${binfile}$EXEEXT" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 # Build the second test program
@@ -33,7 +33,7 @@ set srcfile2 ${srcdir}/${subdir}/${testdir}/second.adb
 set binfile2 [standard_output_file second$EXEEXT]
 
 if {[gdb_compile_ada "${srcfile2}" "${binfile2}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 # Start with a fresh gdb.
@@ -52,7 +52,7 @@ gdb_load ${common_binfile}
 # Start the program, we should land in the program main procedure
 if { [gdb_start_cmd] < 0 } {
     fail start
-    return -1
+    return
 }
 
 gdb_test "" \
index f343774a0fbdd8dfcf0d561b751090ee65388cae..83e398a830279e22065b43faa1ae6c17d4cc63b0 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index db73a7afd59904e58d4b6869d11f7c97b2630abc..fc06b7a9773cf210e086541d76ae23a27065c093 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile expr_r821_013
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 1a5a52478a423ca293f9c1eb58ae59572ab47b24..1ff5ed0e4038db26532cb8bf7b0b63d606e65109 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile p
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 6e8e058f70378aef3618de14c23d7c0ed3342295..40d0959effdbbe6d26a74ae5918655d53dffb615 100644 (file)
@@ -24,7 +24,7 @@ require !use_gdb_stub
 standard_ada_testfile first
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 # Build the second test program
@@ -32,7 +32,7 @@ set srcfile2 ${srcdir}/${subdir}/${testdir}/second.adb
 set binfile2 [standard_output_file second]
 
 if {[gdb_compile_ada "${srcfile2}" "${binfile2}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 foreach_with_prefix scenario {kill no-kill} {
@@ -41,7 +41,7 @@ foreach_with_prefix scenario {kill no-kill} {
     # Start the program, we should land in the program main procedure
     if {[gdb_start_cmd] < 0} {
        fail start
-       return -1
+       return
     }
 
     gdb_test "" \
index 6ba7377429f9785811b8424e806f59c622f2e6c1..fcc7b40f47899870140d0bad99cb8d705020953b 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo_o525_013
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 10cb840579938c94d43fb58cae8a5e24a5aeffd6..61e7a79ea9c609fc3ba22b04872c3c0e6ea89749 100644 (file)
@@ -26,7 +26,7 @@ if {[ada_fvar_tracking]} {
 }
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable $flags] != ""} {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 895a24821c05691ce9159ba4370122a6b45f7a10..4bcd7aad0dfb320f764a9491d51c9086a913a18d 100644 (file)
@@ -29,7 +29,7 @@ if { [ada_fvar_tracking] } {
 }
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable $opts] != ""} {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 6d546f2341c54f9b40e1d93e8d3271dbf6a8c1cb..0fe52dcc09e3a9b1bcbfadd5e4c4aa61ae495fb6 100644 (file)
@@ -23,7 +23,7 @@ foreach_gnat_encoding gnat_encodings flags {all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${gnat_encodings}" executable $flags] != "" } {
-      return -1
+      return
     }
 
     clean_restart ${testfile}-${gnat_encodings}
index 0e65004767415ceafc47e2a0dff2840458a78970..79df7af5d478584bd2a27fb7b1c9b21675e041ee 100644 (file)
@@ -22,7 +22,7 @@ standard_ada_testfile fixed_points
 foreach_gnat_encoding scenario flags {all minimal} {
     lappend flags debug
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index 005ea072aa6c08ce6a97f2fff2f16004552addbc..3b0c78b13908eb0347429eba9ca7376a17e81d11 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile fixed_points_function
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 848cbc2975bc36ae4dc125051c8b6913162e12f0..f000d5d8ba1cd4c942273d986397d04db5f32d85 100644 (file)
@@ -22,7 +22,7 @@ require allow_ada_tests
 standard_ada_testfile prog
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 # Given a floating point EXPRESSION, return the size of the result.
index 1fe0292291f49df5a1d47fb28ddb28504f1cf061..8b5fc4375e4e9d092da6c87b01d96ada0077ecd8 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index d473554fd627753f21054b4a05d5af34327b7340..08e56cee0efec9637cc9cb9fc22ab2587a26c480 100644 (file)
@@ -32,7 +32,7 @@ standard_ada_testfile formatted_ref
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
     untested formatted-ref.exp
-    return -1
+    return
 }
 
 proc get_address { var } {
index 073c256580f181364df6950b59cca41966e4fee6..13a317f69483f164bcd223a516b234c060be6f95 100644 (file)
@@ -33,7 +33,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
        additional_flags=-margs
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index e6cf868774a1d063534f082d0cabd300303cdbd0..9f8badd0276dd0d43970a605b4e23d21c00c15ec 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 4ca1308b4ff1372335d35abc915faa707379a7ab..7729c63fec756c0adf3634127ba654d75063fc17 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 # Note: We restart the debugger before setting each breakpoint, because
index 45fee79128d8dc024341310c5ab5ad064e05e645..2d86fd43fd22b8646ec18b24150639a444062f39 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index a5f6f63d56e99ff37316912902761a7fdf7afa58..edd231821e6b93f7ce086f688573bf08cc6f62e0 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index b4d969afc2ea35ed377c97de867c7017b3dd5cd9..7bafd09ec0468c9402d2c6f8d7a20cb296699713 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "$srcfile" "$binfile" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 19fcb2f10f10c8a60e297b82a21dc329559ead24..9d84a572cb725eccb8c6a5d6b0b2dcd1be292f7a 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile fun_renaming
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 15897417170a70697681ca5f2c8de525d1a7b1f1..108fcde5d7ac246ecf3fd5fa0550e9e8950bcd28 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index a38ffeba8e610626dbda8c07895c324ec05a1f93..10e5175a99b2ed10f9095567a5a06a0fe50a110d 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index b4c77f0cd5711dd65de349f69f096dde5f699053..8b93c12e4dec83db46147c053ffbf61c5a9c9aab 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "$srcfile" "$binfile" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index d72110cd480a710a36d6d6c3c7be76a7533eced4..cc34a0b5c89b316e1d74dafc324a1e704fa05268 100644 (file)
@@ -26,7 +26,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index 78e6f3971ef828f9f0c346c695bb22fd38970687..1758ea87ab335d766ada7168e0cc65db609f900f 100644 (file)
@@ -21,7 +21,7 @@ standard_ada_testfile main
 
 set flags [list debug additional_flags=-gnata]
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable $flags] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 97a2ee23fd9b035242fe1c6adee78d79192faa43..ac3c22d4fba6ca8abde8d6f5149acfce50854169 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile homonym_main
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index d7d11e13f50376ba5c04772f5dd57bfedb860b7a..6011def803694f04ada965804c3a320ef3d03177 100644 (file)
@@ -36,7 +36,7 @@ if {[gdb_compile "${csrcfile}" "${cobject}" object debug] != ""} {
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable \
         [list debug additional_flags=-largs \
              additional_flags=${cobject} additional_flags=-margs]] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 2ae4cf6d17ad0514dc426df2b032e13eabd4da19..998a4a96c355cdec6edf8ef4d8994a2587996d8b 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 805257e11e61a210f5283783ca2964e9f2b7ebfc..ea561e7d80101c35c3efa0f426234afad110a4ba 100644 (file)
@@ -35,11 +35,11 @@ set cobject [standard_output_file ${cfile}.o]
 
 if { [gdb_compile "${csrcfile}" "${cobject}" object [list debug]] != "" } {
     untested "failed to compile"
-    return -1
+    return
 }
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
     untested "failed to compile"
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index c2ab2f95f8609e5ba5bfbe780b34f4a921a60bcf..ab2d95c3c72c9870c67ecb1c47cd251a133f7382 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 794474ce24095afdd985504d53329940f93d5e65..9c33e944d90476981dbe3b73ba6e4fa4ea18c33d 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 370f810fe4f2c2dad06dff921fdeb924e477d4d7..24d7c8f467d8183d5b4f3988102fbfba50c73727 100644 (file)
@@ -18,7 +18,7 @@ require allow_ada_tests
 standard_testfile .c
 
 if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } {
-    return -1
+    return
 }
 
 # Force the language to Ada.  We used a C program because it was trivial
index 7965b02f653c71858678aed4639cf11bab6cc08f..5e9105ea03a63eca98617c6f439ca39638448858 100644 (file)
@@ -35,7 +35,7 @@ set options {
     additional_flags=-margs
 }
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable $options] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 4d989dbfda22f23d831cc5845322226e7465e878..c3ecea869ce4d8568ccf50fa2783c951da867873 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 5b4294404b5ec8b3d072779d4b021f940e6fa0e0..e038c47d087d8d0ad3bd35600733209cad845f53 100644 (file)
@@ -22,7 +22,7 @@ require gnat_runtime_has_debug_info
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug additional_flags=-gnat05 ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 8afaa167607d473c0fefdd8ef9d62193c3f09c9a..fcee906d47232fa022e009e83d573f92db861f66 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile main
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index b6cc8fe5a102fc63670cc954c3a2a9b46d453ffa..a2a049f7f2e0a7819514d873f1598c00c019b054 100644 (file)
@@ -22,7 +22,7 @@ require gnat_runtime_has_debug_info
 standard_ada_testfile p
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug additional_flags=-gnat05 ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 4ab8fa357d2483263963175743c2eb25ddf65feb..70f5d0ba7992f563f279bb5ccf58930328fb6c90 100644 (file)
@@ -24,7 +24,7 @@ set cobject [standard_output_file ${cfile}.o]
 
 gdb_compile "${csrcfile}" "${cobject}" object [list debug]
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 11c5c043f0513d9738b34076e9530ea4cb248b34..2ec5065d4091fac4841348512b812903c9f9febe 100644 (file)
@@ -26,7 +26,7 @@ standard_ada_testfile main
 setenv LC_ALL C.UTF-8
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 070179b8f5657e517c36385300d429aea72fb6e1..12ccc00598e85bdf57a7efda00dd84d3699b2c31 100644 (file)
@@ -23,7 +23,7 @@ require allow_ada_tests
 standard_ada_testfile length_cond
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable debug] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index a5001fa29493e97c6671ab4cf99bd125b8573909..3e8b663d94e4f489872643a9c9e2b8d282831fa3 100644 (file)
@@ -21,7 +21,7 @@ standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable \
        [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 2a480da7c4dee6f0c074956c33f18bfebf0f1a6b..cb071eacc08eb29b6ca700fb10217e04abb70f4c 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile local
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable debug] != ""} {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index d793d608842323887ed1c784946ac864232b9515..a03371f631c98a107564e51fc438c95f4c523d56 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile var_arr_typedef
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index c3dbfca14b91a3b5ec837c2cfd82caf9bc3fd095..8fa02bd54b186d70cf051d1c0bab367a2582ff18 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests gnat_runtime_has_debug_info
 standard_ada_testfile bla
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug additional_flags=-gnata ]] != "" } {
-  return -1
+  return
 }
 
 load_lib mi-support.exp
index 083702826735b892c24ecb4ad8e986a103ad35b0..5b2fddc6eedd3544f11fad37229efb5e784a1329 100644 (file)
@@ -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
 }
 
 # A global variable used to simplify the maintenance of some of
@@ -59,7 +59,7 @@ proc continue_to_exception { exception_name exception_message test } {
        }
        timeout {
            fail "$test (timeout)"
-           return -1
+           return
        }
     }
 
index 0c50f59408303757a1b710e60fd427a1fe207a7c..b4251ab1f3d68b0c5dcaa36928607b17c969c6e5 100644 (file)
@@ -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
 }
 
 load_lib mi-support.exp
index b01f3e9357a1a0395e9fb87e1b04916d09b5d3d7..c96d0952917751ed7e56c29dcc2f9f117139d263 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 load_lib mi-support.exp
index 43caf768ee335a65fefbad08c61b2b3acbb2e855..51bea38998f849b9b377b31a4cc5d3d6bbff930b 100644 (file)
@@ -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=-bargs additional_flags=-static additional_flags=-margs ]] != "" } {
-  return -1
+  return
 }
 
 # A global variable used to simplify the maintenance of some of
index a95fb23a3f1f61cf12bac219ac60014f0daeb009..92279739deb36453febf869fa1d4b873b55ff296 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 load_lib mi-support.exp
index f25adf0276df14dd0e60c91ffa944779066246d5..e74db357968a048563fee1c463fc33fab225ea9d 100644 (file)
@@ -22,7 +22,7 @@ require gnat_runtime_has_debug_info
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug additional_flags=-gnat12 ]] != "" } {
-  return -1
+  return
 }
 
 load_lib mi-support.exp
index 4edc93bad7767ac3a898eb303f4a89f96c625538..ba0c3110b1b207669c2754142716c32fd312306e 100644 (file)
@@ -22,7 +22,7 @@ standard_ada_testfile prot
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable \
         {debug additional_flags=-gnata}] != ""} {
-    return -1
+    return
 }
 
 load_lib mi-support.exp
index c69f61598b11853144869c562f55050839b7d1a8..86bab640a5b4702a47504af90ab91e2cd68bce29 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo_rb20_056
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 load_lib mi-support.exp
index e29e17dd4f4cef866c177cc7ed6f5deadb4121ef..cbed82858927c542e555c837381db33b4b180c27 100644 (file)
@@ -26,7 +26,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     mi_clean_restart $::testfile-$scenario
index 6c222ff8512373d8fc1ab32b4e5d69657d9ce650..54534e82789a4ffef7b3b5c2d7ec74bf5d0e7628 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile task_switch
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug additional_flags=-gnata ]] != "" } {
-  return -1
+  return
 }
 
 load_lib mi-support.exp
index 9895cfeb1e61ce054a997ee7d9105ff21a3df012..c69af43f1451b49e252e122a51547e68e5d1affe 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile task_switch
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug additional_flags=-gnata ]] != "" } {
-  return -1
+  return
 }
 
 load_lib mi-support.exp
index b595780e7054b67d49c76a8fcc245e61bc80b062..50b90f1edaa67e0047282746f0d20d19dc6e67ff 100644 (file)
@@ -23,7 +23,7 @@ load_lib mi-support.exp
 set MIFLAGS "-i=mi"
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable debug] != "" } {
-    return -1
+    return
 }
 
 mi_clean_restart $::testfile
index 0ba90e789fc1f5bd08b6c12fb45ac2902aa1c1e1..d8b565d2a7933c6f5fc3cb4e59da94d64a08ad07 100644 (file)
@@ -26,7 +26,7 @@ foreach_gnat_encoding scenario flags {none all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != "" } {
-       return -1
+       return
     }
 
     mi_clean_restart $::testfile-$scenario
index b1988006164aba1904cbdb620bb69935ad761e0d..0cc792c07f9efe3227a8c5012c8fb58524a75d78 100644 (file)
@@ -28,7 +28,7 @@ foreach_gnat_encoding scenario flags {none all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != "" } {
-       return -1
+       return
     }
 
     mi_clean_restart $::testfile-$scenario
index 18693cebefb8a5d56b7d3ec2a09ce33a2babd6b1..4ad9a6ce1659a71497cec5cd3cfdec6232573766 100644 (file)
@@ -27,7 +27,7 @@ foreach_gnat_encoding scenario flags {none all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     mi_clean_restart $::testfile-$scenario
index 355204bfa5336e3aaee0a41ddc23b7a396e1841d..2d77f6b7bed871e10129a503563a75f4fa3c6152 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo_qb07_057
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable ""] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index e97eb5a33fa419b57777613f221bae6ad3d78bf7..7303003497a4ec4a148c75b82b5a9963eeaf7349 100644 (file)
@@ -23,7 +23,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index 9e8eedbea18308b3c31b42329624ed30dcb7ea55..b56b389efd1c59b7a7d05613e03db72036856295 100644 (file)
@@ -24,7 +24,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" \
             executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index 462927924e31bbd2206d26813410b59e3f0044f7..3df5747c71e7fbf42eb1cdd38b23621876d17d05 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 48aebe7adc197492ab8a78b06c2b0fcc25c6fb60..3e91e688d9ea9046e64f786dd8253e86ef293486 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile hello
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index caf22a5c89cdd0b41171af5301ace9e82eb26da5..e5c56b782c6928e96fdcdc85cdf6de99f627bd57 100644 (file)
@@ -29,7 +29,7 @@ standard_ada_testfile prog
 
 set flags [list debug additional_flags=-gnati1]
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable $flags] != ""} {
-    return -1
+    return
 }
 
 # Restart without an executable so that we can set the encoding early.
index 873cd6837ab60c334a22b064784cfdfe745bc5f4..37be874c20df6be115927f38984c5af69e18ff5b 100644 (file)
@@ -29,7 +29,7 @@ standard_ada_testfile prog
 
 set flags [list debug additional_flags=-gnati3]
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable $flags] != ""} {
-    return -1
+    return
 }
 
 # Restart without an executable so that we can set the encoding early.
index 6e42f530b296f5f512a41e49f52805158a0f7413..25aa2ba763e45bcdb21561b0c9053e9dbec03272 100644 (file)
@@ -27,7 +27,7 @@ standard_ada_testfile prog
 
 set flags [list debug additional_flags=-gnatW8]
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable $flags] != ""} {
-    return -1
+    return
 }
 
 # Restart without an executable so that we can set the encoding early.
index 1774e495ba0b32a0a177be487690771e83cd9aac..8f69a6cfa068f371444b552c4062d454fa017d77 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 851a0a6907f0f299f23df63fc8d83e8a2ea3335f..04ef5738040eafca0c7c3f443051d9d1bdff696f 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 46d4530b8c1d8929ca7b51c6af877caa278de24e..1b4aebe1a78f455b4e06612805f7509d1655c636 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 092d972df014b90b0ba7c3b0e3e176632e51d8d2..c9a5f4f58a5375249445e8b65bc78e9ef7124af9 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile null_record
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 630d9010732a9cc0a1e5397ea2e871a10a23696d..1bc3d271c28ebcb898d64e1d20fbb41749031a88 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile ops_test
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index dc7f679d9c3e5d38d0d3b457e5850fd0cc6e79f9..8f2a26827169e4c9cd1e507018a82fdc7ef20368 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile opcall
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 3f50879213a208058255da46c446937b98adb472..6256baae2407895431d84083ae42f7e53e632684 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index c15b127393773d46a34e22b464915c667f90afd4..233f78663630d57f3c652e11b3ed43703df5aa6b 100644 (file)
@@ -23,7 +23,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}
index 6e8e74e9fbb7822d7b68ac5884084c2eaafd4db1..267ba462d4189991162a95251532fd51c4db313b 100644 (file)
@@ -22,7 +22,7 @@ require allow_ada_tests
 standard_ada_testfile main
 
 if {[gdb_compile_ada "$srcfile" "$binfile" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index b11020f774b841fef4d1cebba4f428a196f932a9..32d1b7d0d217f14da2f803ed994f71e8869f814a 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile overloads
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index d075491152a7f719ec190fda65128cbd7a925d81..ff38612df9adcb40d70b2e59b8c271c756a4f393 100644 (file)
@@ -23,7 +23,7 @@ require allow_ada_tests
 standard_ada_testfile main
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable debug] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 7a561bfa52dba4186c17c5f4c23fa58c630a4f89..647562185b6926c1cb3b1a4799c3f3db5cef6be6 100644 (file)
@@ -23,7 +23,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index 3093d0b1d76b54fa0298e95d4bc1abba2798102f..f0d21fd05398eb93787b6b358e544daabc9ba74b 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile tester
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index ad371f98c9469ba3c214a00887c47e49035299bd..ed156ad4caa4e882bff18de691147b72397c030b 100644 (file)
@@ -23,7 +23,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index d0bcdbd4a80b4e344ff2d708076ddcaca079be3b..af2509b73b8a34b27625d3f3b1a4305d66ffd849 100644 (file)
@@ -25,7 +25,7 @@ if {[ada_minimal_encodings]} {
 }
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable $flags] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 2a4803740415b716ad6b5bccdbb49ec6983d2dc4..de3f0896c6bc299bde6c55cf16714c343e15e1ed 100644 (file)
@@ -26,7 +26,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index 8a58cc366076a5027d3a6814a8354bee8fe46071..cbcaa7cd7cf4063a0d35c71417af3614478bd461 100644 (file)
@@ -23,7 +23,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index 38b75abff4fd8074c7f56ee668655695d8166b4a..3319bb1938a6ba2a00572af9413662d0c6d0a5aa 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo_o508_021
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 8454d55fc25a33eebec0ea405b8d62231e43fce1..d589e88820547548c5af54322828b169d53963f0 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile failure
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 81848ad411c3c5737aed3711873f651329bf8d16..30e362cdd8ce5cc09376e5f6ab0f845555a7ebd1 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests allow_python_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 8bb4094e7a1ae37f31051ae7bef8d66e272d07b8..b487772cc013a3374a479ee3b1aca1144fc50191 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug additional_flags=-gnat05 ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 2bf07e4cc8cf9562de646297d94eccf2e99439cc..8b2043cab66c0bcccf913d91fcd76f6f2f6eeb16 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile dummy start
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 90f6f1f8113c3aa9b3517ca2dea5fcd0a87dac3f..7bed41c3f7f5306b0e20976002d2d0b01f53cd80 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index a65a8003ed38746637a3c7bc9e6109e57903a012..1558dff164d087ae58eea2d15f38bcb2f408610c 100644 (file)
@@ -25,7 +25,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index 34c9c7e884a612548e8504019ed4d5ef297dc831..b407d76ce6c2086d404c04f27a192f90b451c5a1 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug additional_flags=-gnat05 ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 832298ed1d37195bdb69fae995a20583ed12a08b..16e5e1d66542f898c0b99645de6a32ed6989cd28 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug additional_flags=-gnat05 ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 493a89ca7223b2fe730b99623d4197c665b2f6c3..389f172324c9cf145a27bb09de3d457e8c2fbc18 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 set has_runtime_debug_info [gnat_runtime_has_debug_info]
@@ -28,7 +28,7 @@ set has_runtime_debug_info [gnat_runtime_has_debug_info]
 clean_restart ${testfile}
 
 if {![runto "pck.adb:20"]} {
-  return -1
+  return
 }
 
 # With some versions of the compiler, identifying the runtime type of
index f67793c6fad1fb0f25e6bade817d0a68d93e1703..de211cb913bdd37de926f7b9b9a15e6b5612e103 100644 (file)
@@ -18,7 +18,7 @@ require allow_ada_tests
 standard_testfile .c
 
 if {[prepare_for_testing "failed to prepare" ${testfile} ${srcfile}]} {
-    return -1
+    return
 }
 
 # The test case is written in C, because it was easy to make the
index 7adab654dd9273c80c45622991e84217ae67dd27..237cf46543c821955d01d0250f772e39d289771b 100644 (file)
@@ -21,7 +21,7 @@ require allow_ada_tests allow_python_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index bd30d20bdb3695d63cc57436445cc249f300595f..a2d8686dd178091a6d6ce202372180d23fa9d84e 100644 (file)
@@ -21,7 +21,7 @@ require allow_ada_tests allow_python_tests
 standard_ada_testfile main
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable debug] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index bf58c5835447443413a20621fba44c0b289e04d4..d6d446ec0d42cbafe41c944d3d7c9bc2d3b5609c 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 140e1b50e4df48c02e606c9d6ed7400fa79f844b..af49495b875006087f5888112aea9aab2981b3bb 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile bar_o203_012
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 96380abfd329711379b65bfbacfaac5c7df392f2..d6b7aa1d157db9f83c0bf9e5e250d093a74e8c80 100644 (file)
@@ -26,7 +26,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index 321ba672a87b795103eaf8e2968cc9e3a72d9c2b..dd94441365cf858807a1600c43eb4bf2591d8110 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index c2b15e47383d0605daa7b069526472061ad12d69..6883857e4d2899e9a58c26e7c0e8c7b1da72ca7f 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile main
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable debug] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 1ae1d9701bddfdffa3ef184c4a5bf015911d6768..b9c0eb9009c80434b4b2ff99745c214eee0231c2 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 6ceb73b60869d48e2d4f288429a9bc0b9c6fb009..18b63eff4e6fa9a4c03cec0d6b3c0c7a436bcfdb 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile p
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 75e50985cdfcbf582dffc39ad46b74e2a2857947..73e58b40c1e5a4555e75fdf7aac8cdde75cc54b7 100644 (file)
@@ -22,7 +22,7 @@ require {gnat_version_compare >= 8}
 standard_ada_testfile pb30_012
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 7e5c7a7bc641487a8d2a6fda3942892915893f0a..fb1ecbbd743efb3676552f87e1c92ec91b7f2927 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo_oc22_002
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 75c781e9a0e34ad7aabd700e94653425bfe73e84..1f6412edff47397879f52094f1e67342e3178f6d 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile proc
 
 if { [gdb_compile_ada $srcfile $binfile executable debug] != "" } {
-  return -1
+  return
 }
 
 clean_restart $testfile
index 6c7c7d542f966314b9be8eb1d800a3f66c1b8374..b245bf9b80577b6ea29c31535b2b87687e56c961 100644 (file)
@@ -23,7 +23,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != "" } {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index 5c830f67575430701e7d14d78abd7c10f7284155..7e233cd91e7ada3270dffa2c0a709e8265fa71d7 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile a
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 6e545a5a99572f4e77e56d902e04b821e96d6d2d..17760f7c13bf38a665c5716661251274db47dc8c 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo_p708_025
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 73b9242770b30386e856e8aeb5761d03bb7f9a1c..76070e2803181ec894819bb74f4ccf1cd62de9fd 100644 (file)
@@ -23,7 +23,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index 8b9a125e3e873eba3f5d04594627b5e44b0fd56e..bac83154acfbd93fa2ee5b97253b31c6bfb58c0c 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile a
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index e8f9e5ec5b608d3d65e7d4feb6de28dad8b2021e..a5dce7d1d4c4a13ec62cf152b137272861bae91d 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug optimize=-O1]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 8bfc2028326880701ece8a82eb7036703c8f7c1a..14f24903c6d1e031116eb58cd6449d0ef54fd34e 100644 (file)
@@ -24,7 +24,7 @@ require !use_gdb_stub
 standard_ada_testfile dummy
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
@@ -32,7 +32,7 @@ clean_restart ${testfile}
 # Verify that "start" lands inside the right procedure.
 if { [gdb_start_cmd] < 0 } {
     fail "start failed to land inside the right procedure"
-    return -1
+    return
 }
 
 gdb_test "" \
index 7af14c53b6ed51cf6a394ee239f15b4fd681b815..1b05bcdafe05c5d094da5d80b0d391c6a411fe59 100644 (file)
@@ -20,14 +20,14 @@ require allow_ada_tests
 standard_ada_testfile prog
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
 
 set bp_location [gdb_get_line_number "STOP" ${testdir}/prog.adb]
 if {![runto "prog.adb:$bp_location"]} {
-  return -1
+  return
 }
 
 gdb_test "ptype value" [string_to_regexp "type = array (1 .. 3) of integer"]
index e897db01f424d5d353625452bad3bc30125b860e..4de533cf362db957d1b145c756ab769febf06b1e 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo_p211_061
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 6158509e42e86fda8f7e8c422511854d5b871560..edd82e634f51d194b31df433d2e5e87f7a184451 100644 (file)
@@ -22,7 +22,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 95fc8ee4380a0ab19ed487885015ca19104832e6..fa3370ffa36cfe8f1d660c8a10ce738ac97bf643 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index ed1fabcdc3bf1a7234ebdb8d446cb24a58119900..1157ef8b9b6d00d8bf94dbc2f827e126b6cdc0e2 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile parse
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 3d723adbe6531194b9775f3c09f4c9f946ee31d7..b3c800f84fb8ff3fe60583723af507f79d2723fb 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile subv
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 933f51add162039ad6d3956aa333fd57cdb66edd..399fede8c298ddf6791844a8aa434179eafa7b82 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 875718fc9de710e1b4128772593be8b42aeba4ad..25d7d564b24fc083f6ce0ff4516cbd3015734ea7 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile p
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 9c225c2db906b13754e2ee072277eab7c27ab37d..726ead24cef37a14b9bd3dfd6626e34cd5583ff6 100644 (file)
@@ -23,7 +23,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 8c0aa3aec0b44b6c51da9c46f534b26fbe776ffc..ef714c6344ee564ab3b80f9cac44a9cda2587e26 100644 (file)
@@ -22,7 +22,7 @@ require gnat_runtime_has_debug_info
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 212b8e95df6bec1a172a72c12c8ce54e7876e886..4c5319fca4d4d527ddf5d2a438ef08cb6b4b3621 100644 (file)
@@ -26,7 +26,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" \
             executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index 04cca39be44e8dcd3ac0dc960f7a07c827e5bb1d..ea653005bf76895e4137374436377903633f50fc 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 08c25ea91768d1511c388cc859d55d617a443462..7e9102c5e76150bbc02db7a009ead97e94d80683 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 # Insert a breakpoint at LOC, and run the program expecting us to
index bded377f0adefe8851228fcd5a4da1356a3cdb13..59fbe11676ddb8784ef1c9b1626b8a495b988a77 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests gcore_cmd_available
 standard_ada_testfile crash
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
@@ -32,13 +32,13 @@ clean_restart ${testfile}
 
 if {![runto request_for_crash]} {
     untested "couldn't run to Request_For_Crash"
-    return -1
+    return
 }
 
 set corefile [standard_output_file crash.gcore]
 set core_supported [gdb_gcore_cmd "$corefile" "save a corefile"]
 if {!$core_supported} {
-  return -1
+  return
 }
 
 # Now that the core file has been created, we can start the real
index 646ddaa178cca6072032d2da3d420dc2293c424d..54c9f10c5ed6bbe83d2e432f111cdc35cc2259fc 100644 (file)
@@ -24,7 +24,7 @@ require allow_hw_watchpoint_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 6e1ed8414e371cfb195bdd4586753da79402d4e2..4f6fc5201a8b95c31a614a2a9f45f991cb861cf0 100644 (file)
@@ -22,7 +22,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index cfc449c5e738c2348e0a471a2d9ba39ec76131b2..5dba9b652c4f38cafea7916e749be73d08847379 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 04dc1801149531cf85e7e9c8141f477c5bf7ae12..0f560b277c0da6e19186c90cbc9b2ac3fa18e7a2 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo_n207_004
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index dcfe32e30172d695a85e135208fc5b380ebb4dc6..1a5cabc55f0a2e4893d20048cb8318c3c4754fc4 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile prog
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index b651ee45ea5d7e053a27976b36dd4de7d3572592..11f289fbddc4f754d25119fb48b7ba4a702654f1 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile assign
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 9b274fcaea22a356b5c8739ac68f61d8b6ea61f5..db677156ff190ede3ef7320c475e85f803cc0ea8 100644 (file)
@@ -23,7 +23,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index 5d29e28b4e545322b56df265603d8231a49d9efc..d6dd0f57d569fb81524c0aa3144b5e36b98b830f 100644 (file)
@@ -55,7 +55,7 @@ foreach_gnat_encoding scenario flags {none all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index 4366b200b38bb7b5574a73ab89044ae6350c494d..4cec919c363d7f22a7547bd85640835a349cd585 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile parse
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 8d979dca5f1e04cba0f9bcee18d1b2ec4f5b934b..9c325ed33743aa9f38ed722c4ece421b71b6320d 100644 (file)
@@ -23,7 +23,7 @@ require allow_ada_tests
 standard_ada_testfile parse
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index e8e082b69d34851e2e7f3f32e74f13b2cb93caa4..3e0b96f6efa422c315be6d938fa637a2574be27f 100644 (file)
@@ -23,7 +23,7 @@ require allow_ada_tests
 standard_ada_testfile main
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index b18fa12f03f8b9a15378189ceaf2e34efbb209d3..cd727574e645858db56fe6eb3ceda237af34629c 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 6672c2579b35dd60284e76bea450a4d4e09a567b..05faf9360cbf8f1c900da042323a538449ef7667 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo_o115_002
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 061027e8c0755aef4b0ad67be2d0b46a14ffbb71..680b9cce481f1963784e5b1bd0855587d53ac4d1 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile var_arr_typedef
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 49713e2fe13653ccafc958c5c9d7baa94f7b80d4..73c5f6db5c866f29d00c3363106ce499dc015729 100644 (file)
@@ -26,7 +26,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index 24f105cde70acec35d2933d7c330cdefee5be6a7..338b4fb9134a4329cf408894bb8009b941928594 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile proc
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable debug] != ""} {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index c52abbc2b3f149afc098d182accedbef933deaa7..b1cc728f7f534fe50a50a825111240c7a28e49d0 100644 (file)
@@ -24,7 +24,7 @@ foreach_gnat_encoding scenario flags {none all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index 9c7793d587523f166399fe4b6432ff995567047d..fb5361d8b11ec077e17b68764e465445670774c7 100644 (file)
@@ -32,7 +32,7 @@ standard_ada_testfile foo
 # making guarantees beyond -Og though, so test that.
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug optimize=-Og]] != ""} {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 688042f6cfc475a78c8004edec9552c1865b5a7a..cdfb4f436d0f3e446a790054e53422d5be1868b0 100644 (file)
@@ -23,7 +23,7 @@ foreach_gnat_encoding scenario flags {all minimal} {
     lappend flags debug
 
     if {[gdb_compile_ada "${srcfile}" "${binfile}-${scenario}" executable $flags] != ""} {
-       return -1
+       return
     }
 
     clean_restart ${testfile}-${scenario}
index 9b58ccc55640a02fdf1695f2be52b6e3675462da..171b2e446af01823b6c0bb3f5b0b92683b422fca 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile vsizelim
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index da1ce793885ca52d2d87f1c36c0ff7777e6fa3df..e504de7b753716ed2c9a1499c64f87aa078930e6 100644 (file)
@@ -21,7 +21,7 @@ require {gnat_version_compare >= 11}
 standard_ada_testfile prog
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 7973cc1eae19782066be45207892a5e420f2b4ad..144fbd6314ada3a53c041555063f3e95edd14d64 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile vla
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index 2d7c5a17a0de061efd43e3976782cad188657e59..c48f51c804620f82b45e72e2c5fd377d9424df5a 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile voidctx
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 155ae2a3abf12957cda18bf7d7e9b8c7ee116018..b1b6adea15a00e72e4463ca8914519443986d35e 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile watch
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index fb998ce61bab5599b572d5db1b779cab4fd3a727..08be8bfac0c246af1894264023c4d931c7e2faca 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo_ra10_006
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
-    return -1
+    return
 }
 
 clean_restart ${testfile}
index becc9b8756942b0a26e8b586553c373bc2de3d71..0fd48e6d25e322be2d8c33f108efd38ba24362e9 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 66ce7f7bb95c9189e7af5842796e7438560c3246..722cf412c5d7c82d51bf2f40fa688dfe9d437e3b 100644 (file)
@@ -20,7 +20,7 @@ require allow_ada_tests
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}
index 800e610a3d7426cf657317a552d8022dc3e295e0..8e4f2156cd8ceadced1bae323582f2b63a4a9df5 100644 (file)
@@ -21,7 +21,7 @@ require ada_shared_link
 standard_ada_testfile foo
 
 if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug additional_flags=-bargs additional_flags=-shared additional_flags=-margs]] != "" } {
-  return -1
+  return
 }
 
 clean_restart ${testfile}