LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-23-2003, 04:34 PM   #1
Rodney Riggs
LQ Newbie
 
Registered: Aug 2002
Location: Utah
Distribution: RedHat 7.0
Posts: 4

Rep: Reputation: 0
Multi-thread debugging with gdb on RedHat 9.0


I am trying to get a version of gdb that will debug multi-threaded applications - running under RH 9. I have scoured the web and found the information on "info threads" and "thread 1" - and as described, these commands are ignored or error our. I also get the signature "Program received signal SIG32, Real-time event 32." error each time a new thread is created.

I downloaded the source for 5.3 and built it and added some debug statements. I initially saw that /lib/tls/libthread_db.so.1 was being loaded and had an "undefined symbol: ps_get_thread_area". I then tried removing that version of libthread_db.so.1 - so that /lib/libthread_db.so.1 gets loaded without errors. Even once I forced this, and verified that the library loaded correctly, gdb still exhibited the same problems as before.

Is there something I am missing? Is there a problem with RH9 that forever prevents this? Any help would be wonderful!
 
  


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
fortran debugging question with g77 and gdb miasmak Programming 1 08-16-2006 07:03 AM
Compiling xmame for debugging: gdb and mame debugger CooManChu Linux - Games 0 05-29-2005 10:22 AM
Help debugging with gdb and core files moon.es Programming 1 05-28-2005 04:58 AM
gdb crashes when debugging pthread-ed program tbruer1138 Programming 0 04-21-2005 05:38 PM
gdb problem during debugging xine crash ... rs_javadi Linux - Software 0 08-24-2004 06:25 AM

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

All times are GMT -5. The time now is 10:39 PM.

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