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.
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
Hello Mark,
-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]]Im Auftrag von Mark Chambers
Gesendet: Freitag, 22. April 2005 21:50
An: [email protected]
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