Commit 28dc896b authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winedbg: Fixed the auto mode.

parent 85230942
......@@ -204,7 +204,7 @@ void info_win32_module(DWORD base)
int i, j, num_printed = 0;
DWORD opt;
if (!dbg_curr_process || !dbg_curr_thread)
if (!dbg_curr_process)
{
dbg_printf("Cannot get info on module while no process is loaded\n");
return;
......
......@@ -927,6 +927,9 @@ enum dbg_start dbg_active_auto(int argc, char* argv[])
else return start_error_parse;
if (hFile == INVALID_HANDLE_VALUE) return start_error_parse;
if (dbg_curr_process->active_debuggee)
dbg_active_wait_for_first_exception();
dbg_interactiveP = TRUE;
parser_handle(hFile);
......
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