summaryrefslogtreecommitdiff
path: root/gdb/solist.h
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2000-11-21 01:09:54 +0000
committerMichael Snyder <msnyder@specifix.com>2000-11-21 01:09:54 +0000
commitaa9be74d4b992aceab67beadde1da94014bad25c (patch)
tree7033f775e83b806bf0c6c6fbf8a8225f31cdbb78 /gdb/solist.h
parenta2e9a389f699508ee6a3d6d9fcd77b73acf905a2 (diff)
downloadgdb-aa9be74d4b992aceab67beadde1da94014bad25c.tar.gz
2000-11-20 Michael Snyder <msnyder@cleaver.cygnus.com>
* solist.h: Declare new function solib_open. * solib.c (solib_open): New function. Abstracts some of the code from solib_map_sections, for finding the binary solib file. (solib_map_sections): Call solib_open. * solib-svr4.c (enable_break): Call solib_open.
Diffstat (limited to 'gdb/solist.h')
-rw-r--r--gdb/solist.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/solist.h b/gdb/solist.h
index e55190dc8ac..29252505ada 100644
--- a/gdb/solist.h
+++ b/gdb/solist.h
@@ -93,6 +93,9 @@ struct target_so_ops
void free_so (struct so_list *so);
+/* Find solib binary file and open it. */
+extern int solib_open (char *in_pathname, char **found_pathname);
+
/* FIXME: gdbarch needs to control this variable */
extern struct target_so_ops *current_target_so_ops;