diff options
author | Kevin Buettner <kevinb@redhat.com> | 2001-09-26 07:03:13 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2001-09-26 07:03:13 +0000 |
commit | 9907f4aabe3aa7ab24681464a9f7838cda720a6a (patch) | |
tree | 987be63382a17f27d83ca4de41fa6c56cdedf47d /gdb/solib-svr4.h | |
parent | a9cc30a28094979b4647bd7bbcdf71e36e875761 (diff) | |
download | gdb-9907f4aabe3aa7ab24681464a9f7838cda720a6a.tar.gz |
Use gdbarch data mechanism instead of gdbarch swap mechanism to manage
the fetching of architecture specific link map offsets.
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 c2ee1d3a505..8611dff8e6e 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 |