Commit b0a7439b authored by Alexandre Julliard's avatar Alexandre Julliard

winedbg: Use the official definitions for exception flags.

parent 18543523
......@@ -1095,7 +1095,7 @@ void info_win32_exception(void)
dbg_printf("0x%08lx", rec->ExceptionCode);
break;
}
if (rec->ExceptionFlags & EH_STACK_INVALID)
if (rec->ExceptionFlags & EXCEPTION_STACK_INVALID)
dbg_printf(", invalid program stack");
switch (addr.Mode)
......
......@@ -275,7 +275,7 @@ static DWORD dbg_handle_exception(const EXCEPTION_RECORD* rec, BOOL first_chance
}
if (first_chance && !is_debug && !DBG_IVAR(BreakOnFirstChance) &&
!(rec->ExceptionFlags & EH_STACK_INVALID))
!(rec->ExceptionFlags & EXCEPTION_STACK_INVALID))
{
/* pass exception to program except for debug exceptions */
return DBG_EXCEPTION_NOT_HANDLED;
......
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