diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/mips-linux-tdep.c | 2 | ||||
-rw-r--r-- | gdb/solib-svr4.c | 2 |
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; |