This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] inconsistent DWARF2 sections generated by --gdwarf2


On Mon, Nov 15, 2004 at 11:27:13AM -0800, Bob Wilson wrote:
> probably harmless for GDB, but it breaks readelf, which expects a 
> one-to-one correspondence between .debug_info and .debug_line sections.  

I would say that this is a readelf bug.  The only reason that readelf
needs .debug_info when dumping .debug_line is to find the size of
addresses.  readelf could guess that some other way.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]