mirror of
https://github.com/reactos/reactos.git
synced 2024-10-31 20:02:55 +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);
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue