ntdll: Add debug registers to the context of all exceptions.
Maintain a local cache of the debug registers to avoid server calls
where possible.
diff --git a/server/protocol.def b/server/protocol.def
index 55aef19..d3878cb 100644
--- a/server/protocol.def
+++ b/server/protocol.def
@@ -1432,6 +1432,7 @@
unsigned int flags; /* context flags */
int suspend; /* if getting context during suspend */
@REPLY
+ int self; /* was it a handle to the current thread? */
VARARG(context,context); /* thread context */
@END