From 0a5429f697fe6d0451684232027d252b77c37672 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Wed, 8 Dec 2010 19:03:35 +0000 Subject: 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 | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gdb/ChangeLog') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 166c116..f54caee 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,15 @@ 2010-12-08 Doug Evans + 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. + * dwarf2read.c (write_psymtabs_to_index): When stat fails, pass file name to perror. -- cgit v1.1