ntdll: Always send a Wow context to the server for Wow64 processes.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-08-20 11:34:49 +02:00
parent 6da06c1541
commit ee99bd4bc1
1 changed files with 3 additions and 0 deletions

View File

@ -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,