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.
This commit is contained in:
Michael Snyder
2000-11-21 01:09:54 +00:00
parent 22c720812e
commit e4f7b8c818
4 changed files with 103 additions and 51 deletions

View File

@@ -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;