summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-05-13 13:47:39 -0600
committerTom Tromey <tromey@adacore.com>2022-05-13 13:47:39 -0600
commit5400535a70cd5f7626f4110a69508ad9ff669328 (patch)
tree4ff2433262a471cde9dfb7ddac565c2d599c0768
parentfcab58390fc7a972f499b8ae1b2ff06994b6c1fc (diff)
downloadbinutils-gdb-5400535a70cd5f7626f4110a69508ad9ff669328.tar.gz
Remove unused field cooked_index::m_start
cooked_index::m_start is unused and can be removed. I think this was a leftover from a previous approach in the index finalization code, and then when rewriting it I forgot to remove it. Tested by rebuilding.
-rw-r--r--gdb/dwarf2/cooked-index.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/dwarf2/cooked-index.h b/gdb/dwarf2/cooked-index.h
index 1d229586948..ad4de05ba52 100644
--- a/gdb/dwarf2/cooked-index.h
+++ b/gdb/dwarf2/cooked-index.h
@@ -230,11 +230,6 @@ private:
/* If we found "main" or an entry with 'is_main' set, store it
here. */
cooked_index_entry *m_main = nullptr;
- /* When constructing the index, entries are stored on a linked list.
- This member points to the head of that list. Later, they are
- entered into the hash table, at which point this is no longer
- used. */
- cooked_index_entry *m_start = nullptr;
/* The addrmap. This maps address ranges to dwarf2_per_cu_data
objects. */
addrmap *m_addrmap = nullptr;