aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-svr4.h
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2001-03-10 06:17:24 +0000
committerKevin Buettner <kevinb@redhat.com>2001-03-10 06:17:24 +0000
commit21479deda01ad5fe23f41c69a46c10b7806ca5fa (patch)
tree1778b3af8b9df4d6a34af9efb6987d306e6d66e2 /gdb/solib-svr4.h
parentd7fa9de08de666af5647be3053c6b3f04996277b (diff)
downloadgdb-21479deda01ad5fe23f41c69a46c10b7806ca5fa.zip
gdb-21479deda01ad5fe23f41c69a46c10b7806ca5fa.tar.gz
gdb-21479deda01ad5fe23f41c69a46c10b7806ca5fa.tar.bz2
Cleanup solib-svr4.c by moving legacy code out to its own file.
Diffstat (limited to 'gdb/solib-svr4.h')
-rw-r--r--gdb/solib-svr4.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/gdb/solib-svr4.h b/gdb/solib-svr4.h
index d0ce954..c2ee1d3 100644
--- a/gdb/solib-svr4.h
+++ b/gdb/solib-svr4.h
@@ -64,7 +64,10 @@ struct link_map_offsets
int l_name_size;
};
-#ifndef SVR4_FETCH_LINK_MAP_OFFSETS
-extern struct link_map_offsets *default_svr4_fetch_link_map_offsets (void);
-#define SVR4_FETCH_LINK_MAP_OFFSETS() default_svr4_fetch_link_map_offsets ()
-#endif
+extern void set_solib_svr4_fetch_link_map_offsets (
+ struct link_map_offsets *(*func) (void));
+
+/* legacy_svr4_fetch_link_map_offsets_hook is a pointer to a function
+ which is used to fetch link map offsets. It will only be set
+ by solib-legacy.c, if at all. */
+extern struct link_map_offsets *(*legacy_svr4_fetch_link_map_offsets_hook)(void);