|
|
|
|
46
|
#define DEBUG_SYMBOL _H2 ( debug_, OBJECT )
|
46
|
#define DEBUG_SYMBOL _H2 ( debug_, OBJECT )
|
47
|
#if DEBUG_SYMBOL
|
47
|
#if DEBUG_SYMBOL
|
48
|
#include "console.h"
|
48
|
#include "console.h"
|
49
|
-#define DBG(...) printf ( __VA_ARGS__ )
|
49
|
+#define DBG(...) printf ( _XSTR ( OBJECT ) ": " __VA_ARGS__ )
|
50
|
#define DEBUG_SYMBOL_STR _XSTR ( DEBUG_SYMBOL )
|
50
|
#define DEBUG_SYMBOL_STR _XSTR ( DEBUG_SYMBOL )
|
51
|
__asm__ ( ".equ\tWITH_DEBUG_MESSAGES, 0" );
|
51
|
__asm__ ( ".equ\tWITH_DEBUG_MESSAGES, 0" );
|
52
|
#else
|
52
|
#else
|