mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 14:30:48 +00:00
print_insn_* routines want bfd_vma, not CORE_ADDR
This commit is contained in:
parent
9942e68438
commit
337fd0067c
@ -35,7 +35,7 @@ print_insn (memaddr, stream)
|
||||
|
||||
/* print_insn_mips is in opcodes/mips-dis.c. */
|
||||
if (TARGET_BYTE_ORDER == BIG_ENDIAN)
|
||||
return print_insn_big_mips (memaddr, &info);
|
||||
return print_insn_big_mips ((bfd_vma) memaddr, &info);
|
||||
else
|
||||
return print_insn_little_mips (memaddr, &info);
|
||||
return print_insn_little_mips ((bfd_vma) memaddr, &info);
|
||||
}
|
||||
|
@ -214,11 +214,11 @@ print_insn (memaddr, stream)
|
||||
|
||||
if (BIG)
|
||||
{
|
||||
return print_insn_z8001 (memaddr, &info);
|
||||
return print_insn_z8001 ((bfd_vma) memaddr, &info);
|
||||
}
|
||||
else
|
||||
{
|
||||
return print_insn_z8002 (memaddr, &info);
|
||||
return print_insn_z8002 ((bfd_vma) memaddr, &info);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user