From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id x+J0AIEbYWLuUwEAWB0awg (envelope-from ) for ; Thu, 21 Apr 2022 04:53:21 -0400 Received: by simark.ca (Postfix, from userid 112) id EA5BE1E15F; Thu, 21 Apr 2022 04:53:20 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=kv8B+vby; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 6E43D1E01D for ; Thu, 21 Apr 2022 04:53:20 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BE0C03857C44 for ; Thu, 21 Apr 2022 08:53:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BE0C03857C44 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1650531199; bh=YGNSysK+i3gE2ygHCDVwS2Ea//w3/Nr+GE31yIrQRjM=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=kv8B+vbyOxSCz7vPXvkyGbJmko42KPMQBEB6Gpb4qWCQq7bqrH5qL7JADbpeQjxne VJMGptJpv9OI/4I0PMXaJ0wi6cxi8bLBPVAZT73/E9/x6zPqcEeBhh6e+fAQtDulUB NeZoF0NmiCX0kfXa4+hFXfPChyQyjVGwiFpQRsk4= Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam07on2042.outbound.protection.outlook.com [40.107.212.42]) by sourceware.org (Postfix) with ESMTPS id 76C5D3856DD3 for ; Thu, 21 Apr 2022 08:37:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 76C5D3856DD3 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KH5xJVMdiW3Lu9zpei+9of44SVj6J07ca4ji+p11artojDrvzLfMXAzAe42F/TK2D/e02AyzqK4s0cgfpQJZxFGT4KZqaQXf3VIx0R0zNO3+l3UopjnRTeQ/m+Q2R1Lt38eqbuVSADM4AQMD4G2XNCwm35QeAsn3Kf41YpC5XSV/myGjbf7pFMU2WWb4t+9lgYhTaWTcQhwXDGcmXe/VDJPnPvqiNqTGEsyq/ZgPA85UHSeIXjuuwOPVmx5SuCRuXEBe4FM/XwuCh2ZW7mDb7h6u0632T236u07f7+uZV1aERSo3obFOLRVhedf+IKAnyMl9pplrmvhMJ+J2HXnHxQ== 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=YGNSysK+i3gE2ygHCDVwS2Ea//w3/Nr+GE31yIrQRjM=; b=XXA8Rq/9AF2dEYVPmu3H0bT5tzWi6QGy0RPggp1nd7NFvrotmr5Ha+jqDMvNo098rdcTRqhjGH7oTx3KTgvEExTW0UBXADOtLgRQFV0vYPTQCy/c2GQ65tV31WrFRSvScCU/0TtKoDTq9D4l8QLp/fmusShuXqQJZW0caNHPbPd1bwtdVchO9LhYca1sqAMnipOSXNGNK1Xo0kE3XurIn3SPy/+KFadKh0p/EOp0aCqTehQaIMop2Om3ixxXcb3LZR1koIjcVAWf0txCU5/L0STuF7uMapqEnK/xytHUfZ5tEgyMtjDhec5v48ATN0OM85jidB3fLMUJ0ZQ6pABCRg== 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 Received: from DS7PR07CA0015.namprd07.prod.outlook.com (2603:10b6:5:3af::26) by DM5PR1201MB0233.namprd12.prod.outlook.com (2603:10b6:4:55::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.20; Thu, 21 Apr 2022 08:37:35 +0000 Received: from DM6NAM11FT008.eop-nam11.prod.protection.outlook.com (2603:10b6:5:3af:cafe::9c) by DS7PR07CA0015.outlook.office365.com (2603:10b6:5:3af::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.13 via Frontend Transport; Thu, 21 Apr 2022 08:37:35 +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; Received: from SATLEXMB04.amd.com (165.204.84.17) by DM6NAM11FT008.mail.protection.outlook.com (10.13.172.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5186.14 via Frontend Transport; Thu, 21 Apr 2022 08:37:35 +0000 Received: from khazad-dum.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.2375.24; Thu, 21 Apr 2022 03:37:33 -0500 To: Subject: [PATCH] gdb_spawn_attach_cmdline: use unsupported instead of untested Date: Thu, 21 Apr 2022 09:36:55 +0100 Message-ID: <20220421083655.48459-1-lancelot.six@amd.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 079de6c8-34a8-441a-3365-08da23722f2f X-MS-TrafficTypeDiagnostic: DM5PR1201MB0233:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jfCvfd4CX5RplPOG6JQzSeNtkL9yWSne+NJCyHgOf4wOC8UJudThaCt6iYRpM6IpTU4EjTyvGE3/t4rTpRbv2S90ozyufnRTeV18uvnTunAYrbyTWoCypyMJcvmrFkdWZyTG2+c3BYLLmf+pg9TBYAskAgSGjl7+ZCV+L8aVL153vn4lIXN2iTgC/LhWLbG6cC8Two30fMwpv1eWLAZUzGlCsLsOQGIMzPhm9GMJ7FyjCKeYB4SkOV5kL1DM46VewIr67m6C5m/4EdqRRrBQKSHeGeq9IwSTVj8E4l0Rxq7GwF3t7LyhGwJcP4ilf0fBhcT1F2Uu02Ej688Eq6lOkt0csF/l3WbwinUV7Z4+as60oXoDOVJfBhZ/khuW5vtAdR1ml/QcILdMkUEQCVtslbJAXEQutWn38fJpFH+J3Be4ezLxtTv3jxqfKd6bW2/lPUoWyoi4dImKtC2a5MZdHE+hXn89+Xfr8FnGObidOCWVelXDeg0cHidirQIKnNnZKvL9NARjXCnv7cwwAnIplSMb3vRCAF7aVqb4plLtc3IEc76m3dTF5Zw381YWfiP/jfSl7sZFKMGoUjhbZXrjLuODXHpcJT+DVEqXiL2entr2DueEo+Iki1XxyjPmXNUM1K6voULH1Dk7v49Jxd4PIsuHVdNB5jzUlG/uNfkJZ0QWp7G/YIZz9cemYmtRMfLzsOK3R7JvuE0kJVzlCFORhg== 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:(13230001)(4636009)(46966006)(36840700001)(40470700004)(8936002)(70206006)(70586007)(4326008)(8676002)(86362001)(6666004)(7696005)(26005)(36860700001)(5660300002)(81166007)(2906002)(356005)(508600001)(316002)(16526019)(40460700003)(54906003)(82310400005)(47076005)(6916009)(186003)(1076003)(426003)(336012)(2616005)(36756003)(83380400001)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Apr 2022 08:37:35.0119 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 079de6c8-34a8-441a-3365-08da23722f2f 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: DM6NAM11FT008.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1201MB0233 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Lancelot SIX via Gdb-patches Reply-To: Lancelot SIX Cc: lsix@lancelotsix.com, Lancelot SIX Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" In a previous commit (b750766ac96: gdb/testsuite: Introduce and use gdb_spawn_attach_cmdline), if gdb_spawn_attach_cmdline cannot have GDB attach to the process because of ptrace restrictions (operation not permitted), the proc issues UNTESTED. This should really be UNSUPPORTED, as it is done in gdb_attach. This patch fixes this oversight. Change-Id: Ib87e33b9230f3fa7a85e06220ef4c63814b71f7d --- gdb/testsuite/lib/gdb.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 0c00d599ca5..47cb2b23676 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -5205,7 +5205,7 @@ proc_with_prefix gdb_spawn_attach_cmdline { testpid } { gdb_test_multiple "" "$test" { -re -wrap "ptrace: Operation not permitted\\." { - untested "$gdb_test_name (operation not permitted)" + unsupported "$gdb_test_name (operation not permitted)" return 0 } -re -wrap "ptrace: No such process\\." { base-commit: 333cd559bae5a6be60832c020da479ae23fd2664 -- 2.25.1