aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-05-12 11:57:32 +0000
committerNick Clifton <nickc@redhat.com>2003-05-12 11:57:32 +0000
commit049f8936e906ba762b5460a0b79e2fc7a39c6f4b (patch)
tree8a272c8cb53f501c5a04f65daca62924cfcc6e74 /opcodes
parent7ab5f2edf6305bad0bf90b02d8b9b11d2a97d78f (diff)
downloadgdb-049f8936e906ba762b5460a0b79e2fc7a39c6f4b.zip
gdb-049f8936e906ba762b5460a0b79e2fc7a39c6f4b.tar.gz
gdb-049f8936e906ba762b5460a0b79e2fc7a39c6f4b.tar.bz2
Add support for h8300hn and h8300sn
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/disassemble.c6
2 files changed, 8 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 97ae91e..54521ea 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2003-05-12 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
+
+ * disassemble.c (disassembler): Add support for h8300hn and h8300sn.
+
2003-05-09 Alan Modra <amodra@bigpond.net.au>
* i386-dis.c (print_insn): Test intel_syntax against (char) -1 in
diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c
index 1408f39..2d1358e 100644
--- a/opcodes/disassemble.c
+++ b/opcodes/disassemble.c
@@ -141,9 +141,11 @@ disassembler (abfd)
#endif
#ifdef ARCH_h8300
case bfd_arch_h8300:
- if (bfd_get_mach(abfd) == bfd_mach_h8300h)
+ if (bfd_get_mach (abfd) == bfd_mach_h8300h
+ || bfd_get_mach (abfd) == bfd_mach_h8300hn)
disassemble = print_insn_h8300h;
- else if (bfd_get_mach(abfd) == bfd_mach_h8300s)
+ else if (bfd_get_mach (abfd) == bfd_mach_h8300s
+ || bfd_get_mach (abfd) == bfd_mach_h8300sn)
disassemble = print_insn_h8300s;
else
disassemble = print_insn_h8300;