]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* symfile.c (separate_debug_file_exists): Update.
authorTom Tromey <tromey@redhat.com>
Mon, 23 Jul 2012 15:03:59 +0000 (15:03 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 23 Jul 2012 15:03:59 +0000 (15:03 +0000)
(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.

gdb/ChangeLog
gdb/elfread.c
gdb/symfile.c
gdb/symfile.h

index 0f7f24a07024b232b1fe15354946fa3a67a1d888..c07c9db825608ea5a3717977059cbf85633c8081 100644 (file)
@@ -1,3 +1,12 @@
+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.
index 608a8682d831875fb84d5b85cb6f6c30b597a435..22ac158a593cc245da1fef304e154d4d4eaa24d8 100644 (file)
@@ -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;
 
index e1d5c15d4124e3b2972ebbf4e6166f330e6d5e17..7a913e97a91bd933ac879bcd9a8f0a8faa322fbc 100644 (file)
@@ -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);
          }
 
index edf1c242dc6769e4b131a71758d8694b1f99b6cf..bb75c18458610f9053c7eec3d83455237c4fb132 100644 (file)
@@ -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 *);