This is the mail archive of the
mailing list for the GDB project.
RE: insight+dejagnu-20010225 internal error 206
- To: insight at sourceware dot cygnus dot com
- Subject: RE: insight+dejagnu-20010225 internal error 206
- From: robin dot mitra at exgate dot tek dot com
- Date: Fri, 2 Mar 2001 14:44:49 +0100
- Cc: gdb at sourceware dot cygnus dot com
actually I was thinking in a similar direction. As it turns out, the file to
load has sections "text", "data" and "bss" but NOT
(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.
> -----Original Message-----
> From: Michael Elizabeth Chastain [mailto:firstname.lastname@example.org]
> Sent: Thursday, March 01, 2001 7:20 PM
> To: email@example.com; Mitra, Robin
> Cc: firstname.lastname@example.org
> 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
> > -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
> "love without fear"