http://git.etherboot.org
/
people
/
xl0
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
614c39a
)
Revert debug message prefix back to none, since we sometimes want to use
author
Michael Brown
<mcb30@etherboot.org>
Fri, 22 Apr 2005 02:27:59 +0000
(
02:27
+0000)
committer
Michael Brown
<mcb30@etherboot.org>
Fri, 22 Apr 2005 02:27:59 +0000
(
02:27
+0000)
DBG() several times to build up a line.
src/include/compiler.h
patch
|
blob
|
history
diff --git
a/src/include/compiler.h
b/src/include/compiler.h
index
80b762c
..
58422d6
100644
(file)
--- a/
src/include/compiler.h
+++ b/
src/include/compiler.h
@@
-46,7
+46,7
@@
__asm__ ( ".equ\t" OBJECT_SYMBOL_STR ", 0" );
#define DEBUG_SYMBOL _H2 ( debug_, OBJECT )
#if DEBUG_SYMBOL
#include "console.h"
-#define DBG(...) printf ( _
XSTR ( OBJECT ) ": " _
_VA_ARGS__ )
+#define DBG(...) printf ( __VA_ARGS__ )
#define DEBUG_SYMBOL_STR _XSTR ( DEBUG_SYMBOL )
__asm__ ( ".equ\tWITH_DEBUG_MESSAGES, 0" );
#else