[fpc-pascal] Which gdb version to use?
Pierre Free Pascal
pierre at freepascal.org
Thu Dec 18 13:42:25 CET 2014
it would be useful to have a
simple source code which allows to reproduce your problem,
together with a list of the operations that lead to the assertion.
I am afraid that current trunk is not really usable with FP IDE,
because there has be a lot of changes in C structs used
that might disrupt gdbint.pp code.
But maybe I understood wrong and you are talking about
the Lazarus IDE...
> -----Message d'origine-----
> De : fpc-pascal-bounces at lists.freepascal.org [mailto:fpc-pascal-
> bounces at lists.freepascal.org] De la part de Martin Schreiber
> Envoyé : jeudi 18 décembre 2014 11:32
> À : FPC-Pascal discussions
> Objet : [fpc-pascal] Which gdb version to use?
> 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 (188.8.131.5241218-cvs) this problem is fixed
> 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."
> fixes_2_6, i386-linux).
> Thanks, Martin
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
More information about the fpc-pascal