From 46d79c043b2f27fe1a23f96a6e66dfb35e9d3818 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 25 Aug 2002 13:15:50 +0000 Subject: [PATCH] 2002-08-24 Andrew Cagney * rs6000-tdep.c (rs6000_gdbarch_init): Use deprecated version of store_return_value. (e500_extract_return_value): Change type of valbuf pointer to void. --- gdb/ChangeLog | 7 +++++++ gdb/rs6000-tdep.c | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7058e62130..e3734591b7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2002-08-24 Andrew Cagney + + * rs6000-tdep.c (rs6000_gdbarch_init): Use deprecated version of + store_return_value. + (e500_extract_return_value): Change type of valbuf pointer to + void. + 2002-08-24 Mark Kettenis * PROBLEMS: Clarify problems with FreeBSD's compiler and suggest diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index c73f92da04..e6afa3b170 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;