[fpc-devel] parentfp changed to $parentfp

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Dec 8 23:07:37 CET 2010


On 08 Dec 2010, at 22:53, Jonas Maebe wrote:

> 
> On 08 Dec 2010, at 22:32, Martin wrote:
> 
>> It seems that the name of "parentfp" (used by neted procedures) depends on the dwarf version?
>> 
>> -gs and -gw => parentfp
>> -gw3 => $parentfp
>> 
>> Is there are reason, does the $ have a meaning?
> 
> It's a bug in -gw3. "$" is an internal compiler convention for "non-programmer visible symbol".

Also, unless you are using a GDB version shipped with the latest Fedora, or built one yourself from GDB's Archer git repository, using -gw3 is only going to cause problems:
a) it's not nearly as well tested as -gw2
b) it uses a bunch of DWARF features that are not supported by regular GDB releases yet


Jonas


More information about the fpc-devel mailing list