Return valid status Modified: trunk/reactos/lib/rtl/exception.c _____
Modified: trunk/reactos/lib/rtl/exception.c --- trunk/reactos/lib/rtl/exception.c 2005-09-15 13:25:32 UTC (rev 17859) +++ trunk/reactos/lib/rtl/exception.c 2005-09-15 14:07:37 UTC (rev 17860) @@ -39,10 +39,10 @@
Context.ContextFlags = CONTEXT_FULL;
/* Check if we're being debugged (user-mode only) */ - if (!RtlpCheckForActiveDebugger()) + if (!RtlpCheckForActiveDebugger(TRUE)) { /* Raise an exception immediately */ - ZwRaiseException(ExceptionRecord, &Context, TRUE); + Status = ZwRaiseException(ExceptionRecord, &Context, TRUE); } else { @@ -55,7 +55,7 @@ else { /* Continue, go back to previous context */ - ZwContinue(&Context, FALSE); + Status = ZwContinue(&Context, FALSE); } }
@@ -91,7 +91,7 @@ Context.ContextFlags = CONTEXT_FULL;
/* Check if we're being debugged (user-mode only) */ - if (!RtlpCheckForActiveDebugger()) + if (!RtlpCheckForActiveDebugger(TRUE)) { /* Raise an exception immediately */ ZwRaiseException(&ExceptionRecord, &Context, TRUE);