aboutsummaryrefslogtreecommitdiff
path: root/opcodes/disassemble.c
diff options
context:
space:
mode:
authorDimitar Dimitrov <dimitar@dinux.eu>2016-12-30 12:39:50 +0200
committerAlan Modra <amodra@gmail.com>2016-12-31 12:02:50 +1030
commit111468496477e97c9414d2d54f97bfdaa380f794 (patch)
tree31a04a1497296d7b1b485e8ee77e747b3f3c971d /opcodes/disassemble.c
parent889294f6ffb380eb37b1f1f3bd22807fa9204c14 (diff)
downloadgdb-111468496477e97c9414d2d54f97bfdaa380f794.zip
gdb-111468496477e97c9414d2d54f97bfdaa380f794.tar.gz
gdb-111468496477e97c9414d2d54f97bfdaa380f794.tar.bz2
PRU Opcode Port
opcodes/ * Makefile.am: Add PRU source files. * configure.ac: Add PRU target. * disassemble.c (disassembler): Register PRU arch. * pru-dis.c: New file. * pru-opc.c: New file. * Makefile.in: Regenerate. * configure: Regenerate. Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
Diffstat (limited to 'opcodes/disassemble.c')
-rw-r--r--opcodes/disassemble.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c
index e1fb65c..aeed703 100644
--- a/opcodes/disassemble.c
+++ b/opcodes/disassemble.c
@@ -73,6 +73,7 @@
#define ARCH_pdp11
#define ARCH_pj
#define ARCH_powerpc
+#define ARCH_pru
#define ARCH_rs6000
#define ARCH_rl78
#define ARCH_rx
@@ -375,10 +376,14 @@ disassembler (bfd *abfd)
disassemble = print_insn_little_powerpc;
break;
#endif
+#ifdef ARCH_pru
+ case bfd_arch_pru:
+ disassemble = print_insn_pru;
+ break;
+#endif
#ifdef ARCH_riscv
case bfd_arch_riscv:
disassemble = print_insn_riscv;
- break;
#endif
#ifdef ARCH_rs6000
case bfd_arch_rs6000: