From mboxrd@z Thu Jan 1 00:00:00 1970 From: robin.mitra@exgate.tek.com To: insight@sourceware.cygnus.com Cc: gdb@sourceware.cygnus.com Subject: RE: insight+dejagnu-20010225 internal error 206 Date: Fri, 02 Mar 2001 05:45:00 -0000 Message-id: <95547A15307AD111BB0B00A0C96CE83002565208@db1.smdr.net> X-SW-Source: 2001-q1/msg00281.html 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 > > "love without fear" >