diff options
author | Alan Modra <amodra@gmail.com> | 2002-12-02 13:13:37 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-12-02 13:13:37 +0000 |
commit | 6a51a8a8d34f57a9b88de4961c67d0a4cb7026e3 (patch) | |
tree | 2188ef42e5ae09fc9a9238f35d54564ef9779ba5 /opcodes/arm-dis.c | |
parent | 4c83186b7629c3e0645034df71a9ae4ac77e1e8a (diff) | |
download | gdb-6a51a8a8d34f57a9b88de4961c67d0a4cb7026e3.zip gdb-6a51a8a8d34f57a9b88de4961c67d0a4cb7026e3.tar.gz gdb-6a51a8a8d34f57a9b88de4961c67d0a4cb7026e3.tar.bz2 |
* arm-dis.c (print_insn_arm): Constify "insn". Formatting.
(print_insn_thumb): Likewise.
* h8500-dis.c (print_insn_h8500): Constify "opcode".
* mcore-dis.c (print_insn_mcore): Constify "op". Formatting.
* ns32k-dis.c (print_insn_arg <case 'F'>): Use a union to avoid
type-punned pointer warnings.
<case 'L'>: Likewise. Fix error message too.
* pdp11-dis.c (print_reg): Warning fix.
* sh-dis.c (print_movxy): Constify "op" param.
(print_insn_ddt): Constify sh_opcode_info vars.
(print_insn_ppi): Likewise.
(print_insn_sh): Likewise.
* tic30-dis.c (cnvt_tmsfloat_ieee): Use a union to avoid
type-punned pointer warnings.
* w65-dis.c (print_insn_w65): Constify "op".
Diffstat (limited to 'opcodes/arm-dis.c')
-rw-r--r-- | opcodes/arm-dis.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c index ff351d0..62a2a39 100644 --- a/opcodes/arm-dis.c +++ b/opcodes/arm-dis.c @@ -172,13 +172,13 @@ arm_decode_shift (given, func, stream) static int print_insn_arm (pc, info, given) - bfd_vma pc; - struct disassemble_info * info; - long given; + bfd_vma pc; + struct disassemble_info *info; + long given; { - struct arm_opcode * insn; - void * stream = info->stream; - fprintf_ftype func = info->fprintf_func; + const struct arm_opcode *insn; + void *stream = info->stream; + fprintf_ftype func = info->fprintf_func; for (insn = arm_opcodes; insn->assembler; insn++) { @@ -753,13 +753,13 @@ print_insn_arm (pc, info, given) static int print_insn_thumb (pc, info, given) - bfd_vma pc; - struct disassemble_info * info; - long given; + bfd_vma pc; + struct disassemble_info *info; + long given; { - struct thumb_opcode * insn; - void * stream = info->stream; - fprintf_ftype func = info->fprintf_func; + const struct thumb_opcode *insn; + void *stream = info->stream; + fprintf_ftype func = info->fprintf_func; for (insn = thumb_opcodes; insn->assembler; insn++) { |