LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 06-07-2012, 02:08 PM   #1
vishwasungal
LQ Newbie
 
Registered: Jun 2012
Posts: 2

Rep: Reputation: Disabled
[GDB] Thread local data structure from linux core dump


How do i get pointer to thread's local storage or thread local data structure while analyzing core dump for Linux ?

i use pthread_setspecific to store some data in the pthread's local storage.

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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[GDB] Thread local data structure from linux core dump vishwasungal Linux - Software 1 06-07-2012 02:17 PM
Creating a core dump from raw ram dump? cyent Programming 2 08-15-2010 05:57 PM
Extracting thread information from core dump using gdb/anytool Linux_Kid_ Linux - Software 1 07-23-2010 03:14 AM
Core dump issues. Program crashes but does not generate core dump file sabeel_ansari Programming 1 10-07-2009 04:23 PM
Thread prog (core dump) kumars Linux - Newbie 1 09-04-2008 09:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 10:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration