package daemon: DebugSupport.h: fix (64 bit) printf() formats
This commit is contained in:
parent
86297ca0ff
commit
92693623e2
@ -104,23 +104,24 @@ void dbg_printf_end();
|
|||||||
#define DEBUG_CONTEXT(x) \
|
#define DEBUG_CONTEXT(x) \
|
||||||
{ \
|
{ \
|
||||||
dbg_printf_begin(); \
|
dbg_printf_begin(); \
|
||||||
__out(DEBUG_APP " [%Ld: %5ld] ", system_time(), DEBUG_THREAD); \
|
__out(DEBUG_APP " [%" B_PRIdBIGTIME ": %5" B_PRId32 "] ", \
|
||||||
|
system_time(), DEBUG_THREAD); \
|
||||||
x; \
|
x; \
|
||||||
dbg_printf_end(); \
|
dbg_printf_end(); \
|
||||||
}
|
}
|
||||||
#define DEBUG_CONTEXT_FUNCTION(prefix, x) \
|
#define DEBUG_CONTEXT_FUNCTION(prefix, x) \
|
||||||
{ \
|
{ \
|
||||||
dbg_printf_begin(); \
|
dbg_printf_begin(); \
|
||||||
__out(DEBUG_APP " [%Ld: %5ld] %s" prefix, system_time(), DEBUG_THREAD, \
|
__out(DEBUG_APP " [%" B_PRIdBIGTIME ": %5" B_PRId32 "] %s" prefix, \
|
||||||
__PRETTY_FUNCTION__); \
|
system_time(), DEBUG_THREAD,__PRETTY_FUNCTION__); \
|
||||||
x; \
|
x; \
|
||||||
dbg_printf_end(); \
|
dbg_printf_end(); \
|
||||||
}
|
}
|
||||||
#define DEBUG_CONTEXT_LINE(x) \
|
#define DEBUG_CONTEXT_LINE(x) \
|
||||||
{ \
|
{ \
|
||||||
dbg_printf_begin(); \
|
dbg_printf_begin(); \
|
||||||
__out(DEBUG_APP " [%Ld: %5ld] %s:%d: ", system_time(), DEBUG_THREAD, \
|
__out(DEBUG_APP " [%" B_PRIdBIGTIME ": %5" B_PRId32 "] %s:%d: ", \
|
||||||
__PRETTY_FUNCTION__, __LINE__); \
|
system_time(), DEBUG_THREAD, __PRETTY_FUNCTION__, __LINE__); \
|
||||||
x; \
|
x; \
|
||||||
dbg_printf_end(); \
|
dbg_printf_end(); \
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user