From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MyYEt-0005Wj-Qt for qemu-devel@nongnu.org; Thu, 15 Oct 2009 17:52:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MyYEs-0005WO-H7 for qemu-devel@nongnu.org; Thu, 15 Oct 2009 17:52:03 -0400 Received: from [199.232.76.173] (port=55894 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyYEs-0005WL-FA for qemu-devel@nongnu.org; Thu, 15 Oct 2009 17:52:02 -0400 Received: from hall.aurel32.net ([88.191.82.174]:44334) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MyYEr-0001s5-WB for qemu-devel@nongnu.org; Thu, 15 Oct 2009 17:52:02 -0400 Received: from [2002:52e8:2fb:1:21e:8cff:feb0:693b] (helo=volta.aurel32.net) by hall.aurel32.net with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1MyYEq-0001Gw-Hu for qemu-devel@nongnu.org; Thu, 15 Oct 2009 23:52:00 +0200 Received: from aurel32 by volta.aurel32.net with local (Exim 4.69) (envelope-from ) id 1MyYEn-0006ud-Sg for qemu-devel@nongnu.org; Thu, 15 Oct 2009 23:51:57 +0200 Date: Thu, 15 Oct 2009 23:51:57 +0200 From: Aurelien Jarno Message-ID: <20091015215157.GD7071@volta.aurel32.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Subject: [Qemu-devel] [PATCH] target-arm: log instructions start in TCG code List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Signed-off-by: Aurelien Jarno --- target-arm/translate.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/target-arm/translate.c b/target-arm/translate.c index 0c10ac2..bb0f8ef 100644 --- a/target-arm/translate.c +++ b/target-arm/translate.c @@ -8805,6 +8805,10 @@ static inline void gen_intermediate_code_internal(CPUState *env, if (num_insns + 1 == max_insns && (tb->cflags & CF_LAST_IO)) gen_io_start(); + if (unlikely(qemu_loglevel_mask(CPU_LOG_TB_OP))) { + tcg_gen_debug_insn_start(dc->pc); + } + if (env->thumb) { disas_thumb_insn(env, dc); if (dc->condexec_mask) { -- 1.6.1.3