Results 1 to 2 of 2
How do i get pointer to thread's local storage or thread specific data while analyzing core dump for linux ?
i use pthread_setspecific to store some data in the pthread's ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-01-2012 #1Just Joined!
- Join Date
- Jun 2012
- Posts
- 1
Thread specific data from linux core dump
How do i get pointer to thread's local storage or thread specific data while analyzing core dump for linux ?
i use pthread_setspecific to store some data in the pthread's local stoare.
my multi threaded program on linux crashed, and i want to see what is stored in current running thread's local storage.
If i get pointer to thread's local storage i can use key to get the data that is stored.
Is there a command in gdb to get the pointer to thread's local storage?
- 06-09-2012 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,143
One presumes your kernel is a debuggable one? If not, then you have no hope of getting relevant info.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
