winedbg: Use the official definitions for exception flags.

This commit is contained in:
Alexandre Julliard 2024-02-28 16:25:34 +01:00
parent 18543523e8
commit b0a7439b30
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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;