server: Don't return debug registers unless explicitly requested.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
20d13d0b78
commit
cb7f04ce6f
|
@ -1653,7 +1653,7 @@ DECL_HANDLER(get_thread_context)
|
|||
memset( context, 0, sizeof(context_t) );
|
||||
context->cpu = thread->process->cpu;
|
||||
if (thread->context) copy_context( context, thread->context, req->flags & ~flags );
|
||||
if (flags) get_thread_context( thread, context, flags );
|
||||
if (req->flags & flags) get_thread_context( thread, context, req->flags & flags );
|
||||
}
|
||||
release_object( thread );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue