Module: wine Branch: master Commit: 86c0bb3be5d5c0ff6a9b03128ba3b3addab6fa57 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=86c0bb3be5d5c0ff6a9b0312...
Author: Marcus Meissner marcus@jet.franken.de Date: Mon Oct 2 22:16:26 2006 +0200
ntdll: Clear alignment check flag before entering exception handler.
---
dlls/ntdll/signal_i386.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/signal_i386.c b/dlls/ntdll/signal_i386.c index 21d4d24..e616f50 100644 --- a/dlls/ntdll/signal_i386.c +++ b/dlls/ntdll/signal_i386.c @@ -924,7 +924,8 @@ #endif /* 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();