diff options
author | Dimitar Dimitrov <dimitar@dinux.eu> | 2016-12-30 12:39:50 +0200 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-12-31 12:02:50 +1030 |
commit | 111468496477e97c9414d2d54f97bfdaa380f794 (patch) | |
tree | 31a04a1497296d7b1b485e8ee77e747b3f3c971d /opcodes/disassemble.c | |
parent | 889294f6ffb380eb37b1f1f3bd22807fa9204c14 (diff) | |
download | gdb-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.c | 7 |
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: |