- Wrap some KDBG-only stuff into KDBG-define so we don't have KdSystemDebugControl being called needlessly on KD-builds.
svn path=/trunk/; revision=69148
/* b - Bugcheck */
KeBugCheck(MANUALLY_INITIATED_CRASH);
}
+#if defined(KDBG)
else
{
/* Send request to the kernel debugger.
NULL,
KernelMode);
}
+#endif
}
}
#define GDI_DBG_MAX_BTS 10
-#if DBG
+#if DBG && defined(KDBG)
#define ASSERT_NOGDILOCKS() GdiDbgAssertNoLocks(__FILE__,__LINE__)
#define KeRosDumpStackFrames(Frames, Count) \
KdSystemDebugControl('DsoR', (PVOID)Frames, Count, NULL, 0, NULL, KernelMode)
#endif
-#if KDBG
+#if defined(KDBG)
BOOLEAN
NTAPI