[fpc-devel] properties with getter evaluation in gdb

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Mar 15 18:19:54 CET 2010


On 15 Mar 2010, at 14:13, Flávio Etrusco wrote:

> On Mon, Mar 15, 2010 at 7:31 AM, Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
>> 
>> On 15 Mar 2010, at 11:12, Paul Ishenin wrote:
>> 
>>> 15.03.2010 17:01, Jonas Maebe wrote:
>>> 
>>>> the only problem in that respect is that without the hacky
>>>> patch mentioned earlier, GDB's Pascal parser does not support expressing
>>>> method calls.
>>> 
>>> The remaining question for me is whether you will implement that hacky
>>> patch :) ?
>> 
>> It has to be fixed first so it is no longer hacky. I don't know when I will
>> have time for that.
> 
> Is it available somewhere?

I've attached pascalmethodcall.patch. It's against gdb cvs head from June last year, so it may no longer cleanly apply (but it's pretty small, so I don't expect many problems).

However, unless you declare your methods as cdecl, you're not going to be able to call them successfully.


Jonas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pascalmethodcall.patch
Type: application/octet-stream
Size: 1583 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20100315/42b4057b/attachment.obj>


More information about the fpc-devel mailing list