aboutsummaryrefslogtreecommitdiff
path: root/cpu-i386.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-05-10 12:37:32 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-05-10 12:37:32 +0000
commitf351077efb1febb4c32dc92acc680a26037dc5f2 (patch)
treef223f2101aa03e67e6b7e32111396d61e33e279f /cpu-i386.h
parente84be9dbcac84b6550c93167ac72fed984dce8ff (diff)
added dump function
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@138 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-i386.h')
-rw-r--r--cpu-i386.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpu-i386.h b/cpu-i386.h
index 1ec7193778..dae88fba67 100644
--- a/cpu-i386.h
+++ b/cpu-i386.h
@@ -426,6 +426,11 @@ struct siginfo;
int cpu_x86_signal_handler(int host_signum, struct siginfo *info,
void *puc);
+/* used to debug */
+#define X86_DUMP_FPU 0x0001 /* dump FPU state too */
+#define X86_DUMP_CCOP 0x0002 /* dump qemu flag cache */
+void cpu_x86_dump_state(CPUX86State *env, FILE *f, int flags);
+
/* internal functions */
#define GEN_FLAG_CODE32_SHIFT 0