From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3227A3858C83; Wed, 11 Jan 2023 20:54:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3227A3858C83 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673470467; bh=7QZjA7fBi1ekEGqY0lMvkKi+1rjVo7pcbT3dnwDlx7Q=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Unqj11Cn3lEihEIQmmnR+S54ea7w+G4QJNV+Q4LFlII93Fl4Y5e3wK9q1zD/kUqDn mVIcpgyXU69R7tkcOaxnY/+Tu4pSkEua7PIM5gAx6S/o8Vi34H/tsk9xfoJ729wNDM f2aiBduc3Iq0ljS4aWePqmSto2AyzCCdQpt+zShc= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug gdb/29967] Issue with line number information after symbols read from elf Date: Wed, 11 Jan 2023 20:54:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 10.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=3D29967 --- Comment #4 from Tom Tromey --- The problem here is that while the DWARF may be correct, it's also the case that this mimics the output of a common failure case -- when section GC is used and a function is deleted. What you'd have to do is try a patch and then make sure it doesn't regress that case as well. So maybe it would have to be a bit smarter, I'm not sure. I don't recall offhand if there's a test case for the section GC scenario in the gdb test suite. That would also be good. --=20 You are receiving this mail because: You are on the CC list for the bug.=