From b4e1f0774755425f0b11eb5319f74cca6af8bba5 Mon Sep 17 00:00:00 2001 From: Magnus Damm Date: Fri, 13 Nov 2009 18:54:22 +0900 Subject: sh4 disasm fixes Add the sh4 target to the monitor disassembly function, and remove a duplicate "0x" printout from the sh4 dis- assembly code. Signed-off-by: Magnus Damm Signed-off-by: Aurelien Jarno --- disas.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'disas.c') diff --git a/disas.c b/disas.c index ce342bc8ee..f7bcce748c 100644 --- a/disas.c +++ b/disas.c @@ -393,6 +393,9 @@ void monitor_disas(Monitor *mon, CPUState *env, #else print_insn = print_insn_little_mips; #endif +#elif defined(TARGET_SH4) + disasm_info.mach = bfd_mach_sh4; + print_insn = print_insn_sh; #else monitor_printf(mon, "0x" TARGET_FMT_lx ": Asm output not supported on this arch\n", pc); -- cgit v1.2.1