From: Tom Tromey Date: Fri, 21 Apr 2023 15:33:08 +0000 (-0600) Subject: Fix comment in address_class X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8175bcb7e35fb98ef40c458c8475a6d7122d813;p=binutils-gdb.git Fix comment in address_class enum address_class has a stale comment referring to MSYMBOL_VALUE_RAW_ADDRESS, which no longer exists. This patch updates the comment. --- diff --git a/gdb/symtab.h b/gdb/symtab.h index 60aa9c790ca..abfcb344909 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -1047,11 +1047,11 @@ enum address_class without possibly having its address available for LOC_STATIC. Testcase is provided as `gdb.dwarf2/dw2-unresolved.exp'. - This is also used for thread local storage (TLS) variables. In this case, - the address of the TLS variable must be determined when the variable is - referenced, from the MSYMBOL_VALUE_RAW_ADDRESS, which is the offset - of the TLS variable in the thread local storage of the shared - library/object. */ + This is also used for thread local storage (TLS) variables. In + this case, the address of the TLS variable must be determined + when the variable is referenced, from the msymbol's address, + which is the offset of the TLS variable in the thread local + storage of the shared library/object. */ LOC_UNRESOLVED,