aboutsummaryrefslogtreecommitdiff
path: root/opcodes/disassemble.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-09-04 17:14:37 +0000
committerIan Lance Taylor <ian@airs.com>1999-09-04 17:14:37 +0000
commit1e608f986c4f02941e9e59c00babc379cb7bfc6d (patch)
treebe3d69fed6c5cf3f67c3e214fee01506fb86a192 /opcodes/disassemble.c
parent0bcb993b9f9ddf2dce0a3e137d42c027ac1edf70 (diff)
downloadgdb-1e608f986c4f02941e9e59c00babc379cb7bfc6d.zip
gdb-1e608f986c4f02941e9e59c00babc379cb7bfc6d.tar.gz
gdb-1e608f986c4f02941e9e59c00babc379cb7bfc6d.tar.bz2
1999-09-04 Steve Chamberlain <sac@pobox.com>
* pj-opc.c: New file. * pj-dis.c: New file. * disassemble.c (disassembler): Handle bfd_arch_pj. * configure.in: Handle bfd_pj_arch. * Makefile.am: Rebuild dependencies. (CFILES): Add pj-dis.c and pj-opc.c. (ALL_MACHINES): Add pj-dis.lo and pj-opc.lo. * configure, Makefile.in: Rebuild.
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 da6d5d5..74947f0 100644
--- a/opcodes/disassemble.c
+++ b/opcodes/disassemble.c
@@ -39,6 +39,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define ARCH_mn10200
#define ARCH_mn10300
#define ARCH_ns32k
+#define ARCH_pj
#define ARCH_powerpc
#define ARCH_rs6000
#define ARCH_sh
@@ -181,6 +182,11 @@ disassembler (abfd)
disassemble = print_insn_mn10300;
break;
#endif
+#ifdef ARCH_pj
+ case bfd_arch_pj:
+ disassemble = print_insn_pj;
+ break;
+#endif
#ifdef ARCH_powerpc
case bfd_arch_powerpc:
if (bfd_big_endian (abfd))