]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/testsuite: remove perror calls when failing to run
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 5 Dec 2022 21:38:24 +0000 (16:38 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 5 Dec 2022 21:38:24 +0000 (16:38 -0500)
I noticed that when running these two tests in sequence:

    Running /home/smarchi/src/binutils-gdb/gdb/testsuite/gdb.ada/arrayptr.exp ...
    ERROR: GDB process no longer exists
    ERROR: Couldn't run foo-all
    Running /home/smarchi/src/binutils-gdb/gdb/testsuite/gdb.ada/assign_1.exp ...

The results in gdb.sum are:

    Running /home/smarchi/src/binutils-gdb/gdb/testsuite/gdb.ada/arrayptr.exp ...
    PASS: gdb.ada/arrayptr.exp: scenario=all: compilation foo.adb
    ERROR: GDB process no longer exists
    UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40 (eof)
    ERROR: Couldn't run foo-all
    Running /home/smarchi/src/binutils-gdb/gdb/testsuite/gdb.ada/assign_1.exp ...
    UNRESOLVED: gdb.ada/assign_1.exp: changing the language to ada
    PASS: gdb.ada/assign_1.exp: set convenience variable $xxx to 1

The UNRESOLVED for arrayptr.exp is fine, as GDB crashes in that test,
while trying to run to main.  However, the UNRESOLVED in assign_1.exp
doesn't make sense, GDB behaves as expected in that test:

    (gdb) set lang ada^M
    (gdb) UNRESOLVED: gdb.ada/assign_1.exp: changing the language to ada
    print $xxx := 1^M
    $1 = 1^M
    (gdb) PASS: gdb.ada/assign_1.exp: set convenience variable $xxx to 1

The problem is that arrayptr.exp calls perror when failing to run to
main, then returns.  perror makes it so that the next test (as in
pass/fail) will be recorded as UNRESOLVED.  However, here, the next test
(as in pass/fail) is in the next test (as in .exp).  Hence the spurious
UNRESOLVED in assign_1.exp.

These perror when failing to run to X are not really useful, especially
since runto records a FAIL on error, by default.  Remove all the
perrors on runto failure I could find.

When there wasn't one already, add a return statement when failing to
run, to avoid running the test of the test unnecessarily.

I thought of adding a check ran between test (in gdb_finish
probably) where we would emit a warning if errcnt > 0, meaning a test
quit and left a perror "active".  However, reading that variable would
poke into the DejaGNU internals, not sure it's a good idea.

Change-Id: I2203df6d06e199540b36f56470d1c5f1dc988f7b

185 files changed:
gdb/testsuite/gdb.ada/access_tagged_param.exp
gdb/testsuite/gdb.ada/addr_arith.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/arrayptr.exp
gdb/testsuite/gdb.ada/bp_c_mixed_case.exp
gdb/testsuite/gdb.ada/call_pn.exp
gdb/testsuite/gdb.ada/convvar_comp.exp
gdb/testsuite/gdb.ada/disc_arr_bound.exp
gdb/testsuite/gdb.ada/discrete-char.exp
gdb/testsuite/gdb.ada/dot_all.exp
gdb/testsuite/gdb.ada/formatted_ref.exp
gdb/testsuite/gdb.ada/frame_args.exp
gdb/testsuite/gdb.ada/fun_in_declare.exp
gdb/testsuite/gdb.ada/ghost.exp
gdb/testsuite/gdb.ada/info_addr_mixed_case.exp
gdb/testsuite/gdb.ada/local-enum.exp
gdb/testsuite/gdb.ada/minsyms.exp
gdb/testsuite/gdb.ada/mod_from_name.exp
gdb/testsuite/gdb.ada/optim_drec.exp
gdb/testsuite/gdb.ada/rec_comp.exp
gdb/testsuite/gdb.ada/rec_return.exp
gdb/testsuite/gdb.ada/ref_param.exp
gdb/testsuite/gdb.ada/scalar_storage.exp
gdb/testsuite/gdb.ada/set_wstr.exp
gdb/testsuite/gdb.ada/small_reg_param.exp
gdb/testsuite/gdb.ada/str_uninit.exp
gdb/testsuite/gdb.ada/taft_type.exp
gdb/testsuite/gdb.ada/varsize_limit.exp
gdb/testsuite/gdb.ada/whatis_array_val.exp
gdb/testsuite/gdb.ada/widewide.exp
gdb/testsuite/gdb.base/all-bin.exp
gdb/testsuite/gdb.base/arithmet.exp
gdb/testsuite/gdb.base/arrayidx.exp
gdb/testsuite/gdb.base/assign.exp
gdb/testsuite/gdb.base/async.exp
gdb/testsuite/gdb.base/bfp-test.exp
gdb/testsuite/gdb.base/call-ar-st.exp
gdb/testsuite/gdb.base/call-rt-st.exp
gdb/testsuite/gdb.base/call-strs.exp
gdb/testsuite/gdb.base/completion.exp
gdb/testsuite/gdb.base/cond-expr.exp
gdb/testsuite/gdb.base/consecutive.exp
gdb/testsuite/gdb.base/constvars.exp
gdb/testsuite/gdb.base/ctf-constvars.exp
gdb/testsuite/gdb.base/dfp-test.exp
gdb/testsuite/gdb.base/enum_cond.exp
gdb/testsuite/gdb.base/eval-skip.exp
gdb/testsuite/gdb.base/exe-lock.exp
gdb/testsuite/gdb.base/exprs.exp
gdb/testsuite/gdb.base/fileio.exp
gdb/testsuite/gdb.base/float.exp
gdb/testsuite/gdb.base/float128.exp
gdb/testsuite/gdb.base/floatn.exp
gdb/testsuite/gdb.base/frame-args.exp
gdb/testsuite/gdb.base/gdb1821.exp
gdb/testsuite/gdb.base/interrupt.exp
gdb/testsuite/gdb.base/jump.exp
gdb/testsuite/gdb.base/logical.exp
gdb/testsuite/gdb.base/maint.exp
gdb/testsuite/gdb.base/miscexprs.exp
gdb/testsuite/gdb.base/nested-subp1.exp
gdb/testsuite/gdb.base/nested-subp2.exp
gdb/testsuite/gdb.base/nested-subp3.exp
gdb/testsuite/gdb.base/opaque.exp
gdb/testsuite/gdb.base/pc-fp.exp
gdb/testsuite/gdb.base/permissions.exp
gdb/testsuite/gdb.base/pointers.exp
gdb/testsuite/gdb.base/prologue.exp
gdb/testsuite/gdb.base/readnever.exp
gdb/testsuite/gdb.base/relational.exp
gdb/testsuite/gdb.base/setvar.exp
gdb/testsuite/gdb.base/shlib-call.exp
gdb/testsuite/gdb.base/sizeof.exp
gdb/testsuite/gdb.base/store.exp
gdb/testsuite/gdb.base/varargs.exp
gdb/testsuite/gdb.base/volatile.exp
gdb/testsuite/gdb.base/whatis-exp.exp
gdb/testsuite/gdb.cp/ambiguous.exp
gdb/testsuite/gdb.cp/anon-ns.exp
gdb/testsuite/gdb.cp/anon-union.exp
gdb/testsuite/gdb.cp/breakpoint.exp
gdb/testsuite/gdb.cp/bs15503.exp
gdb/testsuite/gdb.cp/casts.exp
gdb/testsuite/gdb.cp/class2.exp
gdb/testsuite/gdb.cp/classes.exp
gdb/testsuite/gdb.cp/constexpr-field.exp
gdb/testsuite/gdb.cp/converts.exp
gdb/testsuite/gdb.cp/ctti.exp
gdb/testsuite/gdb.cp/derivation.exp
gdb/testsuite/gdb.cp/disasm-func-name.exp
gdb/testsuite/gdb.cp/dispcxx.exp
gdb/testsuite/gdb.cp/filename.exp
gdb/testsuite/gdb.cp/fpointer.exp
gdb/testsuite/gdb.cp/gdb1355.exp
gdb/testsuite/gdb.cp/gdb2384.exp
gdb/testsuite/gdb.cp/gdb2495.exp
gdb/testsuite/gdb.cp/impl-this.exp
gdb/testsuite/gdb.cp/inherit.exp
gdb/testsuite/gdb.cp/iostream.exp
gdb/testsuite/gdb.cp/koenig.exp
gdb/testsuite/gdb.cp/local.exp
gdb/testsuite/gdb.cp/m-data.exp
gdb/testsuite/gdb.cp/m-static.exp
gdb/testsuite/gdb.cp/many-args.exp
gdb/testsuite/gdb.cp/mb-ctor.exp
gdb/testsuite/gdb.cp/member-name.exp
gdb/testsuite/gdb.cp/member-ptr.exp
gdb/testsuite/gdb.cp/meth-typedefs.exp
gdb/testsuite/gdb.cp/method.exp
gdb/testsuite/gdb.cp/method2.exp
gdb/testsuite/gdb.cp/namespace-nested-import.exp
gdb/testsuite/gdb.cp/namespace.exp
gdb/testsuite/gdb.cp/nextoverthrow.exp
gdb/testsuite/gdb.cp/nsdecl.exp
gdb/testsuite/gdb.cp/nsimport.exp
gdb/testsuite/gdb.cp/nsnested.exp
gdb/testsuite/gdb.cp/nsnoimports.exp
gdb/testsuite/gdb.cp/nsrecurs.exp
gdb/testsuite/gdb.cp/nsstress.exp
gdb/testsuite/gdb.cp/nsusing.exp
gdb/testsuite/gdb.cp/operator.exp
gdb/testsuite/gdb.cp/oranking.exp
gdb/testsuite/gdb.cp/overload.exp
gdb/testsuite/gdb.cp/ovldbreak.exp
gdb/testsuite/gdb.cp/ovsrch.exp
gdb/testsuite/gdb.cp/pr-1023.exp
gdb/testsuite/gdb.cp/pr-1210.exp
gdb/testsuite/gdb.cp/pr-574.exp
gdb/testsuite/gdb.cp/pr10728.exp
gdb/testsuite/gdb.cp/pr12028.exp
gdb/testsuite/gdb.cp/pr9067.exp
gdb/testsuite/gdb.cp/pr9631.exp
gdb/testsuite/gdb.cp/printmethod.exp
gdb/testsuite/gdb.cp/ptype-flags.exp
gdb/testsuite/gdb.cp/ref-types.exp
gdb/testsuite/gdb.cp/rtti.exp
gdb/testsuite/gdb.cp/rvalue-ref-types.exp
gdb/testsuite/gdb.cp/shadow.exp
gdb/testsuite/gdb.cp/smartp.exp
gdb/testsuite/gdb.cp/static-method.exp
gdb/testsuite/gdb.cp/try_catch.exp
gdb/testsuite/gdb.cp/userdef.exp
gdb/testsuite/gdb.cp/var-tag.exp
gdb/testsuite/gdb.cp/virtbase.exp
gdb/testsuite/gdb.cp/virtbase2.exp
gdb/testsuite/gdb.cp/virtfunc.exp
gdb/testsuite/gdb.cp/virtfunc2.exp
gdb/testsuite/gdb.cp/watch-cp.exp
gdb/testsuite/gdb.dwarf2/count.exp
gdb/testsuite/gdb.dwarf2/dw2-common-block.exp
gdb/testsuite/gdb.fortran/array-element.exp
gdb/testsuite/gdb.fortran/charset.exp
gdb/testsuite/gdb.fortran/common-block.exp
gdb/testsuite/gdb.fortran/complex.exp
gdb/testsuite/gdb.fortran/derived-type-function.exp
gdb/testsuite/gdb.fortran/derived-type-striding.exp
gdb/testsuite/gdb.fortran/derived-type.exp
gdb/testsuite/gdb.fortran/function-calls.exp
gdb/testsuite/gdb.fortran/library-module.exp
gdb/testsuite/gdb.fortran/module.exp
gdb/testsuite/gdb.fortran/multi-dim.exp
gdb/testsuite/gdb.fortran/namelist.exp
gdb/testsuite/gdb.fortran/nested-funcs-2.exp
gdb/testsuite/gdb.fortran/nested-funcs.exp
gdb/testsuite/gdb.fortran/ptype-on-functions.exp
gdb/testsuite/gdb.fortran/short-circuit-argument-list.exp
gdb/testsuite/gdb.fortran/string-types.exp
gdb/testsuite/gdb.fortran/subarray.exp
gdb/testsuite/gdb.fortran/vla-value.exp
gdb/testsuite/gdb.modula2/multidim.exp
gdb/testsuite/gdb.modula2/unbounded-array.exp
gdb/testsuite/gdb.opt/fortran-string.exp
gdb/testsuite/gdb.python/py-format-string.exp
gdb/testsuite/gdb.python/py-framefilter-invalidarg.exp
gdb/testsuite/gdb.python/py-framefilter.exp
gdb/testsuite/gdb.python/py-objfile-script.exp
gdb/testsuite/gdb.python/py-prettyprint.exp
gdb/testsuite/gdb.python/py-section-script.exp
gdb/testsuite/gdb.python/py-template.exp
gdb/testsuite/gdb.python/py-type.exp
gdb/testsuite/gdb.python/py-value.exp
gdb/testsuite/gdb.stabs/exclfwd.exp

index 2103e4b53908afad037fc4069285790923e54597..4676cbdddc371ba0c0d58f25c6de749d6f3b0b36 100644 (file)
@@ -29,7 +29,6 @@ if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" }
 clean_restart ${testfile}
 
 if {![runto "foo"]} {
-  perror "Couldn't run ${testfile}"
   return
 }
 
index 4e3059fcfae8068099dc0a2991df506efb084d3e..82d2e6744f5aad6f5e1e94990840b829dc28c0dd 100644 (file)
@@ -27,7 +27,6 @@ clean_restart ${testfile}
 
 set bp_location [gdb_get_line_number "START" ${testdir}/foo_na07_019.adb]
 if {![runto "foo_na07_019.adb:$bp_location"]} {
-  perror "Couldn't run ${testfile}"
   return
 }
 
index ac720ffa4d37ae6beafa232e2cdf4af2712d45ef..39e12c6160af10173339a07e31079525bba07257 100644 (file)
@@ -27,7 +27,6 @@ clean_restart ${testfile}
 
 set bp_location [gdb_get_line_number "BREAK" ${testdir}/enum_with_gap_main.adb]
 if {![runto "enum_with_gap_main.adb:$bp_location"]} {
-  perror "Couldn't run ${testfile}"
   return
 }
 
index 488eb006789459cba4c424d9ebae714d8f0ae8a5..8358aaec52cdbb11c76fd5c6bdb933d4c345b543 100644 (file)
@@ -27,7 +27,6 @@ clean_restart ${testfile}
 
 set bp_location [gdb_get_line_number "START" ${testdir}/foo.adb]
 if {![runto "foo.adb:$bp_location"]} {
-  perror "Couldn't run ${testfile}"
   return
 }
 
index 3a6785fb0957676fbb85d47adba96adb429e4c3e..ed1915fa098b96f2977300135de425a23e8e87e9 100644 (file)
@@ -30,7 +30,6 @@ foreach_with_prefix scenario {all minimal} {
 
     set bp_location [gdb_get_line_number "BREAK" ${testdir}/foo_q418_043.adb]
     if {![runto "foo_q418_043.adb:$bp_location"]} {
-       perror "Couldn't run ${testfile}-${scenario}"
        return
     }
 
index b68e448747ef470f0d9a3bad21835c7c0d34f461..0a897d06b5874462f5d92bb3853028aff86198f5 100644 (file)
@@ -27,7 +27,6 @@ clean_restart ${testfile}
 
 set bp_location [gdb_get_line_number "START" ${testdir}/bar.adb]
 if {![runto "bar.adb:$bp_location"]} {
-  perror "Couldn't run ${testfile}"
   return
 } 
 
index d8429c4413bbddd730148fabce0e0529bc48fe6b..eefd21ae376f8dea9bbf8dd80fc7c06c62c472f8 100644 (file)
@@ -30,7 +30,6 @@ foreach_with_prefix scenario {all minimal} {
 
     set bp_location [gdb_get_line_number "STOP" ${testdir}/foo.adb]
     if {![runto "foo.adb:$bp_location"]} {
-       perror "Couldn't run ${testfile}-${scenario}"
        return
     }
 
index d6eb9f5534c62ae49422acffe464845a7d8d985b..98f75f76fe179b2295c9d5256e28b23452fb7d07 100644 (file)
@@ -47,7 +47,6 @@ if {[gdb_compile_ada "${srcfile}" "${binfile}" executable $options] != "" } {
 clean_restart ${testfile}
 
 if {![runto "foo_h731_021"]} {
-  perror "Couldn't run ${testfile}"
   return
 }
 
index c4f81245f9233100e31ee4d23ebefd315a50fbc1..758b64abc35868358eefb60f9957006763cf0795 100644 (file)
@@ -27,7 +27,6 @@ clean_restart ${testfile}
 
 set bp_location [gdb_get_line_number "STOP" ${testdir}/foo.adb]
 if {![runto "foo.adb:$bp_location"]} {
-  perror "Couldn't run ${testfile}"
   return
 }
 
index 6908bc2da4fdccfdda838c625d55b8b3c61cd897..366ac60d7c8f48809c3547d57cb9f456ab9699a5 100644 (file)
@@ -26,7 +26,6 @@ if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" }
 clean_restart ${testfile}
 
 if {![runto "break_me"]} {
-  perror "Couldn't run ${testfile}"
   return
 }
 
index 8cbfe5d3276034aa8c5d1fc94d1c7191878be472..e5155f33c34d61e7f17be053c8f854474d73b007 100644 (file)
@@ -27,7 +27,6 @@ clean_restart ${testfile}
 
 set bp_location [gdb_get_line_number "STOP" ${testdir}/foo_n612_026.adb]
 if {![runto "foo_n612_026.adb:$bp_location"]} {
-  perror "Couldn't run ${testfile}"
   return
 }
 
index 1d380e4d597b90db98a978eb8cfee7c2a8ad4afe..1896252d099154398145045a286efbdd00e182dc 100644 (file)
@@ -29,7 +29,6 @@ clean_restart ${testfile}
 
 set bp_location [gdb_get_line_number "STOP" ${testdir}/main.adb]
 if {![runto "main.adb:$bp_location"]} {
-  perror "Couldn't run ${testfile}"
   return
 }
 
index 6064a7d505b93ef4ee56c37a149ac1965314fbba..0b0eba53c29d9d2846bcbf63145e8b33df9f579c 100644 (file)
@@ -27,7 +27,6 @@ clean_restart ${testfile}
 
 set bp_location [gdb_get_line_number "STOP" ${testdir}/foo.adb]
 if {![runto "foo.adb:$bp_location"]} {
-  perror "Couldn't run ${testfile}"
   return
 }
 
index 19a32658d9809dfe380948359eb697aebaf60eed..1d780cc1b0ce082eeb5788d925f0a7d7ff66ba8d 100644 (file)
@@ -44,7 +44,6 @@ proc get_address { var } {
             return $expect_out(1,string)
         }
     }
-    perror "couldn't find address of $var"
     return ""
 }
 
index 9961780ad39b04782657c28a9a2b2dc3f2c7f21e..f3fa41f798127d7131a6e549dcd3eef38edf50de 100644 (file)
@@ -31,7 +31,6 @@ set eol "\[\r\n\]+"
 set sp "\[ \t\]*"
 
 if {![runto break_me]} {
-  perror "Couldn't run ${testfile}"
   return
 } 
 
index 4b30a77789578186ba38cbc47286216d77bdbb82..a0972441e98a4100cd9e832ecdfa7d21a36f5213 100644 (file)
@@ -26,7 +26,6 @@ if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" }
 clean_restart ${testfile}
 
 if {![runto_main]} {
-  perror "Couldn't run ${testfile}"
   return
 } 
 
index 93ab507e337b0cb2d12f3b651fdf339ce9308568..412a260768396ecccdb0b91334aabd4927615a05 100644 (file)
@@ -28,7 +28,6 @@ clean_restart ${testfile}
 
 set bp_location [gdb_get_line_number "START" ${testdir}/main.adb]
 if {![runto "main.adb:$bp_location"]} {
-  perror "Couldn't run ${testfile}"
   return
 }
 
index d512ef426512be18d72181063957d5b3b05073e3..4b3277b9061a0c57770cce105d5c6da5f3aecbd2 100644 (file)
@@ -27,7 +27,6 @@ clean_restart ${testfile}
 
 set bp_location [gdb_get_line_number "START" ${testdir}/foo.adb]
 if {![runto "foo.adb:$bp_location"]} {
-  perror "Couldn't run ${testfile}"
   return
 }
 
index 908ee73b8999fe76fc82ac3202e01e5e5c567920..409ea35b162920c83be134bde475e95978a0856a 100644 (file)
@@ -27,7 +27,6 @@ clean_restart ${testfile}
 
 set bp_location [gdb_get_line_number "STOP" ${testdir}/local.adb]
 if {![runto "local.adb:$bp_location"]} {
-  perror "Couldn't run ${testfile}"
   return
 }
 
index 7ce2d8144751231862092a5fa2b87465c6b0e82b..4e974392a79aa5975c5320fd080f447fd495eabd 100644 (file)
@@ -26,7 +26,6 @@ if {[gdb_compile_ada "${srcfile}" "${binfile}" executable ""] != "" } {
 clean_restart ${testfile}
 
 if {![runto "_ada_foo_qb07_057"]} {
-  perror "Couldn't run ${testfile}"
   return
 }
 
index 8eb61565ff4fe5f3cc4af24ab6eba73103b08a13..7ee7d8c467edb76b3ce1fa0b28e75b31cc7b5c5b 100644 (file)
@@ -30,7 +30,6 @@ foreach_with_prefix scenario {all minimal} {
 
     set bp_location [gdb_get_line_number "START" ${testdir}/foo.adb]
     if {![runto "foo.adb:$bp_location"]} {
-       perror "Couldn't run ${testfile}-${scenario}"
        return
     } 
 
index 823156cd8049eb1c2b0f978d46d2e0ceb1568a5c..51ad14d5a50ab17898fa6eb546534a97e8dec93e 100644 (file)
@@ -26,7 +26,6 @@ if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" }
 clean_restart ${testfile}
 
 if {![runto "foo"]} {
-  perror "Couldn't run ${testfile}"
   return
 }
 
index 342fe3a0e076108398cb0a7cae59f2a8e296f5bd..0c155bc6499a12f9521f587e2cd351b24d52a4dd 100644 (file)
@@ -27,7 +27,6 @@ clean_restart ${testfile}
 
 set bp_location [gdb_get_line_number "STOP" ${testdir}/bar_o203_012.adb]
 if {![runto "bar_o203_012.adb:$bp_location"]} {
-  perror "Couldn't run ${testfile}"
   return
 }
 
index 723244fc576c19d2f675731ba5e22a6eef784bd6..d06fae4c71ac2c1bd244352eda51cea05d827ad2 100644 (file)
@@ -27,7 +27,6 @@ clean_restart ${testfile}
 
 set bp_location [gdb_get_line_number "STOP" ${testdir}/foo.adb]
 if {![runto "foo.adb:$bp_location"]} {
-  perror "Couldn't run ${testfile}"
   return
 }
 
index 871e755ff394fe26248c0ea8d1718daec2f17d36..6f72c91684ae43428b6344cd95cc71adf16400fe 100644 (file)
@@ -26,7 +26,6 @@ if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" }
 clean_restart ${testfile}
 
 if {![runto pck.adb:20]} {
-  perror "Couldn't run ${testfile}"
   return
 } 
 
index 106413e952896db366c2f6e5e1aec92e51855aa7..bfb2faca6f3bb7269bd05718b032fc945308f6e8 100644 (file)
@@ -30,7 +30,6 @@ clean_restart ${testfile}
 
 set bp_location [gdb_get_line_number "START" ${testdir}/storage.adb]
 if {![runto "storage.adb:$bp_location"]} {
-  perror "Couldn't run ${testfile}"
   return
 }
 
index 97a683dd37a7a6cce0f22e0d6a5589d26cc3799f..6c19af39d9971731ede75c27955b2bca8b5adc66 100644 (file)
@@ -27,7 +27,6 @@ clean_restart ${testfile}
 
 set bp_location [gdb_get_line_number "STOP" ${testdir}/a.adb]
 if {![runto "a.adb:$bp_location"]} {
-  perror "Couldn't run ${testfile}"
   return
 }
 
index cb3c3bf4b4d336d2d221bd235da16d0c3c5d2d5d..cac9a5a61841ef526c324b61b2704013a512fd4c 100644 (file)
@@ -26,7 +26,6 @@ if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug optimize=-
 clean_restart ${testfile}
 
 if {![runto_main]} {
-  perror "Couldn't run ${testfile}"
   return
 }
 
index 96862909e870449bcd7cf4735b59099aa75defc0..30c7bfc34aa84f45501c447345c3d4954d379479 100644 (file)
@@ -27,7 +27,6 @@ clean_restart ${testfile}
 
 set bp_location [gdb_get_line_number "START" ${testdir}/parse.adb]
 if {![runto "parse.adb:$bp_location"]} {
-  perror "Couldn't run ${testfile}"
   return
 }
 
index a791cd179a6f7584e4888e3ff85a9320b160636d..e9210cd944871d4a88b78d44a4e4f4c457267e0d 100644 (file)
@@ -27,7 +27,6 @@ clean_restart ${testfile}
 
 set bp_location [gdb_get_line_number "START" ${testdir}/p.adb]
 if {![runto "p.adb:$bp_location"]} {
-  perror "Couldn't run ${testfile}"
   return
 } 
 
index af5a394f38bffde2782b4dc3f526d376d08a1973..45ab865ff3d1ad0f05b97b0442b9a81f7352741b 100644 (file)
@@ -27,7 +27,6 @@ clean_restart ${testfile}
 
 set bp_location [gdb_get_line_number "STOP" ${testdir}/vsizelim.adb]
 if {![runto "vsizelim.adb:$bp_location"]} {
-  perror "Couldn't run ${testfile}"
   return
 }
 
index eadd6ed2da2b2478288bbfbfaa7efdd22c030f5f..27febfcea54f23ff05c0c8493dcca7e65c99a675 100644 (file)
@@ -27,7 +27,6 @@ clean_restart ${testfile}
 
 set bp_location [gdb_get_line_number "STOP" ${testdir}/foo.adb]
 if {![runto "foo.adb:$bp_location"]} {
-  perror "Couldn't run ${testfile}"
   return
 } 
 
index 34f5967ec04022f2e25edf02453bcef56a510dac..9db40481657a1baca0e7ea9ef454747fcdbb60c8 100644 (file)
@@ -27,7 +27,6 @@ clean_restart ${testfile}
 
 set bp_location [gdb_get_line_number "START" ${testdir}/foo.adb]
 if {![runto "foo.adb:$bp_location"]} {
-  perror "Couldn't run ${testfile}"
   return
 }
 
index 2bb9cfe900e543142975dcd2028b3492d20cfbb0..b5979a47090ec7408afae8a11f78a50a2fa9cf0f 100644 (file)
@@ -38,7 +38,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} {
 #
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 4fa2ab2f8884f5aee6d1fb5679ac63e2a597f1ba..c1fe169ae5461009314247df6fd588dca767329a 100644 (file)
@@ -38,7 +38,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug nowarning
 #
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 677e4f0fcc381f37a2c835d4ab956c1c769a431b..ad8eed311a54f66be0df6446b159e29fb4d4cfeb 100644 (file)
@@ -27,7 +27,6 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debu
 clean_restart ${binfile}
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 526e0638fcc4dd7c17332ecf1462728be0f6c7cd..8a80b45a9a1716ab60e6829a67fffcb200de957b 100644 (file)
@@ -41,7 +41,6 @@ clean_restart ${binfile}
 #
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 7630581edca7d9f2e1d6e085094146622104be1e..2fdeeb009d70843f3f02fdc6cd0d28211800a214 100644 (file)
@@ -28,7 +28,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} {
 # set it up at a breakpoint so we can play with it
 #
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 174152140f9901a6516095810d89cca34d41e65b..b84019ebda6e24f707622286b0c9a52bc558a566 100644 (file)
@@ -26,7 +26,6 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debu
 clean_restart ${binfile}
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index a5599d741a6d609718468227702c770982e7d188..754ed7c42c319d37be1357f73061bdcdb0f46f43 100644 (file)
@@ -45,7 +45,6 @@ gdb_test_no_output "set width 0"
 
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 63792ee73e5acf24fdfe68443c8d6ac9082ba27f..40786d874b02beff192d10169a2b887b88782f99 100644 (file)
@@ -46,7 +46,6 @@ gdb_test_no_output "set width 0"
 
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index f9335815da3ef001d05e68f081da7ef3eb67a485..346d516a026db63a78b744847519cd85c365ef10 100644 (file)
@@ -43,7 +43,6 @@ gdb_test_no_output "set print symbol off"
 gdb_test_no_output "set width 0"
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 2a46d4fd21b48062f5f0b9eaa40a088689adabcc..f8fbf607da74ed5f2a3f35151d80f3ea5cedae2b 100644 (file)
@@ -58,7 +58,7 @@ if {[prepare_for_testing "failed to prepare" $testfile \
 }
 
 if {![runto_main]} {
-        perror "tests suppressed"
+    return
 }
 
 set timeout 30
index 36754f9215862e925b841171ca2c4eb5edf4b282..34ccac23aa75d2c5d821a34b65e847017ab9172e 100644 (file)
@@ -43,7 +43,6 @@ clean_restart ${binfile}
 
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index b517b42e62320e5ddac656b4eb8451fde9ef71e7..fdad00b1802d2cc3203ce41fb459f095d01d0678 100644 (file)
@@ -27,7 +27,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug nowarning
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 8d1af0b4fdc7562a21c36bb56557a2a128540a12..40ce0a475f6f50cf9f2964ae910e72d182b8032c 100644 (file)
@@ -41,7 +41,6 @@ clean_restart ${binfile}
 # set it up at a breakpoint so we can play with the variable values
 #
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 4a8307e05bff515e2c803f618b4319a6172f344b..cd0198da154f4ebf92171127a883649128aabada 100644 (file)
@@ -47,7 +47,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} \
 # set it up at a breakpoint so we can play with the variable values
 #
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 0d7314f247b8af261486752438b338eb540254e8..3f91358860ffbf430731829dc6fd6fa87f65e840 100644 (file)
@@ -31,7 +31,6 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {quie
 clean_restart ${binfile}
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index bb5d6c2954804129ca917cbf3c00759be6d7da5d..cfe5af64148c124415d943519d7574cd865d2b12 100644 (file)
@@ -28,7 +28,6 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable $opts
 clean_restart $testfile
 
 if {![runto_main]} {
-    perror "could not run to main"
     return
 }
 
index fe6f7f0f52a674c6b90a860b0b7450e6ddc01d85..baea1deb3d6ec098fd709fb0ce5aa497e1185fc5 100644 (file)
@@ -43,7 +43,6 @@ clean_restart ${binfile}
 
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 1276ec0984fa4e42a24291523586232ae39d08cf..c15d8b4c1dfa9b824139c5b8184a6b69a41a50f2 100644 (file)
@@ -38,7 +38,6 @@ if { ! [file exists $binfile] } {
     }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 7b081ec91f9412d3bc2d2681793a9ff488300f61..5bf03bf1320b574b890d2d94536935f63bc4c484 100644 (file)
@@ -33,7 +33,6 @@ clean_restart ${binfile}
 #
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 18e429c7553c651cb691eb776fd331c40b2dbc44..95f4b4ef45e6e63147144676ae2fce20b1249776 100644 (file)
@@ -56,7 +56,6 @@ gdb_test_no_output "set print address off"
 gdb_test_no_output "set width 0"
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index b9c5057c6ee20816d4d83a515b1154aa83bc5825..5f17aea8cd3e2609d67d184f7f15d7ecdc99003f 100644 (file)
@@ -30,7 +30,6 @@ if { [prepare_for_testing "failed to prepare" float float.c] } {
 # Set it up at a breakpoint so we have its registers.
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index a4d94d4c16215b3dd4f322d59731745d9700f95c..21a1a99f6ee763407e710492957776e983f6306a 100644 (file)
@@ -33,7 +33,6 @@ if { [do_compile] != "" && [do_compile {-mfloat128}] != "" } {
 clean_restart ${binfile}
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 58be8eb4c37caff554708a47d4c77a7841d8f8a0..ec1bfd4b92c2c47fef1f16f5ee18a12f8c02a743 100644 (file)
@@ -33,7 +33,6 @@ if { [do_compile] != "" && [do_compile {-mfloat128}] != "" } {
 clean_restart ${binfile}
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index adc2a9e8bb8da149d3cc083fb5bfb7dd53cd03b8..1ddb9a0fe9367e31e8de67a61e4f8a210a0c1813 100644 (file)
@@ -22,7 +22,6 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debu
 clean_restart ${binfile}
 
 if {![runto break_me]} {
-  perror "Couldn't run ${testfile}"
   return
 }
 
index 40dcb0cc75ba94dcca9ba38050042316ece4d562..ea96136edf5b991d5951862ef8bf3a4c1f386371 100644 (file)
@@ -29,7 +29,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 } 
 gdb_test "print /x bar" "{x__0 = 0x0, y__0 = 0x0, z__1 = 0x0}" 
index 143116c4124319bc5a69f1530650ca05b80d0b82..fca1772b0f1ae4719f1f2aeae32a21bb3d0732f0 100644 (file)
@@ -39,7 +39,6 @@ gdb_start
 
 
 if {![file exists $binfile]} {
-    perror "$binfile does not exist."
     return 0
 } else {
     gdb_reinitialize_dir $srcdir/$subdir
index 527a1ae22d5bc81e5a3ba232098fd272ddbc3bcb..21375852a17a1ff6c1a04cbacea40e55709441dc 100644 (file)
@@ -30,7 +30,6 @@ if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
 clean_restart ${binfile}
 
 if {![runto_main]} {
-  perror "Couldn't run to main"
   return -1
 }
 
index 25eb0711b8249c46b146801d7e20c3e4ca9c3af0..a0fe2b01fc510a117dd23cfa4e03ee2e269d5526 100644 (file)
@@ -40,7 +40,6 @@ clean_restart ${binfile}
 #
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 981c2f626ac4b7b4feb65e9f512c732cb700f54e..0025139f404d5662d456afe5aa73fb3448974d3b 100644 (file)
@@ -114,7 +114,7 @@ gdb_test "mt set per off" ".*" "mt set per off for expand-symtabs"
 gdb_load ${binfile}
 
 if {![runto_main]} {
-        perror "tests suppressed"
+    return
 }
 
 # If we're using .gdb_index or .debug_names there will be no psymtabs.
index 1cf121751b49d0c40331aaa72e37c6989c00e1bd..a344a9b3e10fbaef77fb13cccbf1cce092664133 100644 (file)
@@ -51,7 +51,6 @@ clean_restart ${binfile}
 # set it up at a breakpoint so we can play with the variable values
 #
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index dc96e97d8a31b78f9b4f7bd6a0183b847446caa5..61f35e02155eaec91b5d9b9aa14c6c7944ca3ac5 100644 (file)
@@ -41,7 +41,6 @@ if { [gdb_compile "${srcdir}/${subdir}/${testcase}.c" \
 
 clean_restart "${testcase}"
 if ![runto_main] {
-    perror "could not run to main"
     return
 }
 
index ac41b55ffdc6f85023f86ab39fda9b553bace14b..642d3f342270919fcc7abf4c55c7c469ec29fa64 100644 (file)
@@ -50,7 +50,6 @@ if { [gdb_compile "${srcdir}/${subdir}/${testcase}.c" \
 
 clean_restart "${testcase}"
 if ![runto_main] {
-    perror "could not run to main"
     return
 }
 
index d0c8583ebf0e889d64a1d6e991930cc41bc526aa..ae676e444fe259443570cbc6ce922306f92b51ae 100644 (file)
@@ -50,7 +50,6 @@ if { [gdb_compile "${srcdir}/${subdir}/${testcase}.c" \
 
 clean_restart "${testcase}"
 if ![runto_main] {
-    perror "could not run to main"
     return
 }
 
index 4d3f11b32a9bed96920ec92e11981f2ce0de5dea..cdf6ba00622f16ba8d4930c31dfb7eab36533c15 100644 (file)
@@ -111,7 +111,7 @@ gdb_load ${binfile}
 
 # Run to main, where struct foo is incomplete.
 if ![runto_main] {
-    perror "cannot run to breakpoint at main"
+    return
 }
 
 
index 191c842af2494f92e1534f81fa23a8751e28aa98..b75119ba0c41aeec4572e0cd80a7b11e01c40bb4 100644 (file)
@@ -31,7 +31,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug nowarning
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index af6c7f47ac8c3af62cc4a5655f31b92e3a33a015..28af5c6043ed1ecda712fe26620fe588915c0ea1 100644 (file)
@@ -82,7 +82,6 @@ gdb_test_no_output "set non-stop off"
 gdb_load ${binfile}
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 5fb7cf67023252d27a1aed15e11b9f6665857d3d..b6014b45f6acf9476482891862b4bdb723cdf791 100644 (file)
@@ -40,7 +40,6 @@ clean_restart ${binfile}
 #
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 9d5d40a8a42412feeb71b9483f09b9342f06ffdc..682ba7d5b0d2bcbd9169313ba855860ea1bfcd78 100644 (file)
@@ -26,7 +26,6 @@ if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
 clean_restart ${binfile}
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index f475633df3cf6a50d57e4dfa0d18eb8f0bc8245a..60e4d4fe0717283ab1e4cca2d8a4cb3798328bda 100644 (file)
@@ -35,7 +35,6 @@ save_vars { GDBFLAGS } {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 98f43791d5cd701d82f4e1a281b8341daef63dca..7359f78bfdd915077127d97ab50ab5384d1b430f 100644 (file)
@@ -34,7 +34,6 @@ if { [prepare_for_testing "failed to prepare" relational int-type.c {debug nowar
 #
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 673df0a188bc3e857733c9cf823bb9609128624f..f05bd80734925808852481f2431d81481ff8d473 100644 (file)
@@ -36,7 +36,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} {
 gdb_test_no_output "set print sevenbit-strings" 
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 5db6b128536e4db8c10e757f965a51d3de3186a3..b148e91520eb5f9453f43130814f0e2996ad3160 100644 (file)
@@ -62,7 +62,7 @@ gdb_load_shlib $lib2
 
 
 if {![runto_main]} {
-        perror "C function calling tests suppressed"
+    return
 }
 
 
index 7cdbace56c51e2a93ff6935549d96654e3a424c3..f8bf6a5e35ea44ce9e7a26ef1b38caa40b509576 100644 (file)
@@ -30,7 +30,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} {
 #
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 6fc22f27c55aee89e1d4db47c26c2760ef0164bb..188e50794ec97195bd54cc18ca478205b1224e54 100644 (file)
@@ -27,7 +27,6 @@ if { [prepare_for_testing "failed to prepare" $executable $srcfile] } {
 #
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index a7807ea469d6343fdd0d58d77958faf957173383..d6dc56ab1d6c1e222d1609b755d76f54d0d1df28 100644 (file)
@@ -59,7 +59,6 @@ if [gdb_skip_stdio_test "varargs.exp"] {
 }
 
 if {![runto test]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 7fda22647c39a575232bb02907f005324aec5c11..2338473c6626d5133847915b1fd363c3c24c7fec 100644 (file)
@@ -43,7 +43,6 @@ if { [prepare_for_testing "failed to prepare" volatile constvars.c] } {
 # set it up at a breakpoint so we can play with the variable values
 #
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 132eee7f5a187caa9c5374de14204032fc233549..df13dd11393323ce599646fc4c165cd7c77d6090 100644 (file)
@@ -38,7 +38,6 @@ if { [prepare_for_testing "failed to prepare" whatis-exp int-type.c {debug nowar
 #
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 0f04668cbabf5703f009866948da3a5b20927a4e..5d0d2f88b6eaeb7e4e3f6e65af50cab537a4a1a9 100644 (file)
@@ -37,7 +37,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile \
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 852d9bc2c408dcfc6dec45baae20da10ad9fd7ed..bab7717b978db8631d0f528c01cd357ddaed2199 100644 (file)
@@ -26,7 +26,6 @@ if {[prepare_for_testing "failed to prepare" $testfile "$srcfile $srcfile2" {c++
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 9f18545bbf8ceacd61fb9f8faf7ae725c746c825..fd51d79093803e71dca4f5b6551bc7f8caafb558 100644 (file)
@@ -32,7 +32,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     continue
 }
 
index e1f2d4c5dc5527f08e678b3fe335366f574477b8..31952b65cd63f5a507f804b66218ea409caede13 100644 (file)
@@ -33,7 +33,6 @@ proc test_breakpoint {name} {
     # Restart the program every time, so that a single failure doesn't
     # lead to a cascade.
     if {![runto_main]} {
-       perror "couldn't run to main when testing ${name}"
        return -code continue
     } else {
        gdb_breakpoint "${name}"
index f00421a67022c5162aa8981178f5be6a25eabf3c..b50333fc4b403f4b179e1a6cd1c698b53d94c8ed 100644 (file)
@@ -26,7 +26,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 43851d43aeb975d2d78e080558cd47f2f3e6b3bc..f98f844ef9217bed0cacffca49720aeecb3582b9 100644 (file)
@@ -34,7 +34,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
@@ -182,7 +181,6 @@ if {[prepare_for_testing "failed to prepare" ${testfile}03 $srcfile2 \
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
    return
 }
 
index 9392e259be4b3df081852644d0c17b328cccdb5d..69e9809820eefea3dc45e7dc8e4c5314bbe0305b 100644 (file)
@@ -35,7 +35,6 @@ gdb_test_no_output "set print object off"
 gdb_test_no_output "set print symbol off"
 
 if {![runto_main]} {
-    perror "couldn't run to main"
     return
 }
 
index beac2681749d2e81cfca2e4527481ca8bfba8f28..c6d9c05354ebe196be4cad3d341061c92330c555 100644 (file)
@@ -652,7 +652,6 @@ proc do_tests {} {
     gdb_test_no_output "set width 0" ""
 
     if {![runto_main]} {
-       perror "couldn't run to breakpoint"
        return
     }
 
index b1ecf13918d1f79f5d85a85172168658f018dd1e..f534961bc97a8dfd191fe7ffe661bfda79833001 100644 (file)
@@ -25,7 +25,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile \
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index ea7a2f45d2ff3c7e06ab27c7cea9aeea5cd8749c..9e4b6ea4d5982ad739aced7a4d2f7de652a66f27 100644 (file)
@@ -22,7 +22,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} {debug c++}
 ############################################
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint main"
     return
 }
 
index 4a2012e4a05af255d47555910540c6f3cb8f1979..aacda45c3257286a5289d2ef0ee5b4181eb628e8 100644 (file)
@@ -31,7 +31,6 @@ if {[prepare_for_testing "failed to prepare" $testfile \
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index f5d20a00a3f4c9dd18c9282e0b470da7d818a06c..67ec4c11fe04534298df28dd4c9da512c2a23e8e 100644 (file)
@@ -56,7 +56,6 @@ with_test_prefix "before run" {
 # Set it up at a breakpoint so we can play with the variable values.
 
 if {![runto 'marker1']} {
-    perror "couldn't run to marker1"
     return
 }
 
@@ -266,7 +265,6 @@ gdb_test "ptype N::Derived::value_type" "type = int"
 
 # Now run to N::Derived::doit and get the type of "value_type"
 if {![runto "N::Derived::doit"]} {
-    perror "couldn't run to N::Derived::doit"
     return
 }
 
index 45f18abb4e680e414d6b43c19f61fb9df40298a8..bfc1739c6b4766714ef8ebc88d3ffe104675098c 100644 (file)
@@ -28,7 +28,6 @@ if {[prepare_for_testing "failed to prepare" $testfile \
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 9d2e340083f7a2e7365983037cf9924b4b05d31c..e12b082135fd51c5f5b9aeb4b5e774e740e33ad9 100644 (file)
@@ -22,7 +22,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to main"
     return
 } 
 
index 6d97ee5125748a0c1e68157df027d95803037d34..91ee3308c12066da47c19cebca0dab02e5471415 100644 (file)
@@ -22,7 +22,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to main"
     return
 }
 
index 5fc99055a2c7888ac4181a1e330cf7f44282bd9c..b7befe92eb118b15b337ca60bcdaf4fafeeb99f8 100644 (file)
@@ -23,7 +23,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} {debug c++}
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint main"
     return
 }
 
index e18bcc18f1778b5832c8d4d8eb393e606d5664ef..cd4ee9bad77588f43c0141abb19f1492ada83f5d 100644 (file)
@@ -34,7 +34,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to main"
     return
 } 
 
index 7fc5a5ba0f8eb15764e6bed871ba3c98f55cb261..e08ed9cb1561eb676dde16e097b2a440bded9abf 100644 (file)
@@ -39,7 +39,6 @@ gdb_load_shlib ${sofile}
 
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return -1
 }
 
index 6ade5d91d4ed5bd27d54b42a47dc791366d116f2..b2305a14e51bc1bee15bbf4b7e29db0466b095e4 100644 (file)
@@ -52,7 +52,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to main"
     return
 }
 
@@ -97,7 +96,6 @@ gdb_test "p exceptions.throw_function()" \
 
 # Restart the inferior back at main.
 if {![runto_main]} {
-    perror "couldn't run to main"
     return
 }
 
index 4a11fb218238bdf198614dfc90f65e8cbbc77949..9ce409ee10e9fe09193039ee0e7f277dd0eba486 100644 (file)
@@ -52,7 +52,6 @@ with_test_prefix "before run" {
 
 # Run to D::f.
 if {![runto_main]} {
-    perror "couldn't run to main"
     return
 }
 
index c3cfefc803c7cb3b6001ee752fa4fb4d39c4288d..e1099fe5ed5bd4674bfd484cf6fa51e1e5ce01d7 100644 (file)
@@ -678,7 +678,6 @@ proc do_tests { } {
     gdb_test_no_output "set width 0"
 
     if {![runto_main]} {
-       perror "couldn't run to main"
        return
     }
 
@@ -689,7 +688,6 @@ proc do_tests { } {
     test_ptype_mvi
 
     if {![runto 'inheritance2']} {
-       perror "couldn't run to inheritance2"
        return
     }
 
@@ -708,7 +706,6 @@ proc do_tests { } {
     test_print_anon_union
 
     if { ![runto 'inheritance4'] } {
-       perror "couldn't run to inheritance4"
        return
     }
 
index 5189a0dd3edb32a9480f381ecf6157facd7bad0c..aa7c5359e69c73ecb62953d2e8613dfd1804bbc5 100644 (file)
@@ -25,7 +25,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if ![runto_main] {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 912a7eaadc7ea744fe1a46756786a3a30e0c8fa8..60aa130d0067216800556950ff82124734129524 100644 (file)
@@ -23,7 +23,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \
 ############################################
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint main"
     return
 }
 
index 351f39f6365fae61ee4abb248b46b426bdc19683..378a5c31cc38abfb534c2bd1a10f91aa4bd72422 100644 (file)
@@ -39,12 +39,10 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 # set it up at a breakpoint so we can play with the variable values
 #
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
 if {![runto 'marker1']} {
-    perror "couldn't run to marker1"
     return
 }
 
index aca98c7c4c74f487e6a9c07c23128defeb5cd55a..282b33a1f3f1d5ba97baf338dd9554229c748392 100644 (file)
@@ -31,7 +31,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 228c120fb7b948cf9617a78b40efc4ce91d873c4..1acaf13ce90d03f7b3b666c1f45f8ab6785e6fe6 100644 (file)
@@ -39,7 +39,6 @@ if {[prepare_for_testing "failed to prepare" $testfile \
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index aba1e78a5617e2225152c6ebee40fbddc3237621..c9c02f44122b7b4f925a278c5c791b2b39d785ae 100644 (file)
@@ -28,7 +28,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if ![runto_main] {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 3bf5ee3ebad242d286548de316cb22c63641ed14..f60d071ead418d15715cb0daca7d1256265adc91 100644 (file)
@@ -32,7 +32,6 @@ if {[test_compiler_info {clang-*-*} c++]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 7e413cac6f417da420554183c19a0877e7b5d627..6e3e0f07ae21786efa0433306eeabc23a72e0556 100644 (file)
@@ -22,7 +22,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 8e20c018203bedb570b0ec93ebe04e27e87b4ee1..abb20916a594bc399362eceafa702155b51c54a7 100644 (file)
@@ -31,7 +31,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index c11e9916cb34e7742aaeeae9ed6ca9ab8672e11c..b357e36c7bcb0655086fdd3305ae078d4a80e3a7 100644 (file)
@@ -41,7 +41,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile \
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 07a17b013b63c40ad4fb0dd67fb5329726cbfc55..7a3227b461c0882efc371ef0816c8dccb06526eb 100644 (file)
@@ -44,7 +44,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 # set it up at a breakpoint so we can play with the variable values
 #
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index ad0129cdc197b28c3ccd1256a1b706c26a377a68..c657b38a9a294f42a69ca70c6bd034800f1c970e 100644 (file)
@@ -27,7 +27,6 @@ if  {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index a08a4e008df5cf6433faa4f0437b0cc94cb72f37..43c6fcfb4978a1413002297c6b6f9cfb24cd97f3 100644 (file)
@@ -26,7 +26,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 # been imported.
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint main"
     return
 }
 
index 2f3a766fd212c3f9d355012a4bc3fd292fa6aa0e..f2eb2a48ae6b46ef0dc6a375193f86eaab33d003 100644 (file)
@@ -47,12 +47,10 @@ gdb_test "show lang" "auto; currently c\\+\\+.*"
 # set it up at a breakpoint so we can play with the variable values
 #
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
 if {![runto 'marker1']} {
-    perror "couldn't run to marker1"
     return
 }
 
@@ -193,7 +191,6 @@ gdb_test_multiple $test $test {
 # namespace.
 
 if {![runto "C::D::marker2"]} {
-    perror "couldn't run to marker2"
     return
 }
 
index 58e54f849e025a4d03ca25db520ff19eb2e61b16..fe6445cf96d5a1adb8b58b6ae0ebb79ef7f08ebc 100644 (file)
@@ -23,7 +23,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to main"
     return
 } 
 
index d1859f874f172fea16db6d989d2d31ec662645e3..1b12917d98609654746f58ad4323bbc5ac933a5f 100644 (file)
@@ -23,7 +23,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint main"
     return
 }
 
index 56a74e73ff18c4adc86b06c42f08e06f9f68ddfd..61a8d6d269fde8190f9c9afea897f6f2048223de 100644 (file)
@@ -28,7 +28,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 # the function.
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint main"
     return
 }
 
index 01aba767f7fca2b68b9e116bfccaf85d89f56f05..d9e5b6ff5438e1b7f5982bba786a4b20e4df07e0 100644 (file)
@@ -21,7 +21,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} {debug c++}
 
 ############################################
 if {![runto_main]} {
-    perror "couldn't run to breakpoint main"
     return
 }
 
index 11bcdaed834e6fcdfb7e6bec820c2ee5c07c1fa3..e5d3186cc4b5c7ff52868819d0fb7cdd290133bf 100644 (file)
@@ -21,7 +21,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} {debug c++}
 
 ############################################
 if {![runto_main]} {
-    perror "couldn't run to breakpoint main"
     return
 }
 
index 30eab175df395f7551378c6790cd0e87cb3fd984..b1592ff4a4c644099543c238132fbb9566ac699a 100644 (file)
@@ -21,7 +21,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint main"
     return
 }
 
index 2ff88791180a3091ae380a7d1e8b9c132bdb4dd4..3fbca5d20f2e4557f55d7c9a85f6cf9e68298578 100644 (file)
@@ -23,7 +23,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint main"
     continue
 }
 
index f767b6b8c583d2abb067fb4ae5f3d7edf7ed8cc9..18bb28208b667f7adff431aa453ee54da386443c 100644 (file)
@@ -23,7 +23,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 # Test printing of namespace imported within the function.
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint main"
     continue
 }
 
index b5609ba687afb4e8cee634fe4904f00874555cca..54c8cbb75735d5de3124414410176fc70a6d5fbd 100644 (file)
@@ -23,7 +23,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \
 ############################################
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint main"
     return
 }
 
index b9aa27dee577bfc72d893b27a2e94c98c3d3f3c0..07c3f79e275f7367df7130f2f25fe70914f679fa 100644 (file)
@@ -22,7 +22,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} {debug c++}
 ############################################
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint main"
     return
 }
 
index 4dcd0efc171efd23565664a1d5396ecc71755d70..fde9d73c90bd1c94576283c73b6a453b93d9594e 100644 (file)
@@ -35,7 +35,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 # Set it up at a breakpoint so we can play with the variable values.
 
 if {![runto 'marker1']} {
-    perror "couldn't run to marker1"
     continue
 }
 
@@ -360,7 +359,6 @@ with_test_prefix "list all overloads" {
 }
 
 if {![runto 'XXX::marker2']} {
-    perror "couldn't run to XXX::marker2"
     continue
 }
 
index 0ed9eae055b3b3aa28aaa26b7d3b26ec3ec1127f..94b58a5080de529a052c337575a350636a9b3074 100644 (file)
@@ -39,7 +39,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 # set it up at a breakpoint so we can play with the variable values
 #
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 767d12bce1db4d4189cb72c947e842e82f370c01..32ac7ce72d08790f51f2c0c0497849f93c702769 100644 (file)
@@ -63,7 +63,6 @@ if {[prepare_for_testing "failed to prepare" $testfile \
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 390459a0bac24b0bbf99fd2242659a61b99c8c65..0cd310b7c34c96c1b73f09d80281b8cc14e89404 100644 (file)
@@ -31,7 +31,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index c74e7aa1dbccd6cbb67e0cd72a13307a120b1cbd..5fabf6f8a44946e8b281bfdc9b6dbcc36b5f6ac9 100644 (file)
@@ -30,7 +30,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 32c7f634940cd3dc0c55c446adc150db61599870..06b96ccc0e983ab07d07f9adb589d11ec019635f 100644 (file)
@@ -39,7 +39,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile $flags]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 8051eae71da2efaa7e68ba278b786178f83bea5b..07db26a64284bb730edd600e1137d8308eb9d354 100644 (file)
@@ -43,7 +43,6 @@ if  { [gdb_compile "${tfx}.o ${tfy}.o" ${binfile} executable {debug c++}] != ""
 clean_restart $binfile
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index c9583bd1731a3709037cd0faabacca86404719b9..50c46e5f524133981c8275094fd7271d2e21ac7f 100644 (file)
@@ -22,7 +22,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} {debug c++}
 ############################################
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint main"
     continue
 }
 
index 417abb19f07698c0e242985c81e59482145b830b..79d18b5f65da4b5e2e962ccf6a1fcf87994d8f70 100644 (file)
@@ -26,7 +26,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index c98e3e9bf3f97dc56bcf0c500d4cdba3de3e171e..612feaab974d6297fe8ec8a2cd2911fcb16e64b4 100644 (file)
@@ -24,7 +24,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 94aaba3f246be61dfec226c3605cee1eb6c103c0..1530a40220e38cd3aa7c09dcd5022622a948dd1a 100644 (file)
@@ -32,7 +32,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index b04a4a4b8c9bae6a4de314fb0b914db4865d61c5..8c42de837e7896c5abaf1edbce2a8c92d16458f3 100644 (file)
@@ -26,7 +26,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 8135a2845f8d7bb5c39c8d0c9fe78412ed36e993..fd99ea9c0d6782b19638a2f46e23cfdb30e713d2 100644 (file)
@@ -32,12 +32,10 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 # set it up at a breakpoint so we can play with the variable values
 #
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
 if {![runto 'marker1']} {
-    perror "couldn't run to marker1"
     return
 }
 
@@ -58,12 +56,10 @@ proc gdb_start_again {} {
     # set it up at a breakpoint so we can play with the variable values
     #
     if {![runto_main]} {
-       perror "couldn't run to breakpoint"
        return
     }
 
     if {![runto 'marker1']} {
-       perror "couldn't run to marker1"
        return
     }
 
@@ -129,7 +125,6 @@ gdb_test "print ras\[3\]" ".\[0-9\]* = 3" "print value of ras\[3\]"
 
 
 if {![runto 'f']} {
-    perror "couldn't run to f"
     return
 }
 
index 77cc6b6c35eddb46f4bd9542bc1ab8eb58f7e957..c72777bebffa370a784f6739612a39b4e7d77419 100644 (file)
@@ -40,7 +40,6 @@ if {[prepare_for_testing "failed to prepare" $testfile \
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 6056af415cf62f17a9c5c98a9f6507421628cc8c..e38393db40d45f198916cc411a97d9660e23b897 100644 (file)
@@ -62,7 +62,6 @@ gdb_test "print rrat\[3\]" ".$decimal = 3" "print value of rrat\[3\]"
 
 
 if {![runto 'f']} {
-    perror "couldn't run to f"
     return
 }
 
index 641feed752cdb0708497ac2b3c3538ec770f8f39..4ddfe38b8e3ca474a64cc5d280217f1e850a5d82 100644 (file)
@@ -24,7 +24,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint main"
     return
 }
 
index c94dfae43940e392c05bf62f42cf2e100ca132ea..75faefd6f62ee4552e2d6e1c939284fd19e3ef8f 100644 (file)
@@ -22,7 +22,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} {debug c++}
 ############################################
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint main"
     return
 }
 
index efe56049239c208d6d15c06f4a07fc71d18c1d76..1499955f3087c66badfc02b9b0cc31158b216998 100644 (file)
@@ -65,7 +65,6 @@ gdb_test_multiple $test $test {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 437309ada519dfec921fbb4c3a4e47a2a7509c85..25c204099909456b49ee2b1c7666e290d146a732 100644 (file)
@@ -31,7 +31,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 5eba7e2cd81ddcb6972e0835932cd9e9117413fc..0245a6ee9d7eb284ccc4920ffab97f0012deebd3 100644 (file)
@@ -28,7 +28,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index e69f7c9df53dd25bb5f33c388826047c1fc91f81..3a04dc6f5f417892baae8c11ca56dd4ab7728d40 100644 (file)
@@ -82,7 +82,6 @@ with_test_prefix "before start" {
 
 # Run to main and test again.
 if {![runto_main]} {
-    perror "couldn't run to main"
     return
 }
 
index b026cfb4fba0b5197c0944d629c6e254a8efe1ae..1b83daf506bd5d8ff13d4b5e8990b5df287b25db 100644 (file)
@@ -24,7 +24,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index d58403b7fa059326716d30628bf386b91c11f2a2..d55b02451bb55a809d351a5630765117df0c76f4 100644 (file)
@@ -24,7 +24,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to main"
     return
 }
 
index 23088f75850009ed1c97530596372f7e799db71e..8c2dc51d28afbe2c1c3d99612ded9b53a77fb73a 100644 (file)
@@ -274,7 +274,6 @@ proc do_tests {} {
     gdb_test_no_output "set width 0" ""
 
     if {![runto_main]} {
-       perror "couldn't run to breakpoint"
        return
     }
     test_ptype_of_classes
index 3ec0530103608eae7f5368200f79d982f4c39144..b2798b300e6caa76f74ffff0dcda8f11fc3fced0 100644 (file)
@@ -29,7 +29,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 8ef64bb59b7d59e69b8d53f12dfc53fb775633ac..62bedde8d546e991d6e69f62361272383177d20d 100644 (file)
@@ -22,7 +22,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
 }
 
 if {![runto_main]} {
-    perror "couldn't run to main"
     return
 }
 
index 663114ca0ae94c3161240a7ae40576b6c7f03447..f930062cd7fa53d53b41f8c4fe7c48f3db9c05dd 100644 (file)
@@ -147,7 +147,6 @@ clean_restart ${testfile}
 set GDBFLAGS $saved_gdbflags
 
 if ![runto_main] {
-    perror "couldn't run to main"
     return -1
 }
 
index 12c2f4cce8218cb28eefa381ddf2bd9efdd6ec3b..5e04cf9160ee308fa527f682e57aed94810ccf57 100644 (file)
@@ -38,7 +38,6 @@ if { [prepare_for_testing "failed to prepare" "${testfile}" $srcfile \
 }
 
 if {![runto MAIN__]} {
-    perror "couldn't run to breakpoint MAIN__"
     return
 }
 
index f5d313cdf1ac3f077220d779771b46d27b9dfa3e..9c8798d1f6d439fa36d0cc79ce228eb11d9525c9 100644 (file)
@@ -27,7 +27,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug f90}]} {
 }
 
 if {![runto sub_]} {
-    perror "couldn't run to breakpoint sub_"
     return
 }
 
index ae3e34ce1c793ec2220b0905db1389c9246c5b9e..5238faaaa6ade0b42046c86bae6b84b979f13bf8 100644 (file)
@@ -31,7 +31,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} {debug addi
 }
 
 if ![fortran_runto_main] {
-    perror "Couldn't run to main"
     return
 }
 
index b8cbfb895c5bfc87a54a87bfd8b10720e6871f6a..8509283a17fd819d9d0baf6bf8b49c5bf00fdc5a 100644 (file)
@@ -28,7 +28,6 @@ if {[prepare_for_testing "failed to prepare" ${testfile} \
 }
 
 if {![fortran_runto_main]} {
-    perror "couldn't run to main"
     return
 }
 
index 896e01cb932d4df3fcc0efff3105eebc51b88470..b6fc95534ebd74d3bc0ffe72c605e735d0a326b9 100644 (file)
@@ -23,7 +23,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug f90 quiet
 }
 
 if {![fortran_runto_main]} {
-    perror "Couldn't run to main"
     return
 }
 
index 3adabd63d36d8aa8a09c6a55781377ea77ba7076..08d8ad4a60e69325402e427cffef17ae2b77cd77 100644 (file)
@@ -28,7 +28,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug f90}]} {
 }
 
 if {![fortran_runto_main]} {
-    perror "couldn't run to main"
     return
 }
 
index bf868f572841290459101a2f558e2161c5cc67a9..3d45a63f839a9ab5d931295f495127cc7ee1f409 100644 (file)
@@ -30,7 +30,6 @@ if {[prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} \
 }
 
 if {![runto [gdb_get_line_number "post_init"]]} {
-    perror "couldn't run to breakpoint post_init"
     return
 }
 
index 63ec0c8d0baf69a94426be5359f1c18d016d9145..5187e3ef480ee3b9bbf63ba99bd42a08a64ce04a 100644 (file)
@@ -28,7 +28,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug f90}]} {
 }
 
 if {![fortran_runto_main]} {
-    perror "couldn't run to main"
     return
 }
 
index ea58e6249c9cbe9e8595ac2865de77d929877f9b..f240bd71d57b86cecaa563b334b4fd839bedfe5e 100644 (file)
@@ -40,7 +40,6 @@ with_complaints 5 {
 }
 
 if {![runto [gdb_get_line_number "post_init"]]} {
-    perror "couldn't run to breakpoint post_init"
     return
 }
 
index a6ed67d404f139b3fa7798181e3a20580c2cd8bf..08fb6059bdfe8b28fbad8d3ee386d6e6a5f61e55 100644 (file)
@@ -40,7 +40,6 @@ clean_restart $testfile
 gdb_load_shlib $libfile
 
 if {![fortran_runto_main]} {
-    perror "couldn't run to main"
     return
 }
 
index b9c9d6b44f3027603f6817b82c54985641f34d32..47fbf748e3fad17e6de30cfc4276f7a15d58bba6 100644 (file)
@@ -35,7 +35,6 @@ gdb_test "print mod1::var_const" " = 20" "fully qualified name of DW_TAG_constan
 gdb_test_no_output "set auto-solib-add off"
 
 if {![fortran_runto_main]} {
-    perror "couldn't run to main"
     return
 }
 
index fc517b67b9ae1544fbf0014767fafa6ea5837b8b..cafb12d0e75dfdfb59d00b72bafa34036b9f8b0f 100644 (file)
@@ -26,7 +26,6 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} {debug f90}
 }
 
 if ![fortran_runto_main] {
-    perror "Couldn't run to main"
     return
 }
 
index 46f24f4797008c53507f3f56ac998abc0142679a..8e2c9be5c996d84e947381cc61f4bf5d198a2580 100644 (file)
@@ -26,7 +26,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug f90}]} {
 }
 
 if {![fortran_runto_main]} {
-    perror "couldn't run to main"
     return
 }
 
index 2a83144b64804fc7a5f58002ae7797c96be5d05a..9aaf57db9b52bce7599994030550bd1e6cb9a99a 100644 (file)
@@ -109,7 +109,6 @@ proc do_bp_tests {with_src_prefix_p with_nest_prefix_p} {
 
     # Break on a contained function and run to it.
     if {![runto ${src_prefix}[gdb_get_line_number "pre_init"]]} {
-       perror "couldn't run to breakpoint pre_init"
        return
     }
 
index 237e09ed00978818a70a044e67e8e25f78796f95..b065336c830dc4eb23253a7aacaa2d7a844bc88c 100755 (executable)
@@ -26,7 +26,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug f90}]} {
 }
 
 if {![fortran_runto_main]} {
-    perror "couldn't run to main"
     continue
 }
 
index 6751b50a43d1e8b73a8c32772adc825794ca18f9..156e4fe4d17d84cd13cc4da3739eb1937a23ce64 100644 (file)
@@ -25,7 +25,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug f90}]} {
 }
 
 if {![fortran_runto_main]} {
-    perror "couldn't run to main"
     return
 }
 
index d458e1adfc4c081ef38df227b7d3504e43163081..ccb4d145e8af622640930584732fc44c64f535c4 100644 (file)
@@ -26,7 +26,6 @@ if {[prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} {debug f90}]} {
 }
 
 if {![runto [gdb_get_line_number "post_truth_table_init"]]} {
-    perror "couldn't run to breakpoint post_truth_table_init"
     return
 }
 
index 7031c0701694b940235e6829a3306736a9c18458..a39d55c51f3f4abeab5844614a0a77666521cd65 100644 (file)
@@ -27,7 +27,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile \
 }
 
 if { ![fortran_runto_main] } {
-    perror "Couldn't run to main"
     return
 }
 
index 88d47f91e77270ea5245eb6e41e57cd011b14e43..776872ed21908d8b8d16929c69f14ffb3ed3fdfc 100644 (file)
@@ -31,7 +31,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug f90}]} {
 gdb_test_no_output "set auto-solib-add off"
 
 if {![fortran_runto_main]} {
-    perror "couldn't run to main"
     return
 }
 
index 36ba0b405e3eadcdc2530a1e1d13997b8ddd1ea8..a920fb879eeb3faa5583d4ea9f67c30309ce949b 100644 (file)
@@ -131,7 +131,6 @@ gdb_test "print vla1(9, 9, 9)" "no such vector element \\\(vector not allocated\
 clean_restart ${testfile}
 
 if {![fortran_runto_main]} {
-    perror "couldn't run to main"
     return
 }
 gdb_breakpoint [gdb_get_line_number "vla2-allocated"]
index 06a74d462f5f4c74a0a9f3ea4e0e086e2dbb64d2..349f7622ff1a961347a3aba8e166727e319fbaa5 100644 (file)
@@ -25,7 +25,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile \
 }
 
 if {![runto here]} {
-    perror "couldn't run to breakpoint 'here'"
     return
 }
 
index e75f1993787fd5d620e07825beaab69c8d7df911..ab43842bd72970c7569a5464a4e075a88b950a20 100644 (file)
@@ -24,7 +24,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug quiet}]}
 }
 
 if {![runto foo]} {
-    perror "couldn't run to breakpoint foo"
     return
 }
 
