PR symtab/16426
authorDoug Evans <dje@google.com>
Tue, 14 Jan 2014 01:15:42 +0000 (17:15 -0800)
committerDoug Evans <dje@google.com>
Tue, 14 Jan 2014 01:15:42 +0000 (17:15 -0800)
commit13aaf454542c1028a033ac836d7a0d47c63a7029
treeef8e7526a16ef704d182a4bb80a30dae3f07e3dc
parent067c5c1de23cff42597ec35d4c2a0730d8c16fbe
PR symtab/16426

* dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
(try_open_dwop_file): Ditto.
* gdb_bfd.c: #include "vec.h".
(bfdp): New typedef.
(struct gdb_bfd_data): New member included_bfds.
(gdb_bfd_unref): Unref all included bfds.
(gdb_bfd_record_inclusion): New function.
* gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/gdb_bfd.c
gdb/gdb_bfd.h