diff options
author | Nick Clifton <nickc@redhat.com> | 2003-05-12 11:57:32 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-05-12 11:57:32 +0000 |
commit | 6c7ea16becf847dba6e78e01af3c4fa716696733 (patch) | |
tree | c8f312100085e9810bec45fd65fd02e90ce81d6e /opcodes | |
parent | f8872a21f6e4bfcfcc04edfdf4b231449b94f7cb (diff) | |
download | gdb-6c7ea16becf847dba6e78e01af3c4fa716696733.tar.gz |
Add support for h8300hn and h8300sn
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 4 | ||||
-rw-r--r-- | opcodes/disassemble.c | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 97ae91eb3d0..54521ea2461 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 1408f39b1c1..2d1358eb172 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; |