]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Remove "value chain" from symbol
authorTom Tromey <tom@tromey.com>
Sun, 18 Jan 2026 19:03:47 +0000 (12:03 -0700)
committerTom Tromey <tom@tromey.com>
Tue, 20 Jan 2026 02:44:09 +0000 (19:44 -0700)
The "value chain" code in struct symbol is no longer used and so it
can be removed.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/symtab.h

index b771851f03a651aac0d147f1b4affe601315a9ff..bd305e5259ca2d23fb3d1219bee7d74d6a7096b3 100644 (file)
@@ -562,10 +562,6 @@ struct general_symbol_info
     /* A common block.  Used with LOC_COMMON_BLOCK.  */
 
     const struct common_block *common_block;
-
-    /* For opaque typedef struct chain.  */
-
-    struct symbol *chain;
   }
   m_value;
 
@@ -1414,16 +1410,6 @@ struct symbol : public general_symbol_info, public allocate_on_obstack<symbol>
     m_value.block = block;
   }
 
-  symbol *value_chain () const
-  {
-    return m_value.chain;
-  }
-
-  void set_value_chain (symbol *sym)
-  {
-    m_value.chain = sym;
-  }
-
   /* Return true if this symbol was marked as artificial.  */
   bool is_artificial () const
   {