aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-07-23 15:03:59 +0000
committerTom Tromey <tromey@redhat.com>2012-07-23 15:03:59 +0000
commit08d2cd740c0c9ca78c849cf14e3470f0b8823139 (patch)
tree81730c60b8e1c0e08f83d6b9e5d4c45eb7b8cf23 /gdb/symfile.c
parent596f7d6703497a1482059bee3b0d54bb5e40ccf9 (diff)
downloadgdb-08d2cd740c0c9ca78c849cf14e3470f0b8823139.zip
gdb-08d2cd740c0c9ca78c849cf14e3470f0b8823139.tar.gz
gdb-08d2cd740c0c9ca78c849cf14e3470f0b8823139.tar.bz2
* 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.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r--gdb/symfile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index e1d5c15..7a913e9 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);
}