Fix the tree at last, by reverting previous changes to RtlpCheckForActiveDebugger.

svn path=/trunk/; revision=17870
This commit is contained in:
Aleksey Bragin 2005-09-15 20:24:30 +00:00
parent 646ee13307
commit 43bdfc834c
2 changed files with 3 additions and 3 deletions

View file

@ -39,7 +39,7 @@ RtlRaiseException(PEXCEPTION_RECORD ExceptionRecord)
Context.ContextFlags = CONTEXT_FULL; Context.ContextFlags = CONTEXT_FULL;
/* Check if we're being debugged (user-mode only) */ /* Check if we're being debugged (user-mode only) */
if (!RtlpCheckForActiveDebugger(TRUE)) if (!RtlpCheckForActiveDebugger())
{ {
/* Raise an exception immediately */ /* Raise an exception immediately */
Status = ZwRaiseException(ExceptionRecord, &Context, TRUE); Status = ZwRaiseException(ExceptionRecord, &Context, TRUE);
@ -91,7 +91,7 @@ RtlRaiseStatus(NTSTATUS Status)
Context.ContextFlags = CONTEXT_FULL; Context.ContextFlags = CONTEXT_FULL;
/* Check if we're being debugged (user-mode only) */ /* Check if we're being debugged (user-mode only) */
if (!RtlpCheckForActiveDebugger(TRUE)) if (!RtlpCheckForActiveDebugger())
{ {
/* Raise an exception immediately */ /* Raise an exception immediately */
ZwRaiseException(&ExceptionRecord, &Context, TRUE); ZwRaiseException(&ExceptionRecord, &Context, TRUE);

View file

@ -51,7 +51,7 @@ RtlLeaveHeapLock(PRTL_CRITICAL_SECTION CriticalSection);
BOOLEAN BOOLEAN
NTAPI NTAPI
RtlpCheckForActiveDebugger(BOOLEAN Type); RtlpCheckForActiveDebugger(VOID);
BOOLEAN BOOLEAN
NTAPI NTAPI