struct so_list;
struct target_ops;
struct target_so_ops;
+struct program_space;
/* Called when we free all symtabs, to free the shared library information
as well. */
/* If ADDR lies in a shared library, return its name. */
-extern char *solib_address (CORE_ADDR);
+extern char *solib_name_from_address (struct program_space *, CORE_ADDR);
+
+/* Return 1 if ADDR lies within SOLIB. */
+
+extern int solib_contains_address_p (const struct so_list *, CORE_ADDR);
/* Return 1 if PC lies in the dynamic symbol resolution code of the
run time loader. */
extern void set_solib_ops (struct gdbarch *gdbarch,
struct target_so_ops *new_ops);
+/* Return non-zero if NAME is the libpthread shared library. */
+
+extern int libpthread_name_p (const char *name);
+
#endif /* SOLIB_H */