This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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: Dwarf Error: Could not find abbrev number 1


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


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