From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnSQ8-0007AE-5L for qemu-devel@nongnu.org; Fri, 23 Sep 2016 11:29:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnSQ5-0001wx-8T for qemu-devel@nongnu.org; Fri, 23 Sep 2016 11:29:47 -0400 Received: from mail-it0-x244.google.com ([2607:f8b0:4001:c0b::244]:36183) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnSQ5-0001wo-3y for qemu-devel@nongnu.org; Fri, 23 Sep 2016 11:29:45 -0400 Received: by mail-it0-x244.google.com with SMTP id n143so1225604ita.3 for ; Fri, 23 Sep 2016 08:29:45 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Fri, 23 Sep 2016 08:29:10 -0700 Message-Id: <1474644551-5819-3-git-send-email-rth@twiddle.net> In-Reply-To: <1474644551-5819-1-git-send-email-rth@twiddle.net> References: <1474644551-5819-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH 3/4] target-openrisc: Do not dump cpu state with -d in_asm List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Jia Liu Dumping cpu state is what -d cpu is for. Cc: Jia Liu Signed-off-by: Richard Henderson --- target-openrisc/translate.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/target-openrisc/translate.c b/target-openrisc/translate.c index 28c9446..a4625f9 100644 --- a/target-openrisc/translate.c +++ b/target-openrisc/translate.c @@ -1651,10 +1651,6 @@ void gen_intermediate_code(CPUOpenRISCState *env, struct TranslationBlock *tb) dc->synced_flags = dc->tb_flags = tb->flags; dc->delayed_branch = !!(dc->tb_flags & D_FLAG); dc->singlestep_enabled = cs->singlestep_enabled; - if (qemu_loglevel_mask(CPU_LOG_TB_IN_ASM)) { - qemu_log("-----------------------------------------\n"); - log_cpu_state(CPU(cpu), 0); - } next_page_start = (pc_start & TARGET_PAGE_MASK) + TARGET_PAGE_SIZE; num_insns = 0; @@ -1754,7 +1750,8 @@ void gen_intermediate_code(CPUOpenRISCState *env, struct TranslationBlock *tb) #ifdef DEBUG_DISAS if (qemu_loglevel_mask(CPU_LOG_TB_IN_ASM) && qemu_log_in_addr_range(pc_start)) { - qemu_log("\n"); + qemu_log("----------------\n"); + qemu_log("IN: %s\n", lookup_symbol(pc_start)); log_target_disas(cs, pc_start, dc->pc - pc_start, 0); qemu_log("\nisize=%d osize=%d\n", dc->pc - pc_start, tcg_op_buf_count()); -- 2.7.4