From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id SS0pAr0E72n/4z0AWB0awg (envelope-from ) for ; Mon, 27 Apr 2026 02:39:57 -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=uySlMLVY; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 017D31E0CA; Mon, 27 Apr 2026 02:39:56 -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 283E51E0B1 for ; Mon, 27 Apr 2026 02:39:56 -0400 (EDT) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id CAC6C4B99F59 for ; Mon, 27 Apr 2026 06:39:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CAC6C4B99F59 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=uySlMLVY Received: from mail-dy1-x132b.google.com (mail-dy1-x132b.google.com [IPv6:2607:f8b0:4864:20::132b]) by sourceware.org (Postfix) with ESMTPS id BE1E24BAE7DC for ; Mon, 27 Apr 2026 06:35:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BE1E24BAE7DC 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 BE1E24BAE7DC Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::132b ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1777271740; cv=none; b=OUSwA4tXkDxtlbWKpma4RIAZ4/IM3FtXuKKmGAr8oE6GeX8/SdAhlvReA9ujWBaVL3/Uo1eUKejw7dfJV2VW8+hg8iRuHdHzD5ZQ5AnpIsFioh40/nxweWe+EC2MNWagG7qoyv6taXDG6h6en2q7XHmQeOzV1wauGoW+/FfFzy8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1777271740; c=relaxed/simple; bh=8j6wVgGYjDxpWelOosvdY6XZ87BgMr4oVP4fUpBIbnw=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=hxa8nKrOx6XLPDiGeXRh11TXS4Qdlg5ydueiB2T5Jx+0UkQHSJNpfoi3rCH3NA1XU4YWfOfkQQT8lMJ8qM7klSJLGSu+wNFOnQv1NYkjQHA3bwIe+UOXDwDfwl6JQu+MeEUQ7AKnL4YaO3EWVO9V8nAxyeFsJN7VAqSV+lms/qg= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BE1E24BAE7DC Received: by mail-dy1-x132b.google.com with SMTP id 5a478bee46e88-2bdd40d3c61so9174954eec.1 for ; Sun, 26 Apr 2026 23:35:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1777271740; x=1777876540; 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=SIPdCQiCZRFr744uNyXTZhJovrVXRnEIDcFQf4M2si8=; b=uySlMLVY10ZqRNaj/+kvzv9ZlXcl0/DhG0R3Za7F/vA/teuK6hSjnDo4/vliZsTrXV hKH1fYVY4UdeMxtnsfoYKdFaX+XsieOZEqrt1W2iiOkRMNfGP09rVjWUUv37DL8HKNmW Ha63/MF3+TO7pCiJ+B1R9ZO5qmX5U4jsUXdabPp5dBxS44S9X3efBtvSd0P/me3IS7oN L5T7HSu3ThuI7MbY1Eud9CJ2Mf1xgyTSD+xi3otzpDvML9wmv7d+6McMLIpiRAhru1B4 VFSuSwSs25PrSDGEh6QekL+F+aZOdv8GA/TAYLiRhDmeQoGv9B0ydhi4/5Y0sGtYb1pc IEFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777271740; x=1777876540; 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=SIPdCQiCZRFr744uNyXTZhJovrVXRnEIDcFQf4M2si8=; b=X0cnClFa2AOf7SAy+cp25rDzvlUYkB+4kC5t/F4pngfMKQkKDEDsSBTJvd1CmzDOsy aVZQg5zKyxf/uUuz99SSq4br3WON6nuFWqjnynscihS34Djo8PR26OK07M/NFOV9gPlF 9GoXQk57EjJa0vasR7Dsw2e7z6LeoW0c5ZJ1+rVHb3tnHlZfo/DRQ/T6IhuBwr7jzjMV U6Oa9OBYCc4vNQ2C74zzMVWi2VYPpwAoqQowT38nCj9ZfDXhGVNs0ZZAzx4VhLPw7Hac dpFs356Fd8VUPjxUGjVhtN/ybfQxFh7tKAA80JADyk9zDj/DKxFhzZXnfyx5iyM6IIJ/ WlZQ== X-Gm-Message-State: AOJu0Yzk4zTgy65Z4gOPPI+8U/ReMtrznzFYu7zpGVdlu73sywPFFT3A km7e8eCfXV4Pjz9V8f2ZivGMzNopVSZaEVfvQmVmv54oma3U5C4beYjanbQol9iM0pDLsFSQtc4 dMH87 X-Gm-Gg: AeBDietTKU6IJjvy64xqCOn49SAI/AMB0u2HDW4awAK7M246eN/3ZohN9rmlCn6r1+G nJCY3OpbhVwu68gQp5e36HMsysc03vW3jehFgmoUhR6vma3gIqieAHUR4HVmLQjz1O0BI8pVVPp +8uozMJ5nQIsYFI+c4MTtQtMcIT7cDjabsizOrXbQvsTaI2HfqaFxdA3xodeDyJIQENRvQn8vf0 qhAdHxY1s1/2Tzq+GubtzIOnsfaOXnjib+i6ENQsvNeRsFF51ksP9iZngw8oo6U4Q7VFO3Gny3O +XMbJS7odtIfw0K7xyq4QLtbT3OuL0unFfMWWC+bFmdIsk6tZnDpf1JhpmpuX9EDdelHOwDhfpm o9R5f67ipTIWlXVDgMVreZdQxBbTFgT5N/tdJsmbnLaOZGvS2Rrwiz3ThiCQuDicV+g4eaVFMVq WtdX1ZT5x9J7yl6Rj71PmF0TtcMXf9l4HHYJTzPOYrZSYq X-Received: by 2002:a05:7300:7491:b0:2b7:38cf:c2fd with SMTP id 5a478bee46e88-2e4873f1afemr22403859eec.26.1777271739625; Sun, 26 Apr 2026 23:35:39 -0700 (PDT) Received: from localhost ([2804:14d:7e39:8083:33bc:f32e:9aa5:b915]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-2e539fa3ce1sm39937921eec.4.2026.04.26.23.35.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Apr 2026 23:35:39 -0700 (PDT) From: Thiago Jung Bauermann To: gdb-patches@sourceware.org Subject: [PATCH 09/36] GDB: testsuite: s390: Don't return -1 from top-level (sed) Date: Mon, 27 Apr 2026 03:34:33 -0300 Message-ID: <20260427063500.3847618-10-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 purely the result of running: $ sed -i 's/^ return -1/ return/' s390*.exp* inside gdb/testsuite/gdb.arch. --- gdb/testsuite/gdb.arch/s390-stackless.exp | 2 +- gdb/testsuite/gdb.arch/s390-tdbregs.exp | 2 +- gdb/testsuite/gdb.arch/s390-vregs.exp | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gdb/testsuite/gdb.arch/s390-stackless.exp b/gdb/testsuite/gdb.arch/s390-stackless.exp index ba7e70faf95d..567f37c41abd 100644 --- a/gdb/testsuite/gdb.arch/s390-stackless.exp +++ b/gdb/testsuite/gdb.arch/s390-stackless.exp @@ -18,7 +18,7 @@ require {istarget "s390*-*-*"} standard_testfile .S if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } { - return -1 + return } # Run until SIGSEGV. diff --git a/gdb/testsuite/gdb.arch/s390-tdbregs.exp b/gdb/testsuite/gdb.arch/s390-tdbregs.exp index e0b9284874f4..5d894f1a309f 100644 --- a/gdb/testsuite/gdb.arch/s390-tdbregs.exp +++ b/gdb/testsuite/gdb.arch/s390-tdbregs.exp @@ -28,7 +28,7 @@ standard_testfile .c # endless loop would result. if { [prepare_for_testing "failed to prepare" $testfile $srcfile \ [list "debug" "additional_flags=-msoft-float"]] } { - return -1 + return } if {![runto_main]} { diff --git a/gdb/testsuite/gdb.arch/s390-vregs.exp b/gdb/testsuite/gdb.arch/s390-vregs.exp index 99dd3b219750..33da5f340f97 100644 --- a/gdb/testsuite/gdb.arch/s390-vregs.exp +++ b/gdb/testsuite/gdb.arch/s390-vregs.exp @@ -28,11 +28,11 @@ if {[isnative]} { if { [prepare_for_testing "failed to prepare" $testfile $srcfile \ [list "additional_flags=-mzarch"]] } { - return -1 + return } if {![runto_main]} { - return -1 + return } # Run to the first vector instruction and step it. If the inferior @@ -185,7 +185,7 @@ set cores [glob -nocomplain -directory $coredir *core*] if {[llength $cores] != 1} { untested "core file not found" remote_exec build "rm -rf $coredir" - return -1 + return } set destcore [standard_output_file ${testfile}.core] remote_exec build "mv [file join $coredir [lindex $cores 0]] $destcore"