aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-08-05 02:38:06 +0000
committerAndrew Cagney <cagney@redhat.com>2003-08-05 02:38:06 +0000
commit1062ca825eafee452642a6d258c2b56ecac1aade (patch)
tree9fa7891823ecef9204118342959d85fd5247b2ad
parentb2764862fae540f2873c78cdbc9f5776904206c4 (diff)
downloadgdb-1062ca825eafee452642a6d258c2b56ecac1aade.zip
gdb-1062ca825eafee452642a6d258c2b56ecac1aade.tar.gz
gdb-1062ca825eafee452642a6d258c2b56ecac1aade.tar.bz2
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.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/mips-linux-tdep.c2
-rw-r--r--gdb/solib-svr4.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ed376c0..c81d7f6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/mips-linux-tdep.c b/gdb/mips-linux-tdep.c
index 78503d1..93a15e5 100644
--- a/gdb/mips-linux-tdep.c
+++ b/gdb/mips-linux-tdep.c
@@ -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;
diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c
index d433534..5ff6ba6 100644
--- a/gdb/solib-svr4.c
+++ b/gdb/solib-svr4.c
@@ -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;