ntdll: Clear CONTEXT_XSTATE flag in RtlUnwindEx().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49749 Signed-off-by: Paul Gofman <pgofman@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3803997349
commit
8aa370e991
|
@ -1244,7 +1244,9 @@ void WINAPI RtlUnwindEx( PVOID end_frame, PVOID target_ip, EXCEPTION_RECORD *rec
|
||||||
{
|
{
|
||||||
ULONG64 frame;
|
ULONG64 frame;
|
||||||
|
|
||||||
*context = new_context = *dispatch.ContextRecord;
|
new_context = *dispatch.ContextRecord;
|
||||||
|
new_context.ContextFlags &= ~0x40;
|
||||||
|
*context = new_context;
|
||||||
dispatch.ContextRecord = context;
|
dispatch.ContextRecord = context;
|
||||||
RtlVirtualUnwind( UNW_FLAG_NHANDLER, dispatch.ImageBase,
|
RtlVirtualUnwind( UNW_FLAG_NHANDLER, dispatch.ImageBase,
|
||||||
dispatch.ControlPc, dispatch.FunctionEntry,
|
dispatch.ControlPc, dispatch.FunctionEntry,
|
||||||
|
@ -1267,7 +1269,9 @@ void WINAPI RtlUnwindEx( PVOID end_frame, PVOID target_ip, EXCEPTION_RECORD *rec
|
||||||
|
|
||||||
teb_frame = __wine_pop_frame( teb_frame );
|
teb_frame = __wine_pop_frame( teb_frame );
|
||||||
|
|
||||||
*context = new_context = *dispatch.ContextRecord;
|
new_context = *dispatch.ContextRecord;
|
||||||
|
new_context.ContextFlags &= ~0x40;
|
||||||
|
*context = new_context;
|
||||||
dispatch.ContextRecord = context;
|
dispatch.ContextRecord = context;
|
||||||
RtlVirtualUnwind( UNW_FLAG_NHANDLER, dispatch.ImageBase,
|
RtlVirtualUnwind( UNW_FLAG_NHANDLER, dispatch.ImageBase,
|
||||||
dispatch.ControlPc, dispatch.FunctionEntry,
|
dispatch.ControlPc, dispatch.FunctionEntry,
|
||||||
|
|
Loading…
Reference in New Issue