diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2017-09-14 08:21:40 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2017-10-25 11:41:42 +0200 |
commit | 0eea8cdd6d680e74f9f994bbb024d0c486b5cc3c (patch) | |
tree | 9056d87810a8475dde60d863bcca9d9a2dd67132 /target/ppc/translate.c | |
parent | f50f3dd5d6a982943ba603ad5d79a7f6a0f98404 (diff) | |
download | qemu-0eea8cdd6d680e74f9f994bbb024d0c486b5cc3c.zip qemu-0eea8cdd6d680e74f9f994bbb024d0c486b5cc3c.tar.gz qemu-0eea8cdd6d680e74f9f994bbb024d0c486b5cc3c.tar.bz2 |
target/ppc: Convert to disas_set_info hook
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/ppc/translate.c')
-rw-r--r-- | target/ppc/translate.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/target/ppc/translate.c b/target/ppc/translate.c index a81ff69..cddbf92 100644 --- a/target/ppc/translate.c +++ b/target/ppc/translate.c @@ -7407,12 +7407,9 @@ void gen_intermediate_code(CPUState *cs, struct TranslationBlock *tb) #if defined(DEBUG_DISAS) if (qemu_loglevel_mask(CPU_LOG_TB_IN_ASM) && qemu_log_in_addr_range(pc_start)) { - int flags; - flags = env->bfd_mach; - flags |= ctx.le_mode << 16; qemu_log_lock(); qemu_log("IN: %s\n", lookup_symbol(pc_start)); - log_target_disas(cs, pc_start, ctx.nip - pc_start, flags); + log_target_disas(cs, pc_start, ctx.nip - pc_start, 0); qemu_log("\n"); qemu_log_unlock(); } |