From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2087.outbound.protection.outlook.com [40.107.237.87]) by sourceware.org (Postfix) with ESMTPS id C7C79385C6E7 for ; Wed, 18 Oct 2023 10:25:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C7C79385C6E7 Authentication-Results: sourceware.org; dmarc=fail (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 C7C79385C6E7 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.237.87 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1697624755; cv=pass; b=cln3SQDm0HkzQWjQ6DAz6RY884gi/rpx3z/BigcFux9UFXkSvr/rbsuwsmjxKBYeUcxZd3hl3UVdUZMbNAZZu6nmgNKzFW/TvUvTc0Vl9TUg/NjxfMt7VZJ9QZDmUQ7foDOwedAqppwyare6ETRm+N2Wcv2xEOyaN6IRASHXe/s= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1697624755; c=relaxed/simple; bh=Vq7fWFbTmJn21noCfyrLtmy3ttX/jqWYhzlm5yXfFto=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Sw3LoGryDVuJGwb5U8yyPVG0oigcaJ9nbtj9CQW1BDVYwT32vCBTPXdDs8k+mVoDXzJxGC2lLkNNchEnqVOd2CE+OO8rd7fMaUWRSDdooBpdFTJFv4183zHU48AtCK0qQvGCxuT1/iTXLNOeLXHwKZufVzoPBDXPNP0Qc6bNEXA= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KQH+kmfSzkWWeMS8AjvCTPAo2FhDM/kyYKo0Qo1MvWJO4uC2q+fsew0nWHhl7RAxdtF5Qty9I8Gmh3HVCmXEt7PkZphkk8PtlTs8B5sT9k5I77Ia6h9GIucTLGNwm8xoWja758JmUnS4PVJQvwnRJTe/MEbT/jrg6n7tKfwmOUaEhz65eQ61rvdpvB+nXlkem2d6vo4kbse25ueCJw9DkQWMgDUZDW8VVpjqduaFEh7z6YcyFm12dINTE0wSZfXRU/KpwYwRjnYwIkodBtAprhP7yfbdG2YQryWCq88st9ikk/4NvhwIl54g9dOPzFGr2NWkm/xx8Cia0ZH1dr0Wuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=We1KLz86UHM5xtzNJlaHfT6PXdtiRTA7YPYQmdHLkVo=; b=cN7xjrpnCY3orhpVgVPgujOopWeGLoSoYbuDtiaX8djMLgYlJq5ASLVisaHoaIxla3awsEnH/eXI8QtjGIhfxtbt/eaDBZ1XvNfS9W3xyaPaAX3/OMCaMy0aOHCbrxDhucEJgpYtFn79U0dF9F+M32z6ygXGm4FUHLCRovG4RUAn/WpqORw/BzReZxcLPlThg/vGelsBH20A1DDkRnkeCc8WsF0CSy4pfISN9xcLxWd3ofEI/xaZXG3VYdMv5+7B50EOu2bJaipMUsHTQhtxpxnzFkFoaKsYhtng+0abMAVm0sL/idi28JkLYLZv2ncmh/oMoJ4gDG0vnkN1xkcK/A== 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 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=We1KLz86UHM5xtzNJlaHfT6PXdtiRTA7YPYQmdHLkVo=; b=kFREpzqwAzs3EJG6lJwxwyB+pRlOC+9Xtjm6QuBeM+LomjNM2cg7/r7phFsUL2HzVLEzwT0G8Xkw+3n/rUB5LlkO5WNvZc1RJN5M/Uu8BGXVBrXkPE30/zd03A4msq1zvZaJ8jAEC1G2+njly7yfzgpzb7FTGdXybwDlarrRlDM= Received: from MN2PR10CA0003.namprd10.prod.outlook.com (2603:10b6:208:120::16) by BL1PR12MB5318.namprd12.prod.outlook.com (2603:10b6:208:31d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.23; Wed, 18 Oct 2023 10:25:51 +0000 Received: from BL6PEPF0001AB54.namprd02.prod.outlook.com (2603:10b6:208:120:cafe::7a) by MN2PR10CA0003.outlook.office365.com (2603:10b6:208:120::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.21 via Frontend Transport; Wed, 18 Oct 2023 10:25:51 +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=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BL6PEPF0001AB54.mail.protection.outlook.com (10.167.241.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6838.22 via Frontend Transport; Wed, 18 Oct 2023 10:25:51 +0000 Received: from hpe6u-23.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Wed, 18 Oct 2023 05:25:49 -0500 From: Lancelot Six To: CC: Lancelot Six Subject: [PATCH v2] gdb/testsuite/gdb.rocm: Fix incorrect use of continue N in multi-inferior-gpu.exp Date: Wed, 18 Oct 2023 10:24:53 +0000 Message-ID: <20231018102453.355287-1-lancelot.six@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231017111629.307261-1-lancelot.six@amd.com> References: <20231017111629.307261-1-lancelot.six@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL6PEPF0001AB54:EE_|BL1PR12MB5318:EE_ X-MS-Office365-Filtering-Correlation-Id: d285a741-d8ff-4832-9709-08dbcfc49aad X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nEZtX045dQqi+aydUMUYW2aeO6+KyUBq7POSZ/w2eMrmXzMSyLoYz098udVpcLqeFf6ItNfGRQHq1dNMIANpnlypMJrq+Z2hZJaDrm6JFqw30NSnyc1vMQdriPMAHMbPx5OjE+mBhzukPall94JNYS43QevQWBOz2SGDBGOhjeSDS51FE/X1t0bmFkQt9nf8ilCmvxIU04NBH0weH0Ut1fdUfHXDC9BMrTkCBG+ohHTjfM2SSvEB50pdrbAwcl9Zn97bWLR1YQ2QfRa1Zj+zK7zkQDUMxJUoWLiXqckLbUma/XZLfpzfNN0MVGdxvPTtMvoFwu4hWkwB0wmvZKG8vGvyHeknaUYLCqfnVZO4EJaJCy6eb1tQYYEkUki9UPl2iocOss8gYQbZ08ygkmhyqRdXvDzZVqg/REwkdoDszGum4mHia+NeV3BULDI3WDhf8Ma5rzGfHu4g/SPNBRI4fj62KtiDuHUsdr8fcQacMfveaMzKoPuF8XMcZp/aClHhg0Czm9yXKeiglcMpa41sDpSCx1uuK1H7zTSFCKXWJF3nPIEaRwElpcVp1uJp6xcFVQd+os9cFIr+eM+X3Z0wW1ETqEzNeLobp/r0bOzHuO9DLl4hgBR1uyrhmRqbvRWqy66ctJQYrpA7Yk5D3Pdi7Z1+/+dg9HglPDamgu/5g04Q4dwbqYizf0Wmv54Y5GPl5muSwRN0LVKGV81/ntJuI8u6ZB46j42Vajj/mBATEwc2hgPrtanbY6LR4BmnypG/wTH+pO3kPQBBaE3Pa8BoveZ07yHcVZkXtT/47aobgfJWUTsfu23rwfaZ6VQVF49y X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(4636009)(136003)(396003)(39860400002)(346002)(376002)(230922051799003)(64100799003)(186009)(1800799009)(451199024)(82310400011)(46966006)(40470700004)(36840700001)(40460700003)(40480700001)(47076005)(426003)(82740400003)(336012)(36756003)(356005)(83380400001)(1076003)(81166007)(26005)(16526019)(2616005)(70586007)(4326008)(8936002)(8676002)(5660300002)(478600001)(70206006)(316002)(6916009)(7696005)(44832011)(41300700001)(6666004)(2906002)(86362001)(84970400001)(36860700001)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2023 10:25:51.8195 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d285a741-d8ff-4832-9709-08dbcfc49aad 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=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BL6PEPF0001AB54.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5318 X-Spam-Status: No, score=-11.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: The gdb.rocm/multi-inferior-gpu.exp testcase uses a "continue $thread" command, but this is incorrect. If "continue" is given an argument, it sets the ignore count of the breakpoint the thread stopped at. For this testcase it does not really matter since the breakpoint is not meant to be hit anymore, so whatever the ignore count is won't influence the outcome of the test. It is worth fixing nevertheless. Change-Id: I0eb674d5529cdeb9e808b74870a29b6077265737 --- Changes since V1: - Following Simon's comments, remove the "continue" -> "continue&" change. Even if this test is in non-stop mode, this change should not be required to esure when the GDB prompt is seen. Best, Lancelot. --- gdb/testsuite/gdb.rocm/multi-inferior-gpu.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/testsuite/gdb.rocm/multi-inferior-gpu.exp b/gdb/testsuite/gdb.rocm/multi-inferior-gpu.exp index 18b4172ff09..5bac50d2ef8 100644 --- a/gdb/testsuite/gdb.rocm/multi-inferior-gpu.exp +++ b/gdb/testsuite/gdb.rocm/multi-inferior-gpu.exp @@ -68,7 +68,7 @@ proc do_test {} { foreach thread $stopped_gpu_threads { set infnumber [lindex [split $thread .] 0] gdb_test "thread $thread" "Switching to thread.*" - gdb_test_multiple "continue $thread" "" { + gdb_test_multiple "continue" "continue inferior $infnumber" { -re "\\\[Inferior $infnumber \[^\n\r\]* exited normally\\]\r\n$::gdb_prompt " { pass $gdb_test_name } base-commit: fded0fb898618b5b659762ace776144afa876035 -- 2.34.1