server: Don't return debug registers unless explicitly requested.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2017-09-18 15:50:16 +02:00
parent 20d13d0b78
commit cb7f04ce6f
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}