aboutsummaryrefslogtreecommitdiff
path: root/opcodes/disassemble.c
diff options
context:
space:
mode:
authorCatherine Moore <clm@redhat.com>2005-09-30 15:28:52 +0000
committerCatherine Moore <clm@redhat.com>2005-09-30 15:28:52 +0000
commit4b7f6baa0bb2cd12d9401a6d9d5520c61c4a8c6c (patch)
tree78b1b602d69c0de6ebd656b831c8a705c24a0cb3 /opcodes/disassemble.c
parent74c2b7e0f306b9983bd977c028e8f321f523d433 (diff)
downloadgdb-4b7f6baa0bb2cd12d9401a6d9d5520c61c4a8c6c.zip
gdb-4b7f6baa0bb2cd12d9401a6d9d5520c61c4a8c6c.tar.gz
gdb-4b7f6baa0bb2cd12d9401a6d9d5520c61c4a8c6c.tar.bz2
* Makefile.am: Bfin support.
* Makefile.in: Regenerated. * aclocal.m4: Regenerated. * bfin-dis.c: New file. * configure.in: Bfin support. * configure: Regenerated. * disassemble.c (ARCH_bfin): Define. (disassembler): Add case for bfd_arch_bfin.
Diffstat (limited to 'opcodes/disassemble.c')
-rw-r--r--opcodes/disassemble.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c
index c0ff7b4..9304e08 100644
--- a/opcodes/disassemble.c
+++ b/opcodes/disassemble.c
@@ -24,6 +24,7 @@
#define ARCH_arc
#define ARCH_arm
#define ARCH_avr
+#define ARCH_bfin
#define ARCH_cris
#define ARCH_crx
#define ARCH_d10v
@@ -118,6 +119,11 @@ disassembler (abfd)
disassemble = print_insn_avr;
break;
#endif
+#ifdef ARCH_bfin
+ case bfd_arch_bfin:
+ disassemble = print_insn_bfin;
+ break;
+#endif
#ifdef ARCH_cris
case bfd_arch_cris:
disassemble = cris_get_disassembler (abfd);