summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog9
-rw-r--r--gdb/elfread.c2
-rw-r--r--gdb/symfile.c6
-rw-r--r--gdb/symfile.h2
4 files changed, 14 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0f7f24a0702..c07c9db8256 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,14 @@
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.
2012-07-23 Tom Tromey <tromey@redhat.com>
diff --git a/gdb/elfread.c b/gdb/elfread.c
index 608a8682d83..22ac158a593 100644
--- a/gdb/elfread.c
+++ b/gdb/elfread.c
@@ -1109,7 +1109,7 @@ build_id_verify (const char *filename, struct build_id *check)
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;
diff --git a/gdb/symfile.c b/gdb/symfile.c
index e1d5c15d412..7a913e97a91 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -1353,7 +1353,7 @@ separate_debug_file_exists (const char *name, unsigned long crc,
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;
@@ -1697,7 +1697,7 @@ set_initial_language (void)
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;
@@ -2516,7 +2516,7 @@ reread_symbols (void)
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);
}
diff --git a/gdb/symfile.h b/gdb/symfile.h
index edf1c242dc6..bb75c184586 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -550,7 +550,7 @@ extern void find_lowest_section (bfd *, asection *, void *);
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 *);