aboutsummaryrefslogtreecommitdiff
path: root/opcodes/disassemble.c
diff options
context:
space:
mode:
authorStan Cox <scox@redhat.com>2003-01-03 19:52:23 +0000
committerStan Cox <scox@redhat.com>2003-01-03 19:52:23 +0000
commit47b1a55a55bf15212bd64e27b10023d10499d9e3 (patch)
treea15eaeba3419715abbac5b4deed0a5e604146943 /opcodes/disassemble.c
parent8ccd593be0c584a884733323ce60185de826df46 (diff)
downloadgdb-47b1a55a55bf15212bd64e27b10023d10499d9e3.zip
gdb-47b1a55a55bf15212bd64e27b10023d10499d9e3.tar.gz
gdb-47b1a55a55bf15212bd64e27b10023d10499d9e3.tar.bz2
* iq2000-asm.c: New file.
* iq2000-desc.c: Likewise. * iq2000-desc.h: Likewise. * iq2000-dis.c: Likewise. * iq2000-ibld.c: Likewise. * iq2000-opc.c: Likewise. * iq2000-opc.h: Likewise. * Makefile.am (HFILES): Add iq2000-desc.h, iq2000-opc.h. (CFILES): Add iq2000-asm.c, iq2000-desc.c, iq2000-dis.c, iq2000-ibld.c, iq2000-opc.c. (ALL_MACHINES): Add iq2000-asm.lo, iq2000-desc.lo, iq2000-dis.lo, iq2000-ibld.lo, iq2000-opc.lo. (CLEANFILES): Add stamp-iq2000. (IQ2000_DEPS): New macro. (stamp-iq2000): New target. * Makefile.in: Regenerate. * configure.in: Handle bfd_iq2000_arch. * configure: 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 1c2c21c..7e6ba0b 100644
--- a/opcodes/disassemble.c
+++ b/opcodes/disassemble.c
@@ -70,6 +70,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define ARCH_xstormy16
#define ARCH_z8k
#define ARCH_frv
+#define ARCH_iq2000
#define INCLUDE_SHMEDIA
#endif
@@ -360,6 +361,11 @@ disassembler (abfd)
disassemble = print_insn_frv;
break;
#endif
+#ifdef ARCH_iq2000
+ case bfd_arch_iq2000:
+ disassemble = print_insn_iq2000;
+ break;
+#endif
default:
return 0;
}