since the last changes by Alexandre, the winedbg fails to load properly the debug information this is due to the fact winedbg wasn't looking for the wine wine binary at the right place (while running wine from the tree, it's now in miscemu/wine) this patch should take care of this A+
Name: dbg_info ChangeLog: fixed wine exec file location after startup modifications License: X11 GenDate: 2002/05/25 08:53:39 UTC ModifiedFiles: debugger/winedbg.c AddedFiles: =================================================================== RCS file: /home/cvs/cvsroot/wine/wine/debugger/winedbg.c,v retrieving revision 1.51 diff -u -u -r1.51 winedbg.c --- debugger/winedbg.c 11 May 2002 23:06:32 -0000 1.51 +++ debugger/winedbg.c 25 May 2002 04:52:27 -0000 @@ -735,7 +745,13 @@ } /* if it is a Windows binary, or an invalid or missing file name, * we use wine itself as the main executable */ - DEBUG_ReadExecutableDbgInfo( "wine" ); + do { + char* ptr = getenv("WINELOADER"); + + if (!ptr || DEBUG_ReadExecutableDbgInfo( ptr ) == DIL_ERROR) + DEBUG_ReadExecutableDbgInfo( "wine" ); + } while (0); + break; case EXIT_THREAD_DEBUG_EVENT: