ntdll: Clear alignment check flag before entering exception handler.
This commit is contained in:
parent
2868977995
commit
86c0bb3be5
|
@ -924,7 +924,8 @@ static EXCEPTION_RECORD *setup_exception( SIGCONTEXT *sigcontext, raise_func fun
|
|||
/* now modify the sigcontext to return to the raise function */
|
||||
ESP_sig(sigcontext) = (DWORD)stack;
|
||||
EIP_sig(sigcontext) = (DWORD)func;
|
||||
EFL_sig(sigcontext) &= ~0x100; /* clear single-step flag */
|
||||
/* clear single-step and align check flag */
|
||||
EFL_sig(sigcontext) &= ~(0x100|0x40000);
|
||||
CS_sig(sigcontext) = wine_get_cs();
|
||||
DS_sig(sigcontext) = wine_get_ds();
|
||||
ES_sig(sigcontext) = wine_get_es();
|
||||
|
|
Loading…
Reference in New Issue