ntdll: Fix unwinding from leaf function on x86_64.
Signed-off-by: Derek Lesho <dereklesho52@Gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
897b1f5cc3
commit
3d0cf846f9
|
@ -4232,7 +4232,7 @@ void WINAPI RtlUnwindEx( PVOID end_frame, PVOID target_ip, EXCEPTION_RECORD *rec
|
|||
|
||||
new_context.Rip = *(ULONG64 *)context->Rsp;
|
||||
new_context.Rsp = context->Rsp + sizeof(ULONG64);
|
||||
dispatch.EstablisherFrame = new_context.Rsp;
|
||||
dispatch.EstablisherFrame = context->Rsp;
|
||||
dispatch.LanguageHandler = NULL;
|
||||
|
||||
unwind_done:
|
||||
|
|
Loading…
Reference in New Issue