Print symbol names if DBG is defined.
Modified: trunk/reactos/ntoskrnl/include/internal/kd.h

Modified: trunk/reactos/ntoskrnl/include/internal/kd.h
--- trunk/reactos/ntoskrnl/include/internal/kd.h	2005-05-01 09:45:35 UTC (rev 14904)
+++ trunk/reactos/ntoskrnl/include/internal/kd.h	2005-05-01 09:49:45 UTC (rev 14905)
@@ -79,13 +79,17 @@
 # define KDB_CREATE_THREAD_HOOK(CONTEXT)	do { } while (0)
 #endif
 
+#if defined(KDBG) || defined(DBG)
+# define KeRosPrintAddress(ADDRESS)         KdbSymPrintAddress(ADDRESS)
+#else
+# define KeRosPrintAddress(ADDRESS)         KiRosPrintAddress(ADDRESS)
+#endif
+
 #ifdef KDBG
-# define KeRosPrintAddress(ADDRESS)         KdbSymPrintAddress(ADDRESS)
 # define KdbInit()                          KdbpCliInit()
 # define KdbModuleLoaded(FILENAME)          KdbpCliModuleLoaded(FILENAME)
 # define KDB_DELETEPROCESS_HOOK(PROCESS)	KdbDeleteProcessHook(PROCESS)
 #else
-# define KeRosPrintAddress(ADDRESS)         KiRosPrintAddress(ADDRESS)
 # define KdbEnterDebuggerException(ER, PM, C, TF, F)  kdHandleException
 # define KdbInit()                          do { } while (0)
 # define KdbEnter()                         do { } while (0)