[NTOS:KD]: Disable to dprints.

svn path=/trunk/; revision=68864
This commit is contained in:
Hermès Bélusca-Maïto 2015-08-29 16:56:09 +00:00
parent a6513f80af
commit 90143b555c

View file

@ -194,7 +194,7 @@ KdSetOwedBreakpoints(VOID)
if (!NT_SUCCESS(Status)) if (!NT_SUCCESS(Status))
{ {
/* This should never happen */ /* 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); KdpBreakpointTable[i].Address);
KdpOweBreakpoint = TRUE; KdpOweBreakpoint = TRUE;
} }
@ -252,8 +252,8 @@ KdpLowWriteContent(IN ULONG BpIndex)
if (!NT_SUCCESS(Status)) if (!NT_SUCCESS(Status))
{ {
/* Memory is inaccessible now, restoring original instruction is deferred */ /* Memory is inaccessible now, restoring original instruction is deferred */
KdpDprintf("Failed to delete breakpoint at address 0x%p\n", // KdpDprintf("Failed to delete breakpoint at address 0x%p\n",
KdpBreakpointTable[BpIndex].Address); // KdpBreakpointTable[BpIndex].Address);
KdpBreakpointTable[BpIndex].Flags |= KD_BREAKPOINT_EXPIRED; KdpBreakpointTable[BpIndex].Flags |= KD_BREAKPOINT_EXPIRED;
KdpOweBreakpoint = TRUE; KdpOweBreakpoint = TRUE;
return FALSE; return FALSE;
@ -293,8 +293,9 @@ KdpLowRestoreBreakpoint(IN ULONG BpIndex)
NULL); NULL);
if (!NT_SUCCESS(Status)) if (!NT_SUCCESS(Status))
{ {
KdpDprintf("Failed to restore breakpoint at address 0x%p\n", /* Memory is inaccessible now, restoring breakpoint is deferred */
KdpBreakpointTable[BpIndex].Address); // KdpDprintf("Failed to restore breakpoint at address 0x%p\n",
// KdpBreakpointTable[BpIndex].Address);
KdpBreakpointTable[BpIndex].Flags |= KD_BREAKPOINT_PENDING; KdpBreakpointTable[BpIndex].Flags |= KD_BREAKPOINT_PENDING;
KdpOweBreakpoint = TRUE; KdpOweBreakpoint = TRUE;
return FALSE; return FALSE;