diff options
author | Mark Kettenis <kettenis@gnu.org> | 2005-05-22 20:11:12 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2005-05-22 20:11:12 +0000 |
commit | 5238cf52e73e106f9e11a30e2fc32e8ed0f4d288 (patch) | |
tree | 297cf918faffe6ea4967f33f8975c533d88d5e1f /gdb/arm-tdep.c | |
parent | a96afa0f494e3b561934248190af84d37485748e (diff) | |
download | gdb-5238cf52e73e106f9e11a30e2fc32e8ed0f4d288.zip gdb-5238cf52e73e106f9e11a30e2fc32e8ed0f4d288.tar.gz gdb-5238cf52e73e106f9e11a30e2fc32e8ed0f4d288.tar.bz2 |
* arm-tdep.c (arm_extract_return_value, arm_store_return_value):
Change type of last argument to `gdb_byte *'.
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r-- | gdb/arm-tdep.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 44af314..fbb4697 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]; |