diff options
Diffstat (limited to 'target-mips')
-rw-r--r-- | target-mips/op_helper.c | 6 | ||||
-rw-r--r-- | target-mips/translate.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c index 6b0600a33b..50f5e671a9 100644 --- a/target-mips/op_helper.c +++ b/target-mips/op_helper.c @@ -1194,7 +1194,7 @@ void do_mtc0_status (target_ulong t0) old = env->CP0_Status; env->CP0_Status = (env->CP0_Status & ~mask) | val; compute_hflags(env); - if (loglevel & CPU_LOG_EXEC) + if (qemu_loglevel_mask(CPU_LOG_EXEC)) do_mtc0_status_debug(old, val); cpu_mips_update_irq(env); } @@ -1705,7 +1705,7 @@ target_ulong do_ei (void) static void debug_pre_eret (void) { - if (loglevel & CPU_LOG_EXEC) { + if (qemu_loglevel_mask(CPU_LOG_EXEC)) { qemu_log("ERET: PC " TARGET_FMT_lx " EPC " TARGET_FMT_lx, env->active_tc.PC, env->CP0_EPC); if (env->CP0_Status & (1 << CP0St_ERL)) @@ -1718,7 +1718,7 @@ static void debug_pre_eret (void) static void debug_post_eret (void) { - if (loglevel & CPU_LOG_EXEC) { + if (qemu_loglevel_mask(CPU_LOG_EXEC)) { qemu_log(" => PC " TARGET_FMT_lx " EPC " TARGET_FMT_lx, env->active_tc.PC, env->CP0_EPC); if (env->CP0_Status & (1 << CP0St_ERL)) diff --git a/target-mips/translate.c b/target-mips/translate.c index a3bbd742bc..692ea6dc07 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -8289,7 +8289,7 @@ done_generating: } #ifdef DEBUG_DISAS LOG_DISAS("\n"); - if (loglevel & CPU_LOG_TB_IN_ASM) { + if (qemu_loglevel_mask(CPU_LOG_TB_IN_ASM)) { qemu_log("IN: %s\n", lookup_symbol(pc_start)); log_target_disas(pc_start, ctx.pc - pc_start, 0); qemu_log("\n"); |