summaryrefslogtreecommitdiff
path: root/opcodes/disassemble.c
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2000-07-20 16:46:28 +0000
committerHans-Peter Nilsson <hp@axis.com>2000-07-20 16:46:28 +0000
commit394da0579b7b4782bd53dcb2863c08b94de78fa4 (patch)
tree64a5f1caff4fca22a7e6fe2988d2339c6c3a95cf /opcodes/disassemble.c
parent4457515cf4c5270fd599bcedeacd9a1a0157e505 (diff)
downloadgdb-394da0579b7b4782bd53dcb2863c08b94de78fa4.tar.gz
* Makefile.am (CFILES): Add cris-dis.c and cris-opc.c.
(ALL_MACHINES): Add cris-dis.lo and cris-opc.lo. (cris-dis.lo, cris-opc.lo): New rules. * Makefile.in: Rebuild. * configure.in (bfd_cris_arch): New target. * configure: Rebuild. * disassemble.c (ARCH_cris): Define. (disassembler): Support ARCH_cris. * cris-dis.c, cris-opc.c: New files. * po/POTFILES.in, po/opcodes.pot: Regenerate.
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 a9b62e8fc5c..4b8f83e8931 100644
--- a/opcodes/disassemble.c
+++ b/opcodes/disassemble.c
@@ -25,6 +25,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define ARCH_arc
#define ARCH_arm
#define ARCH_avr
+#define ARCH_cris
#define ARCH_d10v
#define ARCH_d30v
#define ARCH_h8300
@@ -103,6 +104,11 @@ disassembler (abfd)
disassemble = print_insn_avr;
break;
#endif
+#ifdef ARCH_cris
+ case bfd_arch_cris:
+ disassemble = print_insn_cris;
+ break;
+#endif
#ifdef ARCH_d10v
case bfd_arch_d10v:
disassemble = print_insn_d10v;