From 8446ba04ab18097aa6c45ee3674f9a63de448907 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Sun, 30 Apr 2000 12:20:31 +0000 Subject: [PATCH] Insure we always try to launch a debugger. --- win32/except.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/win32/except.c b/win32/except.c index 3bf9e629d90..31966b3986a 100644 --- a/win32/except.c +++ b/win32/except.c @@ -76,7 +76,7 @@ DWORD WINAPI UnhandledExceptionFilter(PEXCEPTION_POINTERS epointers) char format[256]; char buffer[256]; HKEY hDbgConf; - DWORD bAuto; + DWORD bAuto = FALSE; DWORD ret = EXCEPTION_EXECUTE_HANDLER; /* send a last chance event to the debugger */ @@ -110,7 +110,8 @@ DWORD WINAPI UnhandledExceptionFilter(PEXCEPTION_POINTERS epointers) RegCloseKey(hDbgConf); } else { - format[0] = 0; + /* format[0] = 0; */ + strcpy(format, "winedbg %ld %ld"); } if (!bAuto) { -- 2.11.4.GIT