diff options
author | Tristan Gingold <gingold@adacore.com> | 2009-12-14 12:50:39 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2009-12-14 12:50:39 +0000 |
commit | 874f57650c1c8be126f9f637fc6cd09af7b3ade8 (patch) | |
tree | 8097283d62d333311d146b0497e228629c1ef421 /gdb/symfile.h | |
parent | 3aa4238e2615dcd93c7f437e00645b4f413aa749 (diff) | |
download | gdb-874f57650c1c8be126f9f637fc6cd09af7b3ade8.zip gdb-874f57650c1c8be126f9f637fc6cd09af7b3ade8.tar.gz gdb-874f57650c1c8be126f9f637fc6cd09af7b3ade8.tar.bz2 |
2009-12-11 Tristan Gingold <gingold@adacore.com>
* symfile.h (find_separate_debug_file_by_buildid): Remove prototype.
(bfd_open_maybe_remote): New prototype.
* symfile.c (bfd_open_maybe_remote): New function.
(separate_debug_file_exists, reread_symbols): Use it.
(struct build_id, build_id_bfd_get, build_id_verify)
(build_id_to_debug_filename)
(find_separate_debug_file_by_buildid): Move these ...
* elfread.c (struct build_id)
(build_id_bfd_get, build_id_verify, build_id_to_debug_filename)
(find_separate_debug_file_by_buildid): ... here.
Diffstat (limited to 'gdb/symfile.h')
-rw-r--r-- | gdb/symfile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h index a9c5608..92e92a2 100644 --- a/gdb/symfile.h +++ b/gdb/symfile.h @@ -241,8 +241,6 @@ extern struct objfile *symbol_file_add_from_bfd (bfd *, int, extern void symbol_file_add_separate (bfd *bfd, int symfile_flags, struct objfile *objfile); -extern char *find_separate_debug_file_by_buildid (struct objfile *objfile); - extern char *find_separate_debug_file_by_debuglink (struct objfile *objfile); /* Create a new section_addr_info, with room for NUM_SECTIONS. */ @@ -324,6 +322,8 @@ extern void find_lowest_section (bfd *, asection *, void *); extern bfd *symfile_bfd_open (char *); +extern bfd *bfd_open_maybe_remote (const char *); + extern int get_section_index (struct objfile *, char *); /* Utility functions for overlay sections: */ |