aboutsummaryrefslogtreecommitdiff
path: root/opcodes/disassemble.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-07-19 07:52:40 +0000
committerNick Clifton <nickc@redhat.com>2002-07-19 07:52:40 +0000
commita40cbfa3c951ac0fcbdf8f98ab668beacca2b872 (patch)
tree97d5c0f90e243e154e4c450123cff2f9d53355e7 /opcodes/disassemble.c
parentccaf4e0741c1b4420a489e24cac518168106c146 (diff)
downloadgdb-a40cbfa3c951ac0fcbdf8f98ab668beacca2b872.zip
gdb-a40cbfa3c951ac0fcbdf8f98ab668beacca2b872.tar.gz
gdb-a40cbfa3c951ac0fcbdf8f98ab668beacca2b872.tar.bz2
Add IP2k GAS and OPCODES support.
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 b39114d..88fa635 100644
--- a/opcodes/disassemble.c
+++ b/opcodes/disassemble.c
@@ -36,6 +36,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define ARCH_i386
#define ARCH_i860
#define ARCH_i960
+#define ARCH_ip2k
#define ARCH_ia64
#define ARCH_fr30
#define ARCH_m32r
@@ -179,6 +180,11 @@ disassembler (abfd)
disassemble = print_insn_ia64;
break;
#endif
+#ifdef ARCH_ip2k
+ case bfd_arch_ip2k:
+ disassemble = print_insn_ip2k;
+ break;
+#endif
#ifdef ARCH_fr30
case bfd_arch_fr30:
disassemble = print_insn_fr30;