+2017-12-11 Xavier Roirand <roirand@adacore.com>
+ Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (ada_tag_value_at_base_address): Change the way
+ tagged type base address is computed.
+ (enum ada_primitive_types) <ada_primitive_type_storage_offset>:
+ New enumerate.
+ (ada_language_arch_info): Set the ada_primitive_type_storage_offset
+ element of lai->primitive_type_vector.
+
+2017-12-08 Pedro Alves <palves@redhat.com>
+
+ * dwarf2read.c (mock_mapped_index): Reimplement as an extension of
+ mapped_index_base.
+ (check_match): Adjust to use mock_index directly.
+ (check_find_bounds_finds)
+ (test_mapped_index_find_name_component_bounds): Adjust to work
+ with a mapped_index_base.
+
+2017-12-08 Pedro Alves <palves@redhat.com>
+
+ * dwarf2read.c (struct mapped_index_base): New, partially factored
+ out from ...
+ (struct mapped_index): ... this. Inherit mapped_index_base.
+ (mapped_index::symbol_name_slot_invalid):
+ (mapped_index::symbol_name_at): Add override marker.
+ (mapped_index::symbol_name_count): New.
+ (struct mapped_debug_names): Inherit mapped_index_base.
+ (mapped_debug_names::symbol_name_at): New.
+ (mapped_debug_names::symbol_name_count): New.
+ (mapped_index::find_name_components_bounds): Rename to ...
+ (mapped_index_base::find_name_components_bounds): ... this.
+ (mapped_index::build_name_components): Rename to ...
+ (mapped_index_base::build_name_components): ... this. Adjust to
+ use mapped_index_base::symbol_name_count and
+ mapped_index_base::symbol_name_slot_invalid.
+ (dw2_expand_symtabs_matching_symbol): Take a mapped_index_base
+ instead of a mapped_index. Use
+ dw2_expand_symtabs_matching_symbol.
+
+2017-12-08 Pedro Alves <palves@redhat.com>
+
+ * dwarf2read.c (mapped_index::symbol_table_slot): New.
+ (mapped_index::address_table): Now a gdb::array_view of const
+ gdb_byte.
+ (mapped_index::symbol_table): Now a gdb::array_view of
+ symbol_table_slot.
+ (mapped_index::address_table_size)
+ (mapped_index::symbol_table_slots): Delete.
+ (create_addrmap_from_index): Adjust.
+ (find_slot_in_mapped_hash): Adjust.
+ (read_index_from_section): Adjust.
+ (dwarf2_read_index): Adjust.
+
+2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
+ Pedro Alves <palves@redhat.com>
+
+ * defs.h (elf_sym_fns_debug_names): New declaration.
+ * dwarf2read.c: Include "hash_enum.h".
+ (mapped_debug_names): New.
+ (struct dwarf2_per_objfile): Add debug_names, debug_aranges and
+ debug_names_table.
+ (dwarf2_elf_names): Add ".debug_names" and ".debug_aranges".
+ (struct dwz_file): Add debug_names.
+ (dwarf2_per_objfile::locate_sections): Handle debug_names and
+ debug_aranges.
+ (locate_dwz_sections): Handle debug_names.
+ (create_signatured_type_table_from_debug_names)
+ (create_addrmap_from_aranges): New.
+ (dwarf2_read_index): Update function comment.
+ (dwarf5_augmentation): Moved up.
+ (read_debug_names_from_section, create_cus_from_debug_names_list)
+ (create_cus_from_debug_names, dwarf2_read_debug_names): New.
+ (dwarf5_djb_hash): Moved up.
+ (dw2_debug_names_iterator): New.
+ (read_indirect_string_at_offset): New declaration.
+ (mapped_debug_names::namei_to_name)
+ (dw2_debug_names_iterator::find_vec_in_debug_names)
+ (dw2_debug_names_iterator::next, dw2_debug_names_lookup_symbol)
+ (dw2_debug_names_dump, dw2_debug_names_expand_symtabs_for_function)
+ (dw2_debug_names_expand_symtabs_matching, dwarf2_debug_names_functions):
+ New.
+ (dwarf2_initialize_objfile): Return also elf_sym_fns_debug_names.
+ (debug_names::djb_hash): Rename it to dwarf5_djb_hash.
+ (debug_names::build): Update djb_hash caller.
+ (write_debug_names): Move out and rename augmentation to
+ dwarf5_augmentation.
+ * elfread.c (elf_sym_fns_debug_names): New.
+ * psymtab.h (dwarf2_debug_names_functions): New declaration.
+ * symfile.h (struct dwarf2_debug_sections): Add debug_names and
+ debug_aranges.
+ * xcoffread.c (dwarf2_xcoff_names): Add debug_names and debug_aranges.
+
+2017-12-08 Pedro Alves <palves@redhat.com>
+
+ * common/hash_enum.h: New file.
+
+2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2read.c (create_cu_from_index_list): New from ...
+ (create_cus_from_index_list): ... this function, use it.
+ (dw_expand_symtabs_matching_file_matcher)
+ (dw2_expand_symtabs_matching_one): New from ...
+ (dw2_expand_symtabs_matching): ... this function, use them.
+
+2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * defs.h (elf_sym_fns_lazy_psyms, elf_sym_fns_gdb_index): Move here
+ declarations from elfread.c.
+ (dwarf2_initialize_objfile): Change return value.
+ * elfread.c (elf_sym_fns_lazy_psyms, elf_sym_fns_gdb_index): Move these
+ declarations to defs.h.
+ (elf_symfile_read): Adjust dwarf2_initialize_objfile caller.
+ * symfile.h (dwarf2_initialize_objfile): Change return type.
+
2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
Pedro Alves <palves@redhat.com>