From: Mark Kettenis Date: Sun, 22 May 2005 20:11:12 +0000 (+0000) Subject: * arm-tdep.c (arm_extract_return_value, arm_store_return_value): X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5238cf52e73e106f9e11a30e2fc32e8ed0f4d288;p=binutils-gdb.git * arm-tdep.c (arm_extract_return_value, arm_store_return_value): Change type of last argument to `gdb_byte *'. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index df20f188ff8..0d932db9486 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2005-05-22 Mark Kettenis + * arm-tdep.c (arm_extract_return_value, arm_store_return_value): + Change type of last argument to `gdb_byte *'. + * configure.host: Add arm*-*-openbsd*. * configure.tgt: Add arm*-*-openbsd*. diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 44af314a7ed..fbb4697e3d2 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -2013,12 +2013,9 @@ arm_breakpoint_from_pc (CORE_ADDR *pcptr, int *lenptr) format, into VALBUF. */ static void -arm_extract_return_value (struct type *type, - struct regcache *regs, - void *dst) +arm_extract_return_value (struct type *type, struct regcache *regs, + gdb_byte *valbuf) { - bfd_byte *valbuf = dst; - if (TYPE_CODE_FLT == TYPE_CODE (type)) { switch (gdbarch_tdep (current_gdbarch)->fp_model) @@ -2210,10 +2207,8 @@ arm_use_struct_convention (int gcc_p, struct type *type) static void arm_store_return_value (struct type *type, struct regcache *regs, - const void *src) + const gdb_byte *valbuf) { - const bfd_byte *valbuf = src; - if (TYPE_CODE (type) == TYPE_CODE_FLT) { char buf[MAX_REGISTER_SIZE];