From 90143b555c453079a3d24df05df35ce58b778b32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Sat, 29 Aug 2015 16:56:09 +0000 Subject: [PATCH] [NTOS:KD]: Disable to dprints. svn path=/trunk/; revision=68864 --- reactos/ntoskrnl/kd64/kdbreak.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/reactos/ntoskrnl/kd64/kdbreak.c b/reactos/ntoskrnl/kd64/kdbreak.c index 036136c4a96..b1ac2da9f6d 100644 --- a/reactos/ntoskrnl/kd64/kdbreak.c +++ b/reactos/ntoskrnl/kd64/kdbreak.c @@ -194,7 +194,7 @@ KdSetOwedBreakpoints(VOID) if (!NT_SUCCESS(Status)) { /* This should never happen */ - KdpDprintf("Failed to delete deferred breakpoint at address 0x%p\n", + KdpDprintf("Unable to delete deferred breakpoint at address 0x%p\n", KdpBreakpointTable[i].Address); KdpOweBreakpoint = TRUE; } @@ -252,8 +252,8 @@ KdpLowWriteContent(IN ULONG BpIndex) if (!NT_SUCCESS(Status)) { /* Memory is inaccessible now, restoring original instruction is deferred */ - KdpDprintf("Failed to delete breakpoint at address 0x%p\n", - KdpBreakpointTable[BpIndex].Address); + // KdpDprintf("Failed to delete breakpoint at address 0x%p\n", + // KdpBreakpointTable[BpIndex].Address); KdpBreakpointTable[BpIndex].Flags |= KD_BREAKPOINT_EXPIRED; KdpOweBreakpoint = TRUE; return FALSE; @@ -293,8 +293,9 @@ KdpLowRestoreBreakpoint(IN ULONG BpIndex) NULL); if (!NT_SUCCESS(Status)) { - KdpDprintf("Failed to restore breakpoint at address 0x%p\n", - KdpBreakpointTable[BpIndex].Address); + /* Memory is inaccessible now, restoring breakpoint is deferred */ + // KdpDprintf("Failed to restore breakpoint at address 0x%p\n", + // KdpBreakpointTable[BpIndex].Address); KdpBreakpointTable[BpIndex].Flags |= KD_BREAKPOINT_PENDING; KdpOweBreakpoint = TRUE; return FALSE;