Accessing pthread_key_create thread-specific data

Florian Weimer fweimer@redhat.com
Fri Mar 12 13:00:36 GMT 2021


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



More information about the Gdb mailing list