Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Florian Weimer via Gdb <gdb@sourceware.org>
To: gdb@sourceware.org
Subject: Accessing pthread_key_create thread-specific data
Date: Fri, 12 Mar 2021 14:00:36 +0100	[thread overview]
Message-ID: <874khg5xxn.fsf@oldenburg.str.redhat.com> (raw)

We have some functionality in libthread_db in glibc that provides access
to pthread_key_create thread-specific data (aka pthread_setspecific and
pthread_getspecific).  I would like to write a GDB test for this
functionality, but I can't find how GDB exposes this data in the UI.  Is
this just dead code?

The symbols we provide are td_ta_tsd_iter and td_thr_tsd.

Thanks,
Florian


             reply	other threads:[~2021-03-12 13:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-12 13:00 Florian Weimer via Gdb [this message]
2021-03-12 15:54 ` Tom Tromey
2021-03-12 16:00   ` Florian Weimer via Gdb
2021-03-12 16:39     ` Andrew Dinn via Gdb

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=874khg5xxn.fsf@oldenburg.str.redhat.com \
    --to=gdb@sourceware.org \
    --cc=fweimer@redhat.com \
    /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