[fpc-pascal] Re: SEH

Bernd Kreuss prof7bit at googlemail.com
Sun Sep 5 23:12:26 CEST 2010


On 05.09.2010 23:00, Bernd Kreuss wrote:

> the unit seh.pas contains the handler. This handler is very simple, it
> will handle all exceptions and always restore the stack to the state it
> was when the handler was installed and use the address that was pushed
> to the stack to continue execution.

There might be still something missing: Maybe the Handler should also
pull the pushed ebp out of the stack (the same way it pulls the except
address for the instruction pointer eip) and restore it or local
variables might not work anymore after __expept.



More information about the fpc-pascal mailing list