From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5D69B3858C50; Mon, 27 Mar 2023 09:19:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5D69B3858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1679908772; bh=6GGoslSBlzIYYbOFhTIkd6ZKwL4/Ze+MQFKgokQf9UE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=xQg0gfk9wUpbzpEnaqogA7ePFlGHOUttGLK/rG2zQgCZP8KkijXQUm5CJNBwVaVUR m2MA8Y4aQBjKAHyvm+PxdUt0QMfDhrF8gKApkgJm7tbJlpsp27gT8n2xjrHUMS5zrW Rcm/+lGbkAkxt4zj/5lEMKdQ4iGgSFarfTAI4uQo= From: "nickc at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug win32/18027] dwarf2 debug info after rebasing DLLs unusable Date: Mon, 27 Mar 2023 09:19:30 +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: nickc at redhat dot com 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: cc 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 Nick Clifton changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nickc at redhat dot com --- Comment #19 from Nick Clifton --- (In reply to Corinna Vinschen from comment #18) > what do you think about Tom's idea in comment 14? To be honest, I do not get what Tom is suggesting. :-( What is that coffre= ad.c should be detecting and then doing ? > Would it be possible to add something like that? > Maybe like I suggest in comment 16? It certainly should be possible for the linker to add an extra section. Th= ere is already a precedence for this, for example when it creates the .reloc section. In fact it may even be possible to create the section and its contents using the default linker script, so that there is no need to change the linker at all= .=20 For example adding (untested): .debug_pe_defaddr 0 { .long DLLMain } Cheers Nick PS. I assume that the rebase program cannot update the addresses in the de= bug information itself ? PPS. Would the __pei386_runtime_relocator symbol be of any use in addressing this problem ? --=20 You are receiving this mail because: You are on the CC list for the bug.=