winedbg fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



this patch fixes a regression I introduced a few days ago... it can be
worth reading the comments some times
A+
Name:          wdbg_intvar
ChangeLog:     fixed regression on internal vars
License:       X11
GenDate:       2002/07/29 20:14:51 UTC
ModifiedFiles: debugger/winedbg.c
AddedFiles:    
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/debugger/winedbg.c,v
retrieving revision 1.60
diff -u -u -r1.60 winedbg.c
--- debugger/winedbg.c	20 Jul 2002 20:29:09 -0000	1.60
+++ debugger/winedbg.c	29 Jul 2002 20:01:45 -0000
@@ -988,6 +989,10 @@
     DWORD	retv = 0;
     unsigned    gdb_flags = 0;
 
+    /* Initialize the type handling stuff. */
+    DEBUG_InitTypes();
+    DEBUG_InitCVDataTypes();
+
     /* Initialize internal vars (types must have been initialized before) */
     if (!DEBUG_IntVarsRW(TRUE)) return -1;
 
@@ -1102,10 +1107,6 @@
     /* don't save local vars in gdb mode */
     if (local_mode == gdb_mode && DEBUG_CurrPid)
         return DEBUG_GdbRemote(gdb_flags);
-
-    /* Initialize the type handling stuff. */
-    DEBUG_InitTypes();
-    DEBUG_InitCVDataTypes();
 
     DEBUG_InitConsole();
 

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux