This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: more info on Help needed for gdbserver on redhat 9, thanks!
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Ming Sun <mings at intellambda dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 8 Oct 2003 22:18:56 -0400
- Subject: Re: more info on Help needed for gdbserver on redhat 9, thanks!
- References: <3F821438.2020004@intellambda.com> <20031007012549.GA17964@nevyn.them.org> <3F84C42F.5080006@intellambda.com>
On Wed, Oct 08, 2003 at 07:13:03PM -0700, Ming Sun wrote:
> Thanks Dan! That was my problem. It is a bit diffical to sync up libs on
> two PCs.
> But it finally worked. I got another problem on gdbserver and pthread.
>
> If I have a break point in the entry function of a thread, when
> pthread_create() is
> invoked my program will receive 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 don't know. It should work, but you're probably using NPTL and as
far as I know gdbserver has never been tested with NPTL.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer