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] Re: Section .debug_info in object file


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~


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