* debugging pthreads on R5?
@ 1999-02-16 0:52 Mike Lockwood
0 siblings, 0 replies; only message in thread
From: Mike Lockwood @ 1999-02-16 0:52 UTC (permalink / raw)
To: linuxppc-user, linuxppc-dev
Hi all,
I am trying to debug a multithreaded program on LinuxPPC preR5 (the Feb
7 RPMS with the 2.2.0pre2 kernel). As soon as my program calls
pthread_create, gdb reports "Program received signal ?, Unknown
signal". This is with gdb 4.17.0.6-1. gdb 4.17 should be able to
handle threads - atleast it does on Intel. My glibc is 2.0.112.1. I
was able to reproduce this with a trivial program that does absolutely
nothing but call pthread_create.
On Intel, pthreads library uses SIGUSR1 and SIGUSR2 internally. My
guess is that on PowerPC some other signals are being used, but gdb does
not know about this. Is this correct? Is this a known problem
(hopefully with a known fix?) I was hoping that pthreads would be
working in R5 but it looks like there is a little bit of work left to
do...
TIA,
Mike
--
Mike Lockwood
lockwood@pixo.com
You learn something new every day.
Today I learned that gerbils love tea bags.
--
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-02-16 0:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-16 0:52 debugging pthreads on R5? Mike Lockwood
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).