This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdbserver multithreaded debugging problem
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: nak26 <nak26 at drexel dot edu>
- Cc: gdb at sources dot redhat dot com
- Date: Mon, 23 Jun 2003 15:49:35 -0400
- Subject: Re: gdbserver multithreaded debugging problem
- References: <3EF77554@webmail.drexel.edu>
On Mon, Jun 23, 2003 at 03:39:06PM -0400, nak26 wrote:
> Hi:
>
> I am trying to use gdbserver to remotely debug a multithreaded application.
>
> Remote host is a IA32, running MontaVista Linux 3.0 kernel v 2.4.18; gdbserver
> from the 5.3 release tarball, patched with the PREPARE_TO_PROCEED patch, and
> built on the remote host.
>
> Local host is an IA32 machine, running RedHat 8.0, gdb v 5.2.1-4.
>
> I get a "Real-time event 32"-signal as each thread is spun up, execution
> stops, and I have to re-continue. After all the threads are created and I hit
> a breakpoint, info thread only displays the main thread.
>
> I don't see this problem while debugging with gdb (5.2.1) on the remote (and
> the local) target
> .
> Is there anything I can do to solve the problem I am experiencing with
> gdbserver?
Did gdbserver detect thread support when you built it? Check the output
of configure.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer