[PATCH 2/2] programs/winedbg: don't allocate a new console for debuggee (that's no longer needed)

Eric Pouech eric.pouech at gmail.com
Thu Dec 9 05:16:12 CST 2021


Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 programs/winedbg/tgt_active.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/programs/winedbg/tgt_active.c b/programs/winedbg/tgt_active.c
index 70ad7e8b437..2a48f9648c6 100644
--- a/programs/winedbg/tgt_active.c
+++ b/programs/winedbg/tgt_active.c
@@ -600,10 +600,7 @@ static BOOL dbg_start_debuggee(LPSTR cmdLine)
     startup.wShowWindow = (current.dwFlags & STARTF_USESHOWWINDOW) ?
         current.wShowWindow : SW_SHOWNORMAL;
 
-    /* FIXME: shouldn't need the CREATE_NEW_CONSOLE, but as usual CUIs need it
-     * while GUIs don't
-     */
-    flags = DEBUG_PROCESS | CREATE_NEW_CONSOLE;
+    flags = DEBUG_PROCESS;
     if (!DBG_IVAR(AlsoDebugProcChild)) flags |= DEBUG_ONLY_THIS_PROCESS;
 
     if (!CreateProcessA(NULL, cmdLine, NULL, NULL, FALSE, flags,




More information about the wine-devel mailing list