Fix compilation with DBG := 1 and KDBG := 0
Modified: trunk/reactos/ntoskrnl/dbg/kdb_symbols.c
_____
Modified: trunk/reactos/ntoskrnl/dbg/kdb_symbols.c
--- trunk/reactos/ntoskrnl/dbg/kdb_symbols.c 2005-01-13 07:29:12 UTC
(rev 13023)
+++ trunk/reactos/ntoskrnl/dbg/kdb_symbols.c 2005-01-13 08:45:23 UTC
(rev 13024)
@@ -816,8 +816,10 @@
PSYMBOLFILE_HEADER SymbolFileHeader;
PIMAGE_SYMBOL_INFO_CACHE CachedSymbolFile;
+#ifdef KDBG
/* Allow KDB to break on module load */
KdbModuleLoaded(FileName);
+#endif
/* Get the path to the symbol store */
wcscpy(TmpFileName, L"\\SystemRoot\\symbols\\");
Show replies by date