An other interesting part of debug info (2.4.2 and trunk)

If I define a variable
var
  Foo: ^TFoo;

then if no type "xxx=^TFoo" exists, both stabs and dwarf will write debug info that contains "^TFoo"
 (tested with ptype, and "maint print type")

But if a Type PFoo=^TFoo exists, then stabs will replace the debug info and use PFoo.
dwarf still does ^TFoo

It is of course possible that the debugger goes a long way in finding the matching info, but even the raw output of gdbs internals have the substitute....

Martin

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

Reply via email to