On Fri, 12 Mar 2010, Paul Ishenin wrote:

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?

You mean in the gdb info only, I hope ?

Michael.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to