This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: pthread_create does not return when remote debugging


On Sat, Jun 28, 2003 at 11:01:34AM -0400, Jon Ringle wrote:
> On Saturday 28 June 2003 10:43 am, Daniel Jacobowitz wrote:
> > On Sat, Jun 28, 2003 at 01:28:02AM -0400, Jon Ringle wrote:
> > > Hi,
> > >
> > > I am having an issue when remote debugging a multi-threaded app, a call
> > > to pthread_create hangs inside __pthread_wait_for_restart_signal on the
> > > host gdb.
> >
> > Have you tried this without the breakpoint in pthread_create?
> 
> I have. This is what I had initially done, and narrow the problem down to 
> pthread_create never returning.
> 
> >
> > Other than that nothing obvious comes to mind, you'll have to
> > investigate yourself.  Sorry.
> 
> Could the problem be on the gdbserver side not sending back anything in 
> response to gdb Sending packet: &c#63...Ack?

No.  That's a continue request.  The target isn't stopping again, but
that's not gdbserver's fault... it won't respond to the client until
the program stops.

Find out why it's not stopping...

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]