Added current context to the exception debug event sent to the server.
diff --git a/include/process.h b/include/process.h
index 05ce076..9e37020 100644
--- a/include/process.h
+++ b/include/process.h
@@ -166,7 +166,7 @@
extern void PROCESS_WalkProcess( void );
/* scheduler/debugger.c */
-extern DWORD DEBUG_SendExceptionEvent( EXCEPTION_RECORD *rec, BOOL first_chance );
+extern DWORD DEBUG_SendExceptionEvent( EXCEPTION_RECORD *rec, BOOL first_chance, CONTEXT *ctx );
extern DWORD DEBUG_SendCreateProcessEvent( HFILE file, HMODULE module, void *entry );
extern DWORD DEBUG_SendCreateThreadEvent( void *entry );
extern DWORD DEBUG_SendLoadDLLEvent( HFILE file, HMODULE module, LPSTR *name );
diff --git a/include/server.h b/include/server.h
index f187ae5..7860e06 100644
--- a/include/server.h
+++ b/include/server.h
@@ -9,7 +9,7 @@
#include <stdlib.h>
#include <time.h>
-#include "windef.h"
+#include "winbase.h"
/* Request structures */
@@ -734,6 +734,7 @@
int nb_params; /* exceptions parameters */
int params[15];
int first_chance; /* first chance to handle it? */
+ CONTEXT context; /* thread context */
};
struct debug_event_create_thread
{