|
@@ -204,7 +204,6 @@ REQUEST_EXPANDED ( CONFIG_SYMBOL );
|
204
|
204
|
/** @defgroup dbg Debugging infrastructure
|
205
|
205
|
* @{
|
206
|
206
|
*/
|
207
|
|
-#ifndef ASSEMBLY
|
208
|
207
|
|
209
|
208
|
/** @def DBG
|
210
|
209
|
*
|
|
@@ -255,6 +254,12 @@ REQUEST_EXPANDED ( CONFIG_SYMBOL );
|
255
|
254
|
*/
|
256
|
255
|
#define DEBUG_SYMBOL PREFIX_OBJECT ( debug_ )
|
257
|
256
|
|
|
257
|
+#if DEBUG_SYMBOL == 0
|
|
258
|
+#define NDEBUG
|
|
259
|
+#endif
|
|
260
|
+
|
|
261
|
+#ifndef ASSEMBLY
|
|
262
|
+
|
258
|
263
|
/** printf() for debugging
|
259
|
264
|
*
|
260
|
265
|
* This function exists so that the DBG() macros can expand to
|
|
@@ -544,11 +549,6 @@ int __debug_disable;
|
544
|
549
|
#define DBGCIO_PAUSE( ... ) DBGC_PAUSE_IF ( IO, ##__VA_ARGS__ )
|
545
|
550
|
#define DBGCIO_MORE( ... ) DBGC_MORE_IF ( IO, ##__VA_ARGS__ )
|
546
|
551
|
|
547
|
|
-
|
548
|
|
-#if DEBUG_SYMBOL == 0
|
549
|
|
-#define NDEBUG
|
550
|
|
-#endif
|
551
|
|
-
|
552
|
552
|
#endif /* ASSEMBLY */
|
553
|
553
|
/** @} */
|
554
|
554
|
|