Commit cb7f04ce authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 20d13d0b
......@@ -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 );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment