[Bug win32/18027] dwarf2 debug info after rebasing DLLs unusable

tromey at sourceware dot org sourceware-bugzilla@sourceware.org
Fri Apr 21 16:38:19 GMT 2023


https://sourceware.org/bugzilla/show_bug.cgi?id=18027

--- Comment #26 from Tom Tromey <tromey at sourceware dot org> ---
(In reply to Corinna Vinschen from comment #24)

> I'm attaching a simple x86_64 DLL with a single function called foo().
> 
> I built it with the extra .debug_pe_defaddr section and the original
> __image_base__ value is 0x4b10c0000.  I rebased the DLL to 0x300000000.
> I also inspected the debug_pe_defaddr section and it contains the
> 64 bit value 0x4b10c0000.

I finally got back to looking at this.

I don't see 'foo' in there:

murgatroyd. nm dll.dll | grep foo
murgatroyd. objdump -Wi ./dll.dll | grep foo
murgatroyd. 

I'm not super sure how to test this (not done with a patch but close).
I may have to ask you to.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list