aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-08-25 15:18:41 +0000
committerAndrew Cagney <cagney@redhat.com>2002-08-25 15:18:41 +0000
commitd0403e0050dd2e8a717d830ed3298cd8f9c3676a (patch)
treebb0a8027be606c1b6f06405f88f87d8fcd1fdbc8
parent0ed04cce6d6d1d4eaf7f92896c12b18bc284fe17 (diff)
downloadgdb-d0403e0050dd2e8a717d830ed3298cd8f9c3676a.zip
gdb-d0403e0050dd2e8a717d830ed3298cd8f9c3676a.tar.gz
gdb-d0403e0050dd2e8a717d830ed3298cd8f9c3676a.tar.bz2
2002-08-25 Andrew Cagney <ac131313@redhat.com>
* rs6000-tdep.c (rs6000_gdbarch_init): Set store_struct_return instead of deprecated_store_return_value. Fix fallout from 2002-08-23 Andrew Cagney <cagney@redhat.com>.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/rs6000-tdep.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0fe8b83..49a0a75 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2002-08-25 Andrew Cagney <ac131313@redhat.com>
+ * rs6000-tdep.c (rs6000_gdbarch_init): Set store_struct_return
+ instead of deprecated_store_return_value. Fix fallout from
+ 2002-08-23 Andrew Cagney <cagney@redhat.com>.
+
+2002-08-25 Andrew Cagney <ac131313@redhat.com>
+
* regcache.c (max_register_size): New function.
(init_legacy_regcache_descr): Ensure that max_register_size is
large enough for REGISTER_VIRTUAL_SIZE.
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index e6afa3b..398b0e0 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -2888,7 +2888,7 @@ rs6000_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
else
set_gdbarch_push_arguments (gdbarch, rs6000_push_arguments);
- set_gdbarch_deprecated_store_return_value (gdbarch, rs6000_store_return_value);
+ set_gdbarch_store_struct_return (gdbarch, rs6000_store_struct_return);
set_gdbarch_deprecated_extract_struct_value_address (gdbarch, rs6000_extract_struct_value_address);
set_gdbarch_pop_frame (gdbarch, rs6000_pop_frame);