* Help needed for gdbserver and pthread on Redhat 9
@ 2003-10-09 16:04 Ming Sun
2003-10-09 16:06 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Ming Sun @ 2003-10-09 16:04 UTC (permalink / raw)
To: gdb
If I have a break point in the entry function of a thread, when
pthread_create() is
invoked my program receives a SIGTRAP signal and quit. The gdbserver
outputs
"Cannot find new threads: generic error" before it breaks at main() also.
Is this normal or there is some configuration I need to do?
Thanks for the help,
Ming
=============================================================
[root@pc28 x86]# gdbserver foo:5432 grog
Process prog created; pid = 22123
Remote debugging from host 192.168.0.57
Cannot find new threads: generic error
Cannot find new threads: generic error
Cannot find new threads: generic error
....
more output from prog
....
Child terminated with signal = 5
Child terminated with signal = 0x0
GDBserver exiting
[root@pc28 x86]#
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Help needed for gdbserver and pthread on Redhat 9
2003-10-09 16:04 Help needed for gdbserver and pthread on Redhat 9 Ming Sun
@ 2003-10-09 16:06 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2003-10-09 16:06 UTC (permalink / raw)
To: Ming Sun; +Cc: gdb
On Thu, Oct 09, 2003 at 09:01:05AM -0700, Ming Sun wrote:
> If I have a break point in the entry function of a thread, when
> pthread_create() is
> invoked my program receives a SIGTRAP signal and quit. The gdbserver
> outputs
> "Cannot find new threads: generic error" before it breaks at main() also.
> Is this normal or there is some configuration I need to do?
>
> Thanks for the help,
I answered this question yesterday: it's probably a problem with NPTL.
There's not much more advice I can give you. Red Hat developers may
have more of an idea.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-10-09 16:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-09 16:04 Help needed for gdbserver and pthread on Redhat 9 Ming Sun
2003-10-09 16:06 ` Daniel Jacobowitz
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 read-only IMAP folder(s) and NNTP newsgroup(s).