From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4E7E23858D33; Mon, 24 Feb 2025 12:28:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4E7E23858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1740400129; bh=QsF7VH8NNOQQ7DkPzH+HmTunrDvpZnQv+Fwt7RabErE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=s72VMafc2q/IBBB30PfjQMs2Pm3yTnFRQwK9ll2gPFNyCKQ9/aew1AdCf07qsEv4D tEmcJGW9KeaXnyMaFgn+iSefMURr6deuDIVuqFLnZom6L5I7X5gbxUET9iZyxZJ3H4 4gspvcKiQJXcQ/i4ewtZvWaAzX1jEfq8a5t//NPg= From: "qqxnjvamvxwx at dyxyl dot com" To: gdb-prs@sourceware.org Subject: [Bug symtab/32658] GDB sometimes fails parsing debug information Date: Mon, 24 Feb 2025 12:28:47 +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: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: qqxnjvamvxwx at dyxyl dot com 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: cc attachments.created 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=3D32658 Martin Simmons changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |qqxnjvamvxwx at dyxyl dot = com --- Comment #3 from Martin Simmons --- Created attachment 15974 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D15974&action=3Ded= it Patch to make arange parsing work with signed addresses The new DWARF indexer parses the .debug_aranges section for line number information (it looks like previously line number information was read from some other section). The problem is that the parser doesn't sign extend the addresses on 32-bit MIPS, which prevents them from matching during the lookup. It would work w= ith addresses less than 2^31. The attached gdb-signed-aranges.patch fixes the problem with test-gdb.elf at least. --=20 You are receiving this mail because: You are on the CC list for the bug.=