[PATCH] Re: Section .debug_info in object file
Richard Henderson
rth@redhat.com
Thu Sep 12 18:10:00 GMT 2002
On Thu, Sep 12, 2002 at 10:03:03PM +0300, Elias Athanasopoulos wrote:
> * dwarf2dbg.c (out_debug_abbrev): Add support for the DW_AT_name field.
> (out_debug_info): Likewise.
I suppose we could do something like this.
But it seems to me that this is a gdb bug. The complete file+line
mapping is available in .debug_line. What purpose does the AT_name
field of the compilation unit serve?
> + * FIXME: we only store the first source
> + * file, but we should add more records to
> + * .debug_info for each source file we assemble.
Definitely not.
r~
More information about the Binutils
mailing list