On 28 Sep 2011, at 03:55, Paul Ishenin wrote:

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.

That's indeed the Windows-specific version of EH-frame based exception handling. I should have written "EH-frame" instead of "DWARF EH-frame".


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to