[fpc-devel] Calling virtual methods in GDB
Joost van der Sluis
joost at cnoc.nl
Tue Sep 27 17:58:38 CEST 2011
Hi all,
I've just committed a fix (r19253) which makes it possible to call
virtual methods within GDB. (Or other Dwarf-debuggers, when they
support that properly)
Only problem is that when GDB is in Pascal mode, it won't work. I have
written a patch for that
(http://cygwin.com/ml/gdb/2011-09/msg00072.html) or you can set GDB to
use C, and then call the virtual function.
Note however that there still could be issues regarding the
calling-convention. With a simple function returning an integer it
works, however. ;)
--
My Lazarus blog: http://www.lazarussupport.com/lazarus/weblog
More information about the fpc-devel
mailing list