bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/3191] Dwarf 2 reader in linker doesn't suppor DW_FORM_ref_addr


From: hjl dot tools at gmail dot com
Subject: [Bug ld/3191] Dwarf 2 reader in linker doesn't suppor DW_FORM_ref_addr
Date: 23 Jul 2008 11:39:14 -0000

------- Additional Comments From hjl dot tools at gmail dot com  2008-07-23 
11:39 -------
(In reply to comment #36)
> Created an attachment (id=2836)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2836&action=view)
> gdb crashes because abbrev_offset is incorrect (zero)
> 
> While trying to read the DWARF info in a linked object file I encountered a 
> bug
> in the compilation unit headers: The abbrev_offset member is always zero.
> This causes the debug_info parser to interpret the attributes incorrectly and 
> I
> encounter the same symptoms in my parser as this PR describes.
> Somehow the linker does not adjust the abbrev_offset in the compilation unit
> header when it concatenates the .debug_abbrev sections of the object files.
> Unfortunatly I don't have the knowledge to point to where this should happen.
> The file org.o in the attachment causes gdb to crash. The file patched.o is 
> OK.
> 
> The Makefile in the attached archive contains more info.

Can you try Linux binutils from

http://www.kernel.org/pub/linux/devel/binutils/

and let me know if it works for you?

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=3191

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]