From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id NKSPKR1/gmllkyYAWB0awg (envelope-from ) for ; Tue, 03 Feb 2026 18:05:01 -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=cmGT7fTc; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 7FCC21E0BA; Tue, 03 Feb 2026 18:05:01 -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 226D01E089 for ; Tue, 03 Feb 2026 18:05:00 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 9C67B4BA2E0D for ; Tue, 3 Feb 2026 23:04:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9C67B4BA2E0D 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=cmGT7fTc Received: from omta040.useast.a.cloudfilter.net (omta040.useast.a.cloudfilter.net [44.202.169.39]) by sourceware.org (Postfix) with ESMTPS id 435054BA2E09 for ; Tue, 3 Feb 2026 23:04:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 435054BA2E09 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 435054BA2E09 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=1770159856; cv=none; b=Ac9mZuz2WQxFwnNxlziRnkg33Z9X1fLJ646cijuoG17J70nj6+eaoWnX41Fi26HEBEYlb4uFQ/dPkSiE8vdR6yVT4COSSlmwJqV9jg97+I0cPdzo7gphGe57/rtfV5EAFgp3/7V2MSmnyDm+FGaitNdjU5Dv0IST4a0XIzzNfgU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770159856; c=relaxed/simple; bh=VeBsxheC6b/uaKnQZzTx5OD4NoTGP0MgoAfRphnsqbY=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=hv43agGtnLa1HezRlOICvPAH6iX0nDK2BxGBJ+oWkAxEnDNxN4yXkBdZgKdok7SLnoKUw7rd4vCfqvCmtMD6HV3hyKigSuYApn5gwfxATcbDkfqYke8PY39WX9XnW3JCHadUucYZXFJhBQo0dknCvTOisa/fRgfqIJpCliGAdzw= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 435054BA2E09 Received: from eig-obgw-5005b.ext.cloudfilter.net ([10.0.29.189]) by cmsmtp with ESMTPS id nNZgvIKIHCxrGnPRQvG76n; Tue, 03 Feb 2026 23:04:16 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id nPROv3dtGjAxunPRPvjWVL; Tue, 03 Feb 2026 23:04:15 +0000 X-Authority-Analysis: v=2.4 cv=EoDSrTcA c=1 sm=1 tr=0 ts=69827eef a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=IkcTkHD0fZMA:10 a=HzLeVaNsDn8A:10 a=ItBw4LHWJt0A:10 a=l6H9mLAEnalHc9ub-6gA:9 a=QEXdDO2ut3YA:10 a=DCx65vhANUyCzuf5D8fC:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: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=/0F88ZoGnP8738OiLoGW7/KFcsQwXPbywPISNAts1FQ=; b=cmGT7fTcwkAt87BCfyKf80jOxB WQObPzAIw3xrUHK/PFHdhMIPcztLJ0OWLps3dkLZd/dO4NXEOuVCtrDdX1E6APwDYJH5P5jodQY2n 4N3P9EWXkho9Y44Ef1UrEJ0wz; Received: from 97-118-49-200.hlrn.qwest.net ([97.118.49.200]:42916 helo=prentzel) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vnPRO-000000020r9-398i; Tue, 03 Feb 2026 16:04:14 -0700 From: Tom Tromey To: Jan Vrany Cc: Tom Tromey , GDB Development Subject: Re: [RFC PATCH 7/8] gdb/ctf: don't use psymtabs, create symtabs directly In-Reply-To: <1a5011136cd40f89c01b361e18aa8d06b2f60337.camel@vrany.io> (Jan Vrany's message of "Tue, 03 Feb 2026 15:14:43 +0000") References: <2e8e28fbfa4894f3f28fe86f698406c4e880753f.camel@vrany.io> <87o6m57v46.fsf@tromey.com> <1a5011136cd40f89c01b361e18aa8d06b2f60337.camel@vrany.io> X-Attribution: Tom Date: Tue, 03 Feb 2026 16:04:12 -0700 Message-ID: <87fr7hxwcz.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: 1vnPRO-000000020r9-398i X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-118-49-200.hlrn.qwest.net (prentzel) [97.118.49.200]:42916 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: MS4xfJH2/iwpoE7YLY2cqIcDbMjHdqygTjtP4EWDGy0psyiGRSPlM2rablPl0qGG3rZRl10kf6NAeJmhug9T68tQr5aYlV0ExxDYyDIXMduk8TYDqIpN3Fvr UAN7Qp3jJUzNGpYr/k9jygItCZWm8GqRjNG77bFurC6IKvzltwNxGsbM7qRFWfdOpgW0xtfcUlEZug== 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" >>>>> "Jan" =3D=3D Jan Vrany writes: Jan> In case the search fails, yes. Otherwise the first implementation that Jan> finds something wins, the others are not tried. It looks to me this can Jan> be easily solved by adding each implementation only once. It depends on which method is called. For instance linespec generally tries to collect all matches, whereas type lookups tend to stop with the first (non-stub) type. Jan> As a side note, when debugging quick symbols I noticed that very often Jan> the same thing is searched for in quick succession.=20 Yeah. There's a lot of old & ugly code in there. There's a cache in symtab.c to try to speed this up. Jan> In "Python JIT API" series, I allow to add symbols any objfile, even Jan> the one with existing DWARF. To make this work, I push expanded_symbol= s_functions Jan> to the end of qf list. Whether this is a good or bad idea, I do not kn= ow - the reason=C2=A0 Jan> for this was to support an arguably extreme usecase where dynamic code= is generated=C2=A0 Jan> into statically allocated buffer or section. I'm happy to reintroduce = these checks (and Jan> therefore not supporting this usecase) if it feels "safer". I didn't look at the series yet but I think this approach will regress some recent performance improvements. Tom