Mystified by "Internal error: pc 0x89f21e10 read in psymtab, but not in symtab

Earl Chew
2002-09-13T21:42:31Z

I just stabilised a mips-vxworks (ELF) cross-debugger using gdb-5.0, and
rolled forward to gdb-5.2.1. Gdb-5.0 seems to work ok. But
I amazed to see 5.2.1 issue thousands of:

warning: (Internal error: pc 0x89f21e10 in read in psymtab, but not
in symtab.)

messages. I look at 0x89f21e10 in the VxWorks shell, and it
says:

-> l 0x89f21e10
testRanking(int,const char*)
0x89f21e10 ... etc ...

So this address contains the first instruction of a function.

Does anyone know why gdb is issuing this warning, and why 5.0 was
ok with it?

Earl