aboutsummaryrefslogtreecommitdiff
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
parent* gdbserver/low-nbsd.c (fetch_inferior_registers, (diff)
downloadbinutils-gdb-e4f7b8c818485e2f02fa7f7e0255973b062eeeda.tar.gz
binutils-gdb-e4f7b8c818485e2f02fa7f7e0255973b062eeeda.tar.bz2
binutils-gdb-e4f7b8c818485e2f02fa7f7e0255973b062eeeda.zip
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;