git://git.jankratochvil.net
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update for HEAD-2003091401
[reactos.git]
/
ntoskrnl
/
ke
/
i386
/
usertrap.c
diff --git
a/ntoskrnl/ke/i386/usertrap.c
b/ntoskrnl/ke/i386/usertrap.c
index
19a300b
..
9253e76
100644
(file)
--- a/
ntoskrnl/ke/i386/usertrap.c
+++ b/
ntoskrnl/ke/i386/usertrap.c
@@
-144,6
+144,10
@@
KiUserTrapHandler(PKTRAP_FRAME Tf, ULONG ExceptionNr, PVOID Cr2)
}
+ 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);
}