[gdb/symtab] Rename all_comp_units to all_units

Mechanically rename all_comp_units to all_units:
...
$ sed -i 's/all_comp_units/all_units/' gdb/dwarf2/*
...

Tested on x86_64-linux.
This commit is contained in:
Tom de Vries
2022-09-22 14:50:27 +02:00
parent 3b8e069a36
commit 93547a56dc
3 changed files with 87 additions and 87 deletions

View File

@@ -433,7 +433,7 @@ struct dwarf2_per_bfd
/* Return the CU given its index. */
dwarf2_per_cu_data *get_cu (int index) const
{
return this->all_comp_units[index].get ();
return this->all_units[index].get ();
}
/* A convenience function to allocate a dwarf2_per_cu_data. The
@@ -489,7 +489,7 @@ public:
/* Table of all the compilation units. This is used to locate
the target compilation unit of a particular reference. */
std::vector<dwarf2_per_cu_data_up> all_comp_units;
std::vector<dwarf2_per_cu_data_up> all_units;
/* Table of struct type_unit_group objects.
The hash key is the DW_AT_stmt_list value. */