OSDN Git Service

2002-10-21 Elena Zannoni <ezannoni@redhat.com>
authorezannoni <ezannoni>
Mon, 21 Oct 2002 18:53:38 +0000 (18:53 +0000)
committerezannoni <ezannoni>
Mon, 21 Oct 2002 18:53:38 +0000 (18:53 +0000)
        * solib-svr4.c (svr4_fetch_objfile_link_map): New function.
        * solib-svr4.h (svr4_fetch_objfile_link_map): Export.

gdb/solib-svr4.h

index 8611dff..e41c240 100644 (file)
@@ -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. */