winedbg: Fixed the auto mode.
This commit is contained in:
parent
85230942e8
commit
28dc896b28
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue