aboutsummaryrefslogtreecommitdiff
path: root/include/dis-asm.h
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2005-06-08 17:27:41 +0000
committerZack Weinberg <zackw@panix.com>2005-06-08 17:27:41 +0000
commit6b5d3a4d35ef634397172c1744e4a26a035a50c2 (patch)
tree563bec6489bea55014d0071fece9d27441b3e700 /include/dis-asm.h
parent03b13e59e203becdaec06f112afe53a50b11c2ce (diff)
downloadgdb-6b5d3a4d35ef634397172c1744e4a26a035a50c2.zip
gdb-6b5d3a4d35ef634397172c1744e4a26a035a50c2.tar.gz
gdb-6b5d3a4d35ef634397172c1744e4a26a035a50c2.tar.bz2
opcodes:
* arm-opc.h: Delete; fold contents into ... * arm-dis.c: ... here. Move includes of internal COFF headers next to includes of internal ELF headers. (streq, WORD_ADDRESS, BDISP, BDISP23): Delete, unused. (struct arm_opcode): Rename struct opcode32. Make 'assembler' const. (struct thumb_opcode): Rename struct opcode16. Make 'assembler' const. (arm_conditional, arm_fp_const, arm_shift, arm_regname, regnames) (iwmmxt_wwnames, iwmmxt_wwssnames): Make const. (regnames): Remove iWMMXt coprocessor register sets. (iwmmxt_regnames, iwmmxt_cregnames): New statics. (get_arm_regnames): Adjust fourth argument to match above changes. (set_iwmmxt_regnames): Delete. (print_insn_arm): Constify 'c'. Use ISO syntax for function pointer calls. Expand sole use of BDISP. Use iwmmxt_regnames and iwmmxt_cregnames, not set_iwmmxt_regnames. (print_insn_thumb16, print_insn_thumb32): Constify 'c'. Use ISO syntax for function pointer calls. include: * dis-asm.h (get_arm_regnames): Update prototype.
Diffstat (limited to 'include/dis-asm.h')
-rw-r--r--include/dis-asm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dis-asm.h b/include/dis-asm.h
index 906a5b8..fc1776c 100644
--- a/include/dis-asm.h
+++ b/include/dis-asm.h
@@ -274,7 +274,7 @@ extern void print_arm_disassembler_options (FILE *);
extern void parse_arm_disassembler_option (char *);
extern int get_arm_regname_num_options (void);
extern int set_arm_regname_option (int);
-extern int get_arm_regnames (int, const char **, const char **, const char ***);
+extern int get_arm_regnames (int, const char **, const char **, const char *const **);
extern bfd_boolean arm_symbol_is_valid (asymbol *, struct disassemble_info *);
/* Fetch the disassembler for a given BFD, if that support is available. */