This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Examining thread-local storage with GDB
- From: Eli Zaretskii <eliz at gnu dot org>
- To: gdb at sourceware dot org
- Date: Sat, 27 Feb 2016 14:38:09 +0200
- Subject: Examining thread-local storage with GDB
- Authentication-results: sourceware.org; auth=none
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
How does one display variables in TLS? I see nothing about this in
the manual.
What happened to me was that an attempt to display the value of a
thread-local variable was responded with some confusing message like
"No global value for this variable" (or something, I don't remember
the exact wording and couldn't find it in the sources), and it took a
long time (including looking at disassembly) to figure out this has
something to do with TLS. Once I had that figured out, I still cannot
find any way of displaying the value, though.
What am I missing?
TIA