Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* attaching gdb causes pthread_create hang [gdb6.3, long subject]
@ 2007-09-07 10:04 Bogdan Slusarczyk
  2007-09-07 12:32 ` Daniel Jacobowitz
  0 siblings, 1 reply; 7+ messages in thread
From: Bogdan Slusarczyk @ 2007-09-07 10:04 UTC (permalink / raw)
  To: gdb

Hi everyone, maybe you can help me.
There is following scenario:
1) I use gdb6.3, which was build on some linux, and I cannot change its 
version and cannot build gdb for every linux on the world (I mean I have 
to deliver built gdb to customers, regardless of which linux they have)
2) mentioned gdb will be used for debugging another delivered 
application (huge and complicated)

Problem is, that gdb on on some linux machines works fine, on others it 
causes that inside debugged application pthread_create hangs (from 
boost::thread).
But:
- with simple application which uses boost::thread (pthread_create) it 
works fine
- when I build the same gdb version on such specific linux, it works 
fine too!
- it's not specific for linux distribution, my quess is that some 
additional installed packages (or differences between them) can cause 
this problem

And my questions
-what can cause mentioned problems? different system libraries (which 
one)? what else?
-what kind of operations does gdb which could harm debugged application?

Thank in advance
Bogdan


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-09-18 10:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-07 10:04 attaching gdb causes pthread_create hang [gdb6.3, long subject] Bogdan Slusarczyk
2007-09-07 12:32 ` Daniel Jacobowitz
2007-09-07 14:03   ` Bogdan Slusarczyk
2007-09-07 17:56     ` Daniel Jacobowitz
2007-09-18  9:34       ` Bogdan Slusarczyk
2007-09-18 10:20         ` Andreas Schwab
2007-09-18 10:51           ` Bogdan Slusarczyk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox