From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on20615.outbound.protection.outlook.com [IPv6:2a01:111:f400:7d00::615]) by sourceware.org (Postfix) with ESMTPS id 2A3123858CDA for ; Thu, 30 Mar 2023 16:10:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2A3123858CDA Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AQ15AzD1QumofuPhbuUs5JE58oINJ/5w2dRJGXBI8X4=; b=DbwS/gqPJp3XJGKIC0E9UTFfxBcyyh18oc1R9hObWCDGZg/5OEpy3MHqfSFjCYJefj6viMlApwIvLw0zZCq6gNEXNlFS6WmwpCn/7BZXpBxXPytW4N64HArZCQnw1/DeeJykEuAnLmyJ8h4VjSvlGvv3vjqwSJbYrJ6cT+XsbR8= Received: from AM5P194CA0006.EURP194.PROD.OUTLOOK.COM (2603:10a6:203:8f::16) by DB4PR08MB10343.eurprd08.prod.outlook.com (2603:10a6:10:3fd::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6222.33; Thu, 30 Mar 2023 16:10:10 +0000 Received: from AM7EUR03FT056.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:8f:cafe::d1) by AM5P194CA0006.outlook.office365.com (2603:10a6:203:8f::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6254.20 via Frontend Transport; Thu, 30 Mar 2023 16:10:10 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM7EUR03FT056.mail.protection.outlook.com (100.127.140.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6254.9 via Frontend Transport; Thu, 30 Mar 2023 16:10:10 +0000 Received: ("Tessian outbound 945aec65ec65:v136"); Thu, 30 Mar 2023 16:10:10 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 0a40298899f7bc1d X-CR-MTA-TID: 64aa7808 Received: from 1d76aa8512e0.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 9A3B4846-8AED-4349-B6BB-C388B71571FC.1; Thu, 30 Mar 2023 16:10:04 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 1d76aa8512e0.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 30 Mar 2023 16:10:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l7bMj1sOQzIvjWhk4v2BisDJCNJgAKw+sk12PmPUj9RzCjZr0hHglCqRgcBM7rJcufKpd8x+OhwXKJ8JwYOn7OUK/GSMUuol6xjGtw3SIzD4ECXM61vqIC8wbP9rAPTVcowh72AxuVK19KdKiHNCJ1WvErupH54gd3+LKLPpupDJHdC2050b4hZaFNFD3yUfZCpTcwWuhIqeHmVAKrll8A32glNVMbE+52AJVNkY6kCJ559kSI+7HMnRi3d/Sspw2lE70f4/yQxCy6+HYTFW25zqSTnJfFxohDY+MkQGuqL7QXnTWKmZqEBxVM1iNwNAzbLOQ4NYux7jDwkRy86ucA== 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=AQ15AzD1QumofuPhbuUs5JE58oINJ/5w2dRJGXBI8X4=; b=D/tV8VNpkRUJmyH3JBLjWfXQnJIxZdQKu8/I5/kMxw7WMLsocsvKtZTZGuyLmmEIpQWYVK0QDR1xTdxI7a0Xk6HFGREyYxvDpRuqR3Fi5/v7InmYaP5BVbnAqDKTzTY03XsrAy5j6Xg2AityS3/oZEp3iVimTQBkgG9BGCZRQQnoBUrcgYGksZtfiN/Q7WsowL3Icg2iqSDbiZl3PDy0Ubov5ajEm/eMnFL6p77l7+YM5ORCK0drPZJyWG+3QiUYyN8zq7IFxljLhRZKQDRt7HJl3LyyqH3/b5On6QRo0U2kStA7nM6IbmNDhKBqDCYby/RGEnVaxvAD/SEMUkA/UQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AQ15AzD1QumofuPhbuUs5JE58oINJ/5w2dRJGXBI8X4=; b=DbwS/gqPJp3XJGKIC0E9UTFfxBcyyh18oc1R9hObWCDGZg/5OEpy3MHqfSFjCYJefj6viMlApwIvLw0zZCq6gNEXNlFS6WmwpCn/7BZXpBxXPytW4N64HArZCQnw1/DeeJykEuAnLmyJ8h4VjSvlGvv3vjqwSJbYrJ6cT+XsbR8= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from AM6PR08MB3911.eurprd08.prod.outlook.com (2603:10a6:20b:80::27) by DU0PR08MB9438.eurprd08.prod.outlook.com (2603:10a6:10:42e::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6222.33; Thu, 30 Mar 2023 16:10:02 +0000 Received: from AM6PR08MB3911.eurprd08.prod.outlook.com ([fe80::ced4:ce91:77d6:ff3f]) by AM6PR08MB3911.eurprd08.prod.outlook.com ([fe80::ced4:ce91:77d6:ff3f%6]) with mapi id 15.20.6222.033; Thu, 30 Mar 2023 16:10:01 +0000 Message-ID: Date: Thu, 30 Mar 2023 17:09:59 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PING^2] [PATCH] gdb/arm: Fix backtrace for pthread_cond_timedwait Content-Language: en-US From: Luis Machado To: Jan Kratochvil Cc: gdb-patches@sourceware.org, Alan Hayward References: <8bcfa5a5-ed74-db8c-ce4b-0fad472cb486@arm.com> <90ba687c-952f-9fa8-b6d4-90d9735621a8@arm.com> <1cb89b33-4656-6588-c677-1907241a252f@arm.com> <02d34e87-a8a6-4038-1e97-bb821707d308@arm.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0296.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:196::13) To AM6PR08MB3911.eurprd08.prod.outlook.com (2603:10a6:20b:80::27) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: AM6PR08MB3911:EE_|DU0PR08MB9438:EE_|AM7EUR03FT056:EE_|DB4PR08MB10343:EE_ X-MS-Office365-Filtering-Correlation-Id: 76dfdbc8-1963-4450-f08b-08db31393cb2 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: xyNeXwGu/4OwFQzPceSf79Vsb5aX9A3EkDul6puJF+ERjJo3saMuwRYPO+e1BpEbpcuZpgyu/Eo3UfkaHpLN89RAWd9Al0TTlhX48syG1S2w6CIbICYI/nUZjGOcirc1cqcDCxWgJVd5joF3/ntrNe/NeWuofNefBtOCeyRHALjzlS2OTi5gA79RcJaEZnjMN/adlGpgQ/PasFC+HP0uZMa9ZLtquqfe42ntmvs/45lnQWR59yeUE5vv/vkugvy6OZIOw7XnFEbqw39J7/kz5SLXQvPa8O1NWjOjDHx4W9LJQiY87Ro+irdiPuP1vhQZxLrHtXMJeSdVBAsc9kOQhKCpLF+HjiaY/qxvXO9i6c5KICzByMhi5VRKWtPN57UJFgQC/AteuAqGGSRZd79Iw5pDAR2hRZyA3RlatocimTWh8CD0o4n9kuk+2FOTglm2Q6l35Z603qh1YaTT6zOSqnNTsH9O/8t7lFMuwpqoEkNQVfyCyJwF06SAFL5fuIyZssMgif7sOZN3BY/kXNYiSiMwbIbZdDO/usXmSWHPZaTwXYu5EZx2d0c4Q0fARsJZ+0YciY6++74V5y6uzGumg8+Uu98V6khI26cI+jdKnME4lERudDCb1fDhNJRhanHvRm9Z4QbCAAaC0iD6Ow2G38GWxA213W3ui5Bz+7Vu/Ws= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR08MB3911.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(376002)(136003)(366004)(396003)(39860400002)(451199021)(2616005)(44832011)(478600001)(2906002)(84970400001)(38100700002)(6486002)(966005)(31686004)(6506007)(31696002)(8936002)(5660300002)(316002)(6512007)(86362001)(186003)(26005)(53546011)(41300700001)(6916009)(66476007)(4326008)(66946007)(8676002)(36756003)(66556008)(81973001)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB9438 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM7EUR03FT056.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 11c220b5-0f45-43b2-5486-08db31393759 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2v5FJIflAyqciShABApwqIdhdoVXJRvNQTp3nt00iGp9jJbEcbfoxNuaDHugPFEONt0/GzguRDmMXQ0YdnoApTfQ6RP1w6m7aZv4rzdsJ2oV8nuugGMnIYKT3SqziGFykN5oT7NS8zqwRI9kjGGKjEh0LaAv5WhCMF8pNEPht8FKJC8Am5f02tc1pQ6HGX2xQqB3G9VrPw6zdYiqymnYt4iHiSlF7qsx5WjPM5/YFfLsoWh086uFVgOn7Xp96PpQMWXxNWEs52L9Ar8g14C11YeT+8iX0oKBCji2KezzFAVbNTkiB5QaJHoCHxotKCXZLN2negTEEB4y0NOwBOTzu54q+XWA57x3+CTQWKcc1owjqdPEkqd4t1krdjK51VUp7pZhSM4dLXHRiSHgnBsJVsPmCnP0KDBNBWkugXdtukVwwY5eZfgcES2yf6BLmPb75yehnplM9FxiWD/2f6HtrCSJBjZLsYLcO3aqXMeiIgR4QKGkTsQQZ0Lc0V5eDI9en1t0K/msdMupUIIPAoTtUnPqq77cV/qorEKb9A+NLzpQhARtFzKd3+7eUgv6Mis9JkOq8amOK4ImWrQWFkyBNS/AnfYChyy50QDtSYV0AVQcQqOn8WbEqLkKi+fMJU/BHriDzCvE6KT9JnRcUrsBIaPVHjb42+IVtQTwHCpttva+NXww1CxuC0JXOofMeabqRBLdbfbrPl0/4N/TbpFbsikkIFFVdqQlQJ6OxUj7zrJsOwBobx3JQtIogD/7K1Mx X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(13230028)(4636009)(346002)(136003)(396003)(376002)(39860400002)(451199021)(36840700001)(46966006)(40470700004)(356005)(81166007)(5660300002)(316002)(8936002)(36860700001)(336012)(70586007)(41300700001)(82740400003)(31686004)(86362001)(84970400001)(4326008)(44832011)(8676002)(40480700001)(70206006)(2906002)(966005)(6862004)(6486002)(2616005)(40460700003)(31696002)(26005)(6512007)(47076005)(6506007)(82310400005)(186003)(53546011)(36756003)(478600001)(81973001)(43740500002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Mar 2023 16:10:10.3689 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 76dfdbc8-1963-4450-f08b-08db31393cb2 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM7EUR03FT056.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR08MB10343 X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,FORGED_SPF_HELO,KAM_DMARC_NONE,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NONE,TXREP,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 3/30/23 15:30, Luis Machado wrote: > On 3/20/23 12:51, Jan Kratochvil wrote: >> [PATCH v4] gdb/arm: Fix backtrace for pthread_cond_timedwait >> https://sourceware.org/pipermail/gdb-patches/2023-February/197413.html >> >> Hi Luis, >> >> On Sat, 25 Feb 2023 00:56:12 +0800, Luis Machado wrote: >>> I gave this a try across Ubuntu 22.04/20.04 and aarch64/arm. All of them run like so: >>> >>> UNTESTED: gdb.arch/arm-pthread_cond_timedwait-bt.exp: pc points to svc >>> >>> Is that what you were expecting to see? >> >> unfortunately not but could you give the v4 patch a try? A single host should >> be enough. I am not sure why my machine disassembles as "svc 0x00000000" while >> yours as "svc 0", I did not investigate it more. > > Sure. I'll give it a try and we'll let you know. > >> >> >> Thanks, >> Jan > I gave this a try and I get full PASSes now (10 of them). For aarch64 we bail out eventually and report an untested case. This looks good to me, but you'll need to adjust the copyright years and remove the template section in the testcase: +# This serves as a template for writing new test cases. Replace this with +# a description of what this test case tests. Sorry for the late reply. Thanks, Luis