From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id GXJnMZ/X5GrY9xgAWB0awg (envelope-from ) for ; Fri, 30 Oct 2026 13:45:03 -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=DuhAcan3; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id C5AC9378006; Fri, 30 Oct 2026 13:45:03 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.1 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_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.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 BA468378002 for ; Fri, 30 Oct 2026 13:45:02 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5283F4BAE7C6 for ; Fri, 30 Oct 2026 17:45:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5283F4BAE7C6 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=DuhAcan3 Received: from omta36.uswest2.a.cloudfilter.net (omta36.uswest2.a.cloudfilter.net [35.89.44.35]) by sourceware.org (Postfix) with ESMTPS id 58DED4BA902B for ; Fri, 30 Oct 2026 17:44:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 58DED4BA902B 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 58DED4BA902B Authentication-Results: sourceware.org; arc=none smtp.remote-ip=35.89.44.35 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1793382268; cv=none; b=fCnFxDoQMaLppiRVr2GWK5tqgh0g65Vhi51/K9kaSnfTGV+rt/HE7FVYC+yNf7Y2cxljX/biv9KHsG2l0X19itvs6uyI99lkqnYMZHXENGAy4v62VIDVO4XpdwdKr21Ft0QveZk0Fz/rQ+2ybiLYnGKKYJg10S2hC0P6492Fvbg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1793382268; c=relaxed/simple; bh=tam9dZ2+JPJ7TN10T/rSU+6OAPMZ9ydx/KeHmLA2AfY=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=i1bbhPWss45/Is9BY28b9ZHQzXq+JGLKJNFARM2SgpK1OKctMHHQzLHdGoQqkO6pPayObH9vrjY0JJu3fDFZQPlG7KuoHR4nt1pX2aXh1sJD9kE3MwpzpQjgY1I6kIwh8MkN8L1PR0lzZB2ZkQDl/4B29v3uDpGjtW/mhxHdxMw= 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=DuhAcan3 reason="signing key too small" DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 58DED4BA902B Received: from eig-obgw-6003b.ext.cloudfilter.net ([10.0.30.175]) by cmsmtp with ESMTPS id Mp4Fx38WWusRSMqeRxYGNc; Fri, 30 Oct 2026 17:44:27 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id MqePxVN1R1fkWMqeQxBq8t; Fri, 30 Oct 2026 17:44:26 +0000 X-Authority-Analysis: v=2.4 cv=CLMqXQrD c=1 sm=1 tr=0 ts=6ae4d77a a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=660iZSQnnn4A:10 a=ItBw4LHWJt0A:10 a=CCpqsmhAAAAA:8 a=QhUCHniyjfKy2VjZJ1EA:9 a=ul9cdbp4aOFLsgKbc677:22 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=tam9dZ2+JPJ7TN10T/rSU+6OAPMZ9ydx/KeHmLA2AfY=; b=DuhAcan3ErNVVx7yQKlJNT6Yli WhlFSE7CAZmsMj62Le3qjAvv/QbpihkBfPeEzo++otsSMNv5fdix4hBvGef9uhlku0fVVCwLQCs// GNLB26Y1qCz0KPJqRhtobD6tv; Received: from 97-122-110-129.hlrn.qwest.net ([97.122.110.129]:55368 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.100.1) (envelope-from ) id 1xMqeP-00000000mvQ-1WWV; Fri, 30 Oct 2026 11:44:25 -0600 From: Tom Tromey To: Longjun Luo via Gdb Cc: Longjun Luo , Simon Marchi , Tom Tromey Subject: Re: [RFC] PR symtab/34741: expression lookup and overridden weak functions In-Reply-To: (Longjun Luo via Gdb's message of "Tue, 13 Oct 2026 18:13:36 +0800") References: X-Attribution: Tom Date: Fri, 30 Oct 2026 11:44:24 -0600 Message-ID: <87bj8bnkw7.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.122.110.129 X-Source-L: No X-Exim-ID: 1xMqeP-00000000mvQ-1WWV X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-110-129.hlrn.qwest.net (bapiya) [97.122.110.129]:55368 X-Source-Auth: tom+tromey.com X-Email-Count: 1 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfC7i+WPQJo7YaUz0crGkNiG7fM5Mtlolm+8C9uAM867mM2/NaGdbsiMZ4GSEKQhAfObr3C4TfsqnRD2Yi6/F3/Eu1QkyaZgXLiAQAvIl2Uz8MNjYqt2z hK020vSrzQWxI39DGoOwEggMhwUoaJha4rZ/pE1aCzglRUsTqOIwai6YNjfrQWiPdEfMz5YbteGIqg== X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-bounces~public-inbox=simark.ca@sourceware.org Sender: "Gdb" >>>>> Longjun Luo via Gdb writes: I didn't see a reply to this. > For ordinary global function lookup, my local fix uses the main ELF > executable's minimal symbol to select a full definition with the same > linkage name and address, taking both type and address from it. Lexical > and explicit file-qualified lookups are unchanged. Does this direction > look reasonable? I don't really know this area well, so I can't comment on this; but here: > I have no FSF copyright assignment for GDB. The implementation is a few > hundred lines plus regression tests, so it is not a trivial change. > Would a DCO sign-off be acceptable, or should I arrange an assignment? I think you should get an assignment. thanks, Tom