winedbg: Use the official definitions for exception flags.
This commit is contained in:
parent
18543523e8
commit
b0a7439b30
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue