Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gdb doesn't show all threads, but gdbserver does
@ 2009-01-19 21:09 N. van Bolhuis
  2009-01-20  0:21 ` teawater
  0 siblings, 1 reply; 22+ messages in thread
From: N. van Bolhuis @ 2009-01-19 21:09 UTC (permalink / raw)
  To: gdb


I built a gdb (v6.8) for powerpc to be executed on powerpc target
(This GDB was configured as "powerpc-e300c3-linux"...).
If I use this target gdb to debug my powerpc program and hit a
breakpoint "info threads" shows only one thread.
This is incorrect since there are 7 threads (cat /proc/<pid>/status
shows 7 threads).

If I debug the same program using gdbserver on target and gdb on a 
host=i686 (This GDB was configured as "--host=i686-linux
--target=powerpc-e300c3-linux"...) "info threads" shows the expected 7
threads.

How can this be ?

(I noticed the target gdbserver needs libthread_db.so.1, the target gdb
  does not. Maybe this is what's causing this).




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

end of thread, other threads:[~2009-02-12  3:08 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-19 21:09 gdb doesn't show all threads, but gdbserver does N. van Bolhuis
2009-01-20  0:21 ` teawater
2009-01-20  7:28   ` Norbert van Bolhuis
2009-01-20 18:37     ` Paul Pluzhnikov
2009-01-20 20:18       ` N. van Bolhuis
2009-01-20 20:36         ` Paul Pluzhnikov
2009-01-20 21:17           ` N. van Bolhuis
2009-01-20 22:24             ` Andreas Schwab
2009-01-20 22:45               ` Paul Pluzhnikov
2009-01-21  0:10                 ` teawater
2009-01-21 10:32                 ` Norbert van Bolhuis
2009-01-21 11:24                   ` teawater
2009-01-21 13:45                     ` teawater
2009-01-21 16:41                       ` Paul Pluzhnikov
2009-02-12  3:08                 ` teawater
2009-02-12  3:08                   ` teawater
2009-01-21  0:05             ` teawater
2009-01-21  0:14               ` Paul Pluzhnikov
2009-01-21  0:26                 ` teawater
2009-01-21  2:35                   ` teawater
2009-01-21  4:16                     ` Daniel Jacobowitz
2009-01-21  7:14                       ` teawater

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