PR symtab/12302
authorDoug Evans <dje@google.com>
Wed, 8 Dec 2010 19:03:35 +0000 (19:03 +0000)
committerDoug Evans <dje@google.com>
Wed, 8 Dec 2010 19:03:35 +0000 (19:03 +0000)
commit0a5429f697fe6d0451684232027d252b77c37672
tree925cbbabe78d36ec91b11ddc68fb5c63b808ecf9
parent7e17e08811095ba976071556ade9778dcfecc69f
PR symtab/12302
* dwarf2read.c (struct psymtab_cu_index_map): New struct.
(hash_psymtab_cu_index, eq_psymtab_cu_index): New functions.
(struct addrmap_index_data): New struct.
(add_address_entry): Remove arg `pst', new args `start', `end'.
(add_address_entry_worker, write_address_map): New functions.
(write_psymtabs_to_index): Address table generation moved to
write_address_map.  Build a table mapping psymtab to CU index
to pass to it.
gdb/ChangeLog
gdb/dwarf2read.c