Debugger is now called by exception handling.
Added 'pass' command to pass exceptions to the app.

diff --git a/miscemu/main.c b/miscemu/main.c
index 953af4d..c95d852 100644
--- a/miscemu/main.c
+++ b/miscemu/main.c
@@ -17,6 +17,7 @@
 #include "thread.h"
 #include "task.h"
 #include "stackframe.h"
+#include "wine/exception.h"
 #include "debug.h"
 
 static int MAIN_argc;
@@ -139,10 +140,8 @@
     if (!MAIN_WineInit( &argc, argv )) return 1;
     MAIN_argc = argc; MAIN_argv = argv;
 
-    /* Set up debugger/instruction emulation callback routines */
-    ctx_debug_call		= ctx_debug;
-    fnWINE_Debugger		= wine_debug;
-    fnINSTR_EmulateInstruction	= INSTR_EmulateInstruction;
+    /* Set up debugger hook */
+    EXC_SetDebugEventHook( wine_debugger );
 
     if (Options.debug) 
         TASK_AddTaskEntryBreakpoint = DEBUG_AddTaskEntryBreakpoint;