On Mon, 2011-09-12 at 23:07 +0200, Jonas Maebe wrote: > On 12 Sep 2011, at 22:05, Joost van der Sluis wrote: > > > Does someone knows a trick how to make gdb call a method (function) from > > a class? > > It requires a patch to gdb. I'm fairly sure I already sent it to you in the > past. It was part of an, incomplete, patch set to also add support for the > Borland fastcall calling convention. The patch to add the method calling > support was a hack though.
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'll have a look at those patches again. (I still have them) Joost -- My Lazarus blog: http://www.lazarussupport.com/lazarus/weblog _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel