From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 4WK7EIK7Y2olwSsAWB0awg (envelope-from ) for ; Fri, 24 Jul 2026 15:22:42 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=DvLhaQzJ; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 409421E09E; Fri, 24 Jul 2026 15:22:42 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,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 [IPv6:2620:52:6:3111::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 C7E4D1E033 for ; Fri, 24 Jul 2026 15:22:41 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 957DB4BA2E0D for ; Fri, 24 Jul 2026 19:22:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 957DB4BA2E0D Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=DvLhaQzJ Received: from SN4PR0501CU005.outbound.protection.outlook.com (mail-southcentralusazlp170110003.outbound.protection.outlook.com [IPv6:2a01:111:f403:c10d::3]) by sourceware.org (Postfix) with ESMTPS id 5132C4BA5436 for ; Fri, 24 Jul 2026 19:21:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5132C4BA5436 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=amd.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5132C4BA5436 Authentication-Results: sourceware.org; arc=pass smtp.remote-ip=2a01:111:f403:c10d::3 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1784920891; cv=pass; b=x0pSunbrxpUIOZbn27ca5p0Jzar92tiDHpp3XYBkmVRzs7wP2BJs8pTjJdu8tRnsLmPuVfvO5zgH1Qzp6qtYt9wErhrAa8zeZ+PYNF3rDstya6zPMMu0PLl99QnZrLw4Eq83wCiLZVSWVaLt9TUwhu7uE6nubOI4leM6+gTA/BI= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1784920891; c=relaxed/simple; bh=x3TXm8RbuNalK3ZCKiplmILaNkdhMd8cAbBuxp1LE08=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=ZL7N89pEISnp9n+gvYAnHJmkGI3SsxtDvFwlCR0nXLTMdgW83+XZBSGrBpU+3HlbalW8mZfTLqQ6KoptLvs4euH86XkijWnBxXPMYPjKV0GZMQzM3JsVwBcxvf94yxR6IURLmgoWVXXmmqkIE7NgjderWC8NDeKw14Ilkhm7I+4= ARC-Authentication-Results: i=2; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=DvLhaQzJ DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5132C4BA5436 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=a/dWX8qwhmsTABwEDLgX3DynQQPwMU6kRTuCTG9TmC6J2H7BQ9ACSWdwLN9l89eZo5fWttJuPXri4vRWC0F4fC/J769v91mkfnF/oQGZjbvtY6XpQBPPPM3JOOuSAq2RtLal/8k+HOWbOfTej3BEdH8qi9QhamxE3QvPZnj4zRb1f0v8VRliPf9Bl//whKzAh0GeojTDSJVeiSLdxUW4xM5KRUEKUUaxbT2zzDBsLtESRo3vaku1Sz/3MrkJFBrJmN1lDK3HDDcHOnSO9XAprrI5r0EYmAFoWPcp7jDzGzi6cCp2NzLZvdMEj1ee+nGC6xV3JsuPFU2tsK5OPRsZFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=k74uA7wvjFJch7MDGiEc4zP4gw1zA/q9Ixkmjfa+mTw=; b=L6TIRqobMERfr4bV69R9B6w4bbqm58z1319UsgkiU0XY+gjVW4O6Cv+NIlyqi1FzpuofXKelF0Hb/etyGy//kyPk3F78PQyLNjuR2UHOuNVqCGDiAR3pKovBcSvpknRFuUf/Wse7/wJ6jUGg4Q2AJvDCc23vQMyzIGNXR3PrcUHgvpGYWOzcogkQdMut/iTDtryqeVHUb2tVdfZfAavrtyem1nL3R58L1FMcvzxWRlg3FeCj70FkMZUvdR4QXgEBTggqVYQR8EVyoIabgMkfg9e9bHWS/omdwPjCsCdM1Ra9ALlq3uE9Zo0cotF6Kgbs/JuDuwRGIxLjT4BFMPiODg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=sourceware.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=k74uA7wvjFJch7MDGiEc4zP4gw1zA/q9Ixkmjfa+mTw=; b=DvLhaQzJtxLDI0JpA/EnmUL1G+ZBsjiVE/kiWPW/CJ5HFFMjeMVdyrOhducOREIV5qHjYTTPUj/jLJXGcBpV2LDUlgbalAPLawEt9SjntE5QysMPEiA3WAsDDVvKO1oRzNrZbS6ot1Ye9dQeLvxLi8+3CzndnKGxlFv55fWEnkU= Received: from CH2PR03CA0016.namprd03.prod.outlook.com (2603:10b6:610:59::26) by SJ1PR12MB6122.namprd12.prod.outlook.com (2603:10b6:a03:45b::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.245.10; Fri, 24 Jul 2026 19:21:26 +0000 Received: from CH3PEPF0000000C.namprd04.prod.outlook.com (2603:10b6:610:59:cafe::5e) by CH2PR03CA0016.outlook.office365.com (2603:10b6:610:59::26) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.245.11 via Frontend Transport; Fri, 24 Jul 2026 19:21:26 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=satlexmb07.amd.com; pr=C Received: from satlexmb07.amd.com (165.204.84.17) by CH3PEPF0000000C.mail.protection.outlook.com (10.167.244.39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.270.5 via Frontend Transport; Fri, 24 Jul 2026 19:21:25 +0000 Received: from atlantis.fritz.box (10.180.168.240) by satlexmb07.amd.com (10.181.42.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.41; Fri, 24 Jul 2026 14:21:24 -0500 From: Shahab Vahedi To: CC: Shahab Vahedi , Lancelot SIX , Simon Marchi , Shahab Vahedi Subject: [PATCH 1/2] gdb.rocm/watchpoint-basic: use gdb_continue_to_end Date: Fri, 24 Jul 2026 21:20:53 +0200 Message-ID: <20260724192054.11399-2-shahab.vahedi@amd.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260724192054.11399-1-shahab.vahedi@amd.com> References: <20260724192054.11399-1-shahab.vahedi@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: satlexmb07.amd.com (10.181.42.216) To satlexmb07.amd.com (10.181.42.216) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH3PEPF0000000C:EE_|SJ1PR12MB6122:EE_ X-MS-Office365-Filtering-Correlation-Id: b632d4a3-90ce-4fe2-5121-08dee9b8c146 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|82310400026|36860700016|1800799024|376014|23010399003|22082099003|11063799006|18002099003|10067099003|56012099006; X-Microsoft-Antispam-Message-Info: moNmsV8h2AubwbwOKkfujFsCYWOMUyAd16TBeEfN2IQf10Vt1VAUry3v1iY1QwvkpYoeijLcC3su12mPwubLmiHzC31Sp3/7DNa21C8UeRCAU3SOC6xfBdu16YEH8BoGmC+WBv9DsceTgbf66bjP6g++WZIDZToJNoXKstJIrdeAan5OosNvmenf7148ssq41puhTWINbtmYp0VoXSkwXs/cvQH9pnT+RVVFnEoe6inRdCtP5q9pEK1j3dG7rNadITeaLJjFfk/LexuSdjokXAsM7vfLiTK12Riwq4W93xh4GoXUgur5GMSfBSDBgNnu3Onoq4fLM8hQKlvI+2SN116OJ9RbOsDNgBHrbwFZRrsv0N1ALBtperW+ptRLTptYw7MLfaAYhHkBvIKYT4lsWSoUrL91tzWcq62J7GEP/EvQ6HaehfoHOypF191nquQCLD9tYC3182mAw3Gdr0hqXib0eIqhULlO9/HIJCK35RLU4XZYZhMNIdYKe0FfeKYBgU+jtPM2Z9Tqpek83zcTg2hggqFAn9y9m71eO6unaR74rHG1zFE/ObaizY4hWn22AWiGlENuQhjwkwvy9MG0yvcqx3bvqbGVVBfL06Xkf9yKO+XPi9jcDQFNf/ICLiTM2k06PBjJN9RhuUjKWsTNx3pzonRndZxXRRWQ70Ab9gI= X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:satlexmb07.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(82310400026)(36860700016)(1800799024)(376014)(23010399003)(22082099003)(11063799006)(18002099003)(10067099003)(56012099006); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: uFEudnUUOC//0b36YqzJe6EX2Fg0ArlDvJM8yc00FT0pl1dgOYcPUhUEVbruX098XFrW1Sq755qyECcyXTxi1mICvEhLnDeHnm9T10VJLdRj4RX9kVsQQzU+i5lBQkf5ev3DgIIlvFG2F0BvFGJFhOCZ2eBRtce4peuPnmUPYgIpiDmVH9R6e1lvB9jScFV4TiU4TBvZ3/ZugSum8A5azi7mBDE65mUtWRJ86JORv7oXaulHZSv7ieHsaj9fAlMUFwQtp8yLoeIAiAs0wBJDkbn/4nGO67b7ObfK7q8LAqMYs7S7NAx52JKWcBjTLL6yoqmrnHKC+YAlT0am0WBUUlHpQikQaD/lXwx2JyXiIJzNKu5kp2eifhvTnOL+JJEjcM46Hqwn381M6c7dmp0LdlupUtCNI6p3p9Kfg1wXFpzBRlxE1knOIEi6RLJwn72K X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2026 19:21:25.8749 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b632d4a3-90ce-4fe2-5121-08dee9b8c146 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[satlexmb07.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CH3PEPF0000000C.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ1PR12MB6122 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 Turn: gdb_test "continue" \ "Inferior 1 .* exited normally.*" \ "continue to end" into: gdb_continue_to_end [ "" continue 1 ] Change-Id: I91404df3f4c29f9c6e58d085dd4d36c317d134d2 --- gdb/testsuite/gdb.rocm/watchpoint-basic.exp | 28 ++++++--------------- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/gdb/testsuite/gdb.rocm/watchpoint-basic.exp b/gdb/testsuite/gdb.rocm/watchpoint-basic.exp index 8d19b0dcba2..9626b32d5d2 100644 --- a/gdb/testsuite/gdb.rocm/watchpoint-basic.exp +++ b/gdb/testsuite/gdb.rocm/watchpoint-basic.exp @@ -53,9 +53,7 @@ proc_with_prefix test_host_watchpoint_before_runtime_load {} { continue_to_watchpoint_hit 5 17 "continue to watchpoint hit" - gdb_test "continue" \ - "Inferior 1 .* exited normally.*" \ - "continue to end" + gdb_continue_to_end "" continue 1 } } @@ -76,9 +74,7 @@ proc_with_prefix test_host_watchpoint_after_runtime_load {} { continue_to_watchpoint_hit 5 17 "continue to watchpoint hit" - gdb_test "continue" \ - "Inferior 1 .* exited normally.*" \ - "continue to end" + gdb_continue_to_end "" continue 1 } } @@ -102,9 +98,7 @@ proc_with_prefix test_watchpoint_before_kernel {} { continue_to_watchpoint_hit 30 40 "continue to watchpoint hit 3" continue_to_watchpoint_hit 40 60 "continue to watchpoint hit 4" - gdb_test "continue" \ - "Inferior 1 .* exited normally.*" \ - "continue to end" + gdb_continue_to_end "" continue 1 } } @@ -132,9 +126,7 @@ proc_with_prefix test_watchpoint_inside_kernel {} { continue_to_watchpoint_hit 300 400 "continue to watchpoint hit 3" continue_to_watchpoint_hit 400 600 "continue to watchpoint hit 4" - gdb_test "continue" \ - "Inferior 1 .* exited normally.*" \ - "continue to end" + gdb_continue_to_end "" continue 1 } } @@ -156,9 +148,7 @@ proc_with_prefix test_remove_watchpoint_inside_kernel {} { continue_to_watchpoint_hit 0 10 "continue to watchpoint hit" gdb_test "with confirm off -- delete" "" "delete all breakpoints" - gdb_test "continue" \ - "Inferior 1 .* exited normally.*" \ - "continue to end" + gdb_continue_to_end "" continue 1 } } @@ -189,9 +179,7 @@ proc_with_prefix test_multiple_watchpoints {} { continue_to_watchpoint_hit 40 60 "continue to watchpoint hit 7" continue_to_watchpoint_hit 400 600 "continue to watchpoint hit 8" - gdb_test "continue" \ - "Inferior 1 .* exited normally.*" \ - "continue to end" + gdb_continue_to_end "" continue 1 } } @@ -239,9 +227,7 @@ proc_with_prefix test_disable_enable_watchpoint {} { continue_to_watchpoint_hit 400 600 "continue to watchpoint hit 6" - gdb_test "continue" \ - "Inferior 1 .* exited normally.*" \ - "continue to end" + gdb_continue_to_end "" continue 1 } } -- 2.55.0