WineDbg and external debugger

Eric Pouech eric.pouech at wanadoo.fr
Tue Jul 9 15:58:23 CDT 2002


since wine executable location has changed (now it's miscemu/wine), we
need to let the external debugger of winedbg (used while processing a
fault inside the debugger) to get back to the executable
A+
-------------- next part --------------
Name:          wdbg_extdbg
ChangeLog:     fixed external debugger startup
License:       X11
GenDate:       2002/07/09 20:34:18 UTC
ModifiedFiles: debugger-merge/ext_debugger.c
AddedFiles:    
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/debugger/ext_debugger.c,v
retrieving revision 1.5
diff -u -u -r1.5 ext_debugger.c
--- debugger-merge/ext_debugger.c	31 May 2002 23:06:46 -0000	1.5
+++ debugger-merge/ext_debugger.c	8 Jun 2002 07:41:21 -0000
@@ -118,7 +118,8 @@
 
     /* if not set in environment, use default */
     if (!dbg_wine_location)
-      dbg_wine_location = "wine";
+      if (!(dbg_wine_location = getenv("WINELOADER")))
+        dbg_wine_location = "miscemu/wine";
 
     /* check for empty string in WINE_DBG_NO_XTERM */
     if (dbg_no_xterm && (strlen(dbg_no_xterm) < 1))


More information about the wine-patches mailing list