https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f6cec6d5cb989484537b8afe737bd1315e25d3c9

commit f6cec6d5cb989484537b8afe737bd1315e25d3c9
Author:     Hervé Poussineau <[email protected]>
AuthorDate: Fri May 17 14:18:52 2019 +0200
Commit:     Hervé Poussineau <[email protected]>
CommitDate: Thu May 23 11:04:40 2019 +0200

    [NTOS:KD] Remove /BREAK support left over, likely broken by 
819a0ed90a7c1a5dedff08aa3b3c5501dc58c632
---
 ntoskrnl/include/internal/kd.h | 3 ---
 ntoskrnl/kd/kdinit.c           | 2 --
 2 files changed, 5 deletions(-)

diff --git a/ntoskrnl/include/internal/kd.h b/ntoskrnl/include/internal/kd.h
index daad7538e18..4354ba3066e 100644
--- a/ntoskrnl/include/internal/kd.h
+++ b/ntoskrnl/include/internal/kd.h
@@ -347,9 +347,6 @@ extern KD_DISPATCH_TABLE WrapperTable;
 /* The KD Native Provider List */
 extern LIST_ENTRY KdProviders;
 
-/* Whether to enter KDB as early as possible or not */
-extern BOOLEAN KdpEarlyBreak;
-
 extern PKDEBUG_ROUTINE KiDebugRoutine;
 extern KD_CONTEXT KdpContext;
 extern ULONG Kd_WIN2000_Mask;
diff --git a/ntoskrnl/kd/kdinit.c b/ntoskrnl/kd/kdinit.c
index b5ec7f4e809..3a7071d5cb3 100644
--- a/ntoskrnl/kd/kdinit.c
+++ b/ntoskrnl/kd/kdinit.c
@@ -26,7 +26,6 @@ KDP_DEBUG_MODE KdpDebugMode;
 #endif
 PKDP_INIT_ROUTINE WrapperInitRoutine;
 KD_DISPATCH_TABLE WrapperTable;
-BOOLEAN KdpEarlyBreak = FALSE;
 LIST_ENTRY KdProviders = {&KdProviders, &KdProviders};
 KD_DISPATCH_TABLE DispatchTable[KdMax];
 
@@ -188,7 +187,6 @@ KdInitSystem(ULONG BootPhase,
         _strupr(CommandLine);
 
         /* XXX Check for settings that we support */
-        if (strstr(CommandLine, "BREAK")) KdpEarlyBreak = TRUE;
         if (strstr(CommandLine, "NODEBUG")) KdDebuggerEnabled = FALSE;
         else if (strstr(CommandLine, "CRASHDEBUG")) KdDebuggerEnabled = FALSE;
         else if (strstr(CommandLine, "DEBUG"))

Reply via email to