Commit 8446ba04 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

Insure we always try to launch a debugger.

parent 99f3a924
...@@ -76,7 +76,7 @@ DWORD WINAPI UnhandledExceptionFilter(PEXCEPTION_POINTERS epointers) ...@@ -76,7 +76,7 @@ DWORD WINAPI UnhandledExceptionFilter(PEXCEPTION_POINTERS epointers)
char format[256]; char format[256];
char buffer[256]; char buffer[256];
HKEY hDbgConf; HKEY hDbgConf;
DWORD bAuto; DWORD bAuto = FALSE;
DWORD ret = EXCEPTION_EXECUTE_HANDLER; DWORD ret = EXCEPTION_EXECUTE_HANDLER;
/* send a last chance event to the debugger */ /* send a last chance event to the debugger */
...@@ -110,7 +110,8 @@ DWORD WINAPI UnhandledExceptionFilter(PEXCEPTION_POINTERS epointers) ...@@ -110,7 +110,8 @@ DWORD WINAPI UnhandledExceptionFilter(PEXCEPTION_POINTERS epointers)
RegCloseKey(hDbgConf); RegCloseKey(hDbgConf);
} else { } else {
format[0] = 0; /* format[0] = 0; */
strcpy(format, "winedbg %ld %ld");
} }
if (!bAuto) { if (!bAuto) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment