diff options
author | Daniel Jacobowitz <dan@debian.org> | 2006-10-26 15:37:21 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2006-10-26 15:37:21 +0000 |
commit | 6a9e97651e6a35ac41ab574f6380b477b51d1789 (patch) | |
tree | 907915ddcdb65ce4939bdc9a6d62ffa39735cbf4 /opcodes/h8300-dis.c | |
parent | be1a2dfa850d659031ffcb7f49920ff42857718c (diff) | |
download | gdb-6a9e97651e6a35ac41ab574f6380b477b51d1789.tar.gz |
* h8300-dis.c (bfd_h8_disassemble): Add missing consts.
Diffstat (limited to 'opcodes/h8300-dis.c')
-rw-r--r-- | opcodes/h8300-dis.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/opcodes/h8300-dis.c b/opcodes/h8300-dis.c index d8973813a73..d0e300656d7 100644 --- a/opcodes/h8300-dis.c +++ b/opcodes/h8300-dis.c @@ -362,7 +362,7 @@ bfd_h8_disassemble (bfd_vma addr, disassemble_info *info, int mach) for (qi = h8_instructions; qi->opcode->name; qi++) { const struct h8_opcode *q = qi->opcode; - op_type *nib = q->data.nib; + const op_type *nib = q->data.nib; unsigned int len = 0; while (1) @@ -640,7 +640,7 @@ bfd_h8_disassemble (bfd_vma addr, disassemble_info *info, int mach) } if (CONST_STRNEQ (q->name, "mova")) { - op_type *args = q->args.nib; + const op_type *args = q->args.nib; if (args[1] == (op_type) E) { @@ -666,7 +666,7 @@ bfd_h8_disassemble (bfd_vma addr, disassemble_info *info, int mach) } /* Fill in the args. */ { - op_type *args = q->args.nib; + const op_type *args = q->args.nib; int hadone = 0; int nargs; |