From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8ACB4383FBAC; Mon, 13 Feb 2023 19:23:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8ACB4383FBAC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1676316203; bh=CQROVNLTtLL4iZNzcvXSHvFpMHh0Yf7XT2VGTJfBfR4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=dGZXXNXdpnjKt12vgYBCmHI9idHHB1O1kuF75jZT3PfoEfKrqO8b4oMn3fBeT8c5b YRoyry1jO/m64mg2kaqpyO4+7j5OBROAMfvZerLyLn9lwXzz5j3aQJS0+K55EiLuMy Bsh3sNQLlv9lHM8HhmdFB+p17mBIhtCw2wNcKMpQ= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug win32/18027] dwarf2 debug info after rebasing DLLs unusable Date: Mon, 13 Feb 2023 19:23:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: win32 X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: NEW 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=3D18027 --- Comment #8 from Tom Tromey --- > I'm pretty sure the problem is that the dwarf2 debug info contains > absolute addresses which don't match the load address of the DLL after > rebase. Ok... so if I'm understanding correctly, this might not completely be a gdb bug, since what's happening is that the DLL is rebased but some addresses in the DWARF are not updated. However, maybe gdb could work around this some way, if we had a way to determine the original base? Like, for DWARF symbols, gdb could do ADDR - ORIG + NEW to compute the address? My apologies if this is misguided, I'm still not sure I understand what is going on. --=20 You are receiving this mail because: You are on the CC list for the bug.=