diff options
Diffstat (limited to 'gdb/solib-svr4.h')
-rw-r--r-- | gdb/solib-svr4.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gdb/solib-svr4.h b/gdb/solib-svr4.h index c2ee1d3..8611dff 100644 --- a/gdb/solib-svr4.h +++ b/gdb/solib-svr4.h @@ -64,8 +64,13 @@ struct link_map_offsets int l_name_size; }; -extern void set_solib_svr4_fetch_link_map_offsets ( - struct link_map_offsets *(*func) (void)); +/* set_solib_svr4_fetch_link_map_offsets() is intended to be called by + a <arch>_gdbarch_init() function. It is used to establish an + architecture specific link_map_offsets fetcher for the architecture + being defined. */ + +extern void set_solib_svr4_fetch_link_map_offsets + (struct gdbarch *gdbarch, 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 |