qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [patch] Incorrect debugging dump flags


From: Paul Brook
Subject: [Qemu-devel] [patch] Incorrect debugging dump flags
Date: Sat, 12 Nov 2005 19:42:40 +0000
User-agent: KMail/1.8.2

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]