This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Dwarf Error: Could not find abbrev number 1
- From: Daniel Jacobowitz <drow at false dot org>
- To: Stephane Lambert <stephane dot lambert at cortus dot com>
- Cc: gdb at sourceware dot org
- Date: Mon, 19 May 2008 08:32:45 -0400
- Subject: Re: Dwarf Error: Could not find abbrev number 1
- References: <48314281.100@cortus.com>
On Mon, May 19, 2008 at 11:04:01AM +0200, Stephane Lambert wrote:
> Hello all,
> I'm porting uclinux on the Cortus Aps3 Processor. Now I've compiled
> correcty with the -g compilation option to obtain debugging information.
> However, when I run the vmlinux executable under GDB, it generates a DWARF
> error (see below). I've of course add the DWARF2 section in vmlinux.lds.S.
> After investigations, it seems that it is the Debug_info of the executable
> which is corrupted.
> I need to fix this error because actually I can't load the vmlinux
> symbols table in GDB, so I can't set breakpoints or watchpoints.
> How can I fix this error ?
It looks like this toolchain uses --emit-relocs by default. If that's
so, does the change in this message help?
http://sourceware.org/ml/gdb/2007-03/msg00150.html
--
Daniel Jacobowitz
CodeSourcery