improved exception handling
merged all module handling code in new module.c file
reenabled 'walk module' and 'info module' commands
added ability to drive break on thread startup
diff --git a/debugger/dbg.y b/debugger/dbg.y
index f4c3899..1ed882b 100644
--- a/debugger/dbg.y
+++ b/debugger/dbg.y
@@ -398,8 +398,9 @@
else fprintf(stderr,"Invalid mode (use 16 or 32)\n");
}
-static WINE_EXCEPTION_FILTER(wine_dbg)
+static WINE_EXCEPTION_FILTER(wine_dbg_cmd)
{
+ fprintf(stderr, "\nwine_dbg_cmd: ");
switch (GetExceptionCode()) {
case DEBUG_STATUS_INTERNAL_ERROR:
fprintf(stderr, "WineDbg internal error\n");
@@ -537,7 +538,7 @@
if ((ret_ok = DEBUG_ValidateRegisters()))
ret_ok = DEBUG_READ_MEM_VERBOSE((void*)DEBUG_ToLinear( &addr ), &ch, 1 );
}
- __EXCEPT(wine_dbg)
+ __EXCEPT(wine_dbg_cmd)
{
ret_ok = 0;
}