This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] inconsistent DWARF2 sections generated by --gdwarf2
On Thu, Nov 18, 2004 at 09:22:37AM +0000, Nick Clifton wrote:
> >But that's the other way around, .debug_info references .debug_line. In
> >this case we have .debug_line with no .debug_info, which should be OK.
>
> Does that make sense though ? A .debug_line compilation unit which does
> not correspond to any .debug_info compilation unit ? What lines would
> it be describing ? Why would these lines exist without any debug info ?
.debug_line by itself gives you a mapping between addresses and source
file line numbers. That might be all a tool needs.
--
Alan Modra
IBM OzLabs - Linux Technology Centre