This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[COMMIT] Get rid of SVR4_FETCH_LINK_MAP_OFFSETS
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: gdb-patches at sourceware dot org
- Date: Wed, 27 Apr 2005 22:52:35 +0200 (CEST)
- Subject: [COMMIT] Get rid of SVR4_FETCH_LINK_MAP_OFFSETS
Now that I've cleaned up sh-linux, this becomes really obvious.
Committed,
Mark
Index: ChangeLog
from 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.
Index: solib-svr4.c
===================================================================
RCS file: /cvs/src/src/gdb/solib-svr4.c,v
retrieving revision 1.48
diff -u -p -r1.48 solib-svr4.c
--- solib-svr4.c 27 Apr 2005 14:30:15 -0000 1.48
+++ solib-svr4.c 27 Apr 2005 20:50:10 -0000
@@ -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;