From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id sZgwGHgRYmqmWykAWB0awg (envelope-from ) for ; Thu, 23 Jul 2026 09:04:56 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=palves.net header.i=@palves.net header.a=rsa-sha256 header.s=dreamhost header.b=ty+sWcBM; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 5E7D11E09E; Thu, 23 Jul 2026 09:04: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=-5.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 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 C0B481E099 for ; Thu, 23 Jul 2026 09:04:55 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7C5264BA23EE for ; Thu, 23 Jul 2026 13:04:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7C5264BA23EE Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=palves.net header.i=@palves.net header.a=rsa-sha256 header.s=dreamhost header.b=ty+sWcBM Received: from firebrick.yew.relay.mailchannels.net (firebrick.yew.relay.mailchannels.net [23.83.220.59]) by sourceware.org (Postfix) with ESMTPS id CC6964BA23EE for ; Thu, 23 Jul 2026 13:03:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CC6964BA23EE Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=palves.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=palves.net ARC-Filter: OpenARC Filter v1.0.0 sourceware.org CC6964BA23EE Authentication-Results: sourceware.org; arc=none smtp.remote-ip=23.83.220.59 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1784811815; cv=none; b=WfknGxUYv/efyk95PXFcLT41JqTTdsDVU+wwUJKbNNxrdULvmPO2HKkpzehrL9LWABKVjeHRaaxPWiA7wJBsVi9c2IMVQ1bVvUOLOMFaI8J3GlLI5mXvtbGW1iUcFS+4AyfTaPC0hqoufeDfaRbiOIAe7juP78id+mlZBDRsG1w= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1784811815; c=relaxed/simple; bh=UO7/JQMbXmfLDNxQWD5lp3Zf9axXD/FxVIi6hAkEHPs=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=N8sbKIHTVca7s949GqI2pxahdtz3ubZ08X7BxfsqLDwBCZ/jIiZOYZkA71xSKBxE1MhBI/PphlmyXkzBMi/GlzU5SJXtUFKxFk8fbsb3sVUitOqiEUCV4x0u474agUYtanOe67d2I0lgpIZNm9h+ZbrdPw3m81tfNQs0Z6NvRUs= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=palves.net header.i=@palves.net header.a=rsa-sha256 header.s=dreamhost header.b=ty+sWcBM DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CC6964BA23EE X-Sender-Id: dreamhost|x-authsender|pedro@palves.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 8FE1B162882 for ; Thu, 23 Jul 2026 13:03:33 +0000 (UTC) Received: from pdx1-sub0-mail-a249.dreamhost.com (100-104-248-98.trex-nlb.outbound.svc.cluster.local [100.104.248.98]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 264D1162838 for ; Thu, 23 Jul 2026 13:03:33 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|pedro@palves.net X-MC-Relay: Good X-MailChannels-SenderId: dreamhost|x-authsender|pedro@palves.net X-MailChannels-Auth-Id: dreamhost X-Befitting-Lettuce: 002b4d3c19a67cb1_1784811813387_3022908387 X-MC-Loop-Signature: 1784811813387:4098605903 X-MC-Ingress-Time: 1784811813387 Received: from pdx1-sub0-mail-a249.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.104.248.98 (trex/8.0.2); Thu, 23 Jul 2026 13:03:33 +0000 Received: from localhost (bl20-181-64.dsl.telepac.pt [2.81.181.64]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pedro@palves.net) by pdx1-sub0-mail-a249.dreamhost.com (Postfix) with ESMTPSA id 4h5WX44ctPz1041 for ; Thu, 23 Jul 2026 06:03:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=palves.net; s=dreamhost; t=1784811813; bh=z3dvpqgVIrJ9akNeMR49rEGUQVRDA8iazd4h0ecwFm4=; h=From:To:Subject:Date:Content-Transfer-Encoding; b=ty+sWcBMjPAYwnf6ExrgCUlZyVSwZLz+xBqrpvb/9OGMqMk7nbw4pVGU4DyOQhO36 Po+oUhOLKZH1TiDqf0c41c1HPovW4GGx+7J2D+tNFZDQJCnTbYd+S+SK1OiYL16pQR t4iSP3FU65Y4RgaLzTLTEbCFe4Jz7ks6Iy3jiqLPZiq5/T6kO4yqBSOH76VtAHYb+4 clgXg1WzGe2CVS6T/U4c3mYCqaBslTzxrPkBkMs3OGQSOplDfebtsqGBIWKt4j9R2p t+pvvLMW4ht/fJLafRnXxGkKGSzpDUDPOBSxtHMdqAhQiGryvfDHn8lN8Y7AQJ9NxU kk/PIG0zpccvg== From: Pedro Alves To: gdb-patches@sourceware.org Subject: [PATCH 11/27] gdb.base/exitsignal.exp: Use is_windows_native_target Date: Thu, 23 Jul 2026 14:01:02 +0100 Message-ID: <20260723130118.206735-12-pedro@palves.net> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260723130118.206735-1-pedro@palves.net> References: <20260723130118.206735-1-pedro@palves.net> 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 gdb.base/exitsignal.exp special-cases the pure Win32 program path with a hardcoded "*-*-mingw*" istarget check. Use is_windows_native_target instead, so the special case also applies to windows-msvc targets. Change-Id: I00611f28539aeddc23eb782e71f50d0874230cd8 --- gdb/testsuite/gdb.base/exitsignal.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/testsuite/gdb.base/exitsignal.exp b/gdb/testsuite/gdb.base/exitsignal.exp index c77e41df78e..0ffb20258d1 100644 --- a/gdb/testsuite/gdb.base/exitsignal.exp +++ b/gdb/testsuite/gdb.base/exitsignal.exp @@ -120,7 +120,7 @@ proc test_signal {how exec binfile} { gdb_test "continue" "(Thread .*|Program) received signal SIGSEGV.*" \ "trigger SIGSEGV" - if {[istarget "*-*-mingw*"] + if {[is_windows_native_target] || ([istarget "*-*-cygwin*"] && $binfile == $::binfile3)} { # We're debugging a pure Win32 program with no SEH handler. The # previous continue caught the first-chance exception. Now we -- 2.54.0