From: Andrew Cagney Date: Tue, 5 Aug 2003 02:38:06 +0000 (+0000) Subject: 2003-08-04 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1062ca825eafee452642a6d258c2b56ecac1aade;p=binutils-gdb.git 2003-08-04 Andrew Cagney * solib-svr4.c (_initialize_svr4_solib): Update register_gdbarch_data call. * mips-linux-tdep.c (_initialize_mips_linux_tdep): Ditto. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ed376c0257a..c81d7f6114d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2003-08-04 Andrew Cagney + * 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 78503d1c650..93a15e54717 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 d4335349790..5ff6ba63ac8 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;