summaryrefslogtreecommitdiff
path: root/hw/xfree86/x86emu
diff options
context:
space:
mode:
authorAdam Jackson <ajax@benzedrine.nwnk.net>2007-07-02 18:41:55 -0400
committerAdam Jackson <ajax@benzedrine.nwnk.net>2007-07-02 18:41:55 -0400
commit028a00bc518dc6908839e8ce7c50ab1837100945 (patch)
treeb1887f777d96391e038dfedac3b5e1d25cae8586 /hw/xfree86/x86emu
parent00e8295b7e0c7c0ba97707903004272818e3d87d (diff)
Make x86emu's I/O cycle tracing more useful.
Print debug messages only when the appropriate debug bit is set in the 8086 state vector, so you can focus in on the call you're actually interested in.
Diffstat (limited to 'hw/xfree86/x86emu')
-rw-r--r--hw/xfree86/x86emu/debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/xfree86/x86emu/debug.c b/hw/xfree86/x86emu/debug.c
index 6fd7f11cf..5eda90805 100644
--- a/hw/xfree86/x86emu/debug.c
+++ b/hw/xfree86/x86emu/debug.c
@@ -38,6 +38,8 @@
****************************************************************************/
#include "x86emu/x86emui.h"
+#include <stdio.h>
+#include <string.h>
#ifndef NO_SYS_HEADERS
#include <stdarg.h>
#include <stdlib.h>