From: Tom Tromey Date: Sun, 18 Jan 2026 19:03:47 +0000 (-0700) Subject: Remove "value chain" from symbol X-Git-Tag: binutils-2_46~190 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5953fa4a7b72c27bad2b8e08060ae66fdd39cefe;p=thirdparty%2Fbinutils-gdb.git Remove "value chain" from symbol The "value chain" code in struct symbol is no longer used and so it can be removed. Approved-By: Simon Marchi --- diff --git a/gdb/symtab.h b/gdb/symtab.h index b771851f03a..bd305e5259c 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -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 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 {