AW: pthread debugging problem

Achim Machura achim.machura at berghof.com
Mon Apr 25 16:51:20 EST 2005


Hello Mark,

-----Ursprüngliche Nachricht-----
Von: linuxppc-embedded-bounces at ozlabs.org
[mailto:linuxppc-embedded-bounces at ozlabs.org]Im Auftrag von Mark Chambers
Gesendet: Freitag, 22. April 2005 21:50
An: linuxppc-embedded at 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




More information about the Linuxppc-embedded mailing list