aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-pinsn.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-05-25 20:12:59 +0000
committerKen Raeburn <raeburn@cygnus>1993-05-25 20:12:59 +0000
commit337fd0067c09619592c7683f510509f4b9bc896a (patch)
tree94dafb75fb4bed8f45608f758ba936af6ec04366 /gdb/mips-pinsn.c
parent9942e6843844fe7d3a162cc780d959e47b478eb7 (diff)
downloadgdb-337fd0067c09619592c7683f510509f4b9bc896a.zip
gdb-337fd0067c09619592c7683f510509f4b9bc896a.tar.gz
gdb-337fd0067c09619592c7683f510509f4b9bc896a.tar.bz2
print_insn_* routines want bfd_vma, not CORE_ADDR
Diffstat (limited to 'gdb/mips-pinsn.c')
-rw-r--r--gdb/mips-pinsn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mips-pinsn.c b/gdb/mips-pinsn.c
index 530b2a7..199e335 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);
}