From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Eb1Gz-0006NZ-C2 for qemu-devel@nongnu.org; Sat, 12 Nov 2005 14:42:49 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Eb1Gx-0006Mk-I1 for qemu-devel@nongnu.org; Sat, 12 Nov 2005 14:42:49 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eb1Gx-0006Md-BY for qemu-devel@nongnu.org; Sat, 12 Nov 2005 14:42:47 -0500 Received: from [65.74.133.11] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Eb1Gx-0006JM-AP for qemu-devel@nongnu.org; Sat, 12 Nov 2005 14:42:47 -0500 From: Paul Brook Date: Sat, 12 Nov 2005 19:42:40 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511121942.40528.paul@codesourcery.com> Subject: [Qemu-devel] [patch] Incorrect debugging dump flags Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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