aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6000-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-08-25 13:15:50 +0000
committerAndrew Cagney <cagney@redhat.com>2002-08-25 13:15:50 +0000
commit46d79c043b2f27fe1a23f96a6e66dfb35e9d3818 (patch)
treec7fb398bac0b83cf47ea9ac66e6bbd963cfec978 /gdb/rs6000-tdep.c
parent2e17b763858bedbceca90170874358c0769d2581 (diff)
downloadgdb-46d79c043b2f27fe1a23f96a6e66dfb35e9d3818.zip
gdb-46d79c043b2f27fe1a23f96a6e66dfb35e9d3818.tar.gz
gdb-46d79c043b2f27fe1a23f96a6e66dfb35e9d3818.tar.bz2
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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index c73f92d..e6afa3b 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;