mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
* h8300-dis.c (bfd_h8_disassemble): Add missing consts.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2006-10-26 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
|
* h8300-dis.c (bfd_h8_disassemble): Add missing consts.
|
||||||
|
|
||||||
2006-10-25 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
|
2006-10-25 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
|
||||||
Yukishige Shibata <shibata@rd.scei.sony.co.jp>
|
Yukishige Shibata <shibata@rd.scei.sony.co.jp>
|
||||||
Nobuhisa Fujinami <fnami@rd.scei.sony.co.jp>
|
Nobuhisa Fujinami <fnami@rd.scei.sony.co.jp>
|
||||||
|
@ -362,7 +362,7 @@ bfd_h8_disassemble (bfd_vma addr, disassemble_info *info, int mach)
|
|||||||
for (qi = h8_instructions; qi->opcode->name; qi++)
|
for (qi = h8_instructions; qi->opcode->name; qi++)
|
||||||
{
|
{
|
||||||
const struct h8_opcode *q = qi->opcode;
|
const struct h8_opcode *q = qi->opcode;
|
||||||
op_type *nib = q->data.nib;
|
const op_type *nib = q->data.nib;
|
||||||
unsigned int len = 0;
|
unsigned int len = 0;
|
||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
@ -640,7 +640,7 @@ bfd_h8_disassemble (bfd_vma addr, disassemble_info *info, int mach)
|
|||||||
}
|
}
|
||||||
if (CONST_STRNEQ (q->name, "mova"))
|
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)
|
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. */
|
/* Fill in the args. */
|
||||||
{
|
{
|
||||||
op_type *args = q->args.nib;
|
const op_type *args = q->args.nib;
|
||||||
int hadone = 0;
|
int hadone = 0;
|
||||||
int nargs;
|
int nargs;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user