This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: Dwarf Error: Could not find abbrev number 1.
Grant Edwards <grante@visi.com> writes:
How old is the old binutils?
There seem to be some LMA related changes to ld from 02-16-99, that
would have affected arm-elf.
--Dan
> 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?