This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: A dwarf2 bug in gas?
- From: "H . J . Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com, GDB <gdb at sources dot redhat dot com>
- Date: Wed, 22 May 2002 09:46:28 -0700
- Subject: Re: A dwarf2 bug in gas?
- References: <20020522083940.A22147@lucon.org>
On Wed, May 22, 2002 at 08:39:40AM -0700, H . J . Lu wrote:
> I have a simple foo.c. gas seems to generate wrong dwarf2 debug info.
>
> # /usr/gcc-3.1/bin/gcc -g -B./ -S foo.c
> # /usr/gcc-3.1/bin/gcc -g -B./ -c foo.s
> # readelf -dw foo.o > /dev/null
> readelf: Warning: Unable to locate entry 115 in the abbreviation table
>
Never mind. I don't we can support "gcc -g -c foo.s" when foo.s is
generated by compiler.
H.J.