[fpc-devel] -dTEST_WIN32_SEH

Martin Frb lazarus at mfriebe.de
Sun Apr 13 19:27:04 CEST 2014

On 13/04/2014 16:54, Sergei Gorelkin wrote:
> Since the new exception handling is compilant with "official way to do 
> it", I'd expect the debugger to be notified about exception by Windows 
> directly. But I have no idea about how gdb is compatible with that. 
> Maybe it must be configured in certain way.
> Anyway, the exception information including its original address is 
> still available when control is passed to __FPC_except_handler. This 
> handler is called twice, first time it initiates unwinding and the 
> second time restores the stack and jumps to code of "except" block.

Ok, thanks for the info.

Will see what I can find.

More information about the fpc-devel mailing list