[fpc-devel] properties with getter evaluation in gdb

Paul Ishenin ip at kmiac.ru
Fri Mar 12 02:44:51 CET 2010


Hello, FPC developers' list.

I know at the moment we have the next problems which cause subj don't work:

1. gdb does not supports borland fastcall calling convention (delphi 
calls it register though)
2. fpc does not write debug info for properties with getters because of 
point 1.

Let's see what properties getters we can have:
1. Majority of them are
   function GetSomething: SomeType;
2. Others are:
   function GetSomethingWithIndex(const Index1, ..., IndexN: SomeType): 
SomeType;

Looking at first type of functions I see that there are no arguments 
passed to the function. So maybe these functions could be marked with 
some other calling convention which is similar to fastcall regards 
result return? Maybe 'pascal' or 'stdcall' could be used for such functions?

--
Best regards,
Paul Ishenin.




More information about the fpc-devel mailing list