[RFC,06/10] Fix comment in address_class
Commit Message
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(-)
@@ -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,