From: Ken Raeburn Date: Tue, 25 May 1993 20:12:59 +0000 (+0000) Subject: print_insn_* routines want bfd_vma, not CORE_ADDR X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=337fd0067c09619592c7683f510509f4b9bc896a;p=binutils-gdb.git print_insn_* routines want bfd_vma, not CORE_ADDR --- diff --git a/gdb/mips-pinsn.c b/gdb/mips-pinsn.c index 530b2a742eb..199e335154e 100644 --- a/gdb/mips-pinsn.c +++ b/gdb/mips-pinsn.c @@ -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); } diff --git a/gdb/z8k-tdep.c b/gdb/z8k-tdep.c index 10e4e4b31ce..2021a2ed285 100644 --- a/gdb/z8k-tdep.c +++ b/gdb/z8k-tdep.c @@ -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); } }