From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id gZaXFXN/gmllkyYAWB0awg (envelope-from ) for ; Tue, 03 Feb 2026 18:06:27 -0500 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=sQ44Kgop; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 54DFE1E0BA; Tue, 03 Feb 2026 18:06:27 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED,RDNS_NONE autolearn=no autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (unknown [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 E34161E089 for ; Tue, 03 Feb 2026 18:06:26 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 79E1E4BA2E0C for ; Tue, 3 Feb 2026 23:06:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 79E1E4BA2E0C 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=sQ44Kgop Received: from omta34.uswest2.a.cloudfilter.net (omta34.uswest2.a.cloudfilter.net [35.89.44.33]) by sourceware.org (Postfix) with ESMTPS id A8AE94BA2E16 for ; Tue, 3 Feb 2026 23:05:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A8AE94BA2E16 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 A8AE94BA2E16 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.33 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770159944; cv=none; b=OlGjSFHzTpOrF/F1B2QbI1avBlknAKcVQUZFu9XYH7jhaw1mmT1MLnZZMFyzDSJfwnulk5Nb/VBv8yqx1/GQHgjZisZZXeEirWXDaAInbQUP/Gz38KnFLxR6ZHHdEvtG1TQz07QxjVH63kD4Jpx+zZ1dqhvdMdYnhfhl0gvNBSo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770159944; c=relaxed/simple; bh=FfG6g9RpJl312DAsSD7MUXf5JaInflzRpF9UUCCyslg=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=cylHICTSiMKHhI75ZJ46fVkXI7xsnxj8Ze5FBxsq6EbGUs0q1BmydESwKH0zD3ooNWyMXeDQnjpdL6+YVldVnY0DJtWahyMjCGw83nntif7jlTVGUx+3qeYccSWEPfJFkuAVVCj8HSbsrPQ1IyKOQX66y7UNXpDGatYWDrw6jqQ= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A8AE94BA2E16 Received: from eig-obgw-5007b.ext.cloudfilter.net ([10.0.29.167]) by cmsmtp with ESMTPS id nMZAvjRoeKjfonPSpvIzaU; Tue, 03 Feb 2026 23:05:43 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id nPSovz8RIV6WMnPSpvcX6L; Tue, 03 Feb 2026 23:05:43 +0000 X-Authority-Analysis: v=2.4 cv=E//Npbdl c=1 sm=1 tr=0 ts=69827f47 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=HzLeVaNsDn8A:10 a=ItBw4LHWJt0A:10 a=dzWzf_mpAAAA:8 a=5ESr--Fx1qvxB-m-hboA:9 a=ZXulRonScM0A:10 a=b4DR9a7p2ZdsqdHBznES: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-Subscribe: List-Post:List-Owner:List-Archive; bh=pkQ2k/fE3Ugap3iDuW9YQpXrOoXN1owr0D+AFMX4WmY=; b=sQ44Kgop+fnN3TPfJZalAesUWs XV+04g9ST+i9GUxHGN9jvTdDpm/aF/yGVfv4nI/TohKBBU0TWtkzPBLCKJSbQPMrHzNhWyt4xkiDg Io7AZDXU7BAAz24We+cczTB2K; Received: from 97-118-49-200.hlrn.qwest.net ([97.118.49.200]:51474 helo=prentzel) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vnPSo-000000023eC-2cMB; Tue, 03 Feb 2026 16:05:42 -0700 From: Tom Tromey To: Simon Marchi Cc: Jan Vrany , Tom Tromey , GDB Development Subject: Re: [RFC PATCH 7/8] gdb/ctf: don't use psymtabs, create symtabs directly In-Reply-To: <98a883ca-d3c3-4cbe-822d-0dd7bfa9dd12@simark.ca> (Simon Marchi's message of "Tue, 3 Feb 2026 12:06:38 -0500") References: <2e8e28fbfa4894f3f28fe86f698406c4e880753f.camel@vrany.io> <87o6m57v46.fsf@tromey.com> <1a5011136cd40f89c01b361e18aa8d06b2f60337.camel@vrany.io> <98a883ca-d3c3-4cbe-822d-0dd7bfa9dd12@simark.ca> X-Attribution: Tom Date: Tue, 03 Feb 2026 16:05:41 -0700 Message-ID: <87bji5xwai.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.49.200 X-Source-L: No X-Exim-ID: 1vnPSo-000000023eC-2cMB X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-118-49-200.hlrn.qwest.net (prentzel) [97.118.49.200]:51474 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: MS4xfDiBQEhTis0c6OowlYE4mpMrxt5sfswY42GmeIDxQVXkdkM5WATEE+XhdRxxZxRICyxArHonrDr0/bxjvT9AS2Rh8GjqWQDyaeYDiFBI95Q65Frqc7ow WrU4Kzn6mgsj+0/dfIP0xTuDsvP7NiJy3Q+cYyyPMa7qA58RzHjsQX8+M46o0WfIppWN1c2//04ItQ== 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" >>>>> "Simon" == Simon Marchi writes: Simon> I think it would be safer for each quick_symbol_functions to search its Simon> own stuff only. What I'm thinking is that the Simon> expanded_symbols_functions can hold a vector, Simon> containing the compunit_symtabs created by this reader. The search Simon> method of expanded_symbols_functions would search those compunits. If Simon> you have both the JIT reader and the CTF reader active, then they would Simon> both push there own expanded_symbols_functions instance, with their own Simon> list of compunit_symtabs. This would be totally fine and might help us get rid of the last things that iterate over all compunits. Aside from genuine needs -- "maint" commands and relocation -- I tend to think this should not be done. Tom