Received: from eggs.gnu.org ([208.118.235.92]:51625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGGdM-0005Pq-4J for qemu-devel@nongnu.org; Mon, 24 Sep 2012 17:56:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGGdK-0005uy-TS for qemu-devel@nongnu.org; Mon, 24 Sep 2012 17:56:08 -0400 Received: from mail-qa0-f45.google.com ([209.85.216.45]:45367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGGdK-0005tZ-Q7 for qemu-devel@nongnu.org; Mon, 24 Sep 2012 17:56:06 -0400 Received: by mail-qa0-f45.google.com with SMTP id c10so3227234qad.4 for ; Mon, 24 Sep 2012 14:56:06 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Mon, 24 Sep 2012 14:55:50 -0700 Message-Id: <1348523753-25083-5-git-send-email-rth@twiddle.net> In-Reply-To: <1348523753-25083-1-git-send-email-rth@twiddle.net> References: <1348523753-25083-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH 4/7] target-unicore32: Call tcg_gen_debug_insn_start List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Guan Xuetao , aurelien@aurel32.net Cc: Guan Xuetao Signed-off-by: Richard Henderson --- target-unicore32/translate.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target-unicore32/translate.c b/target-unicore32/translate.c index b786a6b..36f4f2f 100644 --- a/target-unicore32/translate.c +++ b/target-unicore32/translate.c @@ -1861,6 +1861,10 @@ static void disas_uc32_insn(CPUUniCore32State *env, DisasContext *s) { unsigned int insn; + if (unlikely(qemu_loglevel_mask(CPU_LOG_TB_OP | CPU_LOG_TB_OP_OPT))) { + tcg_gen_debug_insn_start(s->pc); + } + insn = cpu_ldl_code(env, s->pc); s->pc += 4; -- 1.7.11.4