Re: gdbserver multithreaded debugging problem

Daniel Jacobowitz
2003-06-23T19:49:46Z

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