From: Mike Lockwood <lockwood@pixo.com>
To: linuxppc-user@lists.linuxppc.org, linuxppc-dev@lists.linuxppc.org
Subject: debugging pthreads on R5?
Date: Mon, 15 Feb 1999 19:52:33 -0500 [thread overview]
Message-ID: <36C8C151.E78C881E@pixo.com> (raw)
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 ]]
reply other threads:[~1999-02-16 0:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=36C8C151.E78C881E@pixo.com \
--to=lockwood@pixo.com \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=linuxppc-user@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).