From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 726F6385841C; Fri, 21 Feb 2025 19:16:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 726F6385841C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1740165406; bh=1b3Jz3l7YjoxyNnzOg8D4nIjizkM7W+lkErXJawbWiw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hGSiZ0dcS57yo9WgBbFxzHm7MjtUxE6srSgNlccI3lY+QWTawuEXe47BXQtBrjWxU HmAqYFvw1ec4KeuNTOn/KHYuy80G7jWTGc6/cwB3D0GPd7cTkAoV1ZFEDjli9BAEIc OaXQp/xZ5u99Z8DK8CU7ebhTK2M+/fdzIyMH64uo= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug symtab/32658] GDB sometimes fails parsing debug information Date: Fri, 21 Feb 2025 19:16:46 +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: 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=3D32658 --- Comment #1 from Tom Tromey --- I'm not sure I can readily run this, unless you have some kind of qemu recipe I can follow. Anyway turning on complaints and -readnow says some stuff: During symbol reading: in /tmp/test-gdb.elf, DIE 0xc, DW_AT_entry_pc (0x0) outside block range (0x80010064 -> 0x80011888) During symbol reading: .debug_rnglists entry has start address of zero [in module /tmp/test-gdb.elf] During symbol reading: .debug_line address at offset 0x25d3 is 0 [in module /tmp/test-gdb.elf] During symbol reading: cannot get low and high bounds for subprogram DIE at 0x1a9d0 These are suggestive but I'm not really sure they are the bug. Reading the DWARF seems to be fine. I'd suspect maybe something with the line tables or blockvector. --=20 You are receiving this mail because: You are on the CC list for the bug.=