From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id WQZwIpUUqGpcUwwAWB0awg (envelope-from ) for ; Mon, 14 Sep 2026 11:36:53 -0400 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (768-bit key; unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=MjE5+0tY; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 899DB1E066; Mon, 14 Sep 2026 11:36:53 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,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 294D91E01F for ; Mon, 14 Sep 2026 11:36:53 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7E86A4BAE7D8 for ; Mon, 14 Sep 2026 15:36:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7E86A4BAE7D8 Authentication-Results: sourceware.org; dkim=fail reason="signature verification failed" (768-bit key, unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=MjE5+0tY Received: from omta40.uswest2.a.cloudfilter.net (omta40.uswest2.a.cloudfilter.net [35.89.44.39]) by sourceware.org (Postfix) with ESMTPS id C1AB84B9DB49 for ; Mon, 14 Sep 2026 15:36:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C1AB84B9DB49 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C1AB84B9DB49 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=35.89.44.39 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1789400189; cv=none; b=bSkCodBc1oDAXmsLarQGgATwVQHKm1GZ1XNqP9115mVteVMljXBZCFoGcih3lokpKEzHxfHAbT2QUMkrP+IKSTPHevp8sbL6v6BlIe4jW1aA6YQyPwspf4Yx4CPHPfKKgtVAqUYxApxi7Hv1g1572Tzy2HOFeZ6qlf4skmNBN8o= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1789400189; c=relaxed/simple; bh=7cKMyTSzXiw7CqJf6XynOE9BPUBmIVlkMTu0/vinhDg=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=nIhrG3Ab2eq2eowFSMe26RvIIleoQsW6YErY2wSz+czaf6I7fzoiptqueMJiI+KNXU3bvO5P4StHAxB3Nr1XsdBtGQ33VG0CacYpSQWzVpv5rXIDqc1jNqVEc6iFwIZwTHX9k7kJ3agaiQRTOk6igEP5sEIXb9bbflDRurEQMJU= ARC-Authentication-Results: i=1; sourceware.org; dkim=policy (768-bit key, unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=MjE5+0tY reason="signing key too small" DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C1AB84B9DB49 Received: from eig-obgw-6006b.ext.cloudfilter.net ([10.0.30.211]) by cmsmtp with ESMTPS id 67FNxJLJqc3Xs68jLxyIhS; Mon, 14 Sep 2026 15:36:27 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id 68jLx83LCY4rX68jLxEaFU; Mon, 14 Sep 2026 15:36:27 +0000 X-Authority-Analysis: v=2.4 cv=CI8qXQrD c=1 sm=1 tr=0 ts=6aa8147b a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=VdqzKS8jKosA:10 a=ItBw4LHWJt0A:10 a=wGT5kyhm9VG-r9BwRZMA:9 a=DCx65vhANUyCzuf5D8fC:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Unsubscribe-Post: List-Subscribe:List-Post:List-Owner:List-Archive; bh=V+/bw+P917CH5G0GDBEpIIZMMhkWmBsqRSV6QrzEQNc=; b=MjE5+0tYWo8YtQAcJSMqgeo10t WXxTxodNmsV5OvewFCGyh+uC1FjXSpTU6CAwoaMZwsgDZU0YsIDZMS78rqdkSdcUv8zyvq27cquFO 2zvLzIXzPdgxGLt/ABC3BW6oN; Received: from 75-166-229-74.hlrn.qwest.net ([75.166.229.74]:46464 helo=prentzel) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.100) (envelope-from ) id 1x68jK-00000000jp3-2uAK; Mon, 14 Sep 2026 09:36:26 -0600 From: Tom Tromey To: Andrew Burgess Cc: Simon Marchi , Tom Tromey , gdb-patches@sourceware.org Subject: Re: [PATCHv3] gdb: resolve class name via DW_AT_signature in cooked index In-Reply-To: <87ecewc6gn.fsf@redhat.com> (Andrew Burgess's message of "Mon, 14 Sep 2026 14:23:20 +0100") References: <295672ce0ea0bf20911fbbc997f38fe9f62b19be.1787952498.git.aburgess@redhat.com> <897f5eb957bdfd90cd3fd5efa662021ed5c2aef2.1788269262.git.aburgess@redhat.com> <1a67b29f-e2f1-480a-ae2b-e0d0d5acfdca@simark.ca> <874ifvy4u7.fsf@tromey.com> <87ecewc6gn.fsf@redhat.com> X-Attribution: Tom Date: Mon, 14 Sep 2026 09:36:25 -0600 Message-ID: <87cxuf7sli.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 75.166.229.74 X-Source-L: No X-Exim-ID: 1x68jK-00000000jp3-2uAK X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-229-74.hlrn.qwest.net (prentzel) [75.166.229.74]:46464 X-Source-Auth: tom+tromey.com X-Email-Count: 5 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfNTkDBU+7ZHBvy4LmnUZvnJzaS5fnv9Jassx9wpQpNhx3yMktXdsPJXa2fR7h6IhwtIwAv12aOohfuSRSVHtD+RbcEzdMD/i1yhnVuYt8qWTYQPpUYZI Fl50OrdNspfiIGX71xAVqdv9Zf21Okq61V1B4+mRWjAiLWhMs7de6swMnuJbDzcFJW8Vem4w0NeUwwj0ADKBOdmrYnNb6EyB2hA= 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 >>> I would much prefer a new cooked_index_flag_enum value over allowing >>> NULL pointers. >> >> Why? Just wondering. Andrew> Also, in this case, the point is that we end up creating the Andrew> cooked_index_entry before we know the name, so what value should the Andrew> name pointer hold? Andrew> So V3 switched to NULL pointers as something that is fairly obviously an Andrew> "unset" string. I won't complain. I just think letting in NULL pointers often ends badly. Andrew> then 'info complaints' would like each objfile and the number of Andrew> complaints seen, and 'info complaints ' would actually Andrew> list the complaints for the given objfile. This might be nicer, but consider that many of the existing complaints are just somebody's opinion about the compiler output, and not only are they not actionable, they will not ever be fixed. My contention is that no complaint has actually ever been fixed by virtue of being a complaint -- that is, maybe a compiler fix has been done, but it's been a separate action, not driven by gdb's output. Basically complaints are worthless. I won't object if you work on this, but IMNSHO putting any effort into this is a waste of time. Tom