(Ada) change tagged types base_address computation
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 0d34775f8f13e8759a4db5b591827872f3d0f7dd..1c67e413a876e012cfe3d71f56b789a0b367a7b1 100644 (file)
@@ -1,3 +1,43 @@
+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.
This page took 0.027768 seconds and 4 git commands to generate.