[fpc-devel] Calling methods from within gdb

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Sep 13 14:22:08 CEST 2011


On 13 Sep 2011, at 13:46, Joost van der Sluis wrote:

> I think I have that patch applied. Calling functions in itself does
> work, even when they use Borland fastcall. The problem is that it does
> not work for a method, this inside a class.

I've found the patch again: http://www.hu.freepascal.org/lists/fpc-devel/2010-March/019626.html

There's also another patch, which makes sure that the calling  
convention is properly set for method calls: http://sourceware.org/ml/gdb-patches/2009-04/msg00110.html


Jonas




More information about the fpc-devel mailing list