|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#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? |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
Do you see: Code:
[Thread debugging using libthread_db enabled] when you start debugging? What does Code:
thread apply all bt or Code:
info threads show when you are in gdb? And. Which Linux? |
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
I dont see :
[Thread debugging using libthread_db enabled] Stack is corrupted, So thread apply all bt will provide some junk values. info threads will sometimes provide the list of threads. |
| Sponsored Links | ||
|
![]() |
| Tags |
| coredump, debugging, gdb, linux |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Thread Dump | ram5019 | Shell Programming and Scripting | 5 | 01-02-2012 11:02 PM |
| How to open the core dump file in linux? | vanitham | Emergency UNIX and Linux Support !! Help Me!! | 7 | 12-08-2011 02:10 AM |
| Thread prog (core dump) | kumars | Programming | 1 | 10-01-2008 04:05 AM |
| about core dump | zhaohaizhou | Programming | 1 | 09-15-2004 06:30 AM |
| help, what is the difference between core dump and panic dump? | aileen | UNIX for Dummies Questions & Answers | 1 | 06-11-2001 08:08 PM |
|
|