Return valid status

svn path=/trunk/; revision=17860
This commit is contained in:
Alex Ionescu 2005-09-15 14:07:37 +00:00
parent 86ce7ba5ab
commit 184ae2cb27

View file

@ -39,10 +39,10 @@ RtlRaiseException(PEXCEPTION_RECORD ExceptionRecord)
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 @@ RtlRaiseException(PEXCEPTION_RECORD ExceptionRecord)
else
{
/* Continue, go back to previous context */
ZwContinue(&Context, FALSE);
Status = ZwContinue(&Context, FALSE);
}
}
@ -91,7 +91,7 @@ RtlRaiseStatus(NTSTATUS Status)
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);