From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EFOUq-0001do-0P for qemu-devel@nongnu.org; Wed, 14 Sep 2005 00:03:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EFOUl-0001Zx-1n for qemu-devel@nongnu.org; Wed, 14 Sep 2005 00:03:41 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EFOU9-0000vr-PY for qemu-devel@nongnu.org; Wed, 14 Sep 2005 00:03:01 -0400 Received: from [211.5.2.81] (helo=nm01omta01d.dion.ne.jp) by monty-python.gnu.org with smtp (Exim 4.34) id 1EFO6p-0008Du-LW for qemu-devel@nongnu.org; Tue, 13 Sep 2005 23:38:55 -0400 Message-ID: <004c01c5b8dd$d903df40$0464a8c0@athlon> From: "Kazu" Subject: [Qemu-devel] Suppress debug log of sb16 Date: Wed, 14 Sep 2005 12:39:01 +0900 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0048_01C5B929.48B97AC0" 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 This is a multi-part message in MIME format. ------=_NextPart_000_0048_01C5B929.48B97AC0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit Hi, Attached patch suppress debug log of sb16. Regards, Kazu --- qemu-0.7.1.orig/hw/sb16.c Mon Jul 25 03:52:08 2005 +++ qemu/hw/sb16.c Mon Aug 15 16:24:18 2005 @@ -25,10 +25,14 @@ #define LENOFA(a) ((int) (sizeof(a)/sizeof(a[0]))) -#define dolog(...) AUD_log ("sb16", __VA_ARGS__) - /* #define DEBUG */ /* #define DEBUG_SB16_MOST */ + +#ifdef DEBUG +#define dolog(...) AUD_log ("sb16", __VA_ARGS__) +#else +#define dolog(...) +#endif #ifdef DEBUG #define ldebug(...) dolog (__VA_ARGS__) ------=_NextPart_000_0048_01C5B929.48B97AC0 Content-Type: application/octet-stream; name="qemu-0.7.2-sb16.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="qemu-0.7.2-sb16.patch" --- qemu-0.7.1.orig/hw/sb16.c Mon Jul 25 03:52:08 2005=0A= +++ qemu/hw/sb16.c Mon Aug 15 16:24:18 2005=0A= @@ -25,10 +25,14 @@=0A= =0A= #define LENOFA(a) ((int) (sizeof(a)/sizeof(a[0])))=0A= =0A= -#define dolog(...) AUD_log ("sb16", __VA_ARGS__)=0A= -=0A= /* #define DEBUG */=0A= /* #define DEBUG_SB16_MOST */=0A= +=0A= +#ifdef DEBUG=0A= +#define dolog(...) AUD_log ("sb16", __VA_ARGS__)=0A= +#else=0A= +#define dolog(...)=0A= +#endif=0A= =0A= #ifdef DEBUG=0A= #define ldebug(...) dolog (__VA_ARGS__)=0A= ------=_NextPart_000_0048_01C5B929.48B97AC0--