2002-08-25 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Sun, 25 Aug 2002 15:18:41 +0000 (15:18 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 25 Aug 2002 15:18:41 +0000 (15:18 +0000)
* 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>.

gdb/ChangeLog
gdb/rs6000-tdep.c

index 0fe8b83..49a0a75 100644 (file)
@@ -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.
index e6afa3b..398b0e0 100644 (file)
@@ -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);