This is the mail archive of the
mailing list for the GDB project.
Re: Error "found in psymtab but not in symtab"
Indira <firstname.lastname@example.org> writes:
> In what cases gdb gives this error "Internal: global symbol `abc'
> found in ../xyz.c psymtab but not in symtab."
This message indicates that GDB has a bug. First, please make sure
you are using the very latest GDB; see http://sourceware.org/gdb/current/.
If that version of GDB still prints this message, then if you can give
us instructions to make the bug happen on our own machines, we can fix
If you're curious, 'psymtabs' are 'partial symbol tables':
(relatively) small structures that act as an index for the full symbol
table information. GDB reads the full symbol table information only
as needed. The message indicates that the psymtabs suggested that
full details for the symbol 'abc' would be found by reading the full
symbol information for 'xyz.c', but GDB didn't actually find them
there --- the psymtabs were wrong.