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

> On Mon, Mar 15, 2010 at 7:31 AM, Jonas Maebe <jonas.ma...@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

Attachment: pascalmethodcall.patch
Description: Binary data

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

Reply via email to