From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id cIszEnPAWmitZRwAWB0awg (envelope-from ) for ; Tue, 24 Jun 2025 11:12:51 -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=Tu8tCkVt; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 3E0C31E11C; Tue, 24 Jun 2025 11:12:51 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-8.8 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE autolearn=ham autolearn_force=no version=4.0.1 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (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 BBBBF1E0C2 for ; Tue, 24 Jun 2025 11:12:50 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6B07E385F024 for ; Tue, 24 Jun 2025 15:12:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6B07E385F024 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=Tu8tCkVt Received: from omta040.useast.a.cloudfilter.net (omta040.useast.a.cloudfilter.net [44.202.169.39]) by sourceware.org (Postfix) with ESMTPS id B733A385625E for ; Tue, 24 Jun 2025 15:12:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B733A385625E 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 B733A385625E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.39 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1750777935; cv=none; b=YwwWNxKkwgeoikaBZH/+193BBq+vlwJ/3LHV27L7WWMl1RvklpfImn52Q7Mre+ZfYoNSuVk+vw/KbkZLJnJvEzltrYn3UuVLii5houQNYZhHcEYMMg3B7lxwJyOZLovHCe/gUyr4TtBzYiezpoVcl9WJTN+bhSfJ0ABT40gZ70U= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1750777935; c=relaxed/simple; bh=nqJhlnqBM2J8y3CErGd0Nx7GQQJlTvJUSUW5dWqI5ug=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=LDwFcaHEBSfKeq5jHSGW/NgkILIC+NToTNS/o74dFa5eWlSd1XBMLkZeqAYW/hxIrkvU3yc7DxRFFbySRgDMhe+69r4lPpxV8ZQ8NFV2furtRJmLEJJFGBaSHHFwHHY19HMSTjS+17RMDMQ9C+e3CF9WPQGA39/E09cZKqThiy4= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B733A385625E Received: from eig-obgw-6009a.ext.cloudfilter.net ([10.0.30.184]) by cmsmtp with ESMTPS id TZuHuKLO6VkcRU5JnuEBkh; Tue, 24 Jun 2025 15:12:15 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id U5Jmu7j3CQj2VU5Jmu1gpC; Tue, 24 Jun 2025 15:12:14 +0000 X-Authority-Analysis: v=2.4 cv=Xt78O0F9 c=1 sm=1 tr=0 ts=685ac04e a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=6IFa9wvqVegA:10 a=ItBw4LHWJt0A:10 a=CCpqsmhAAAAA:8 a=20KFwNOVAAAA:8 a=38icIlNsuqUmSjgciUYA:9 a=ul9cdbp4aOFLsgKbc677:22 a=VS4QxaUSPT0UtbFnIvSC: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-Subscribe: List-Post:List-Owner:List-Archive; bh=ONs2lWV7VYT+fQG+L5CnrckGKPPN5RhjuUKX+u6o/ko=; b=Tu8tCkVtOCmQbOUBeQtu5eVZLf AF6URKU14bU4w8MnkCpSHLMA7aQxtcSSqXyBfsFMRlb1gdGkQikSiHLfPouQabu4ccnfc2ooq/Dzj fuK3EGWdcdhofK6gqberp6Azq; Received: from 97-118-59-152.hlrn.qwest.net ([97.118.59.152]:53036 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.1) (envelope-from ) id 1uU5Jl-00000002Hn9-1mim; Tue, 24 Jun 2025 09:12:13 -0600 From: Tom Tromey To: Kevin Buettner Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] gdb/dwarf2: Add symbols for function declarations In-Reply-To: <20250613044224.611229-1-kevinb@redhat.com> (Kevin Buettner's message of "Thu, 12 Jun 2025 21:37:16 -0700") References: <20250613044224.611229-1-kevinb@redhat.com> X-Attribution: Tom Date: Tue, 24 Jun 2025 09:12:11 -0600 Message-ID: <87frfpyy0k.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: 97.118.59.152 X-Source-L: No X-Exim-ID: 1uU5Jl-00000002Hn9-1mim X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-118-59-152.hlrn.qwest.net (bapiya) [97.118.59.152]:53036 X-Source-Auth: tom+tromey.com X-Email-Count: 12 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfDEzRFo1rz2WW8s6PIUT/f2YZghqrCUdciZcOiKKadmyssAtZ2kHBRYrFKsMgUgi2/YHbKo7N40L14WmVp5xNAOE0S6/j+8TLJL973EHLmkalp36l1nP tBeSLi6tox8/wlx6R38DaBqQt6DXFgBIjyGnjtpuNviAwkQitkWV8i5mgPgaHIYxvHq1kaRkdwbNaftJadflbECi8axLS7kgq/E= 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 >>>>> "Kevin" == Kevin Buettner writes: Kevin> This commit was motivated by comments 3 and 4 for bug 31563: Kevin> https://sourceware.org/bugzilla/show_bug.cgi?id=31563#c3 I didn't really read through this yet, but in general a patch to add a new (non-local) full symbol that doesn't have a corresponding change to the indexer seems like it will be incorrect. The issue is that lookups will only work if the CU has already been expanded; and with my long-suffering search-via-the-index series, the lookups will fail entirely. Tom