public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Accessing pthread_key_create thread-specific data
@ 2021-03-12 13:00 Florian Weimer
  2021-03-12 15:54 ` Tom Tromey
  0 siblings, 1 reply; 4+ messages in thread
From: Florian Weimer @ 2021-03-12 13:00 UTC (permalink / raw)
  To: gdb

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-03-12 16:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-12 13:00 Accessing pthread_key_create thread-specific data Florian Weimer
2021-03-12 15:54 ` Tom Tromey
2021-03-12 16:00   ` Florian Weimer
2021-03-12 16:39     ` Andrew Dinn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).