X-Git-Url: http://git.jankratochvil.net/?p=reactos.git;a=blobdiff_plain;f=ntoskrnl%2Fke%2Fi386%2Fusertrap.c;fp=ntoskrnl%2Fke%2Fi386%2Fusertrap.c;h=9253e76b5072f0d0d4183615b3e25802084fb30b;hp=d8e7214b08c79bd2e724ab58e046e68b739377bd;hb=a3df8bf1429570e0bd6c6428f6ed80073578cf4b;hpb=7c0db166f81fbe8c8b913d7f26048e337d383605 diff --git a/ntoskrnl/ke/i386/usertrap.c b/ntoskrnl/ke/i386/usertrap.c index d8e7214..9253e76 100644 --- a/ntoskrnl/ke/i386/usertrap.c +++ b/ntoskrnl/ke/i386/usertrap.c @@ -144,8 +144,9 @@ KiUserTrapHandler(PKTRAP_FRAME Tf, ULONG ExceptionNr, PVOID Cr2) } - Er.ExceptionFlags = (STATUS_SINGLE_STEP == (NTSTATUS) Er.ExceptionCode || STATUS_BREAKPOINT == (NTSTATUS) Er.ExceptionCode ? - 0 : EXCEPTION_NONCONTINUABLE); + Er.ExceptionFlags = ((NTSTATUS) STATUS_SINGLE_STEP == (NTSTATUS) Er.ExceptionCode || + (NTSTATUS) STATUS_BREAKPOINT == (NTSTATUS) Er.ExceptionCode) ? + EXCEPTION_NONCONTINUABLE : 0; KiDispatchException(&Er, 0, Tf, UserMode, TRUE); return(0);