summaryrefslogtreecommitdiff
path: root/gdb/solist.h
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2003-03-06 00:56:43 +0000
committerDavid Carlton <carlton@bactrian.org>2003-03-06 00:56:43 +0000
commit7e08d3087ba5fdeb658bcd13d333082efce78257 (patch)
tree4301ea268ab39b53f7243453399615ac9cc0fdb4 /gdb/solist.h
parent0c40460023b3ee8a5b9b37f5bedd604f482f4963 (diff)
downloadgdb-7e08d3087ba5fdeb658bcd13d333082efce78257.tar.gz
2003-03-05 David Carlton <carlton@math.stanford.edu>
* Merge with mainline. Tag is carlton_dictionary-20030305-merge.
Diffstat (limited to 'gdb/solist.h')
-rw-r--r--gdb/solist.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/solist.h b/gdb/solist.h
index dd1100c31cf..8e5c4321855 100644
--- a/gdb/solist.h
+++ b/gdb/solist.h
@@ -99,6 +99,12 @@ struct target_so_ops
/* Determine if PC lies in the dynamic symbol resolution code of
the run time loader */
int (*in_dynsym_resolve_code) (CORE_ADDR pc);
+
+ /* Extra hook for finding and opening a solib. Convenience function
+ for remote debuggers finding host libs */
+ int (*find_and_open_solib) (char *soname,
+ unsigned o_flags, char **temp_pathname);
+
};
void free_so (struct so_list *so);
@@ -122,5 +128,7 @@ extern struct target_so_ops *current_target_so_ops;
(current_target_so_ops->open_symbol_file_object)
#define TARGET_SO_IN_DYNSYM_RESOLVE_CODE \
(current_target_so_ops->in_dynsym_resolve_code)
+#define TARGET_SO_FIND_AND_OPEN_SOLIB \
+ (current_target_so_ops->find_and_open_solib)
#endif