OSDN Git Service

PR symtab/12302
authordevans <devans>
Thu, 9 Dec 2010 04:03:34 +0000 (04:03 +0000)
committerdevans <devans>
Thu, 9 Dec 2010 04:03:34 +0000 (04:03 +0000)
commitc2e695b63df9e762039d54b570be6a83919e3b2c
tree4cd7e93a6127d5f937076ecd7dcc415e3169b8b1
parent78742b8aef72c4675443630665ac1c328794101a
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