(gdb_bfd_open_maybe_remote): Rename from bfd_open_maybe_remote.
(reread_symbols): Update.
* elfread.c (build_id_verify): Update.
* symfile.h (gdb_bfd_open_maybe_remote): Rename from
bfd_open_maybe_remote.
+2012-07-23 Tom Tromey <tromey@redhat.com>
+
+ * symfile.c (separate_debug_file_exists): Update.
+ (gdb_bfd_open_maybe_remote): Rename from bfd_open_maybe_remote.
+ (reread_symbols): Update.
+ * elfread.c (build_id_verify): Update.
+ * symfile.h (gdb_bfd_open_maybe_remote): Rename from
+ bfd_open_maybe_remote.
+
2012-07-23 Tom Tromey <tromey@redhat.com>
* gdb_bfd.c (gdb_bfd_ref, gdb_bfd_unref): Fix comment.
int retval = 0;
/* We expect to be silent on the non-existing files. */
- abfd = bfd_open_maybe_remote (filename);
+ abfd = gdb_bfd_open_maybe_remote (filename);
if (abfd == NULL)
return 0;
if (filename_cmp (name, parent_objfile->name) == 0)
return 0;
- abfd = bfd_open_maybe_remote (name);
+ abfd = gdb_bfd_open_maybe_remote (name);
if (!abfd)
return 0;
returns NULL with the BFD error set. */
bfd *
-bfd_open_maybe_remote (const char *name)
+gdb_bfd_open_maybe_remote (const char *name)
{
bfd *result;
obfd_filename = bfd_get_filename (objfile->obfd);
/* Open the new BFD before freeing the old one, so that
the filename remains live. */
- objfile->obfd = bfd_open_maybe_remote (obfd_filename);
+ objfile->obfd = gdb_bfd_open_maybe_remote (obfd_filename);
gdb_bfd_unref (obfd);
}
extern bfd *symfile_bfd_open (char *);
-extern bfd *bfd_open_maybe_remote (const char *);
+extern bfd *gdb_bfd_open_maybe_remote (const char *);
extern int get_section_index (struct objfile *, char *);