Alexandre Julliard : ntdll: Always send a Wow context to the server for Wow64 processes.
Alexandre Julliard
julliard at winehq.org
Fri Aug 20 16:12:55 CDT 2021
Module: wine
Branch: master
Commit: ee99bd4bc1b7ef4c18d5254a76d72d3bd38f41e8
URL: https://source.winehq.org/git/wine.git/?a=commit;h=ee99bd4bc1b7ef4c18d5254a76d72d3bd38f41e8
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Aug 20 11:34:49 2021 +0200
ntdll: Always send a Wow context to the server for Wow64 processes.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/unix/thread.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dlls/ntdll/unix/thread.c b/dlls/ntdll/unix/thread.c
index e47dfc645a2..e88a935ca31 100644
--- a/dlls/ntdll/unix/thread.c
+++ b/dlls/ntdll/unix/thread.c
@@ -1025,6 +1025,9 @@ static void contexts_to_server( context_t server_contexts[2], CONTEXT *context )
context_to_server( &server_contexts[count++], native_machine, native_context, native_machine );
if (wow_context) context_to_server( &server_contexts[count++], main_image_info.Machine,
wow_context, main_image_info.Machine );
+ else if (native_machine != main_image_info.Machine)
+ context_to_server( &server_contexts[count++], main_image_info.Machine,
+ native_context, native_machine );
}
else
context_to_server( &server_contexts[count++], native_machine,
More information about the wine-cvs
mailing list