[fpc-devel] Calling virtual methods in GDB
Paul Ishenin
ip at kmiac.ru
Wed Sep 28 03:55:31 CEST 2011
28.09.2011 4:08, Jonas Maebe wrote:
>> - Exceptions => I know gdb has some features to restore the stackframe => but I have no idea, if that relies on c-style stuff, or would work with fpc exceptions too.
>
> It does not rely on anything C-specific. However, FPC's exception handling modifies global variables and there is not much gdb can do about that. The proper way to fix this (and many other issues) would be to implement FPC exception handling using DWARF EH-frame information.
I thought exceptions does not work properly because they don't use SEH
on windows and the proper way to solve the problems is to implement
compiler and RTL support for SEH.
Best regards,
Paul Ishenin.
More information about the fpc-devel
mailing list