diff options
author | Tristan Gingold <gingold@adacore.com> | 2009-12-09 13:44:51 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2009-12-09 13:44:51 +0000 |
commit | ffb64a120e667bad7b2a79c5e617bdea7328f996 (patch) | |
tree | 3d4feeb781b01e435898c7b5a188b46bcbc1d842 /gdb/symfile.h | |
parent | 3e17ca4ee390a644d9787aff5af56447e466f684 (diff) | |
download | gdb-ffb64a120e667bad7b2a79c5e617bdea7328f996.tar.gz |
2009-12-02 Tristan Gingold <gingold@adacore.com>
* symfile.h (symbol_file_add_separate): New prototype.
(find_separate_debug_file_by_buildid): Ditto.
(find_separate_debug_file_by_debuglink): Ditto.
* symfile.c (reread_separate_symbols): Remove.
(find_separate_debug_file): Split into ...
(find_separate_debug_file_by_buildid): ... this and ...
(find_separate_debug_file_by_debuglink): ... this.
(symbol_file_add_with_addrs_or_offsets): Do not save orig_addrs.
Remove separate debug file handling.
(symbol_file_add_separate): New function.
(reread_symbols): Do not considere separate debug files, but free
them while handling their parent. Reindent.
* coffread.c (coff_symfile_read): Handle separate object file.
* elfread.c (elf_symfile_read): Ditto.
Diffstat (limited to 'gdb/symfile.h')
-rw-r--r-- | gdb/symfile.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h index 9061009f705..a9c5608b919 100644 --- a/gdb/symfile.h +++ b/gdb/symfile.h @@ -238,6 +238,13 @@ extern struct objfile *symbol_file_add_from_bfd (bfd *, int, struct section_addr_info *, 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. */ extern struct section_addr_info *alloc_section_addr_info (size_t |