diff options
author | Magnus Damm <damm@opensource.se> | 2009-11-13 18:54:22 +0900 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2009-11-14 01:19:12 +0100 |
commit | b4e1f0774755425f0b11eb5319f74cca6af8bba5 (patch) | |
tree | 72aea4d3bcd4c0bc664949339ee36bce2eb0687b /disas.c | |
parent | b785e4768b968e81bdba2e148851d2936dd04769 (diff) | |
download | qemu-b4e1f0774755425f0b11eb5319f74cca6af8bba5.zip qemu-b4e1f0774755425f0b11eb5319f74cca6af8bba5.tar.gz qemu-b4e1f0774755425f0b11eb5319f74cca6af8bba5.tar.bz2 |
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 <damm@opensource.se>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'disas.c')
-rw-r--r-- | disas.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |