On 16/12/2010 09:37, Jonas Maebe wrote:
On 16 Dec 2010, at 02:12, Martin wrote:
It seems fpc trunk goes even further. with trunk and stabs, the
following is also combined
TMyShortstring = ShortString;
PMyShortstring = ^TMyShortstring;
now instead of PMyShortstring gdb says PShortstring
2.4.2 (and the same gdb) still made them differ.
I.e., in both cases FPC outputs "pointer type" (resp. '*' and
'DW_TAG_pointer_type') followed by a reference to the type the pointer
points to. This is the same in FPC 2.4.2 and in trunk. The merging
probably happens inside gdb's Stabs reader, and may depend on the
order in which the declarations appear in the debug information.
ok, thanks for the info.
interesting trunk then must write stabs in a dif order.
As I used the same source, same compiler-switches (except gs versu gw)
amd same version of gdb on the same computer. only changed the compiler.
Martin
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel