qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [patch] Incorrect debugging dump flags
@ 2005-11-12 19:42 Paul Brook
  0 siblings, 0 replies; only message in thread
From: Paul Brook @ 2005-11-12 19:42 UTC (permalink / raw)
  To: qemu-devel

The dumping of cpu state before each TB is currently enabled by "-d exec".  It 
should be controlled by "-d cpu".  The patch below fixes this.

Paul

Index: cpu-exec.c
===================================================================
RCS file: /cvsroot/qemu/qemu/cpu-exec.c,v
retrieving revision 1.60
diff -u -p -r1.60 cpu-exec.c
--- cpu-exec.c	21 Aug 2005 09:43:38 -0000	1.60
+++ cpu-exec.c	12 Nov 2005 19:38:06 -0000
@@ -352,7 +366,7 @@ int cpu_exec(CPUState *env1)
                     }
                 }
 #ifdef DEBUG_EXEC
-                if ((loglevel & CPU_LOG_EXEC)) {
+                if ((loglevel & CPU_LOG_TB_CPU)) {
 #if defined(TARGET_I386)
                     /* restore flags in standard format */
 #ifdef reg_EAX

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-12 19:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-12 19:42 [Qemu-devel] [patch] Incorrect debugging dump flags Paul Brook

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).