aboutsummaryrefslogtreecommitdiff
path: root/gdb/solist.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2008-08-26 17:30:35 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2008-08-26 17:30:35 +0000
commitf1838a98418d9912df59591058ca560f2de5cf14 (patch)
tree6f1a59a1733ab613b344f6d54b7100f6ea468179 /gdb/solist.h
parent1cf3db46a678ced9d729572de9232fab9c00350d (diff)
downloadgdb-f1838a98418d9912df59591058ca560f2de5cf14.zip
gdb-f1838a98418d9912df59591058ca560f2de5cf14.tar.gz
gdb-f1838a98418d9912df59591058ca560f2de5cf14.tar.bz2
ChangeLog:
* remote.h (remote_filename_p, remote_bfd_open): Add prototypes. * remote.c (remote_bfd_iovec_open, remote_bfd_iovec_close, remote_bfd_iovec_pread, remote_bfd_iovec_stat, remote_filename_p, remote_bfd_open): New functions. (remote_hostio_send_command): Fail safely if remote connection is not set up. * solist.h (solib_open): Remove prototype. (solib_bfd_open): Add prototype. * solib.c: Include "remote.h". (solib_open): Remove, replace by ... (solib_bfd_open): ... this new function. Handle remote BFDs. (solib_map_sections): Replace solib_open by solib_bfd_open. * solib-frv.c: Include "exceptions.h". (enable_break2): Replace solib_open by solib_bfd_open. * solib-svr4.c: Include "exceptions.h". (enable_break): Replace solib_open by solib_bfd_open. * symfile.c: Include "remote.h". (build_id_verify): Handle remote BFDs. (separate_debug_file_exists): Use BFD to access file. Handle remote BFDs. (symfile_bfd_open): Handle remote BFDs. (reread_symbols): Handle remote BFDs. * NEWS: Mention "remote:" argument prefix to "set sysroot". doc/ChangeLog: * gdb.texinfo (Commands to Specify Files): Document "remote:" argument prefix to "set sysroot".
Diffstat (limited to 'gdb/solist.h')
-rw-r--r--gdb/solist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solist.h b/gdb/solist.h
index fb104b4..4a40a2d 100644
--- a/gdb/solist.h
+++ b/gdb/solist.h
@@ -127,7 +127,7 @@ void free_so (struct so_list *so);
struct so_list *master_so_list (void);
/* Find solib binary file and open it. */
-extern int solib_open (char *in_pathname, char **found_pathname);
+extern bfd *solib_bfd_open (char *in_pathname);
/* FIXME: gdbarch needs to control this variable */
extern struct target_so_ops *current_target_so_ops;