From d8175bcb7e35fb98ef40c458c8475a6d7122d813 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 21 Apr 2023 09:33:08 -0600 Subject: [PATCH] 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. --- gdb/symtab.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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, -- 2.30.2