[fpc-devel] Calling methods from within gdb
Jonas Maebe
jonas.maebe at elis.ugent.be
Mon Sep 12 23:07:55 CEST 2011
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 don't have those patches anymore because they were on a laptop that was stolen last year, but they may still be somewhere in my mail archive (I think I also sent them to Pierre once). I can only search for them in my mail tomorrow though (after having two laptops stolen, I've stopped allowing my mail client to cache my entire IMAP account locally; I'm not interested in the overhead of whole disk or home directory encryption).
Jonas
More information about the fpc-devel
mailing list