From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 83B453858C52; Mon, 12 Feb 2024 20:28:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 83B453858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1707769696; bh=fA5AmMzJcxp/EU/1dIR9UTkmEC/UKYMuG9A/1rdQQNs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=rwQf7i4wCy/NRUKgiaXoSAwU7aNyufApz1Ssx6BwLXrqfvU0nApJjWfP2m5ZhjalJ Ksnh1cqE4GN9MjcSfnS2z8YCV+X5GEFD8ZlYPjLKL9UybcEXh99YA2pa7V6ywLL59W Y/I8UQoic1K/1ueKScDOMvdYmTOflYmkWKH9FLIs= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug symtab/31295] Slow symbol lookup due to missing DW_AT_const_value attribute Date: Mon, 12 Feb 2024 20:28:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: 14.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31295 --- Comment #13 from Tom Tromey --- BTW my simple WIP patch here also regressed the Ada pragma import/export test. I'm sympathetic to bug#25755. I was planning to propose essentially the same: a variable that is just a declaration should not show up in the index or the symtab. If this means that a variable that's in the minsyms doesn't have a type -- then we just say that's fine, since trying to cope with the missing debuginfo is expensive. The Ada test puts a wrinkle in this though. --=20 You are receiving this mail because: You are on the CC list for the bug.=