diff options
author | Dave Brolley <brolley@redhat.com> | 2007-02-05 20:04:22 +0000 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2007-02-05 20:04:22 +0000 |
commit | bd2f2e55ad54541340e5ea415f1aba65aa80717e (patch) | |
tree | 6d992109e7618b96e71a48766987f0c82c577629 /opcodes/disassemble.c | |
parent | b5057acde36b5a9a52e1505a29091ec17c0b6ac5 (diff) | |
download | gdb-bd2f2e55ad54541340e5ea415f1aba65aa80717e.zip gdb-bd2f2e55ad54541340e5ea415f1aba65aa80717e.tar.gz gdb-bd2f2e55ad54541340e5ea415f1aba65aa80717e.tar.bz2 |
2007-02-05 Dave Brolley <brolley@redhat.com>
* mep-*: New support for Toshiba Media Processor (MeP).
* Makefile.am: Add support for MeP.
* configure.in: Likewise.
* disassemble.c: Likewise.
* Makefile.in: Regenerated.
* configure: Regenerated.
Diffstat (limited to 'opcodes/disassemble.c')
-rw-r--r-- | opcodes/disassemble.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c index f86d21c..bd40dd6 100644 --- a/opcodes/disassemble.c +++ b/opcodes/disassemble.c @@ -50,6 +50,7 @@ #define ARCH_m88k #define ARCH_maxq #define ARCH_mcore +#define ARCH_mep #define ARCH_mips #define ARCH_mmix #define ARCH_mn10200 @@ -261,6 +262,11 @@ disassembler (abfd) disassemble = print_insn_mcore; break; #endif +#ifdef ARCH_mep + case bfd_arch_mep: + disassemble = print_insn_mep; + break; +#endif #ifdef ARCH_mips case bfd_arch_mips: if (bfd_big_endian (abfd)) @@ -479,6 +485,12 @@ disassemble_init_for_target (struct disassemble_info * info) info->skip_zeroes = 32; break; #endif +#ifdef ARCH_mep + case bfd_arch_mep: + info->skip_zeroes = 256; + info->skip_zeroes_at_end = 0; + break; +#endif #ifdef ARCH_m32c case bfd_arch_m32c: info->endian = BFD_ENDIAN_BIG; |