aboutsummaryrefslogtreecommitdiff
path: root/gdb/solist.h
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2000-11-21 01:09:54 +0000
committerMichael Snyder <msnyder@vmware.com>2000-11-21 01:09:54 +0000
commite4f7b8c818485e2f02fa7f7e0255973b062eeeda (patch)
tree56894cad1a74ef224d913413eb45a162052ed76e /gdb/solist.h
parent22c720812e398d45e1529caf3e7486c933c5084e (diff)
downloadgdb-e4f7b8c818485e2f02fa7f7e0255973b062eeeda.zip
gdb-e4f7b8c818485e2f02fa7f7e0255973b062eeeda.tar.gz
gdb-e4f7b8c818485e2f02fa7f7e0255973b062eeeda.tar.bz2
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 e55190d..2925250 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;