mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Print symbol names if DBG is defined.
svn path=/trunk/; revision=14905
This commit is contained in:
parent
ecba11e64f
commit
d226234328
1 changed files with 6 additions and 2 deletions
|
@ -79,13 +79,17 @@ typedef struct _KDB_MODULE_INFO
|
|||
# define KDB_CREATE_THREAD_HOOK(CONTEXT) do { } while (0)
|
||||
#endif
|
||||
|
||||
#ifdef KDBG
|
||||
#if defined(KDBG) || defined(DBG)
|
||||
# define KeRosPrintAddress(ADDRESS) KdbSymPrintAddress(ADDRESS)
|
||||
#else
|
||||
# define KeRosPrintAddress(ADDRESS) KiRosPrintAddress(ADDRESS)
|
||||
#endif
|
||||
|
||||
#ifdef KDBG
|
||||
# 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)
|
||||
|
|
Loading…
Reference in a new issue