------- Additional Comments From drow at false dot org 2008-07-25 16:00 -------
Subject: Re: abbrev_offset in DWARF2 info is set incorrectly
(zero) by ld
On Thu, Jul 24, 2008 at 03:12:17PM -0000, nickc at redhat dot com wrote:
> The problem with GDB has two parts. Firstly the code in
> dwarf2read.c:read_partial_die that processes the DW_AT_sibiling attribute does
> not check to see if the offset is valid. This is what eventually leads to the
> seg-fault. The second problem is much bigger - GDB is not processing the
> relocs
> in the object file before attempting to interpret the debug sections and this
> is
> why it is having problems.
Current versions do this and have for a long time; search for
symfile_relocate_debug_section.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6761
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils