From: Geoff Norton Date: Sun, 1 Mar 2015 05:44:40 +0000 (-0800) Subject: Exception handling needs a full context here to restore properly X-Git-Tag: accepted/tizen/base/20180629.140029~7047^2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=454dd02d91455ef9ef059d89295115747332e32a;p=platform%2Fupstream%2Fcoreclr.git Exception handling needs a full context here to restore properly --- diff --git a/src/vm/exceptionhandling.cpp b/src/vm/exceptionhandling.cpp index 5feb07c..da1bd9a 100644 --- a/src/vm/exceptionhandling.cpp +++ b/src/vm/exceptionhandling.cpp @@ -4378,7 +4378,7 @@ VOID DECLSPEC_NORETURN DispatchManagedException(PAL_SEHException& ex) ULONG64 stackLowAddress = (ULONG64)PAL_GetStackLimit(); // TODO: is there a better way to get the first managed frame? - originalExceptionContext.ContextFlags = CONTEXT_CONTROL | CONTEXT_INTEGER; + originalExceptionContext.ContextFlags = CONTEXT_FULL; GetThread()->GetThreadContext(&originalExceptionContext); controlPc = Thread::VirtualUnwindToFirstManagedCallFrame(&originalExceptionContext);