[fpc-devel] debug info for ^TObject vs just TObject

Martin fpc at mfriebe.de
Thu Dec 16 00:06:40 CET 2010


On 15/12/2010 22:48, Jonas Maebe wrote:
>
> (gdb) ptype FOO1
> type = class TFOO : public TOBJECT {
>    public:
>      LONGINT FOOVALUE;
> } *
> (gdb) ptype PFOO1
> type = class TFOO : public TOBJECT {
>    public:
>      LONGINT FOOVALUE;
> } **
>
> (see the '*' and '**')
>
Thanks,

yeah i looked at the internals (gdb "maint print type") and they are 
indeed different.
It's gdb, gdb only show one "^" OR "&" at a time => never mind how many 
lvls of pointer there are.

gdb is real fun..... ;)

Martin





More information about the fpc-devel mailing list