[fpc-devel] properties with getter evaluation in gdb
Michael Van Canneyt
michael at freepascal.org
Fri Mar 12 09:11:12 CET 2010
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.
More information about the fpc-devel
mailing list