aboutsummaryrefslogtreecommitdiff
path: root/opcodes/disassemble.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-04-27 13:34:20 +0000
committerNick Clifton <nickc@redhat.com>2001-04-27 13:34:20 +0000
commit87e6d782173c2d21d5f7ee1510a3b4f27a1fe68e (patch)
tree8b4c5fabd948d60ca0320dcbf43fcc5b60dc4d7a /opcodes/disassemble.c
parent015a42b4cf96cadcb996b6474ab61eca781fdde6 (diff)
downloadgdb-87e6d782173c2d21d5f7ee1510a3b4f27a1fe68e.zip
gdb-87e6d782173c2d21d5f7ee1510a3b4f27a1fe68e.tar.gz
gdb-87e6d782173c2d21d5f7ee1510a3b4f27a1fe68e.tar.bz2
Add openRISC support in opcodes
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 c374fd6..c085176 100644
--- a/opcodes/disassemble.c
+++ b/opcodes/disassemble.c
@@ -47,6 +47,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define ARCH_mn10200
#define ARCH_mn10300
#define ARCH_ns32k
+#define ARCH_openrisc
#define ARCH_pdp11
#define ARCH_pj
#define ARCH_powerpc
@@ -226,6 +227,11 @@ disassembler (abfd)
disassemble = print_insn_mn10300;
break;
#endif
+#ifdef ARCH_openrisc
+ case bfd_arch_openrisc:
+ disassemble = print_insn_openrisc;
+ break;
+#endif
#ifdef ARCH_pdp11
case bfd_arch_pdp11:
disassemble = print_insn_pdp11;