ntdll: Receive debug registers from server on x86_64.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
897ac569c8
commit
7c468f8eca
|
@ -830,9 +830,11 @@ NTSTATUS WINAPI NtGetContextThread( HANDLE handle, CONTEXT *context )
|
|||
DWORD needed_flags = context->ContextFlags;
|
||||
BOOL self = (handle == GetCurrentThread());
|
||||
|
||||
/* on i386/amd64 debug registers always require a server call */
|
||||
#ifdef __i386__
|
||||
/* on i386 debug registers always require a server call */
|
||||
if (context->ContextFlags & (CONTEXT_DEBUG_REGISTERS & ~CONTEXT_i386)) self = FALSE;
|
||||
#elif defined(__x86_64__)
|
||||
if (context->ContextFlags & (CONTEXT_DEBUG_REGISTERS & ~CONTEXT_AMD64)) self = FALSE;
|
||||
#endif
|
||||
|
||||
if (!self)
|
||||
|
|
Loading…
Reference in New Issue