------- Additional Comments From dje at gcc dot gnu dot org 2004-10-28 15:40 ------- The GDB 5.3 error comes from the macro
#define ANOFFSET(secoff, whichone) \ ((whichone == -1) \ ? (internal_error (__FILE__, __LINE__, "Section index is uninitialized"), -1 ) \ : secoff->offsets[whichone]) The particular internal error occurs in the function /* process one xcoff symbol. */ static struct symbol * process_xcoff_symbol (register struct coff_symbol *cs, struct objfile *objfile) { ... case C_STSYM: ... sym = define_symbol ((cs->c_value + ANOFFSET (objfile->section_offsets, static_block_section)), cs->c_name, 0, 0, objfile); The internal error means that static_block_section no longer is properly initialized after the recent dbxout.c changes. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18199