summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.threads')
-rw-r--r--gdb/testsuite/gdb.threads/access-mem-running-thread-exit.exp2
-rw-r--r--gdb/testsuite/gdb.threads/async.exp1
-rw-r--r--gdb/testsuite/gdb.threads/clone-new-thread-event.exp1
-rw-r--r--gdb/testsuite/gdb.threads/clone-thread_db.exp1
-rw-r--r--gdb/testsuite/gdb.threads/continue-pending-status.exp1
-rw-r--r--gdb/testsuite/gdb.threads/current-lwp-dead.exp1
-rw-r--r--gdb/testsuite/gdb.threads/fork-child-threads.exp1
-rw-r--r--gdb/testsuite/gdb.threads/fork-plus-threads.exp1
-rw-r--r--gdb/testsuite/gdb.threads/fork-thread-pending.exp2
-rw-r--r--gdb/testsuite/gdb.threads/forking-threads-plus-breakpoint.exp2
-rw-r--r--gdb/testsuite/gdb.threads/gcore-thread.exp1
-rw-r--r--gdb/testsuite/gdb.threads/hand-call-in-threads.exp1
-rw-r--r--gdb/testsuite/gdb.threads/interrupt-while-step-over.exp2
-rw-r--r--gdb/testsuite/gdb.threads/interrupted-hand-call.exp1
-rw-r--r--gdb/testsuite/gdb.threads/kill.exp1
-rw-r--r--gdb/testsuite/gdb.threads/local-watch-wrong-thread.exp1
-rw-r--r--gdb/testsuite/gdb.threads/multiple-successive-infcall.exp1
-rw-r--r--gdb/testsuite/gdb.threads/next-while-other-thread-longjmps.exp1
-rw-r--r--gdb/testsuite/gdb.threads/non-ldr-exit.exp1
-rw-r--r--gdb/testsuite/gdb.threads/omp-par-scope.exp1
-rw-r--r--gdb/testsuite/gdb.threads/pending-step.exp1
-rw-r--r--gdb/testsuite/gdb.threads/process-dies-while-detaching.exp3
-rw-r--r--gdb/testsuite/gdb.threads/process-dies-while-handling-bp.exp1
-rw-r--r--gdb/testsuite/gdb.threads/queue-signal.exp1
-rw-r--r--gdb/testsuite/gdb.threads/reconnect-signal.exp1
-rw-r--r--gdb/testsuite/gdb.threads/signal-command-handle-nopass.exp1
-rw-r--r--gdb/testsuite/gdb.threads/signal-command-multiple-signals-pending.exp1
-rw-r--r--gdb/testsuite/gdb.threads/signal-delivered-right-thread.exp1
-rw-r--r--gdb/testsuite/gdb.threads/signal-sigtrap.exp1
-rw-r--r--gdb/testsuite/gdb.threads/sigthread.exp1
-rw-r--r--gdb/testsuite/gdb.threads/stop-with-handle.exp1
-rw-r--r--gdb/testsuite/gdb.threads/thread-specific-bp.exp1
-rw-r--r--gdb/testsuite/gdb.threads/thread-unwindonsignal.exp1
-rw-r--r--gdb/testsuite/gdb.threads/thread_check.exp1
-rw-r--r--gdb/testsuite/gdb.threads/thread_events.exp1
-rw-r--r--gdb/testsuite/gdb.threads/threadapply.exp2
-rw-r--r--gdb/testsuite/gdb.threads/tid-reuse.exp1
-rw-r--r--gdb/testsuite/gdb.threads/tls-nodebug.exp1
-rw-r--r--gdb/testsuite/gdb.threads/tls-shared.exp1
-rw-r--r--gdb/testsuite/gdb.threads/tls-so_extern.exp1
-rw-r--r--gdb/testsuite/gdb.threads/tls.exp1
-rw-r--r--gdb/testsuite/gdb.threads/vfork-follow-child-exec.exp1
-rw-r--r--gdb/testsuite/gdb.threads/vfork-follow-child-exit.exp1
-rw-r--r--gdb/testsuite/gdb.threads/watchthreads.exp1
-rw-r--r--gdb/testsuite/gdb.threads/watchthreads2.exp1
-rw-r--r--gdb/testsuite/gdb.threads/wp-replication.exp1
46 files changed, 0 insertions, 53 deletions
diff --git a/gdb/testsuite/gdb.threads/access-mem-running-thread-exit.exp b/gdb/testsuite/gdb.threads/access-mem-running-thread-exit.exp
index b2fef9fca6a..4c2e2b776e4 100644
--- a/gdb/testsuite/gdb.threads/access-mem-running-thread-exit.exp
+++ b/gdb/testsuite/gdb.threads/access-mem-running-thread-exit.exp
@@ -53,7 +53,6 @@ proc test { non_stop } {
}
if ![runto_main] {
- fail "cannot run to main"
return -1
}
@@ -84,7 +83,6 @@ proc test { non_stop } {
gdb_load $binfile
if ![runto_main] {
- fail "cannot run to main"
return -1
}
}
diff --git a/gdb/testsuite/gdb.threads/async.exp b/gdb/testsuite/gdb.threads/async.exp
index c49deb1f8b5..112965eda96 100644
--- a/gdb/testsuite/gdb.threads/async.exp
+++ b/gdb/testsuite/gdb.threads/async.exp
@@ -35,7 +35,6 @@ proc test_current_thread {expected_thr} {
clean_restart $binfile
if {![runto "all_started"]} {
- fail "could not run to all_started"
return
}
diff --git a/gdb/testsuite/gdb.threads/clone-new-thread-event.exp b/gdb/testsuite/gdb.threads/clone-new-thread-event.exp
index 4911a73fd9a..562c3a62e4a 100644
--- a/gdb/testsuite/gdb.threads/clone-new-thread-event.exp
+++ b/gdb/testsuite/gdb.threads/clone-new-thread-event.exp
@@ -25,7 +25,6 @@ if { [prepare_for_testing "failed to prepare" clone-new-thread-event] } {
}
if { ![runto_main] } {
- untested "could not run to main"
return -1
}
diff --git a/gdb/testsuite/gdb.threads/clone-thread_db.exp b/gdb/testsuite/gdb.threads/clone-thread_db.exp
index 91608c38855..2d1f8ef9583 100644
--- a/gdb/testsuite/gdb.threads/clone-thread_db.exp
+++ b/gdb/testsuite/gdb.threads/clone-thread_db.exp
@@ -27,7 +27,6 @@ if [prepare_for_testing "failed to prepare" $testfile $srcfile {debug pthreads}]
}
if ![runto_main] {
- untested "could not run to main"
return -1
}
diff --git a/gdb/testsuite/gdb.threads/continue-pending-status.exp b/gdb/testsuite/gdb.threads/continue-pending-status.exp
index c0321c39d11..2c3bc12e250 100644
--- a/gdb/testsuite/gdb.threads/continue-pending-status.exp
+++ b/gdb/testsuite/gdb.threads/continue-pending-status.exp
@@ -29,7 +29,6 @@ if [prepare_for_testing "failed to prepare" $testfile $srcfile {debug pthreads}]
}
if ![runto_main] {
- untested "could not run to main"
return -1
}
diff --git a/gdb/testsuite/gdb.threads/current-lwp-dead.exp b/gdb/testsuite/gdb.threads/current-lwp-dead.exp
index 09b21d42760..2111ea2d670 100644
--- a/gdb/testsuite/gdb.threads/current-lwp-dead.exp
+++ b/gdb/testsuite/gdb.threads/current-lwp-dead.exp
@@ -28,7 +28,6 @@ if { [prepare_for_testing "failed to prepare" current-lwp-dead] } {
}
if {[runto_main] <= 0} {
- untested "could not run to main"
return -1
}
diff --git a/gdb/testsuite/gdb.threads/fork-child-threads.exp b/gdb/testsuite/gdb.threads/fork-child-threads.exp
index 2142fffb89c..fffb0de5517 100644
--- a/gdb/testsuite/gdb.threads/fork-child-threads.exp
+++ b/gdb/testsuite/gdb.threads/fork-child-threads.exp
@@ -27,7 +27,6 @@ if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executab
clean_restart ${binfile}
if ![runto_main] then {
- fail "can't run to main"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/fork-plus-threads.exp b/gdb/testsuite/gdb.threads/fork-plus-threads.exp
index 7fe3c603bcd..2300279254e 100644
--- a/gdb/testsuite/gdb.threads/fork-plus-threads.exp
+++ b/gdb/testsuite/gdb.threads/fork-plus-threads.exp
@@ -46,7 +46,6 @@ proc do_test { detach-on-fork } {
set GDBFLAGS $saved_gdbflags
if ![runto_main] then {
- fail "can't run to main"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/fork-thread-pending.exp b/gdb/testsuite/gdb.threads/fork-thread-pending.exp
index 8f38f783b47..ec6d9839dcc 100644
--- a/gdb/testsuite/gdb.threads/fork-thread-pending.exp
+++ b/gdb/testsuite/gdb.threads/fork-thread-pending.exp
@@ -28,7 +28,6 @@ if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executab
clean_restart ${binfile}
if ![runto_main] then {
- fail "can't run to main"
return 0
}
@@ -86,7 +85,6 @@ gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${binfile}
if ![runto_main] then {
- fail "can't run to main"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/forking-threads-plus-breakpoint.exp b/gdb/testsuite/gdb.threads/forking-threads-plus-breakpoint.exp
index 288ee9b1f5f..c1e910bfc1c 100644
--- a/gdb/testsuite/gdb.threads/forking-threads-plus-breakpoint.exp
+++ b/gdb/testsuite/gdb.threads/forking-threads-plus-breakpoint.exp
@@ -39,7 +39,6 @@ proc probe_displaced_stepping_support {} {
gdb_test_no_output "set displaced on"
if ![runto_main] then {
- fail "can't run to main"
return 0
}
@@ -79,7 +78,6 @@ proc do_test { cond_bp_target detach_on_fork displaced } {
set GDBFLAGS $saved_gdbflags
if ![runto_main] then {
- fail "can't run to main"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/gcore-thread.exp b/gdb/testsuite/gdb.threads/gcore-thread.exp
index 35c75f7a499..142c04bcab2 100644
--- a/gdb/testsuite/gdb.threads/gcore-thread.exp
+++ b/gdb/testsuite/gdb.threads/gcore-thread.exp
@@ -56,7 +56,6 @@ set nl "\[\r\n\]+"
set timeout 30
if { ! [ runto_main ] } then {
- untested "could not run to main"
return -1
}
diff --git a/gdb/testsuite/gdb.threads/hand-call-in-threads.exp b/gdb/testsuite/gdb.threads/hand-call-in-threads.exp
index 11c45c3dce4..8914eaa0478 100644
--- a/gdb/testsuite/gdb.threads/hand-call-in-threads.exp
+++ b/gdb/testsuite/gdb.threads/hand-call-in-threads.exp
@@ -50,7 +50,6 @@ proc get_dummy_frame_number { } {
clean_restart ${binfile}
if { ![runto_main] } {
- fail "can't run to main"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/interrupt-while-step-over.exp b/gdb/testsuite/gdb.threads/interrupt-while-step-over.exp
index a9304fc1af0..5f22392f5fd 100644
--- a/gdb/testsuite/gdb.threads/interrupt-while-step-over.exp
+++ b/gdb/testsuite/gdb.threads/interrupt-while-step-over.exp
@@ -24,7 +24,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile \
}
if {![runto_main]} {
- fail "can't run to main"
return -1
}
@@ -175,7 +174,6 @@ proc testdriver {displaced} {
gdb_test_no_output "set displaced-stepping $displaced"
if ![runto all_started] {
- fail "couldn't run to all_started"
return
}
set break_line [gdb_get_line_number "set breakpoint here"]
diff --git a/gdb/testsuite/gdb.threads/interrupted-hand-call.exp b/gdb/testsuite/gdb.threads/interrupted-hand-call.exp
index e6d806699f2..b9d4034f341 100644
--- a/gdb/testsuite/gdb.threads/interrupted-hand-call.exp
+++ b/gdb/testsuite/gdb.threads/interrupted-hand-call.exp
@@ -34,7 +34,6 @@ if [target_info exists gdb,cannot_call_functions] {
clean_restart ${binfile}
if { ![runto_main] } {
- fail "can't run to main"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/kill.exp b/gdb/testsuite/gdb.threads/kill.exp
index c984d45e6be..27464d2f5e8 100644
--- a/gdb/testsuite/gdb.threads/kill.exp
+++ b/gdb/testsuite/gdb.threads/kill.exp
@@ -39,7 +39,6 @@ proc test {threaded} {
}
if { ![runto_main] } then {
- fail "run to main"
return
}
diff --git a/gdb/testsuite/gdb.threads/local-watch-wrong-thread.exp b/gdb/testsuite/gdb.threads/local-watch-wrong-thread.exp
index 46a8af825ba..0a23fde579e 100644
--- a/gdb/testsuite/gdb.threads/local-watch-wrong-thread.exp
+++ b/gdb/testsuite/gdb.threads/local-watch-wrong-thread.exp
@@ -35,7 +35,6 @@ clean_restart ${binfile}
gdb_test_no_output "set can-use-hw-watchpoints 1" ""
if ![runto_main] then {
- fail "can't run to main"
return
}
diff --git a/gdb/testsuite/gdb.threads/multiple-successive-infcall.exp b/gdb/testsuite/gdb.threads/multiple-successive-infcall.exp
index 5ffe9293b55..921c213721f 100644
--- a/gdb/testsuite/gdb.threads/multiple-successive-infcall.exp
+++ b/gdb/testsuite/gdb.threads/multiple-successive-infcall.exp
@@ -30,7 +30,6 @@ if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
clean_restart "${binfile}"
if ![runto_main] then {
- fail "can't run to main"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/next-while-other-thread-longjmps.exp b/gdb/testsuite/gdb.threads/next-while-other-thread-longjmps.exp
index b0716bb31fa..2401cf51671 100644
--- a/gdb/testsuite/gdb.threads/next-while-other-thread-longjmps.exp
+++ b/gdb/testsuite/gdb.threads/next-while-other-thread-longjmps.exp
@@ -28,7 +28,6 @@ if {[prepare_for_testing "failed to prepare" \
}
if ![runto_main] then {
- fail "can't run to main"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/non-ldr-exit.exp b/gdb/testsuite/gdb.threads/non-ldr-exit.exp
index f3ed9a0cf7e..beab8afb9a7 100644
--- a/gdb/testsuite/gdb.threads/non-ldr-exit.exp
+++ b/gdb/testsuite/gdb.threads/non-ldr-exit.exp
@@ -23,7 +23,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug pthreads}
}
if ![runto_main] {
- fail "can't run to main"
return -1
}
diff --git a/gdb/testsuite/gdb.threads/omp-par-scope.exp b/gdb/testsuite/gdb.threads/omp-par-scope.exp
index b07855c87db..f250965612a 100644
--- a/gdb/testsuite/gdb.threads/omp-par-scope.exp
+++ b/gdb/testsuite/gdb.threads/omp-par-scope.exp
@@ -53,7 +53,6 @@ if {[info procs gdb_openmp_setup] != ""} {
}
if {![runto_main]} {
- untested "could not run to main"
return -1
}
diff --git a/gdb/testsuite/gdb.threads/pending-step.exp b/gdb/testsuite/gdb.threads/pending-step.exp
index 208a93f7232..22691d87301 100644
--- a/gdb/testsuite/gdb.threads/pending-step.exp
+++ b/gdb/testsuite/gdb.threads/pending-step.exp
@@ -57,7 +57,6 @@ if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executab
clean_restart ${binfile}
if ![runto_main] then {
- fail "can't run to main"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/process-dies-while-detaching.exp b/gdb/testsuite/gdb.threads/process-dies-while-detaching.exp
index ab5a82bef71..cabbc4faacc 100644
--- a/gdb/testsuite/gdb.threads/process-dies-while-detaching.exp
+++ b/gdb/testsuite/gdb.threads/process-dies-while-detaching.exp
@@ -217,7 +217,6 @@ proc test_detach {multi_process cmd} {
clean_restart ${binfile}
if ![runto_main] {
- fail "can't run to main"
return -1
}
@@ -246,7 +245,6 @@ proc test_detach_watch {wp multi_process cmd} {
clean_restart ${binfile}
if ![runto_main] {
- fail "can't run to main"
return -1
}
@@ -295,7 +293,6 @@ proc test_detach_killed_outside {multi_process cmd} {
clean_restart ${binfile}
if ![runto_main] {
- fail "can't run to main"
return -1
}
diff --git a/gdb/testsuite/gdb.threads/process-dies-while-handling-bp.exp b/gdb/testsuite/gdb.threads/process-dies-while-handling-bp.exp
index 7a234e5c37a..7558d37fc5a 100644
--- a/gdb/testsuite/gdb.threads/process-dies-while-handling-bp.exp
+++ b/gdb/testsuite/gdb.threads/process-dies-while-handling-bp.exp
@@ -46,7 +46,6 @@ proc do_test { non_stop cond_bp_target } {
set GDBFLAGS $saved_gdbflags
if ![runto_main] then {
- fail "can't run to main"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/queue-signal.exp b/gdb/testsuite/gdb.threads/queue-signal.exp
index ca06ce789d2..ae46ff1eb21 100644
--- a/gdb/testsuite/gdb.threads/queue-signal.exp
+++ b/gdb/testsuite/gdb.threads/queue-signal.exp
@@ -23,7 +23,6 @@ if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
clean_restart ${binfile}
if ![runto_main] {
- fail "can't run to main"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/reconnect-signal.exp b/gdb/testsuite/gdb.threads/reconnect-signal.exp
index 2b5ba5daa82..a1816193755 100644
--- a/gdb/testsuite/gdb.threads/reconnect-signal.exp
+++ b/gdb/testsuite/gdb.threads/reconnect-signal.exp
@@ -34,7 +34,6 @@ if { [gdb_compile_pthreads \
clean_restart $executable
if ![runto_main] then {
- fail "can't run to main"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/signal-command-handle-nopass.exp b/gdb/testsuite/gdb.threads/signal-command-handle-nopass.exp
index bef125c8ab4..4d754ef887a 100644
--- a/gdb/testsuite/gdb.threads/signal-command-handle-nopass.exp
+++ b/gdb/testsuite/gdb.threads/signal-command-handle-nopass.exp
@@ -41,7 +41,6 @@ proc test { step_over } {
clean_restart ${binfile}
if ![runto_main] then {
- fail "can't run to main"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/signal-command-multiple-signals-pending.exp b/gdb/testsuite/gdb.threads/signal-command-multiple-signals-pending.exp
index 78ded0db4c2..bb58b7e3342 100644
--- a/gdb/testsuite/gdb.threads/signal-command-multiple-signals-pending.exp
+++ b/gdb/testsuite/gdb.threads/signal-command-multiple-signals-pending.exp
@@ -38,7 +38,6 @@ proc test { schedlock } {
clean_restart ${binfile}
if ![runto_main] then {
- fail "can't run to main"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/signal-delivered-right-thread.exp b/gdb/testsuite/gdb.threads/signal-delivered-right-thread.exp
index c635facca2d..138e836dec6 100644
--- a/gdb/testsuite/gdb.threads/signal-delivered-right-thread.exp
+++ b/gdb/testsuite/gdb.threads/signal-delivered-right-thread.exp
@@ -35,7 +35,6 @@ proc test { command } {
clean_restart ${binfile}
if ![runto_main] then {
- fail "can't run to main"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/signal-sigtrap.exp b/gdb/testsuite/gdb.threads/signal-sigtrap.exp
index f5dc7fe6e74..3e4ceebb05c 100644
--- a/gdb/testsuite/gdb.threads/signal-sigtrap.exp
+++ b/gdb/testsuite/gdb.threads/signal-sigtrap.exp
@@ -38,7 +38,6 @@ proc test { sigtrap_thread } {
clean_restart ${binfile}
if ![runto "thread_function"] then {
- fail "can't run to thread_function"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/sigthread.exp b/gdb/testsuite/gdb.threads/sigthread.exp
index 867aef9a710..a9d168865d4 100644
--- a/gdb/testsuite/gdb.threads/sigthread.exp
+++ b/gdb/testsuite/gdb.threads/sigthread.exp
@@ -24,7 +24,6 @@ if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
clean_restart ${binfile}
if ![runto_main] then {
- fail "can't run to main"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/stop-with-handle.exp b/gdb/testsuite/gdb.threads/stop-with-handle.exp
index 5e0f4da00e1..2cbe0e13ba4 100644
--- a/gdb/testsuite/gdb.threads/stop-with-handle.exp
+++ b/gdb/testsuite/gdb.threads/stop-with-handle.exp
@@ -29,7 +29,6 @@ if {[prepare_for_testing "failed to prepare" \
}
if ![runto_main] then {
- fail "can't run to main"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/thread-specific-bp.exp b/gdb/testsuite/gdb.threads/thread-specific-bp.exp
index c59a65b3150..331f9470c22 100644
--- a/gdb/testsuite/gdb.threads/thread-specific-bp.exp
+++ b/gdb/testsuite/gdb.threads/thread-specific-bp.exp
@@ -50,7 +50,6 @@ proc check_thread_specific_breakpoint {mode} {
global gdb_prompt
if ![runto_main] {
- untested "could not run to main"
return -1
}
diff --git a/gdb/testsuite/gdb.threads/thread-unwindonsignal.exp b/gdb/testsuite/gdb.threads/thread-unwindonsignal.exp
index 042691b1709..3c46b8a1db6 100644
--- a/gdb/testsuite/gdb.threads/thread-unwindonsignal.exp
+++ b/gdb/testsuite/gdb.threads/thread-unwindonsignal.exp
@@ -34,7 +34,6 @@ if [target_info exists gdb,cannot_call_functions] {
clean_restart ${binfile}
if { ![runto_main] } {
- fail "can't run to main"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/thread_check.exp b/gdb/testsuite/gdb.threads/thread_check.exp
index 441e3feb78b..89f76edc14f 100644
--- a/gdb/testsuite/gdb.threads/thread_check.exp
+++ b/gdb/testsuite/gdb.threads/thread_check.exp
@@ -42,7 +42,6 @@ if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executab
clean_restart ${binfile}
if ![runto_main] then {
- fail "can't run to main"
return 1
}
diff --git a/gdb/testsuite/gdb.threads/thread_events.exp b/gdb/testsuite/gdb.threads/thread_events.exp
index 31e4d025b9b..2082d346325 100644
--- a/gdb/testsuite/gdb.threads/thread_events.exp
+++ b/gdb/testsuite/gdb.threads/thread_events.exp
@@ -113,7 +113,6 @@ proc test_thread_messages {enabled} {
# The initial thread may log a 'New Thread' message, but we don't
# check for it.
if ![runto_main] then {
- fail "can't run to main $enabled_string"
return 1
}
diff --git a/gdb/testsuite/gdb.threads/threadapply.exp b/gdb/testsuite/gdb.threads/threadapply.exp
index ebc1cf15ad6..958339d2870 100644
--- a/gdb/testsuite/gdb.threads/threadapply.exp
+++ b/gdb/testsuite/gdb.threads/threadapply.exp
@@ -32,7 +32,6 @@ clean_restart ${binfile}
#
if ![runto_main] then {
- fail "can't run to main"
return 0
}
@@ -77,7 +76,6 @@ proc thr_apply_detach {thread_set} {
clean_restart ${binfile}
if ![runto_main] {
- fail "can't run to main"
return -1
}
diff --git a/gdb/testsuite/gdb.threads/tid-reuse.exp b/gdb/testsuite/gdb.threads/tid-reuse.exp
index 8ac1f5b2ceb..422736402b0 100644
--- a/gdb/testsuite/gdb.threads/tid-reuse.exp
+++ b/gdb/testsuite/gdb.threads/tid-reuse.exp
@@ -23,7 +23,6 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile { debug pthreads
}
if ![runto_main] {
- fail "can't run to main"
return -1
}
diff --git a/gdb/testsuite/gdb.threads/tls-nodebug.exp b/gdb/testsuite/gdb.threads/tls-nodebug.exp
index 19eb9a02be2..ad637d3abf9 100644
--- a/gdb/testsuite/gdb.threads/tls-nodebug.exp
+++ b/gdb/testsuite/gdb.threads/tls-nodebug.exp
@@ -28,7 +28,6 @@ if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executab
clean_restart ${binfile}
if ![runto_main] then {
- fail "can't run to main"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/tls-shared.exp b/gdb/testsuite/gdb.threads/tls-shared.exp
index 4efa226c8a6..6c3c2d8c45d 100644
--- a/gdb/testsuite/gdb.threads/tls-shared.exp
+++ b/gdb/testsuite/gdb.threads/tls-shared.exp
@@ -39,7 +39,6 @@ clean_restart ${binfile}
gdb_load_shlib ${binfile_lib}
if ![runto_main] then {
- fail "can't run to main"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/tls-so_extern.exp b/gdb/testsuite/gdb.threads/tls-so_extern.exp
index c3f114bf894..2f358a3886f 100644
--- a/gdb/testsuite/gdb.threads/tls-so_extern.exp
+++ b/gdb/testsuite/gdb.threads/tls-so_extern.exp
@@ -38,7 +38,6 @@ clean_restart ${binfile}
gdb_load_shlib ${binfile_lib}
if ![runto_main] then {
- fail "can't run to main"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/tls.exp b/gdb/testsuite/gdb.threads/tls.exp
index 954e2925e7f..a416d81dc82 100644
--- a/gdb/testsuite/gdb.threads/tls.exp
+++ b/gdb/testsuite/gdb.threads/tls.exp
@@ -165,7 +165,6 @@ gdb_test_multiple "print a_thread_local" "" {
}
if ![runto_main] then {
- fail "can't run to main"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/vfork-follow-child-exec.exp b/gdb/testsuite/gdb.threads/vfork-follow-child-exec.exp
index c7839d0e5d8..351a8dd77c7 100644
--- a/gdb/testsuite/gdb.threads/vfork-follow-child-exec.exp
+++ b/gdb/testsuite/gdb.threads/vfork-follow-child-exec.exp
@@ -31,7 +31,6 @@ proc test_vfork {detach} {
clean_restart $binfile
if ![runto_main] then {
- fail "can't run to main"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/vfork-follow-child-exit.exp b/gdb/testsuite/gdb.threads/vfork-follow-child-exit.exp
index 4b37836e955..7a0ec6e7326 100644
--- a/gdb/testsuite/gdb.threads/vfork-follow-child-exit.exp
+++ b/gdb/testsuite/gdb.threads/vfork-follow-child-exit.exp
@@ -31,7 +31,6 @@ proc test_vfork {detach} {
clean_restart $binfile
if ![runto_main] then {
- fail "can't run to main"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/watchthreads.exp b/gdb/testsuite/gdb.threads/watchthreads.exp
index 57630025e11..011e952882b 100644
--- a/gdb/testsuite/gdb.threads/watchthreads.exp
+++ b/gdb/testsuite/gdb.threads/watchthreads.exp
@@ -45,7 +45,6 @@ gdb_test_no_output "set can-use-hw-watchpoints 1" ""
#
if ![runto_main] then {
- fail "can't run to main"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/watchthreads2.exp b/gdb/testsuite/gdb.threads/watchthreads2.exp
index 0b60b0e702e..bd9f0cd399a 100644
--- a/gdb/testsuite/gdb.threads/watchthreads2.exp
+++ b/gdb/testsuite/gdb.threads/watchthreads2.exp
@@ -42,7 +42,6 @@ gdb_test_no_output "set can-use-hw-watchpoints 1" ""
#
if ![runto_main] then {
- fail "can't run to main"
return 0
}
diff --git a/gdb/testsuite/gdb.threads/wp-replication.exp b/gdb/testsuite/gdb.threads/wp-replication.exp
index 81eee1595d5..3515f8c0afd 100644
--- a/gdb/testsuite/gdb.threads/wp-replication.exp
+++ b/gdb/testsuite/gdb.threads/wp-replication.exp
@@ -43,7 +43,6 @@ gdb_test_no_output "set can-use-hw-watchpoints 1" ""
# Run to `main' where we begin our tests.
if ![runto_main] then {
- fail "failed to run to main"
return 0
}