Dwarf Error: Could not find abbrev number 1.

Grant Edwards grante@visi.com
Sat Mar 11 13:22:00 GMT 2000


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


More information about the Gdb mailing list