From 337fd0067c09619592c7683f510509f4b9bc896a Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 25 May 1993 20:12:59 +0000 Subject: [PATCH] print_insn_* routines want bfd_vma, not CORE_ADDR --- gdb/mips-pinsn.c | 4 ++-- gdb/z8k-tdep.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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); } } -- 2.30.2