From e4f7b8c818485e2f02fa7f7e0255973b062eeeda Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Tue, 21 Nov 2000 01:09:54 +0000 Subject: 2000-11-20 Michael Snyder * 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. --- gdb/solist.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/solist.h') 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; -- cgit v1.1