[PATCH] Cygwin: main exception handler (64-bit): continue GCC exceptions
Corinna Vinschen
corinna-cygwin@cygwin.com
Tue Aug 18 07:45:45 GMT 2020
On Aug 17 16:44, Ken Brown via Cygwin-patches wrote:
> This is necessary in order to be consistent with the following comment
> in the definition of _Unwind_RaiseException() in the GCC source file
> libgcc/unwind-seh.c:
>
> The exception handler installed in crt0 will continue any GCC
> exception that reaches there (and isn't marked non-continuable).
>
> Previously we failed to do this and, as a consequence, the C++ runtime
> didn't call std::terminate after an unhandled exception.
>
> This fixes the problem reported here:
>
> https://sourceware.org/pipermail/cygwin/2020-August/245897.html
> ---
> winsup/cygwin/exceptions.cc | 21 +++++++++++++++++++++
> 1 file changed, 21 insertions(+)
Thanks a lot! Please push.
Corinna
More information about the Cygwin-patches
mailing list