[fpc-devel] stabs replaces ^byte to PByte, but only if PByte exists
fpc at mfriebe.de
Thu Dec 16 17:01:10 CET 2010
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.
More information about the fpc-devel