Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Remote Debugging of a multithreaded application question
@ 2007-03-07 20:18 Jaffer, Bobby
  2007-03-07 20:26 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Jaffer, Bobby @ 2007-03-07 20:18 UTC (permalink / raw)
  To: gdb


Question:

I am trying to debug a multithreaded application on a remote linux
machine from a cygwin environment.  I start the gdbserver on the remote
linux machine.  I then run gdb on cygwin and attach to the gdbserver.  I
then can set a break point anywhere in the source code.  But, if I set a
break point in a function that executes outside the main thread, gdb
will not stop at the break point when gdb runs the executable.  And an
error message shows on the gdbserver side.  Specifically, it says "Child
terminated with signal = 5".  The gdbserver then quits at this point.
Why can't gdb debug the other threads in the application?

My setup:   Remote machine is running open suse 10.2 linux.  Windows
machine is running cygwin.

Thanks,

Bobby


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-07 20:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-07 20:18 Remote Debugging of a multithreaded application question Jaffer, Bobby
2007-03-07 20:26 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox