From a7d86fe3a78e7fcf96ac91c591b4a25c179ead4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Sat, 19 Apr 2025 18:56:12 +0200 Subject: [PATCH] [NTOS][RTL] Remove unused deprecated ReactOS-only DbgBreakPointNoBugCheck() This helper was introduced in commit b041530f2d (r8551), and its last remaining usage removed in commit f038f4a895 (r23636). --- ntoskrnl/include/internal/ke.h | 4 ---- sdk/lib/rtl/amd64/debug_asm.S | 7 ------- sdk/lib/rtl/i386/debug_asm.S | 11 ----------- 3 files changed, 22 deletions(-) diff --git a/ntoskrnl/include/internal/ke.h b/ntoskrnl/include/internal/ke.h index 3efa907e309..d12babde708 100644 --- a/ntoskrnl/include/internal/ke.h +++ b/ntoskrnl/include/internal/ke.h @@ -387,10 +387,6 @@ KeFindNextRightSetAffinity( IN KAFFINITY Set ); -VOID -NTAPI -DbgBreakPointNoBugCheck(VOID); - VOID NTAPI KeInitializeProfile( diff --git a/sdk/lib/rtl/amd64/debug_asm.S b/sdk/lib/rtl/amd64/debug_asm.S index a659bc16f4e..00cbe7163bd 100644 --- a/sdk/lib/rtl/amd64/debug_asm.S +++ b/sdk/lib/rtl/amd64/debug_asm.S @@ -15,19 +15,12 @@ PUBLIC DbgBreakPointWithStatus PUBLIC DbgUserBreakPoint PUBLIC DebugService PUBLIC DebugService2 -PUBLIC DbgBreakPointNoBugCheck PUBLIC RtlpBreakWithStatusInstruction /* FUNCTIONS ***************************************************************/ .code64 -.PROC DbgBreakPointNoBugCheck - .endprolog - int 3 - ret -.ENDP - DbgUserBreakPoint: .PROC DbgBreakPoint .endprolog diff --git a/sdk/lib/rtl/i386/debug_asm.S b/sdk/lib/rtl/i386/debug_asm.S index f60828f4395..f2c3ebe58bc 100644 --- a/sdk/lib/rtl/i386/debug_asm.S +++ b/sdk/lib/rtl/i386/debug_asm.S @@ -12,17 +12,6 @@ .code -PUBLIC _DbgBreakPointNoBugCheck@0 -FUNC _DbgBreakPointNoBugCheck@0 - FPO 0, 0, 0, 0, 0, FRAME_FPO - - /* Do breakpoint */ - int 3 - ret - -ENDFUNC - - PUBLIC _DbgUserBreakPoint@0 _DbgUserBreakPoint@0: PUBLIC _DbgBreakPoint@0