diff options
-rw-r--r-- | winsup/cygwin/exceptions.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index a9b378133..0aaeee52f 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -1867,6 +1867,7 @@ setcontext (const ucontext_t *ucp) { PCONTEXT ctx = (PCONTEXT) &ucp->uc_mcontext; _my_tls.sigmask = ucp->uc_sigmask; + _my_tls.incyg = true; #ifdef __x86_64__ /* Apparently a call to NtContinue works on 64 bit as well, but using RtlRestoreContext is the blessed way. */ |