aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/read.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-05-27 11:14:06 -0400
committerSimon Marchi <simon.marchi@efficios.com>2020-05-27 11:15:58 -0400
commit127bbf4b50c31b75b9d4c0ecc6b014dbd7ec38f9 (patch)
tree156488f614b78a54787811af1cc90060e18050c9 /gdb/dwarf2/read.h
parentf6e649ddafd88efbd1c02432181300595dadab33 (diff)
downloadfsf-binutils-gdb-127bbf4b50c31b75b9d4c0ecc6b014dbd7ec38f9.zip
fsf-binutils-gdb-127bbf4b50c31b75b9d4c0ecc6b014dbd7ec38f9.tar.gz
fsf-binutils-gdb-127bbf4b50c31b75b9d4c0ecc6b014dbd7ec38f9.tar.bz2
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
Diffstat (limited to 'gdb/dwarf2/read.h')
-rw-r--r--gdb/dwarf2/read.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/dwarf2/read.h b/gdb/dwarf2/read.h
index cc1fd91..0a94036 100644
--- a/gdb/dwarf2/read.h
+++ b/gdb/dwarf2/read.h
@@ -419,9 +419,6 @@ struct dwarf2_per_cu_data
/* The language of this CU. */
enum language lang;
- /* The corresponding dwarf2_per_objfile. */
- struct dwarf2_per_objfile *dwarf2_per_objfile;
-
/* Backlink to the owner of this. */
dwarf2_per_bfd *per_bfd;