qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Debugging in general


From: Pavel Janík
Subject: [Qemu-devel] Debugging in general
Date: Sun, 09 May 2004 00:09:33 +0200
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux)

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.~1.2.~     2004-04-12 22:54:52.000000000 +0200
+++ m48t59.c    2004-05-09 00:04:45.663893208 +0200
@@ -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)

-- 
Pavel Janík

"printk(KERN_ERR "happy meal: Receiver BigMac ATTACK!");"
                  -- Linux kernel: drivers/net/sunhme.c




reply via email to

[Prev in Thread] Current Thread [Next in Thread]