index 5798ad0fcb5fa053e3c2497195fd0ce8431c8d03..323605e8427fe97f398f951fc7558fdf5da71675 100644 (file)
@@ -28,7 +28,6 @@ if { [prepare_for_testing "prepare for testing" ${testfile} ${srcfile} \
 }
 
 if {![runto f]} {
-    perror "couldn't run to f"
     return
 }
 
index 26b18ce1ab05a6d1812987c9e50c402f1ef60b49..02065ea6d4234eec17f33d407bd4e2cc2a6d4ccc 100644 (file)
@@ -53,7 +53,6 @@ proc prepare_gdb {exefile} {
   gdb_load ${exefile}
 
   if {![runto_main]} {
-      perror "couldn't run to breakpoint"
       return
   }
 
index 81c434046a44c3d8bd5cf81c1041474ab9bdabcf..b9c8c30a55f87bd9d89912ec6d0bff273e012752 100644 (file)
@@ -52,7 +52,6 @@ gdb_test "info auto-load python-scripts" "Yes.*${testfile}-gdb.py.*" \
     "Test auto-load had loaded python scripts"
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 gdb_test_no_output "set python print-stack full" \
index 794d1c2944cf8d394f86039bdedcb068f152f72f..9a97b6581b4f334bb44744161664663cdcdfa773 100644 (file)
@@ -53,7 +53,6 @@ gdb_test "info auto-load python-scripts" "Yes.*${testfile}-gdb.py.*" \
     "Test auto-load had loaded python scripts"
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 gdb_test_no_output "set python print-stack full" \
@@ -311,7 +310,6 @@ gdb_load ${binfile}
 gdb_test "info auto-load python-scripts" "Yes.*${testfile}-gdb.py.*" \
     "Set autoload path for no debug info tests"
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index 8dec58ef98e5c87d3ebf1b4c75fc610ababdc371..4c28f957855622401700de3aac8c985e56be8714 100644 (file)
@@ -43,7 +43,6 @@ gdb_load ${binfile}
 gdb_test "info auto-load python-scripts" "Yes.*${testfile}-gdb.py.*"
 
 if ![runto_main] {
-    perror "couldn't run to main"
     return
 }
 
index 46a346c194b76382b42a1917c97453d4ccad5711..a96a96d7929914c35c21692839a7dd32c10abf3e 100644 (file)
@@ -43,7 +43,6 @@ proc run_lang_tests {exefile lang} {
     gdb_load ${exefile}
 
     if {![runto_main]} {
-       perror "couldn't run to breakpoint"
        return
     }
 
@@ -199,7 +198,6 @@ gdb_reinitialize_dir $srcdir/$subdir
 gdb_load ${binfile}
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }
 
index e1a60db52561c7ea5ccc00eb3f376250702ce647..d9dc0bef1d4845009765ccc09ced42259e575f15 100644 (file)
@@ -115,7 +115,6 @@ gdb_test "info auto-load python-scripts no-script-matches-this" \
   "No auto-load scripts matching no-script-matches-this."
 
 if ![runto_main] {
-    perror "couldn't run to main"
     return
 }
 
index 25f3f52f4a365ae81a96ab50c8dea940eeb3c95c..c2fd510867ffe2e6a17690d705ba2c070a19a87f 100644 (file)
@@ -44,7 +44,6 @@ proc test_template_arg {exefile type} {
     }
     gdb_load ${exefile}
     if {![runto_main]} {
-       perror "couldn't run to breakpoint"
        return
     }
     # There is no executable code in main(), so we are where we want to be
index fbe56f35b4b6364cf743214e385f682f2350510d..594c9749d8ea75a83a0b8f0565267f7b9177e8c2 100644 (file)
@@ -42,7 +42,6 @@ proc restart_gdb {exefile} {
   gdb_load ${exefile}
 
   if {![runto_main]} {
-      perror "couldn't run to breakpoint"
       return
   }
 }
index c04c98da162e86b131c0c1e88d55b890b3073623..a2e42dceee0862937d1c7845f7fa8555c786dc9f 100644 (file)
@@ -416,7 +416,6 @@ proc test_subscript_regression {exefile lang} {
  clean_restart ${exefile}
 
  if {![runto_main]} {
-     perror "couldn't run to breakpoint"
      return
  }
 
index 201c13dd59a65be0915a69430453b30986ce81e5..ed2e5467fb5900eba4b95d0d217a873a085d4a46 100644 (file)
@@ -28,7 +28,6 @@ if {[prepare_for_testing "failed to prepare" $testfile \
 }
 
 if {![runto_main]} {
-    perror "couldn't run to breakpoint"
     return
 }