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 _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
