On 14/12/2010 19:08, Martin wrote:

type
  TFoo = class
...
  PFoo = ^TFoo;

ptype Foo1
"~"type = ^TFOO = class : public TOBJECT \n""
ptype pFoo1
"~"type = ^TFOO = class : public TOBJECT \n""

Is gdb hiding something, or does FPC encode both types with the same info?


Equally it seems that (dwarf)

var Ansistring
var Char
var PChar

are all encoded as
ptype Foo1
"~"type = &Char\n""

I guess pchar, and ansistring (if passed as var param) should be &^Char ?

Martin


_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to