mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[NTOS:MM][FASTFAT_NEW] Fix DBG usage, fixes Release build
This commit is contained in:
@@ -233,7 +233,7 @@ Return Value:
|
||||
DebugTrace(0, DEBUG_TRACE_UNWIND, "FatExceptionFilter %X\n", ExceptionCode);
|
||||
DebugDump("FatExceptionFilter\n", Dbg, NULL );
|
||||
|
||||
#ifdef DBG
|
||||
#if DBG
|
||||
|
||||
if( FatBreakOnInterestingExceptionStatus != 0 && ExceptionCode == FatBreakOnInterestingExceptionStatus ) {
|
||||
DbgBreakPoint();
|
||||
|
||||
@@ -406,9 +406,11 @@ MmInsertRmap(PFN_NUMBER Page, PEPROCESS 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(" current caller %p\n", new_entry->Caller);
|
||||
DbgPrint(" previous caller %p\n", current_entry->Caller);
|
||||
#endif
|
||||
KeBugCheck(MEMORY_MANAGEMENT);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user