This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: dbxread.c:1771: internal-error: sect_index_data not initialized
- From: Michael Elizabeth Chastain <mec at shout dot net>
- To: gdb at sources dot redhat dot com, nealc at trdlnk dot com
- Date: Wed, 17 Sep 2003 13:54:55 -0400
- Subject: Re: dbxread.c:1771: internal-error: sect_index_data not initialized
neal> Before I file the bug report, look below and let me know what other
neal> information may be relevant. I'll try in the mean time to write a small
neal> program that still demonstrates the bug.
Thanks for asking!
It does not matter very much what version of gcc was used to
compile gdb. It matters much more what version of gcc was used
to compile the *test program*, because that determines the
information in the executable program which gcc actually reads.
Also the version of binutils matters (ld --version or as --version).
gdb 5.3.92 / gcc 3.2.3 is a fine configuration to file bug reports
against.
Your script excerpt is perfect for a bug report.
It helps to attach a copy of the test program executable.
In fact this is even more useful than the source code of the
test program.
Please run 'ldd' and report the shared libraries that your test
program uses in the body of the bug report.
If there is a lot of info in the bug report, you can make a directory
on your machine. Drop in your source code, executable file,
a Makefile (if you want), typescript files, README's, whatever.
Then make a tarball of that and use that for an attachment.
Thanks,
Michael C
GDB QA Guy