From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id cY1TNnAdQ2gEeQMAWB0awg (envelope-from ) for ; Fri, 06 Jun 2025 12:55:12 -0400 Received: by simark.ca (Postfix, from userid 112) id D12E91E11C; Fri, 6 Jun 2025 12:55:12 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-9.0 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE autolearn=ham autolearn_force=no version=4.0.1 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (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 506CC1E0C2 for ; Fri, 6 Jun 2025 12:55:12 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id ECFBA3856DEF for ; Fri, 6 Jun 2025 16:55:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ECFBA3856DEF Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by sourceware.org (Postfix) with ESMTPS id AFF3D3857B84 for ; Fri, 6 Jun 2025 16:54:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AFF3D3857B84 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=palves.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org AFF3D3857B84 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=209.85.221.46 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1749228882; cv=none; b=WuySawDJpf0Vx8HxVZdg5g05ilPx4p2QkTDqW4hi4lcxg+mPHyRxw+TorPH1ePGWa7cz9T1j3DT5evbHSARgpw3IMn/0vpcXqoBlfkYLPIr6rbWBFaJKH+KcuzeWE2qKsbAXU7TLHjDzRI9jTGYS0LKKW0zCgumfVxscjzkJJls= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1749228882; c=relaxed/simple; bh=xVYtZF+6fyIba4e7cf4YYgdsE8j5mLMcbwoJ1BgZpfk=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=hj1U2YAO5J20x5Kp0+KUOVkplfWBNtu74ldLdtVRnDvfbY5APASKjl4gkBj1UsSG5eHUPZqAbbQ6/vbem/fT/iknJq4xy6K2OQ2egE9aQ7C6vcfdphNuEWDgp8s4OWWLU8q/Kzut8mC5XYdHNKUdCBnhh18cVQyEF3GcYRCUyYg= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AFF3D3857B84 Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-3a5257748e1so1666020f8f.2 for ; Fri, 06 Jun 2025 09:54:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749228881; x=1749833681; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Obt4vL04Kttcve6XO3HlyeCMdsgH0J3zPZlHlWiZqXA=; b=eyXaWmVIrvBpe4DcGzrxLta6gwBbLcg64r2Cr9sHh6eduA7qhFo2BGOpka7Yd6ePme Ron45qzr8UMqxk/BIPO9px13bktUT/8QV1i1AmW1VV1S1QtftnBrvuyg19OZLm6pZbZ4 v6LzAJ8wMU+NUxtnkqqwuLxyiW4He9t8tkupRASQKq/f2hLR9wyGwhOVdZaXH6XnE9JT kFXQHYGj4s0piKxna1jvGU+cV1M/1W7zbVpF6ogki/0d1XQWfmXm8AgoAXi5SgxwgCi9 VLmQ7Jj6x8xhq0QMLIQa/hAn/j74IsFMKemui/6Os/TNDTYXHdkMMcXxQ37a3/K5evtu TA6w== X-Gm-Message-State: AOJu0YzjxBqerv8/Mp2yr0cbHYO4KBn18HcTRb57vJPxNkBzw0xwhKET BHcdHB79PmHyB8cFWE28S8MUPlUGeUqoLTH1Q1fS6BRb+684uT6Ho7f4tgROeAfj X-Gm-Gg: ASbGncumCba1JOjEdP/v6B+IYr/AzrfmXB8ZSX8cmQ57l7ebdYVhpLY/5jP8OeBgTHE uNNagf3B6F+P2U+0VmvnJ8L20FyuZxqkquld4AW4KCMQCUyiKkJVEPmkvRnQOr/7NHviSNfolYu ZhYdORvcrEivUee0hdU15kZWlV0cHUf7BmTzBxc24fn66idN/3LW42qdml1DAiutKa/gL7yhfYX EOSmh3sO+7/8IYDmHPvs2wWDnVx/Z4qSco4qHTZeZUKL5Yn49p3Hss6x67Lujr8u+HX2nomiQmh 480u3fH8QMB9eU43fWadGIlLgYwxagz8KevisdFD+v/cl10ZFA== X-Google-Smtp-Source: AGHT+IFvFLhl7omCAFcsjl8QxUE/cP5ruDVutA6dM5KfUft0IlUlgD7/hUarzbKmoj0YHSQY+jLQ+w== X-Received: by 2002:a05:6000:40c9:b0:3a4:f6ba:51da with SMTP id ffacd0b85a97d-3a531786845mr3718590f8f.15.1749228881276; Fri, 06 Jun 2025 09:54:41 -0700 (PDT) Received: from localhost ([2001:8a0:facf:2b00:77f6:647:8d2f:f905]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-4526e056138sm28671505e9.5.2025.06.06.09.54.40 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 06 Jun 2025 09:54:40 -0700 (PDT) From: Pedro Alves To: gdb-patches@sourceware.org Subject: [PATCH] Adjust gdb.base/bp-permanent.exp for Cygwin Date: Fri, 6 Jun 2025 17:54:39 +0100 Message-ID: <20250606165439.969182-1-pedro@palves.net> X-Mailer: git-send-email 2.49.0 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 On Cygwin, all inferiors are multi-threaded, because both Windows and the Cygwin runtime spawn a few helper threads. Adjust the gdb.base/bp-permanent.exp testcase to work with either single- or multi-threaded inferiors. Change-Id: I28935b34fc9f739c2a5490e83aa4995d29927be2 --- gdb/testsuite/gdb.base/bp-permanent.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/gdb.base/bp-permanent.exp b/gdb/testsuite/gdb.base/bp-permanent.exp index 62ce3f69b69..c6c62699043 100644 --- a/gdb/testsuite/gdb.base/bp-permanent.exp +++ b/gdb/testsuite/gdb.base/bp-permanent.exp @@ -134,7 +134,7 @@ proc test {always_inserted sw_watchpoint} { unsupported "failed to stop at permanent breakpoint" return } - -re "Program received signal SIGTRAP.*$gdb_prompt $" { + -re "received signal SIGTRAP.*$gdb_prompt $" { pass $test } } @@ -174,7 +174,7 @@ proc test {always_inserted sw_watchpoint} { # disabled, it should act as if we hadn't created it in the first # place. IOW, we should get a random signal, and, the breakpoint's # command should not run. - gdb_test "continue" "Program received signal SIGTRAP.*" \ + gdb_test "continue" "received signal SIGTRAP.*" \ "disabled permanent breakpoint doesn't explain stop" gdb_test "info breakpoints" \ -- 2.49.0