From 1062ca825eafee452642a6d258c2b56ecac1aade Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 5 Aug 2003 02:38:06 +0000 Subject: [PATCH] 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. --- gdb/ChangeLog | 4 ++++ gdb/mips-linux-tdep.c | 2 +- gdb/solib-svr4.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) 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; -- 2.30.2