Skip to contentSkip to conversation

Incorrect debugging dump flags

PATCH New Paul Brook 1 participant 1 message Nov 12, 2005

lore
Share & tools
lore

Paul Brook

author
#0 lore raw

PATCH 1/1 Incorrect debugging dump flags

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

cpu-exec.c +1 -1
diff -u -p -r1.60 cpu-exec.c
@@ -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