aboutsummaryrefslogtreecommitdiff
path: root/opcodes/disassemble.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-03-07 11:06:15 +1030
committerAlan Modra <amodra@gmail.com>2018-03-07 16:56:39 +1030
commit52fe4420b771a0f3b4fc7c6535bbd6e9b279f775 (patch)
tree5c95445c7b005e3ffacf0c1f6af007aa50243c69 /opcodes/disassemble.h
parent0118219e1850a05ceb181a4f47a6906c01c17c83 (diff)
downloadgdb-52fe4420b771a0f3b4fc7c6535bbd6e9b279f775.zip
gdb-52fe4420b771a0f3b4fc7c6535bbd6e9b279f775.tar.gz
gdb-52fe4420b771a0f3b4fc7c6535bbd6e9b279f775.tar.bz2
XCOFF disassembler
xcoff (32-bit) objdump accepted but ignored -M options unless -mpowerpc was also given. This patch fixes that, leaving the default as -Mpwr for xcoff. I've also enabled more tests for xcoff targets. binutils/ * configure.ac: Add objdump_private_desc_xcoff for rs6000. * configure: Regenerate. gas/ * testsuite/gas/ppc/aix.exp: Run for rs6000 too. * testsuite/gas/ppc/ppc.exp: Run more tests for non-ELF targets. * testsuite/gas/ppc/machine.d: Don't run for PE targets. opcodes/ * disassemble.c (disassembler): Use bfd_arch_powerpc entry for bfd_arch_rs6000. * disassemble.h (print_insn_rs6000): Delete. * ppc-dis.c (powerpc_init_dialect): Handle rs6000. (disassemble_init_powerpc): Call powerpc_init_dialect for rs6000. (print_insn_rs6000): Delete.
Diffstat (limited to 'opcodes/disassemble.h')
-rw-r--r--opcodes/disassemble.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/opcodes/disassemble.h b/opcodes/disassemble.h
index 6968700..ee7a9c8 100644
--- a/opcodes/disassemble.h
+++ b/opcodes/disassemble.h
@@ -82,7 +82,6 @@ extern int print_insn_or1k (bfd_vma, disassemble_info *);
extern int print_insn_pdp11 (bfd_vma, disassemble_info *);
extern int print_insn_pj (bfd_vma, disassemble_info *);
extern int print_insn_pru (bfd_vma, disassemble_info *);
-extern int print_insn_rs6000 (bfd_vma, disassemble_info *);
extern int print_insn_s390 (bfd_vma, disassemble_info *);
extern int print_insn_sh64 (bfd_vma, disassemble_info *);
extern int print_insn_spu (bfd_vma, disassemble_info *);