diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-08-25 13:15:50 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-08-25 13:15:50 +0000 |
commit | 3fd36f0ba3cd4fae36f08c420c6bf563fa7e652a (patch) | |
tree | 24502f1b8ec4bf8406cad764b9130cca639d966f /gdb/rs6000-tdep.c | |
parent | c01ad056f0c3774584fbd117980d057ae14a4cc6 (diff) | |
download | gdb-3fd36f0ba3cd4fae36f08c420c6bf563fa7e652a.tar.gz |
2002-08-24 Andrew Cagney <ac131313@redhat.com>
* rs6000-tdep.c (rs6000_gdbarch_init): Use deprecated version of
store_return_value.
(e500_extract_return_value): Change type of valbuf pointer to
void.
Diffstat (limited to 'gdb/rs6000-tdep.c')
-rw-r--r-- | gdb/rs6000-tdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index c73f92da04d..e6afa3b1707 100644 --- a/gdb/rs6000-tdep.c +++ b/gdb/rs6000-tdep.c @@ -1250,7 +1250,7 @@ ppc_push_return_address (CORE_ADDR pc, CORE_ADDR sp) /* Extract a function return value of type TYPE from raw register array REGBUF, and copy that return value into VALBUF in virtual format. */ static void -e500_extract_return_value (struct type *valtype, struct regcache *regbuf, char *valbuf) +e500_extract_return_value (struct type *valtype, struct regcache *regbuf, void *valbuf) { int offset = 0; int vallen = TYPE_LENGTH (valtype); @@ -2759,7 +2759,7 @@ rs6000_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_fp_regnum (gdbarch, 1); set_gdbarch_deprecated_extract_return_value (gdbarch, rs6000_extract_return_value); - set_gdbarch_store_return_value (gdbarch, rs6000_store_return_value); + set_gdbarch_deprecated_store_return_value (gdbarch, rs6000_store_return_value); if (v->arch == bfd_arch_powerpc) switch (v->mach) @@ -2794,7 +2794,7 @@ rs6000_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_pseudo_register_read (gdbarch, e500_pseudo_register_read); set_gdbarch_pseudo_register_write (gdbarch, e500_pseudo_register_write); set_gdbarch_extract_return_value (gdbarch, e500_extract_return_value); - set_gdbarch_store_return_value (gdbarch, e500_store_return_value); + set_gdbarch_deprecated_store_return_value (gdbarch, e500_store_return_value); break; default: tdep->ppc_vr0_regnum = -1; |