[fpc-pascal] Which gdb version to use?

Martin Schreiber mse00000 at gmail.com
Thu Dec 18 11:32:23 CET 2014


Hi,

Since some versions gdb crashes with FPC programs if the "print" command is 
called with a query of pointer to not existing record fields for example, it 
triggers an assertion error. That makes gdb completely useless for use in IDE 
watch windows.
In gdb current git master (7.8.50.20141218-cvs) this problem is fixed but 
class fields are not known to gdb anymore, "print ftag" in a tcomponent 
descendant returns "Type TMAINFO has no component named ftag." with -g 
and -gw, with -gw3 it returns "No symbol "ftag" in current context." (FPC 
fixes_2_6, i386-linux).

Suggestions?

Thanks, Martin



More information about the fpc-pascal mailing list