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 | e5e2b9ff10a2c61ee5e3c658022fd8789ebcf746 (patch) | |
tree | 331b04a77ac7ac1f99d3c92b80ab91ae62a9199e /gdb/solib-svr4.h | |
parent | d5e0ebeb621515f60d2d160b25b63c7ea16cb24a (diff) | |
download | gdb-e5e2b9ff10a2c61ee5e3c658022fd8789ebcf746.zip gdb-e5e2b9ff10a2c61ee5e3c658022fd8789ebcf746.tar.gz gdb-e5e2b9ff10a2c61ee5e3c658022fd8789ebcf746.tar.bz2 |
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 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 |