diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2002-10-21 18:53:38 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2002-10-21 18:53:38 +0000 |
commit | 550633cbb18aeb803651d019c5b08a32d270aaf4 (patch) | |
tree | 49bda0332213ba6c1552ec9ff33333d37b4afe34 | |
parent | bc4a16aeddc8ecba69c92b6fec62d97bddecf3fb (diff) | |
download | fsf-binutils-gdb-550633cbb18aeb803651d019c5b08a32d270aaf4.zip fsf-binutils-gdb-550633cbb18aeb803651d019c5b08a32d270aaf4.tar.gz fsf-binutils-gdb-550633cbb18aeb803651d019c5b08a32d270aaf4.tar.bz2 |
2002-10-21 Elena Zannoni <ezannoni@redhat.com>
* solib-svr4.c (svr4_fetch_objfile_link_map): New function.
* solib-svr4.h (svr4_fetch_objfile_link_map): Export.
-rw-r--r-- | gdb/solib-svr4.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/solib-svr4.h b/gdb/solib-svr4.h index 8611dff..e41c240 100644 --- a/gdb/solib-svr4.h +++ b/gdb/solib-svr4.h @@ -72,6 +72,10 @@ struct link_map_offsets extern void set_solib_svr4_fetch_link_map_offsets (struct gdbarch *gdbarch, struct link_map_offsets *(*func) (void)); +/* This function is called by thread_db.c. Return the address of the + link map for the given objfile. */ +extern CORE_ADDR svr4_fetch_objfile_link_map (struct objfile *objfile); + /* 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. */ |