From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id uP0+J/QdZ2pq2i8AWB0awg (envelope-from ) for ; Mon, 27 Jul 2026 04:59:32 -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=MAmNJ/Rp; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 908961E099; Mon, 27 Jul 2026 04:59:32 -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 670E91E099 for ; Mon, 27 Jul 2026 04:59:31 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7109F4BA5435 for ; Mon, 27 Jul 2026 08:59:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7109F4BA5435 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=MAmNJ/Rp Received: from SJ2PR03CU001.outbound.protection.outlook.com (mail-westusazon11012068.outbound.protection.outlook.com [52.101.43.68]) by sourceware.org (Postfix) with ESMTPS id 8ADED4BA5433 for ; Mon, 27 Jul 2026 08:58:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8ADED4BA5433 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 8ADED4BA5433 Authentication-Results: sourceware.org; arc=pass smtp.remote-ip=52.101.43.68 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1785142732; cv=pass; b=jFY7+D+fhMw32t3vpYnIijFtLh05AJzBKS19+2tHAa886i7I0FItfUqwIWMUFmnEVOkPgX8Ya14ZLzoh34DQZuor/wiqxguyJ5eMN8LQQWcuUkz+aV8e2XBo/2z7yBW8AsmaBa7JRUaAv6p27Iir23scSyrH9JpMX88P9XFC8hQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1785142732; c=relaxed/simple; bh=HsKIZLirwRDIq7ruh6ZWOE2VmCvTrhNwrV5siVFLDAI=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=gcLzdt0OtF9vF6Si3YShA3wi+dai3DtfB6UHFMCzr/grHIuRrplPkxCPOU1+q7o4E84gtBrnHpyZpR5PZYkfCwHizHL6APlJrKM/K7NOaZTxqfLgIBolJPJhMXW62J4v1S9Qb3th6bPeNxi8pD6ramV/xiGG2q6vLHBVWw+cSJc= 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=MAmNJ/Rp DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8ADED4BA5433 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=EU/En6vCdUFuO4HZpU3/+YGHgFV1eGnQfsFBRHwWRuQqKONocsI5xWFqp1zaD3D2KOBxWNAer682CWBU7Sk+F5G/ZDqPSAfS3ejvcmurNzpHJnjUv81/qGXfrFNxK0AwbosbEvByERHaaHEa9aSOTnMlNXZN0KeUOkHwHqT5pruR9YdhFI1yWZKOf2m3H96y0B4sA8mfvdHXsWx/0WhiPb57WEvyw2EEIxhcM4ap0MABoD9bpV8Ey/mj8ozQ4ghqlL/Hpa79UxIuImPnh2uczTr3Dj3XFrRXA+NKr1P7yS0UJokXJmJkX2obhaWNXshQNP+Af0QVPVYOfQSmvjnXww== 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=WwUpncvDKqHof1Ys+RQKz6JyVLCMTx6+TEshu0Dg3ms=; b=drhQLvnA+efFT/n7OR9owPnKpYExXJRvfRND3eSRv2SR+9BPc/nnjel36WSWdboaWQpTL2+tt7v+5NMifv534aoOmIgXZT3ELE7Z2QawC8fqJxQyOnN4Z6ftGRVqbYON88zFpx2aVKHSWCEHD/0BldV5hX2TSf8fd4qIb6skr+ENSfj86ie2Vk5ILumvMBgGM+UUeWAZGcjCkOEzNtICGaDavOqPLPKe41eUj5Zf9g+MHJPddIpOxLS8YOHOUk6fBmxW7r2q895vtdn646ZKMfwjxEel8BJvVP+CKXxfptvFrfIUbZk/3FfQGb+UOco9PPzlWi0GIGyUxzYu3+Y9dQ== 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=WwUpncvDKqHof1Ys+RQKz6JyVLCMTx6+TEshu0Dg3ms=; b=MAmNJ/RpHkF4RWQEU3W0UWorM4mBtZka7ZOMB3OfbxMXq09CDjgD745z0i+bWB5MpTbpVtREhTy+L5iNNb8XRzsYuWFenjPBUNqVBbX/sZG9LsWRYYlo3XDb1iEm86Qw5I6wZv+BuAZOA7vvy01CFppSXEa7WnRkfr3biOK+Mgg= Received: from BLAPR03CA0073.namprd03.prod.outlook.com (2603:10b6:208:329::18) by EAYPR12MB999180.namprd12.prod.outlook.com (2603:10b6:303:2c2::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.245.13; Mon, 27 Jul 2026 08:58:44 +0000 Received: from BL02EPF0001A101.namprd05.prod.outlook.com (2603:10b6:208:329:cafe::25) by BLAPR03CA0073.outlook.office365.com (2603:10b6:208:329::18) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.245.13 via Frontend Transport; Mon, 27 Jul 2026 08:58:44 +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 BL02EPF0001A101.mail.protection.outlook.com (10.167.241.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.270.5 via Frontend Transport; Mon, 27 Jul 2026 08:58:43 +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; Mon, 27 Jul 2026 03:58:41 -0500 From: Shahab Vahedi To: CC: Shahab Vahedi , Luis Machado , Tankut Baris Aktemur , Lancelot SIX , "Simon Marchi" , Shahab Vahedi Subject: [PUSHED 1/2] gdb.rocm/watchpoint-basic: use gdb_continue_to_end Date: Mon, 27 Jul 2026 10:58:02 +0200 Message-ID: <20260727085803.14004-1-shahab.vahedi@amd.com> X-Mailer: git-send-email 2.55.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: satlexmb08.amd.com (10.181.42.217) To satlexmb07.amd.com (10.181.42.216) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL02EPF0001A101:EE_|EAYPR12MB999180:EE_ X-MS-Office365-Filtering-Correlation-Id: 1dbbcea4-a024-4b6f-9473-08deebbd42b1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|36860700016|1800799024|23010399003|376014|82310400026|11063799006|10067099003|56012099006|18002099003; X-Microsoft-Antispam-Message-Info: qHGO3WMsS3Nniag8uCXayLacVgSSskw6M8Mrg8w85oJNzSFR5wcxcGjupD0eodPCSyPUqT9LzZeu58VpCo8lBLwzcdgRNIqlxK7bcMOk2nEbpPBI3Jn9+7snccYzIipC3HR9dsfUipDhLIN5FevqV0kThfNPJSX70Ec51aDcYfzXPCHAmxPdiepAnhWrHEH9ltHqKh/IY2A3G8ZF+eGdCV9c6TLC2D7e6gznnhtFwLtEBfk9CN1Lb51ZlAJAomX74vYUUSMBE6/qGtykvn7TCPuggDjDU+6wnLHKZ/1ZHtVLWA6cPA17nk7j2P64056bCZXT4O67kF3nClNZwXjMZiVSNzCaFpKu6qPuM0O4FJ4++iSIPXRvFNp7KXG7xgDHYXs54rhI0n+NR2OF4j5hdhx/TOVb2Va4X47nxLldRl7oRgPwVcazFwEOWAiD5+9n+h0kLOGngZ3dO3g6tw16QF/XI6+M5QiUBlYdiVVaozB6cAbQFWHav+aa/fNajebqifXkUn8E0wEdDxcQGZQp+HDGKnB21gOwSRzQsBn+QSwtExTm5i0vILsifPMYs50DAYtd/qmdRT6Q9kGli2AOQh3bfefmDD9YSb9vOuyccZpUfna+DnbGySzNilxTXquYv+QPkaYaRyaCYIoLwXcKiuLD1HazqcRCHJtRpzn+syk= 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)(36860700016)(1800799024)(23010399003)(376014)(82310400026)(11063799006)(10067099003)(56012099006)(18002099003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NUPmXIzbvxfQZA6FO6A4a2ue7uLFgW1I7lQJIFJdlklLBbzfplHp4cPA69cjiRgPwvDkgOQc2PRmkSVUfGxXpblOerS6QGiH6XqLUOtJFZQ6SEjPQK/yju/uXErpTtGwJnvBJfhMDmlhDSI89eAlSvYYjF6tvNJNJ0alglA7TLktJYScRIyRUcF58ueojLF5gTJAsX1JSyL1NgOTx+1eVqowG4zJ/shBfRs2bz6f/AWpThP/ero57fUMN4Enqq4xoG3zKUbyz80rj1+wBWNFWFjMl5TF509xppQ448jYrgtNW61WoHI/ED9Q60j8KYmCpe7r5fhv7+JPEdcE79F6gb5e7EqN84Pt81w5aycT2DxfSM8AVMT2GA7MAHm1c4d8HtI3alJ29W+rF/R5JbJPWMufORzA2+KRbIP6Pkhcx3iIpV95Sm3GnHSqoR5hlB8d X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jul 2026 08:58:43.3041 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1dbbcea4-a024-4b6f-9473-08deebbd42b1 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: BL02EPF0001A101.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: EAYPR12MB999180 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 ] Reviewed-by: Tankut Baris Aktemur Approved-by: Luis Machado --- 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