* solib-svr4.c (_initialize_svr4_solib)
authorMark Kettenis <kettenis@gnu.org>
Wed, 27 Apr 2005 20:51:52 +0000 (20:51 +0000)
committerMark Kettenis <kettenis@gnu.org>
Wed, 27 Apr 2005 20:51:52 +0000 (20:51 +0000)
[SVR4_FETCH_LINK_MAP_OFFSETS]: Don't set non-existent variable
svr4_legacy_fetch_link_map_offsets.

gdb/ChangeLog
gdb/solib-svr4.c

index c7d160d2c2c6bb7ef26c1b831f6281a3ad1b2611..f66c6395b222814bad260041fa8ecaffd3c6fc4f 100644 (file)
@@ -1,5 +1,9 @@
 2005-04-27  Mark Kettenis  <kettenis@gnu.org>
 
+       * solib-svr4.c (_initialize_svr4_solib)
+       [SVR4_FETCH_LINK_MAP_OFFSETS]: Don't set non-existent variable
+       svr4_legacy_fetch_link_map_offsets.
+
        * sh-tdep.c (sh_linux_svr4_fetch_link_map_offsets): Remove function.
        (sh_gdbarch_init): Remove redundant prototype.
        * sh-linux-tdep.c: New file.
index 253be0a8469f1b1554cd1127733d731e847eb60a..a1e21b8494995f4d20fa0502067aae765cbc51af 100644 (file)
@@ -1412,11 +1412,6 @@ _initialize_svr4_solib (void)
 {
   solib_svr4_data = gdbarch_data_register_pre_init (solib_svr4_init);
 
-  /* FIXME: Eliminate this ASAP.  */
-#ifdef SVR4_FETCH_LINK_MAP_OFFSETS
-  svr4_legacy_fetch_link_map_offsets = SVR4_FETCH_LINK_MAP_OFFSETS;
-#endif
-
   svr4_so_ops.relocate_section_addresses = svr4_relocate_section_addresses;
   svr4_so_ops.free_so = svr4_free_so;
   svr4_so_ops.clear_solib = svr4_clear_solib;