mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
Moved the TRACE_LDR macro from ntdll.h to utils.c.
svn path=/trunk/; revision=16165
This commit is contained in:
parent
ae955c39ed
commit
747c64b7c4
2 changed files with 9 additions and 9 deletions
|
@ -3,15 +3,6 @@
|
|||
#include <ntos/ntdef.h>
|
||||
#endif
|
||||
|
||||
#ifdef NDEBUG
|
||||
#if defined(__GNUC__)
|
||||
#define TRACE_LDR(args...) if (RtlGetNtGlobalFlags() & FLG_SHOW_LDR_SNAPS) { DbgPrint("(LDR:%s:%d) ",__FILE__,__LINE__); DbgPrint(args); }
|
||||
#else
|
||||
#endif /* __GNUC__ */
|
||||
#else
|
||||
#define TRACE_LDR(args...) do { DbgPrint("(LDR:%s:%d) ",__FILE__,__LINE__); DbgPrint(args); } while(0)
|
||||
#endif
|
||||
|
||||
/* Macros expanding to the appropriate inline assembly to raise a breakpoint */
|
||||
#if defined(_M_IX86)
|
||||
#define ASM_BREAKPOINT "\nint $3\n"
|
||||
|
|
|
@ -27,6 +27,15 @@
|
|||
|
||||
/* GLOBALS *******************************************************************/
|
||||
|
||||
#ifdef NDEBUG
|
||||
#if defined(__GNUC__)
|
||||
#define TRACE_LDR(args...) if (RtlGetNtGlobalFlags() & FLG_SHOW_LDR_SNAPS) { DbgPrint("(LDR:%s:%d) ",__FILE__,__LINE__); DbgPrint(args); }
|
||||
#else
|
||||
#endif /* __GNUC__ */
|
||||
#else
|
||||
#define TRACE_LDR(args...) do { DbgPrint("(LDR:%s:%d) ",__FILE__,__LINE__); DbgPrint(args); } while(0)
|
||||
#endif
|
||||
|
||||
typedef struct _TLS_DATA
|
||||
{
|
||||
PVOID StartAddressOfRawData;
|
||||
|
|
Loading…
Reference in a new issue