OSDN Git Service

2009-12-02 Tristan Gingold <gingold@adacore.com>
authorgingold <gingold>
Wed, 9 Dec 2009 22:44:51 +0000 (22:44 +0000)
committergingold <gingold>
Wed, 9 Dec 2009 22:44:51 +0000 (22:44 +0000)
commit731a97497bed0c4910d31cb18e9c4e1eb1c819bc
tree074d8c8392f9a638b8ac43aa0fd09e1f0f98ce45
parent07084c427996819ed42ca15760d05bcc4bd896d3
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.
gdb/ChangeLog
gdb/coffread.c
gdb/elfread.c
gdb/symfile.c
gdb/symfile.h