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: gdbserver multithreaded debugging problem


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


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