From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2044.outbound.protection.outlook.com [40.107.22.44]) by sourceware.org (Postfix) with ESMTPS id 134B4382D3F1 for ; Wed, 14 Dec 2022 14:47:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 134B4382D3F1 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=lRCX9KmHQ0uTKUyj8gC8pdl4lfaQQ1gN4CbPGcactAQ=; b=B0HHCnrPDfcZpxqUQ1QQ37J5kNsVkq2kHxDYjOxLzDhDIY22SpioCmucUwORHJz3IMotGaZmJV/hPRf1DEGc43cTVGqiAmAvrIx6O7nH+QRLh7ukzRdO88iJA5ZGgAhlYsl3rX9dWSzcNhwvPWwCPjCtIN7wXN9ZYAoXSyZKyow= Received: from AS9PR05CA0201.eurprd05.prod.outlook.com (2603:10a6:20b:495::28) by AS8PR08MB10347.eurprd08.prod.outlook.com (2603:10a6:20b:57f::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.8; Wed, 14 Dec 2022 14:47:49 +0000 Received: from AM7EUR03FT045.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:495:cafe::f6) by AS9PR05CA0201.outlook.office365.com (2603:10a6:20b:495::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.14 via Frontend Transport; Wed, 14 Dec 2022 14:47:49 +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 AM7EUR03FT045.mail.protection.outlook.com (100.127.140.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.11 via Frontend Transport; Wed, 14 Dec 2022 14:47:49 +0000 Received: ("Tessian outbound 0800d254cb3b:v130"); Wed, 14 Dec 2022 14:47:49 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: b72b0b6dcb5d1459 X-CR-MTA-TID: 64aa7808 Received: from b4b76119f318.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 9D17AD88-F3ED-46FB-BE03-0B915EBFE557.1; Wed, 14 Dec 2022 14:47:42 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b4b76119f318.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 14 Dec 2022 14:47:42 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZdNEDt51PEZwAC7Q1p9s/A0ncKlhIfUFv3jG/Y6gvHcXvHgjWuFymBEEn3S6NBK537WbKI50iqcngjQZVh0PWe25y2d1Q4OpRsm8/VvhQnTUjxFcF+EhbGIKFFMo4pZAxFoFG8lOKolMGEi+BupfuyzUZXCXrQdtKedsvktMa/pa99m9SiZQenyl4EqIaOT1nu8I91bdrStMlI8hoWxkNXe4DAt6Wro+K/99LTKbobbV02KQtaeTCoEDhQ5MlfCzyeZQyVgmd+QbI7Ul4KjaCmai9a4x5zmUGyymUJdE2Rq6qwN8oM6dfBLPQXasvEl3dMV91ecUQSV0iYoaQcGlNw== 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=lRCX9KmHQ0uTKUyj8gC8pdl4lfaQQ1gN4CbPGcactAQ=; b=Ry5wDK2gFeEfRXMIYRKlZ3RVfpD+crrnNsq5g65WNueybzUO7Z7+clqCeQdezUcKZAaLhqBo5nL2euX6VjJ7wfObC1XZW1gMKSKnYxLELu14p7fbKStKImWjsr9fvjrEBErdQBWOu2HzqgX3aazNL3TisqkYdcYZ2RSmw1TMDQOI5o7EY6ro5vnkTpIVECxmzT0qYlV6LGokc5VcE0XQVb88Wjp5tr79WLneHuAdmh/s7n0kbZps/JfDgeJhIOPhn93Pt+Zi8a71TJ9WElzsi5R1cKjG1668QrjfYZRH8QH/O5PgfyQAo4pEuMGuHNlwS8RBZC9KMBJX+cKQzgVG6w== 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=lRCX9KmHQ0uTKUyj8gC8pdl4lfaQQ1gN4CbPGcactAQ=; b=B0HHCnrPDfcZpxqUQ1QQ37J5kNsVkq2kHxDYjOxLzDhDIY22SpioCmucUwORHJz3IMotGaZmJV/hPRf1DEGc43cTVGqiAmAvrIx6O7nH+QRLh7ukzRdO88iJA5ZGgAhlYsl3rX9dWSzcNhwvPWwCPjCtIN7wXN9ZYAoXSyZKyow= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from VI1PR08MB3919.eurprd08.prod.outlook.com (2603:10a6:803:c4::31) by AS8PR08MB8826.eurprd08.prod.outlook.com (2603:10a6:20b:5bb::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.10; Wed, 14 Dec 2022 14:47:40 +0000 Received: from VI1PR08MB3919.eurprd08.prod.outlook.com ([fe80::eed7:25a3:e4ea:187a]) by VI1PR08MB3919.eurprd08.prod.outlook.com ([fe80::eed7:25a3:e4ea:187a%7]) with mapi id 15.20.5924.011; Wed, 14 Dec 2022 14:47:40 +0000 Message-ID: <286c40e2-3bde-91f2-32a2-485b6243bc93@arm.com> Date: Wed, 14 Dec 2022 14:47:39 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH 2/2] gdb/testsuite: new test for recent dwarf reader issue Content-Language: en-US To: Andrew Burgess , Tom Tromey , Andrew Burgess via Gdb-patches References: <87lengh250.fsf@tromey.com> <875yek2xdo.fsf@redhat.com> From: Luis Machado In-Reply-To: <875yek2xdo.fsf@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P265CA0206.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:318::18) To VI1PR08MB3919.eurprd08.prod.outlook.com (2603:10a6:803:c4::31) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: VI1PR08MB3919:EE_|AS8PR08MB8826:EE_|AM7EUR03FT045:EE_|AS8PR08MB10347:EE_ X-MS-Office365-Filtering-Correlation-Id: 5ece5581-0b38-4946-5e32-08dadde22bd2 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: zTtuI+w+yHeqJoFQ9SQZB5mtD+8AAmhreAOCiCcnwhab8soDDF24jBvCVNGaSSRKJ6rxukMjMjXujhH65i3CvdP+SQO00r5VWw/UvlWyCRocOat/siqsNGyO0hOIypTr3QWCIywZ83xOUaIo8CMHcY8fGQ5iogog8QGKsszO/6vl64iL/QGjNn0OC7WSd0hagCfSDURf2ZdGZT8GzSgIximNIzwAVBE7EQdtE99KjJPIcqQhTBanoQ9+wP75wRXBzllijieQL/S1agAInCg8IEUZ1ISoCFGLGn8d8lkLORyOAkgv1DkKhz1Ktcq7XGZzi+6oe5qirMXqhC7Ft7uKNl8/JIpHkoDlh6r+s7gSLZ3RNCaTson+G9iqwhNMCP0efk3ykfB8uY6hqzsGjMbSMGfTpC3E/k8TgvX3DGcZOMY6n3NQOcemYEubFAU/NeOxhzFq3L7x9dYe1FS47AR5S/xuvy7SI7eY0YEaSASFBZ5F9MsvNbg3ffHFSkbjIQBGSw5l28cz+FNHI7NbqnQVeYtBFqHUuQLudC+3W3f+VvhCl1JlLoSR8eM5wln1yv5fwzbiCoJHoip93mZnyOzv7zmAcCwhZvr4mNN+ULTo26Z/XEpgMEXPWaCmXG5AEUjEaUxmi7wbXEpzJ4gESjC5Td/NYo6PEAUclv+WBijxHVNaRoqtkKB/WoniYLuONW8saqq97igFy+zDDw0L6lRgUefIMjzYum83wyCiuiFfskI= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR08MB3919.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(396003)(346002)(39860400002)(376002)(366004)(136003)(451199015)(31686004)(316002)(41300700001)(44832011)(8936002)(8676002)(31696002)(66556008)(66476007)(66946007)(86362001)(110136005)(478600001)(83380400001)(6486002)(38100700002)(2906002)(6512007)(53546011)(66899015)(6506007)(2616005)(5660300002)(186003)(26005)(36756003)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB8826 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: AM7EUR03FT045.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: f726d362-2845-4b64-334c-08dadde22633 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xLUZkn/JQkzRwKBvnnuSfFEyGehh0V7YhqEpVn7y5tG1rXwr1NNBYm8ISAgq7b02j8TksjheKYtBCbZzAN8zE/LeijAvCmJfT2rHvWGy0+CR2iPUIzIgypCoX6cQd71rXadx9irnQsmTifo7vXVx4KzvhXjavhe1mFT5+aLPl1amGRkNK+DS5kwNhbzEjqYxK52K6Y7oLMqhrZeX6L8hKxWw/ZtZwpz1IpVs+WUYp3JfaGHkyXTcHd2G93GikEFZzWuqgpOppNrnOCVRS+0CuMO23GLQAghgRtoShWk+/z1rAho+SUu06HIDVQCMd6+PMswa2O0iwWcsi3BwLGovwD+gZxkJBGxhu5pMwzs8OvFYRS+yWsoaPeWJQ49O8rOafg11GYrvlXe2ErdHO8/Hrq+g1HUWgzTIm3fU5rpn1nkNKNmD5y1mKTu0Jxw+pjWyidFcsNiuQjw7iweharOVeK/rCCrwO/P2DT4uftJENPv/zq27lvKXJwWd4J6BEhZW70IMb5VZior3wsWXkVCCq4ZyX3Yo0LQ8mElQXv62IhSAB97Lc0gPJo+AkLOIm1fN6S+Gv6RT9eZ45YzzARiNtETWM2sFscJD0ixfn9ubdWKQ1KcIvHE9wxGh2Ilc5SiPv8vN2JXj9NgF2ppA/2fPCkkDSOoUcCAcfnxwmmTYUMa+kvCxP3ueNMuEOet5o+26s3EBY2Dao9pX8EBxkRsFVZe2ooujFEcSi4wa7n+FMyM= 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:(13230022)(4636009)(376002)(396003)(39860400002)(136003)(346002)(451199015)(46966006)(40470700004)(36840700001)(66899015)(31686004)(2906002)(31696002)(36860700001)(26005)(82310400005)(41300700001)(40460700003)(70206006)(36756003)(44832011)(70586007)(5660300002)(8936002)(40480700001)(356005)(6486002)(316002)(82740400003)(478600001)(86362001)(6512007)(6506007)(8676002)(336012)(83380400001)(53546011)(186003)(110136005)(47076005)(81166007)(2616005)(43740500002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2022 14:47:49.3275 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5ece5581-0b38-4946-5e32-08dadde22bd2 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: AM7EUR03FT045.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB10347 X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,FORGED_SPF_HELO,KAM_DMARC_NONE,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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: Hi Andrew, On 12/9/22 19:24, Andrew Burgess via Gdb-patches wrote: > Tom Tromey writes: > >>>>>>> "Andrew" == Andrew Burgess via Gdb-patches writes: >> >> Thank you for doing this. >> >> Andrew> - However, GDB checks each partial symbol using multiple languages, >> Andrew> not just the current language (C in this case), so, when GDB >> Andrew> checks using the C++ language, the symbol name is first demangled, >> Andrew> the code that does this can be found >> Andrew> lookup_name_info::language_lookup_name. As the demangled form of >> Andrew> 'signed int' is just 'int', GDB then looks for any symbols with >> Andrew> the name 'int', most partial symtabs will contain such a symbol, >> Andrew> so GDB ends up expanding pretty much every symtab. >> >> It's a pedantic point but what happens here is name canonicalization, >> not demangling. Demangling is just used to refer to the translation >> from a name like "_Zmumble" to "something::else" -- that is, the input >> is a linkage name and the output is a C++ name. Canonicalization takes >> a C++ name as input and returns the standard form, basically dealing >> with the fact that C++ (and as we discovered, C) has multiple possible >> spellings for some symbols. > > Please, be pedantic. My goal here was to better understand this code, > there's no point me understanding it wrong. > > I'll reword that paragraph. > > Thanks for taking a look. > > Andrew > I'm not saying you should investigate this, as it is a new test, but I'm getting a lot of these messages for this test: ERROR: internal buffer is full.