This is the mail archive of the gdb@sourceware.cygnus.com 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]

Re: Dwarf Error: Could not find abbrev number 1.


On Sat, Mar 11, 2000 at 01:06:17PM -0800, Daniel Berlin wrote:

> You have both stabs and dwarf debug info in the same executable?

I guess so.  I have whatever arm-elf-gcc -g generates.

> (It's rhetorical, the .stab section confirms it) This is most
> likely the problem.

It turns out that removing the .stab sections makes no difference.

What fixes things is forcing the VMA/LMA of all of the .debug_*
sections to 0. (Regardless of the presence of the .stab
sections).  Perhaps this was the default behavior of the older
binutils?

-- 
Grant Edwards
grante@visi.com

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