aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-04-21 09:33:08 -0600
committerTom Tromey <tromey@adacore.com>2023-06-05 09:59:18 -0600
commitd8175bcb7e35fb98ef40c458c8475a6d7122d813 (patch)
treedc49a3fece46c3e25128cbabac71531266481fb8
parent0ac9ae37b837464c879ae3261b0f0b1125d98655 (diff)
downloadgdb-d8175bcb7e35fb98ef40c458c8475a6d7122d813.zip
gdb-d8175bcb7e35fb98ef40c458c8475a6d7122d813.tar.gz
gdb-d8175bcb7e35fb98ef40c458c8475a6d7122d813.tar.bz2
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.
-rw-r--r--gdb/symtab.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 60aa9c7..abfcb34 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,