This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Re: Section .debug_info in object file
- From: Richard Henderson <rth at redhat dot com>
- To: Elias Athanasopoulos <eathan at otenet dot gr>
- Cc: Pierre Habraken <Pierre dot Habraken at imag dot fr>, binutils at sources dot redhat dot com, gdb at sources dot redhat dot com, Richard dot Earnshaw at arm dot com
- Date: Thu, 12 Sep 2002 13:54:34 -0700
- Subject: Re: [PATCH] Re: Section .debug_info in object file
- References: <3D806189.7A45FCBA@imag.fr> <20020912220303.A1134@neutrino.particles.org>
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~