BreakOnDllLoad crashes Wine

Eric Pouech eric.pouech at wanadoo.fr
Wed Aug 28 12:38:03 CDT 2002


> Has anyone else had this problem?
same here. a dirty hacked fix is attached.
I'll post later on a decent fix to this pb

A+
-------------- next part --------------
Index: debugger/winedbg.c
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/debugger/winedbg.c,v
retrieving revision 1.64
diff -u -r1.64 winedbg.c
--- debugger/winedbg.c	2 Aug 2002 19:00:53 -0000	1.64
+++ debugger/winedbg.c	28 Aug 2002 17:33:20 -0000
@@ -600,7 +600,8 @@
             if (!DBG_IVAR(BreakOnAttach)) break;
         }
 
-        DEBUG_context.ContextFlags =  CONTEXT_CONTROL
+    handle_execpt:
+        DEBUG_context.ContextFlags = CONTEXT_CONTROL
                                     | CONTEXT_INTEGER
 #ifdef CONTEXT_SEGMENTS
                                     | CONTEXT_SEGMENTS
@@ -764,6 +765,7 @@
         {
             DEBUG_Printf(DBG_CHN_MESG, "Stopping on DLL %s loading at %08lx\n",
                          buffer, (unsigned long)de->u.LoadDll.lpBaseOfDll);
+            goto handle_execpt;
             ret = TRUE;
         }
         break;


More information about the wine-devel mailing list