summaryrefslogtreecommitdiff
path: root/sh4-dis.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2009-11-13 18:54:22 +0900
committerAurelien Jarno <aurelien@aurel32.net>2009-11-14 01:19:12 +0100
commitb4e1f0774755425f0b11eb5319f74cca6af8bba5 (patch)
tree72aea4d3bcd4c0bc664949339ee36bce2eb0687b /sh4-dis.c
parentb785e4768b968e81bdba2e148851d2936dd04769 (diff)
downloadqemu-b4e1f0774755425f0b11eb5319f74cca6af8bba5.tar.gz
qemu-b4e1f0774755425f0b11eb5319f74cca6af8bba5.tar.bz2
qemu-b4e1f0774755425f0b11eb5319f74cca6af8bba5.zip
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 'sh4-dis.c')
-rw-r--r--sh4-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh4-dis.c b/sh4-dis.c
index a502a61883..41fd8667b8 100644
--- a/sh4-dis.c
+++ b/sh4-dis.c
@@ -2065,7 +2065,7 @@ print_insn_sh (bfd_vma memaddr, struct disassemble_info *info)
}
if ((*info->symbol_at_address_func) (val, info))
{
- fprintf_fn (stream, "\t! 0x");
+ fprintf_fn (stream, "\t! ");
(*info->print_address_func) (val, info);
}
else