* 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.
This commit is contained in:
parent
596f7d6703
commit
08d2cd740c
4 changed files with 14 additions and 5 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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 *);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue