From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id qMYwMhn8D2hE9QoAWB0awg (envelope-from ) for ; Mon, 28 Apr 2025 18:07:21 -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=yBSwrLM6; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id C21221E0C3; Mon, 28 Apr 2025 18:07:21 -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 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 F36881E0C3 for ; Mon, 28 Apr 2025 18:07:20 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5BBE3385843B for ; Mon, 28 Apr 2025 22:07:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5BBE3385843B 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=yBSwrLM6 Received: from omta40.uswest2.a.cloudfilter.net (omta40.uswest2.a.cloudfilter.net [35.89.44.39]) by sourceware.org (Postfix) with ESMTPS id F35093858D26 for ; Mon, 28 Apr 2025 22:06:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F35093858D26 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 F35093858D26 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.39 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1745878005; cv=none; b=dzkr9KQdrYPVhQxVQ/LKEvpALf2MvyYb4pY58EvL7j6mdXEugFcDcxWi8vArXe4TMVWl4RMDP91cWkop+v2Pzdu9prRETNw/WLxLVGxMo+ht7QMa7+9wxan3fOib5RiAp3hLXq51/20ItQD9k2oEVPCQmgGAT9ivIVW4mERNIa8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1745878005; c=relaxed/simple; bh=42Bd9lz0XUy9u5xtSCHCa3DySWiAfB8PNwr0f/8ZGy8=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=sExHSyQiqLCRcyUJ+SAmjf647bcW+jfBPEpn0ujfo0zzXyKk4Wo4LUzUfEoW81Zic1FSskR99f3eIJ7ruEw0p0Mq1rVOOIlE17KhUQa5lcXR8Cma3DZ1i4gpId8Ne455MBNF5FioxlejIklhzq1Bh7HmfRBfJ6A5B30HWWG1B4Y= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F35093858D26 Received: from eig-obgw-6006a.ext.cloudfilter.net ([10.0.30.182]) by cmsmtp with ESMTPS id 9TB6uwtcVf1UX9WceuWmWj; Mon, 28 Apr 2025 22:06:44 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id 9WccuCMMcn3AP9Wcduz02l; Mon, 28 Apr 2025 22:06:43 +0000 X-Authority-Analysis: v=2.4 cv=AYa3HWXG c=1 sm=1 tr=0 ts=680ffbf3 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=XR8D0OoHHMoA:10 a=ItBw4LHWJt0A:10 a=20KFwNOVAAAA:8 a=_Pz7Dn7JNtsqf16GuJMA:9 a=6Ogn3jAGHLSNbaov7Orx: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=42Bd9lz0XUy9u5xtSCHCa3DySWiAfB8PNwr0f/8ZGy8=; b=yBSwrLM62wqou98PpovWt8/T3Y R6h/hjphr6rxplUmwLbj2qdbuwUhJSkvd9yDIKqS0l8HBSvALPDi13gO9ow0wlV+IG5PvwUrk8IrL S2rLF+J1IQdsD3m4z7eEkiS2h; Received: from 97-118-46-156.hlrn.qwest.net ([97.118.46.156]:35002 helo=prentzel) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.1) (envelope-from ) id 1u9Wcc-00000003qa7-1VJx; Mon, 28 Apr 2025 16:06:42 -0600 From: Tom Tromey To: Guinevere Larsen Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [PATCH v2 00/28] Search symbols via quick API In-Reply-To: (Guinevere Larsen's message of "Mon, 28 Apr 2025 11:07:34 -0300") References: <20250402-search-in-psyms-v2-0-ea91704487cb@tromey.com> X-Attribution: Tom Date: Mon, 28 Apr 2025 16:06:39 -0600 Message-ID: <87zfg0c55c.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.46.156 X-Source-L: No X-Exim-ID: 1u9Wcc-00000003qa7-1VJx X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-118-46-156.hlrn.qwest.net (prentzel) [97.118.46.156]:35002 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfEfs3O8TqODTAc6W+HGelfGkHD8PrIjpe2wWZj8W8w2UoSrdSTSNXSegxZPIkYPTnZ/aLBBqRC45/W3R4FyLtKoKN8Jhy6S195AZ14Ks+w8YDtDBbFOJ 4Z/lY2TDaLfv5wt9g5wcEMwIMbolmYPPu6935DXmGfIg/o3zijIFTf+eiooshVZD0iMJH6qXTyeDmhK7bVRv8ROKTK1EYh5TE8E= 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 >>>>> "Guinevere" == Guinevere Larsen writes: Guinevere> I am having an issue with the quick_fns interface, and while it isn't Guinevere> affected by this series directly (as I originally thought it could Guinevere> be), I would appreciate if you could share your expertise on this Guinevere> area. The TL;DR of the issue is: the quick API seems to be caching Guinevere> something and searching objfile B for a symbol can return a symbol Guinevere> with details from objfile A (that was loaded first). I tried looking Guinevere> around for where the cache could be hidden, but couldn't find it. Do Guinevere> you know if where the cache is, if it really exists? Look for symbol_cache in symtab.c. Also there's a separate cache in ada-lang.c, but this one only affects Ada. It's been a while since I looked to see if either of these are really helpful. There are also some debug settings for symbol lookup, look in symtab.c and symfile-debug.c. Tom