[Lazarus] GDB output warnings of internal errors

Martin Frb lazarus at mfriebe.de
Mon Jun 29 13:48:50 CEST 2015

On 29/06/2015 09:59, Graeme Geldenhuys wrote:
> Hi,
> Is the following "internal errors" normal output for GDB? I'm using
> FreeBSD 10.1 64-bit with GDB v7.81
> (gdb)
> <-exec-continue>
> &"warning: (Internal error: pc 0x58df30 in read in psymtab, but not in
> symtab.)\n"
> &"\n"
> ^running
> *running,thread-id="all"
> (gdb)
> =library-loaded,id="/usr/lib/i18n/libiconv_std.so.4",target-name="/usr/lib/i18n/libiconv_std.so.4",host-name="/usr/lib/i18n/libiconv_std.so.4",symbols-loaded="0",thread-group="i1"
> &"warning: (Internal error: pc 0x59f588 in read in psymtab, but not in
> symtab.)\n"
No idea if they are "normal".

But since many of them happen during library loading, I would try the 
following setting: 
This will tell gdb to ignore libraries.

If it happens outside of libraries too, then try stabs vs dwarf. And 
ensure *all* packages (that is all packages that have debug info) have 
the same stabs or dwarf setting.

More information about the Lazarus mailing list