insight+dejagnu-20010225 internal error 206
robin.mitra@exgate.tek.com
robin.mitra@exgate.tek.com
Wed Mar 21 15:59:00 GMT 2001
Michael,
actually I was thinking in a similar direction. As it turns out, the file to
load has sections "text", "data" and "bss" but NOT
".text" ...
(with a leading period).
I changed my linker script to rename the sections to have leading periods,
and now it seems to work...
The point was, this used to work in the insight-5.0 release.
Maybe it's a feature and not a bug, I don't know.
Thx anyway
Robin
> -----Original Message-----
> From: Michael Elizabeth Chastain [ mailto:chastain@cygnus.com ]
> Sent: Thursday, March 01, 2001 7:20 PM
> To: insight@sourceware.cygnus.com; Mitra, Robin
> Cc: gdb@sourceware.cygnus.com
> Subject: RE: insight+dejagnu-20010225 internal error 206
>
>
> Robin Mitra writes:
> > $ powerpc-eabi-gdb -nw rominit.elf
> > GNU gdb 20010225
> > Copyright 2001 Free Software Foundation, Inc.
> > GDB is free software, covered by the GNU General Public
> License, and you are
> > welcome to change it and/or distribute copies of it under certain
> > conditions.
> > Type "show copying" to see the conditions.
> > There is absolutely no warranty for GDB. Type "show
> warranty" for details.
> > This GDB was configured as "--host=i686-pc-cygwin
> >
> --target=powerpc-eabi".../src/gdb/insight+dejagnu-20010225/gdb/partial
> > -stab.h:206: gdb-internal-error: sect_index_text not initialized
>
> This looks like rominit.elf has no text section and gdb is blowing it.
>
> Can you do this and report on it:
>
> readelf -a rominit.elf
>
> Also can you send the whole rominit.elf to me by private e-mail,
> and I can look into it this weekend.
>
> Michael Elizabeth Chastain
> <chastain@redhat.com>
> "love without fear"
>
More information about the Gdb
mailing list