2003-08-04 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Tue, 5 Aug 2003 02:38:06 +0000 (02:38 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 5 Aug 2003 02:38:06 +0000 (02:38 +0000)
* solib-svr4.c (_initialize_svr4_solib): Update
register_gdbarch_data call.
* mips-linux-tdep.c (_initialize_mips_linux_tdep): Ditto.

gdb/ChangeLog
gdb/mips-linux-tdep.c
gdb/solib-svr4.c

index ed376c0257a019f8afdeb4044b183da2b63d1cb8..c81d7f6114dfae88b1369407284c20939f85ee56 100644 (file)
@@ -1,5 +1,9 @@
 2003-08-04  Andrew Cagney  <cagney@redhat.com>
 
+       * solib-svr4.c (_initialize_svr4_solib): Update
+       register_gdbarch_data call.
+       * mips-linux-tdep.c (_initialize_mips_linux_tdep): Ditto.
+
        * gdbarch.sh (gdbarch_data_free_ftype): Delete declaration.
        (register_gdbarch_data): Delete "free" parameter.  Update
        comments.
index 78503d1c65040c1606645d8b9fa21fb5c75b422d..93a15e547177238884173125099f1173587bf6ea 100644 (file)
@@ -716,7 +716,7 @@ _initialize_mips_linux_tdep (void)
   const struct bfd_arch_info *arch_info;
 
   register_addr_data =
-    register_gdbarch_data (init_register_addr_data, 0);
+    register_gdbarch_data (init_register_addr_data);
 
   for (arch_info = bfd_lookup_arch (bfd_arch_mips, 0);
        arch_info != NULL;
index d4335349790f88eb45cb0475f2dee1ccb06d6d87..5ff6ba63ac8e7a9dfd7495e4cbc4e60f97ee1b3d 100644 (file)
@@ -1472,7 +1472,7 @@ void
 _initialize_svr4_solib (void)
 {
   fetch_link_map_offsets_gdbarch_data =
-    register_gdbarch_data (init_fetch_link_map_offsets, 0);
+    register_gdbarch_data (init_fetch_link_map_offsets);
 
   svr4_so_ops.relocate_section_addresses = svr4_relocate_section_addresses;
   svr4_so_ops.free_so = svr4_free_so;