diff options
author | Tom Tromey <tromey@redhat.com> | 2012-07-23 15:03:59 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-07-23 15:03:59 +0000 |
commit | 08d2cd740c0c9ca78c849cf14e3470f0b8823139 (patch) | |
tree | 81730c60b8e1c0e08f83d6b9e5d4c45eb7b8cf23 | |
parent | 596f7d6703497a1482059bee3b0d54bb5e40ccf9 (diff) | |
download | gdb-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.
-rw-r--r-- | gdb/ChangeLog | 9 | ||||
-rw-r--r-- | gdb/elfread.c | 2 | ||||
-rw-r--r-- | gdb/symfile.c | 6 | ||||
-rw-r--r-- | gdb/symfile.h | 2 |
4 files changed, 14 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0f7f24a..c07c9db 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 608a868..22ac158 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 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); } diff --git a/gdb/symfile.h b/gdb/symfile.h index edf1c24..bb75c18 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 *); |