Debugging in general
Hi,
I'd like to see the possibility to compile qemu with all DEBUG_* macros defined (I'd like to boot Solaris/x86).
Do you prefer e.g. DEBUG_ALL which in turn defines all DEBUG_ macros to be defined or different approach (like
configure --debug=NVRAM,FDC,PIC,... and --debug=ALL)?
What about moving all #define DEBUG_SOMETHING to one single debug.h where all of them can be easily be changed?
Please apply the following micro sanitizing patch.
m48t59.c renamed from m48t59.c.~1.2.~ +2 -2
@@ -24,9 +24,9 @@#include "vl.h" #include "m48t59.h" -//#define NVRAM_DEBUG +//#define DEBUG_NVRAM -#if defined(NVRAM_DEBUG ) +#if defined(DEBUG_NVRAM ) #define NVRAM_PRINTF(fmt, args...) do { printf(fmt , ##args); } while (0)#else #define NVRAM_PRINTF(fmt, args...) do { } while (0)
Signature · 4 lines
Pavel Janík
"printk(KERN_ERR "happy meal: Receiver BigMac ATTACK!");"
-- Linux kernel: drivers/net/sunhme.c