* pthread debugging problem
@ 2005-04-22 19:50 Mark Chambers
2005-04-25 6:51 ` AW: " Achim Machura
0 siblings, 1 reply; 2+ messages in thread
From: Mark Chambers @ 2005-04-22 19:50 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 802 bytes --]
I am debugging a simple program with several threads, using pthreads.
printf's tell me that the threading is working, but I am unable to debug
the program with gdb (gdbserver on the target). I get spurious
'Program received signal SIG32, Real-time even 32' messages.
I'm using a stock ELDK tree via NFS boot. I couldn't tell you the ELDK
version but I've listed some of the components below.
I've found postings in the general linux community, but they don't seem
to apply in this case. I've compiled a late gdb (6.2), tried later versions
of all the libraries that seem relevant, to no avail. Any ideas? Or,
equally valuable, is anybody debugging pthreads successfully on ppc,
what is your setup?
Thanks,
Mark Chambers
versions:
libc-2.2.1
libpthread-0.9.so
kernel - 2.4.19
[-- Attachment #2: Type: text/html, Size: 1986 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* AW: pthread debugging problem
2005-04-22 19:50 pthread debugging problem Mark Chambers
@ 2005-04-25 6:51 ` Achim Machura
0 siblings, 0 replies; 2+ messages in thread
From: Achim Machura @ 2005-04-25 6:51 UTC (permalink / raw)
To: 'Mark Chambers'; +Cc: Linuxppc-Embedded (E-Mail)
Hello Mark,
-----Ursprüngliche Nachricht-----
Von: linuxppc-embedded-bounces@ozlabs.org
[mailto:linuxppc-embedded-bounces@ozlabs.org]Im Auftrag von Mark Chambers
Gesendet: Freitag, 22. April 2005 21:50
An: linuxppc-embedded@ozlabs.org
Betreff: pthread debugging problem
<I am debugging a simple program with several threads, using pthreads.
<printf's tell me that the threading is working, but I am unable to debug
<the program with gdb (gdbserver on the target). I get spurious
<'Program received signal SIG32, Real-time even 32' messages.
<I'm using a stock ELDK tree via NFS boot. I couldn't tell you the ELDK
<version but I've listed some of the components below.
Sometimes we have the same problems.
We have solved it by telling gdb the path of the libs using,
set SOLIB_ABSOLUTE_PREFIX.
Also there is a problem if you use different versions of dynamic libraries
for the progamm and the gdb.
achim
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-04-25 7:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-22 19:50 pthread debugging problem Mark Chambers
2005-04-25 6:51 ` AW: " Achim Machura
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).