Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: gdb@sourceware.org
Subject: Examining thread-local storage with GDB
Date: Sat, 27 Feb 2016 12:38:00 -0000	[thread overview]
Message-ID: <83wppqba6m.fsf@gnu.org> (raw)

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


             reply	other threads:[~2016-02-27 12:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-27 12:38 Eli Zaretskii [this message]
2016-02-27 18:06 ` Philippe Waroquiers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83wppqba6m.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox