PR symtab/15691
authorDoug Evans <dje@google.com>
Fri, 2 Aug 2013 00:33:07 +0000 (00:33 +0000)
committerDoug Evans <dje@google.com>
Fri, 2 Aug 2013 00:33:07 +0000 (00:33 +0000)
commit7ee85ab10c11d514ec7965e6960008bf90f72e54
treed8429ce7e4d8804f6c4e398772ad6ca8c6d81fe2
parent2e204b8240eff133b46427393c1393d93aa67cea
PR symtab/15691
* dwarf2read.c (struct dwarf2_per_cu_data): New member tu_read.
(fill_in_sig_entry_from_dwo_entry): Reorganize asserts.
Add assert of sig_entry->dwo_unit == NULL.
(lookup_dwo_signatured_type): Don't assign TU to a DWO if the TU
had already been read.
(read_signatured_type): Set per_cu.tu_read.

testsuite/
* gdb.dwarf2/fission-mix.exp: New file.
* gdb.dwarf2/fission-mix.h: New file.
* gdb.dwarf2/fission-mix.c: New file.
* gdb.dwarf2/fission-mix2.c: New file.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/fission-mix.c [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/fission-mix.exp [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/fission-mix.h [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/fission-mix2.c [new file with mode: 0644]