aboutsummaryrefslogtreecommitdiff
path: root/disas.c
diff options
context:
space:
mode:
Diffstat (limited to 'disas.c')
-rw-r--r--disas.c3
1 files changed, 3 insertions, 0 deletions
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);