From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 6W8KJdYE72ky5z0AWB0awg (envelope-from ) for ; Mon, 27 Apr 2026 02:40:22 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=YQKNAS5V; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 935F11E093; Mon, 27 Apr 2026 02:40:22 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id A7EBC1E093 for ; Mon, 27 Apr 2026 02:40:21 -0400 (EDT) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 53DE54B99F5B for ; Mon, 27 Apr 2026 06:40:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 53DE54B99F5B Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=YQKNAS5V Received: from mail-dl1-x1234.google.com (mail-dl1-x1234.google.com [IPv6:2607:f8b0:4864:20::1234]) by sourceware.org (Postfix) with ESMTPS id A956F4BABF0A for ; Mon, 27 Apr 2026 06:37:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A956F4BABF0A Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A956F4BABF0A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::1234 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1777271826; cv=none; b=w4cGGT2tlnOH7bTMuQjl4yeo6BoM8knoTaVbbXSiqhmSSihA1/qwscAw6qCVAsuoKXOWJxBAlmFO/Q6YSSxXDj5V860Mtx63tSnUdZqHztJVvMBF2LrlV8NfUdQTVHc/EI90UuPH/8sVAjl8fVfhjljdjVDqCt9gVO8YVu6X4z8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1777271826; c=relaxed/simple; bh=Q5hs0poO0pzFQdHvLlyAUDsi9jlet/f1zYIQgnq0IA8=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=pF+jJSIhxXBsf2T7tF1mRJDFzfOQ64dAOf5GB6PqXmozeLYCrQybdQzaOrdev9A1GbucyvQLhReLGabUZF+I1Ue75kfqOZJROYPPLgKF5Dzo8qUQjo8z2L7s70ScT3/5i8iwkwx4HsirI681L6dmrDUYcUwOX7JRRPW/fG+meCA= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A956F4BABF0A Received: by mail-dl1-x1234.google.com with SMTP id a92af1059eb24-12713e56abdso7015318c88.1 for ; Sun, 26 Apr 2026 23:37:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1777271826; x=1777876626; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=FvGGoWD4mX9OJvTdcyu1EtHo0p0tKPjCOKHIH8AOpdA=; b=YQKNAS5VYz9Gxq80zQqnEhJIrKvm8LhxPzq77Z7OEAd22O2sX437SJdz79EkRE4+qp FVJGesoGNu53ioOQqRR6Vsm0oYBeqHh5Odn+nVx+CqC+xLEpMGh6S3FcdZ7CO/RvpquD sfExPLKRO/N6/m218EjtDt2yCoI+R2C58YXXyt+my6Gnxthpmf1aWfX5TxsPu5yPvSbA az+adQj5lfxGRLlCIsogJ2LsLRlPO/qa1cOFtSlVH0cC/iVv5PA66CeqQLwk6JVf4Z2J 4i/s1N+3EyhzEiSQ6WwAM8/sWNEfhSjLF1oxD4874byBZ3jb05ZX5iTmLX7QNbzSK0y6 MQuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777271826; x=1777876626; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=FvGGoWD4mX9OJvTdcyu1EtHo0p0tKPjCOKHIH8AOpdA=; b=jq19Y2jaSQg79DRsRR8dZKjb/stzfxSL6t6WYALse3MwCbKPBZkxU9jiFG7Nvyr/nO AJG6jNJG3yJw97niemWFgcJ+MZa4+h3ZrO/7qXoXPUa6+uJEXgTkPyXdb+dH6kzVN0No CGiuDHP7UbfpE6uW7upUkQwC1l9603c+MK3SOHK/62mSzpgfBSOaIp+WD8PbSEqe96V9 Rgme7fMVI8KaAGQevFhcQkbyOo3kAfEOwIUgKyCJ3x4NFY/lZyIxSIv1my2DWUYuteNZ C5sCqm2t05Rc4D7g/N5YkluYVwsyaQQOVbcKcUsZJ8t//hAYIMfTROQkXuymvH4jqbej 8SAQ== X-Gm-Message-State: AOJu0Yxx4XYE0oQL0yK4lYzk0Iy1uAiChTax9lsz1fnXeHgpLuxL5OJ1 vZ8iJ7GnsU5bRvrM/2T2GAR4KDx1rG3jd26N0RZ+hVljiuSsG9mJz65eBGpQN3n5VSUhX+8a7gn uiux2 X-Gm-Gg: AeBDievA/w1cJxSwrawOKpZyU7j2KQej/Y0wOmdvw3obRGtFnXcDnZIaCcec4SnKr6e w7z09Fs5CW/brFbo2aihxeH8VqWVNrccxCUEAsNihCCYei2Om6Ud11i149OIgdsX0ggwQVvoXi0 rs0z4HkLRzNacBaGkbv5W88gULtbdZv8XQ39YInwc8ORypsianjdWgPfHotUhva7U/pL+QjvpWn kTvMDtvoyOP7JX3/73C38KDXjkiBysy6V23I5cO7iHgiwUUJFhKKWwFhllnUAislelY7bC6kVsD UpecFUdx97dxmc6/ICad6+oOqOwasuKZnKC6Sj3q3Xms6Q+4HtLOILbsq1KLjRSDFqQgk+IJbUF oouOmIsHjeXXRHUwhDQOhpXY4PpkaoAaujoC6OgwO0kQTtiLBgpo8rOEG0LxmSy9bOGUocKLt99 Hs+X016Fk/ATL0JlteA6q7im0mb6p1gHIwJCGxwHNFJg1mAQlUiolsJ3Y= X-Received: by 2002:a05:7022:388e:b0:12c:9037:5115 with SMTP id a92af1059eb24-12c9037539amr11957772c88.13.1777271825395; Sun, 26 Apr 2026 23:37:05 -0700 (PDT) Received: from localhost ([2804:14d:7e39:8083:33bc:f32e:9aa5:b915]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-12dca2c1c16sm12374271c88.5.2026.04.26.23.37.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Apr 2026 23:37:05 -0700 (PDT) From: Thiago Jung Bauermann To: gdb-patches@sourceware.org Subject: [PATCH 32/36] GDB: testsuite: threads: Don't return 0 from top-level (sed) Date: Mon, 27 Apr 2026 03:34:56 -0300 Message-ID: <20260427063500.3847618-33-thiago.bauermann@linaro.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260427063500.3847618-1-thiago.bauermann@linaro.org> References: <20260427063500.3847618-1-thiago.bauermann@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org This patch is a bit different than the others. I noticed that gdb.threads has many cases of "return 0" from the top level, so this patch is purely the result of running: $ sed -i 's/^ return 0/ return/' *.exp* inside gdb/testsuite/gdb.threads. There were a number of false positives so not all sed changes were incorporated. --- .../gdb.threads/attach-many-short-lived-threads.exp | 2 +- gdb/testsuite/gdb.threads/corethreads.exp | 2 +- gdb/testsuite/gdb.threads/del-pending-thread-bp.exp | 2 +- gdb/testsuite/gdb.threads/dlopen-libpthread.exp | 2 +- gdb/testsuite/gdb.threads/hand-call-in-threads.exp | 2 +- gdb/testsuite/gdb.threads/interrupted-hand-call.exp | 2 +- .../gdb.threads/next-while-other-thread-longjmps.exp | 2 +- gdb/testsuite/gdb.threads/pending-step.exp | 2 +- .../process-exit-status-is-leader-exit-status.exp | 2 +- gdb/testsuite/gdb.threads/queue-signal.exp | 2 +- gdb/testsuite/gdb.threads/reconnect-signal.exp | 6 +++--- gdb/testsuite/gdb.threads/stop-with-handle.exp | 2 +- gdb/testsuite/gdb.threads/thread-unwindonsignal.exp | 2 +- gdb/testsuite/gdb.threads/threadapply.exp | 2 +- gdb/testsuite/gdb.threads/tls-nodebug-pie.exp | 2 +- gdb/testsuite/gdb.threads/tls-shared.exp | 2 +- gdb/testsuite/gdb.threads/tls-so_extern.exp | 2 +- gdb/testsuite/gdb.threads/tls-var.exp | 2 +- gdb/testsuite/gdb.threads/watchthreads-reorder.exp | 2 +- gdb/testsuite/gdb.threads/watchthreads.exp | 2 +- gdb/testsuite/gdb.threads/watchthreads2.exp | 2 +- gdb/testsuite/gdb.threads/wp-replication.exp | 2 +- 22 files changed, 24 insertions(+), 24 deletions(-) diff --git a/gdb/testsuite/gdb.threads/attach-many-short-lived-threads.exp b/gdb/testsuite/gdb.threads/attach-many-short-lived-threads.exp index 0f1b141b1ea1..6f51e607d77d 100644 --- a/gdb/testsuite/gdb.threads/attach-many-short-lived-threads.exp +++ b/gdb/testsuite/gdb.threads/attach-many-short-lived-threads.exp @@ -46,7 +46,7 @@ proc bad_dejagnu {} { if {[bad_dejagnu]} { unsupported "broken DejaGnu" - return 0 + return } require can_spawn_for_attach diff --git a/gdb/testsuite/gdb.threads/corethreads.exp b/gdb/testsuite/gdb.threads/corethreads.exp index 3749e3507bdc..4e520c5e8f22 100644 --- a/gdb/testsuite/gdb.threads/corethreads.exp +++ b/gdb/testsuite/gdb.threads/corethreads.exp @@ -30,7 +30,7 @@ if { [gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executa set corefile [core_find $binfile] if {$corefile == ""} { untested "unable to create or find corefile" - return 0 + return } clean_restart $executable diff --git a/gdb/testsuite/gdb.threads/del-pending-thread-bp.exp b/gdb/testsuite/gdb.threads/del-pending-thread-bp.exp index 09a6f56a5660..c318b38b472a 100644 --- a/gdb/testsuite/gdb.threads/del-pending-thread-bp.exp +++ b/gdb/testsuite/gdb.threads/del-pending-thread-bp.exp @@ -45,7 +45,7 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile \ gdb_locate_shlib $binfile_lib if {![runto_main]} { - return 0 + return } # Run until we have two threads. diff --git a/gdb/testsuite/gdb.threads/dlopen-libpthread.exp b/gdb/testsuite/gdb.threads/dlopen-libpthread.exp index 03ce0dd1612d..01f2186bcdc8 100644 --- a/gdb/testsuite/gdb.threads/dlopen-libpthread.exp +++ b/gdb/testsuite/gdb.threads/dlopen-libpthread.exp @@ -15,7 +15,7 @@ require isnative allow_shlib_tests if {![istarget *-linux*]} { - return 0 + return } load_lib prelink-support.exp diff --git a/gdb/testsuite/gdb.threads/hand-call-in-threads.exp b/gdb/testsuite/gdb.threads/hand-call-in-threads.exp index f6d29720cc6f..2f5eaa5405bf 100644 --- a/gdb/testsuite/gdb.threads/hand-call-in-threads.exp +++ b/gdb/testsuite/gdb.threads/hand-call-in-threads.exp @@ -47,7 +47,7 @@ proc get_dummy_frame_number { } { clean_restart ${::testfile} if { ![runto_main] } { - return 0 + return } gdb_test "break all_threads_running" \ diff --git a/gdb/testsuite/gdb.threads/interrupted-hand-call.exp b/gdb/testsuite/gdb.threads/interrupted-hand-call.exp index 23a3d038c09a..fe39b4ee9035 100644 --- a/gdb/testsuite/gdb.threads/interrupted-hand-call.exp +++ b/gdb/testsuite/gdb.threads/interrupted-hand-call.exp @@ -31,7 +31,7 @@ if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executab clean_restart ${::testfile} if { ![runto_main] } { - return 0 + return } gdb_test "break all_threads_running" \ 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 6852e8d7f876..0647ff5cb760 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,7 @@ if {[prepare_for_testing "failed to prepare" \ } if {![runto_main]} { - return 0 + return } gdb_breakpoint $linenum diff --git a/gdb/testsuite/gdb.threads/pending-step.exp b/gdb/testsuite/gdb.threads/pending-step.exp index c9ff1de32c89..a4fc5807167c 100644 --- a/gdb/testsuite/gdb.threads/pending-step.exp +++ b/gdb/testsuite/gdb.threads/pending-step.exp @@ -57,7 +57,7 @@ if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executab clean_restart ${::testfile} if {![runto_main]} { - return 0 + return } gdb_breakpoint [gdb_get_line_number "insert breakpoint here"] diff --git a/gdb/testsuite/gdb.threads/process-exit-status-is-leader-exit-status.exp b/gdb/testsuite/gdb.threads/process-exit-status-is-leader-exit-status.exp index 8ecacba59d5e..80afd0e1f1a2 100644 --- a/gdb/testsuite/gdb.threads/process-exit-status-is-leader-exit-status.exp +++ b/gdb/testsuite/gdb.threads/process-exit-status-is-leader-exit-status.exp @@ -26,7 +26,7 @@ # required to reproduce the error with a misbehaving GDB. if { ![istarget "*-*-linux*"] } { - return 0 + return } standard_testfile diff --git a/gdb/testsuite/gdb.threads/queue-signal.exp b/gdb/testsuite/gdb.threads/queue-signal.exp index 905f47c1243b..aaa5bc91818a 100644 --- a/gdb/testsuite/gdb.threads/queue-signal.exp +++ b/gdb/testsuite/gdb.threads/queue-signal.exp @@ -51,7 +51,7 @@ gdb_test_multiple "bt" "determine thread functions" { # No point in continuing if we couldn't figure out which thread is which. if { $sigusr1_thread == 0 } { # FAIL already recorded. - return 0 + return } # Advance each thread to where we want them one at a time. diff --git a/gdb/testsuite/gdb.threads/reconnect-signal.exp b/gdb/testsuite/gdb.threads/reconnect-signal.exp index e1079f3d1feb..f7a66ac844db 100644 --- a/gdb/testsuite/gdb.threads/reconnect-signal.exp +++ b/gdb/testsuite/gdb.threads/reconnect-signal.exp @@ -18,7 +18,7 @@ set gdbserver_reconnect_p 1 if { [info proc gdb_reconnect] == "" } { unsupported "requires gdbserver reconnect" - return 0 + return } standard_testfile @@ -35,7 +35,7 @@ if { [gdb_compile_pthreads \ clean_restart $executable if {![runto_main]} { - return 0 + return } gdb_test "continue" "signal SIGUSR1.*" "continue to signal" @@ -67,7 +67,7 @@ if { [lindex $res 0] == 0 } { pass $test } else { fail $test - return 0 + return } # Check that thread 2 is re-selected. diff --git a/gdb/testsuite/gdb.threads/stop-with-handle.exp b/gdb/testsuite/gdb.threads/stop-with-handle.exp index de40a3f1e946..be1d38602778 100644 --- a/gdb/testsuite/gdb.threads/stop-with-handle.exp +++ b/gdb/testsuite/gdb.threads/stop-with-handle.exp @@ -29,7 +29,7 @@ if {[prepare_for_testing "failed to prepare" \ } if {![runto_main]} { - return 0 + return } # Have SIGSTOP sent to the inferior. diff --git a/gdb/testsuite/gdb.threads/thread-unwindonsignal.exp b/gdb/testsuite/gdb.threads/thread-unwindonsignal.exp index d77b323338cc..299d66b0516d 100644 --- a/gdb/testsuite/gdb.threads/thread-unwindonsignal.exp +++ b/gdb/testsuite/gdb.threads/thread-unwindonsignal.exp @@ -31,7 +31,7 @@ if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executab clean_restart ${::testfile} if { ![runto_main] } { - return 0 + return } gdb_test "break all_threads_running" \ diff --git a/gdb/testsuite/gdb.threads/threadapply.exp b/gdb/testsuite/gdb.threads/threadapply.exp index f8827ae7ea65..7fdc647705a9 100644 --- a/gdb/testsuite/gdb.threads/threadapply.exp +++ b/gdb/testsuite/gdb.threads/threadapply.exp @@ -32,7 +32,7 @@ clean_restart ${::testfile} # if {![runto_main]} { - return 0 + return } # Break after all threads have been started. diff --git a/gdb/testsuite/gdb.threads/tls-nodebug-pie.exp b/gdb/testsuite/gdb.threads/tls-nodebug-pie.exp index 9d2a805c4a5f..5e9c4ddd2e8b 100644 --- a/gdb/testsuite/gdb.threads/tls-nodebug-pie.exp +++ b/gdb/testsuite/gdb.threads/tls-nodebug-pie.exp @@ -22,7 +22,7 @@ if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executab clean_restart ${::testfile} if {![runto_main]} { - return 0 + return } # Formerly: Cannot access memory at address 0xffffef7c0698 diff --git a/gdb/testsuite/gdb.threads/tls-shared.exp b/gdb/testsuite/gdb.threads/tls-shared.exp index a293809105d6..2710145c9958 100644 --- a/gdb/testsuite/gdb.threads/tls-shared.exp +++ b/gdb/testsuite/gdb.threads/tls-shared.exp @@ -33,7 +33,7 @@ clean_restart ${::testfile} gdb_load_shlib ${binfile_lib} if {![runto_main]} { - return 0 + return } gdb_test "print i_tls" "2" "print thread local storage variable" diff --git a/gdb/testsuite/gdb.threads/tls-so_extern.exp b/gdb/testsuite/gdb.threads/tls-so_extern.exp index eb3f32df6210..f1c0b66ad935 100644 --- a/gdb/testsuite/gdb.threads/tls-so_extern.exp +++ b/gdb/testsuite/gdb.threads/tls-so_extern.exp @@ -32,7 +32,7 @@ clean_restart ${::testfile} gdb_load_shlib ${binfile_lib} if {![runto_main]} { - return 0 + return } gdb_test "print so_extern" "0x0" "print thread local storage variable" diff --git a/gdb/testsuite/gdb.threads/tls-var.exp b/gdb/testsuite/gdb.threads/tls-var.exp index 5b2968a7bd01..28d0886c6bfd 100644 --- a/gdb/testsuite/gdb.threads/tls-var.exp +++ b/gdb/testsuite/gdb.threads/tls-var.exp @@ -28,7 +28,7 @@ if { [gdb_compile ${srcdir}/${subdir}/${srcfile} ${objfile} object {debug}] != " clean_restart ${executable} if {![runto_main]} { - return 0 + return } # FAIL was: type = diff --git a/gdb/testsuite/gdb.threads/watchthreads-reorder.exp b/gdb/testsuite/gdb.threads/watchthreads-reorder.exp index 58b16be70f26..f56661d7a5c2 100644 --- a/gdb/testsuite/gdb.threads/watchthreads-reorder.exp +++ b/gdb/testsuite/gdb.threads/watchthreads-reorder.exp @@ -27,7 +27,7 @@ require allow_hw_watchpoint_access_tests allow_hw_watchpoint_multi_tests if {![istarget *-*-linux*]} { - return 0 + return } standard_testfile diff --git a/gdb/testsuite/gdb.threads/watchthreads.exp b/gdb/testsuite/gdb.threads/watchthreads.exp index e975e22e5730..2682db7b0328 100644 --- a/gdb/testsuite/gdb.threads/watchthreads.exp +++ b/gdb/testsuite/gdb.threads/watchthreads.exp @@ -39,7 +39,7 @@ gdb_test_no_output "set can-use-hw-watchpoints 1" "" # if {![runto_main]} { - return 0 + return } set args_0 0 diff --git a/gdb/testsuite/gdb.threads/watchthreads2.exp b/gdb/testsuite/gdb.threads/watchthreads2.exp index 49884f4136dd..0efef51b7fc6 100644 --- a/gdb/testsuite/gdb.threads/watchthreads2.exp +++ b/gdb/testsuite/gdb.threads/watchthreads2.exp @@ -40,7 +40,7 @@ gdb_test_no_output "set can-use-hw-watchpoints 1" "" # if {![runto_main]} { - return 0 + return } gdb_test "break thread_started" \ diff --git a/gdb/testsuite/gdb.threads/wp-replication.exp b/gdb/testsuite/gdb.threads/wp-replication.exp index 28a5071bd5e5..cc9bc50f9b2e 100644 --- a/gdb/testsuite/gdb.threads/wp-replication.exp +++ b/gdb/testsuite/gdb.threads/wp-replication.exp @@ -41,7 +41,7 @@ gdb_test_no_output "set can-use-hw-watchpoints 1" "" # Run to `main' where we begin our tests. if {![runto_main]} { - return 0 + return } # Set some default values.