Pass existing_cu object to cutu_reader
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index f821370624324651f044aefc5583c2227e22b1f7..9a281943bca7d98d162a6cc9db7e316e530c75a0 100644 (file)
@@ -1,3 +1,72 @@
+2020-05-27  Simon Marchi  <simon.marchi@efficios.com>
+
+       * dwarf2/read.c (class cutu_reader) <cutu_reader>: Replace
+       `int use_existing_cu` parameter with `dwarf2_cu *existing_cu`.
+       (init_tu_and_read_dwo_dies): Likewise.
+       (cutu_reader::init_tu_and_read_dwo_dies): Likewise.
+       (cutu_reader::cutu_reader): Likewise.
+       (load_partial_comp_unit): Likewise.
+       (process_psymtab_comp_unit): Update.
+       (build_type_psymtabs_1): Update.
+       (process_skeletonless_type_unit): Update.
+       (load_full_comp_unit): Update.
+       (find_partial_die): Update.
+       (dwarf2_read_addr_index): Update.
+       (read_signatured_type): Update.
+
+2020-05-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * dwarf2/read.h (struct dwarf2_per_cu_data) <m_header,
+       m_header_read_in>: New fields.
+       <get_header>: New method.
+       * dwarf2/read.c (per_cu_header_read_in): Remove.
+       (dwarf2_per_cu_data::get_header): New.
+       (dwarf2_per_cu_data::addr_size): Update.
+       (dwarf2_per_cu_data::offset_size): Update.
+       (dwarf2_per_cu_data::ref_addr_size): Update.
+
+2020-05-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * dwarf2/read.c (load_cu): Return dwarf2_cu.
+       (dw2_do_instantiate_symtab): Update.
+       (queue_and_load_all_dwo_tus): Change parameter from
+       dwarf2_per_cu_data to dwarf2_cu.
+       (dwarf2_fetch_die_loc_sect_off): Update.
+       (dwarf2_fetch_constant_bytes): Update.
+       (dwarf2_fetch_die_type_sect_off): Update.
+
+2020-05-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * dwarf2/read.c (process_full_comp_unit,
+       process_full_type_unit): Remove per_cu, per_objfile paramters.
+       Add dwarf2_cu parameter.
+       (process_queue): Update.
+
+2020-05-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * dwarf2/read.c (create_cu_from_index_list): Replace
+       dwarf2_per_objfile parameter with dwarf2_per_bfd.
+       (create_cus_from_index_list): Likewise.
+       (create_cus_from_index): Likewise.
+       (create_signatured_type_table_from_index): Likewise.
+       (create_cus_from_debug_names_list): Likewise.
+       (create_cus_from_debug_names): Likewise.
+       (dwarf2_read_gdb_index): Update.
+       (dwarf2_read_debug_names): Update.
+
+2020-05-27  Tom Tromey  <tom@tromey.com>
+           Simon Marchi  <simon.marchi@efficios.com>
+
+       * dwarf2/read.h (struct dwarf2_per_objfile)
+       <get_type_for_signatured_type, set_type_for_signatured_type>:
+       New methods.
+       <m_type_map>: New member.
+       (struct signatured_type) <type>: Remove.
+       * dwarf2/read.c
+       (dwarf2_per_objfile::get_type_for_signatured_type,
+       dwarf2_per_objfile::set_type_for_signatured_type): New.
+       (get_signatured_type): Use new methods.
+
 2020-05-27  Tom Tromey  <tom@tromey.com>
            Simon Marchi  <simon.marchi@efficios.com>
 
This page took 0.025012 seconds and 4 git commands to generate.