Commit 51a9b227 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winedbg: Fix maint type when no process is active.

parent 5a19e3b7
......@@ -573,6 +573,11 @@ static BOOL CALLBACK print_types_mod_cb(PSTR mod_name, DWORD base, void* ctx)
int print_types(void)
{
if (!dbg_curr_process)
{
dbg_printf("No known process, cannot print types\n");
return 0;
}
SymEnumerateModules(dbg_curr_process->handle, print_types_mod_cb, NULL);
return 0;
}
......
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