mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 04:11:30 +00:00
[NTOS:MM][FASTFAT_NEW] Fix DBG usage, fixes Release build
This commit is contained in:
parent
44eecfaa01
commit
b705df731e
|
@ -233,7 +233,7 @@ Return Value:
|
||||||
DebugTrace(0, DEBUG_TRACE_UNWIND, "FatExceptionFilter %X\n", ExceptionCode);
|
DebugTrace(0, DEBUG_TRACE_UNWIND, "FatExceptionFilter %X\n", ExceptionCode);
|
||||||
DebugDump("FatExceptionFilter\n", Dbg, NULL );
|
DebugDump("FatExceptionFilter\n", Dbg, NULL );
|
||||||
|
|
||||||
#ifdef DBG
|
#if DBG
|
||||||
|
|
||||||
if( FatBreakOnInterestingExceptionStatus != 0 && ExceptionCode == FatBreakOnInterestingExceptionStatus ) {
|
if( FatBreakOnInterestingExceptionStatus != 0 && ExceptionCode == FatBreakOnInterestingExceptionStatus ) {
|
||||||
DbgBreakPoint();
|
DbgBreakPoint();
|
||||||
|
|
|
@ -406,9 +406,11 @@ MmInsertRmap(PFN_NUMBER Page, PEPROCESS Process,
|
||||||
|
|
||||||
if (current_entry && (current_entry->Address == Address) && (current_entry->Process == Process))
|
if (current_entry && (current_entry->Address == Address) && (current_entry->Process == Process))
|
||||||
{
|
{
|
||||||
|
#if DBG
|
||||||
DbgPrint("MmInsertRmap tries to add a second rmap entry for address %p\n", current_entry->Address);
|
DbgPrint("MmInsertRmap tries to add a second rmap entry for address %p\n", current_entry->Address);
|
||||||
DbgPrint(" current caller %p\n", new_entry->Caller);
|
DbgPrint(" current caller %p\n", new_entry->Caller);
|
||||||
DbgPrint(" previous caller %p\n", current_entry->Caller);
|
DbgPrint(" previous caller %p\n", current_entry->Caller);
|
||||||
|
#endif
|
||||||
KeBugCheck(MEMORY_MANAGEMENT);
|
KeBugCheck(MEMORY_MANAGEMENT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue