public inbox for
help / color / mirror / Atom feed
* [binutils-gdb] Remove unused field cooked_index::m_start
@ 2022-05-13 19:53 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2022-05-13 19:53 UTC (permalink / raw)
  To: gdb-cvs;h=5400535a70cd5f7626f4110a69508ad9ff669328

commit 5400535a70cd5f7626f4110a69508ad9ff669328
Author: Tom Tromey <>
Date:   Fri May 13 13:47:39 2022 -0600

    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.

 gdb/dwarf2/cooked-index.h | 5 -----
 1 file changed, 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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-13 19:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-13 19:53 [binutils-gdb] Remove unused field cooked_index::m_start Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).