diff options
Diffstat (limited to 'gdb/solib-svr4.h')
-rw-r--r-- | gdb/solib-svr4.h | 11 |
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); |