* [Qemu-devel] Suppress debug log of sb16
@ 2005-09-14 3:39 Kazu
0 siblings, 0 replies; only message in thread
From: Kazu @ 2005-09-14 3:39 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 501 bytes --]
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__)
[-- Attachment #2: qemu-0.7.2-sb16.patch --]
[-- Type: application/octet-stream, Size: 456 bytes --]
--- 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__)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-09-14 4:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-14 3:39 [Qemu-devel] Suppress debug log of sb16 Kazu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).