mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 21:44:31 +00:00
Some of this sneaked past in my last commit, so commit the rest:
- 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
This commit is contained in:
parent
edd85f8e32
commit
56e0c5f897
|
@ -862,6 +862,7 @@ i8042KbdInterruptService(
|
|||
/* b - Bugcheck */
|
||||
KeBugCheck(MANUALLY_INITIATED_CRASH);
|
||||
}
|
||||
#if defined(KDBG)
|
||||
else
|
||||
{
|
||||
/* Send request to the kernel debugger.
|
||||
|
@ -874,6 +875,7 @@ i8042KbdInterruptService(
|
|||
NULL,
|
||||
KernelMode);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#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)
|
||||
|
@ -36,7 +36,7 @@ DbgDumpGdiHandleTableWithBT(VOID);
|
|||
|
||||
#endif
|
||||
|
||||
#if KDBG
|
||||
#if defined(KDBG)
|
||||
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
|
|
Loading…
Reference in a new issue