Remove dwarf2_per_cu_data::dwarf2_per_objfile
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 27 May 2020 15:14:06 +0000 (11:14 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 27 May 2020 15:15:58 +0000 (11:15 -0400)
commit127bbf4b50c31b75b9d4c0ecc6b014dbd7ec38f9
tree156488f614b78a54787811af1cc90060e18050c9
parentf6e649ddafd88efbd1c02432181300595dadab33
Remove dwarf2_per_cu_data::dwarf2_per_objfile

Nothing references this field anymore, remove it.

gdb/ChangeLog:

* dwarf2/read.h (struct dwarf2_per_cu_data):
<dwarf2_per_objfile>: Remove.
* dwarf2/read.c (create_cu_from_index_list): Don't assign
dwarf2_per_objfile.
(create_signatured_type_table_from_index): Likewise.
(create_signatured_type_table_from_debug_names): Likewise.
(create_debug_type_hash_table): Likewise.
(fill_in_sig_entry_from_dwo_entry): Likewise.
(create_type_unit_group): Likewise.
(read_comp_units_from_section): Likewise.
(create_cus_hash_table): Likewise.

Change-Id: Icf0b657a6beec953fe17cbe0fb2ae2c6e744d3ed
gdb/ChangeLog
gdb/dwarf2/read.c
gdb/dwarf2/read.h