Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.33) id 1BMa7G-0007n8-6s for qemu-devel@nongnu.org; Sat, 08 May 2004 18:16:18 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.33) id 1BMa1q-0005nI-FZ for qemu-devel@nongnu.org; Sat, 08 May 2004 18:11:14 -0400 Received: from [195.122.192.2] (helo=janik.cz) by monty-python.gnu.org with esmtp (Exim 4.33) id 1BMa1j-0005lo-JE for qemu-devel@nongnu.org; Sat, 08 May 2004 18:10:41 -0400 From: Pavel@Janik.cz (=?iso-8859-2?q?Pavel_Jan=EDk?=) Message-ID: <87k6zmbmgx.fsf@Janik.cz> Date: Sun, 09 May 2004 00:09:33 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] Debugging in general Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 b= e defined or different approach (like configure --debug=3DNVRAM,FDC,PIC,... and --debug=3DALL)? 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" =20 -//#define NVRAM_DEBUG +//#define DEBUG_NVRAM =20 -#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) --=20 Pavel Jan=EDk "printk(KERN_ERR "happy meal: Receiver BigMac ATTACK!");" -- Linux kernel: drivers/net/sunhme.c