aboutsummaryrefslogtreecommitdiff
path: root/opcodes/disassemble.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-07-05 18:59:31 +0000
committerJeff Law <law@redhat.com>1996-07-05 18:59:31 +0000
commit25b344a4a21fc31cf8b4e5fe12d787c25e30f8d1 (patch)
tree984eb15bfc31d16163b9205bfd4322429b0c42d6 /opcodes/disassemble.c
parentcce8528df93021ce6c45f5e645f9281d3210f619 (diff)
downloadgdb-25b344a4a21fc31cf8b4e5fe12d787c25e30f8d1.zip
gdb-25b344a4a21fc31cf8b4e5fe12d787c25e30f8d1.tar.gz
gdb-25b344a4a21fc31cf8b4e5fe12d787c25e30f8d1.tar.bz2
No longer need to sanitize away h8s stuff.
Diffstat (limited to 'opcodes/disassemble.c')
-rw-r--r--opcodes/disassemble.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c
index 8abfbd8..26c54ca 100644
--- a/opcodes/disassemble.c
+++ b/opcodes/disassemble.c
@@ -86,6 +86,8 @@ disassembler (abfd)
case bfd_arch_h8300:
if (bfd_get_mach(abfd) == bfd_mach_h8300h)
disassemble = print_insn_h8300h;
+ else if (bfd_get_mach(abfd) == bfd_mach_h8300s)
+ disassemble = print_insn_h8300s;
else
disassemble = print_insn_h8300;
break;
@@ -156,11 +158,7 @@ disassembler (abfd)
#endif
#ifdef ARCH_sparc
case bfd_arch_sparc:
- if (bfd_get_mach (abfd) == bfd_mach_sparc_v9
- || bfd_get_mach (abfd) == bfd_mach_sparc_v9a)
- disassemble = print_insn_sparc64;
- else
- disassemble = print_insn_sparc;
+ disassemble = print_insn_sparc;
break;
#endif
#ifdef ARCH_w65