Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Resuming a single suspended thread on Linux
@ 2007-01-06 22:49 Yaki Tebeka
  2007-01-07 14:59 ` Jim Blandy
  0 siblings, 1 reply; 7+ messages in thread
From: Yaki Tebeka @ 2007-01-06 22:49 UTC (permalink / raw)
  To: gdb

Hi All

I am implementing a special purpose debugger using gdb.
When a program is being debugged, I load into it a special library
that runs a thread (inside the debugged process) that reports data to
the debugger using a socket communication.

This approach works well on Windows (with another debugger engine),
but when I try to implement it using gdb on Linux, I realize that
whenever the debugged application execution is suspended (breakpoint /
etc), my data reporting thread, that runs inside the debugged process,
is also suspended.

I tried "thread apply X continue", but it seems to continue the entire
process (which, as far as I understand, is the right behavior on
Linux).

Does anyone have an idea for a solution to my problem.

Thanks

 Yaki Tebeka


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

end of thread, other threads:[~2007-01-18 18:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-06 22:49 Resuming a single suspended thread on Linux Yaki Tebeka
2007-01-07 14:59 ` Jim Blandy
2007-01-07 17:00   ` Yaki Tebeka
2007-01-07 23:30     ` Daniel Jacobowitz
2007-01-15  9:47       ` Yaki Tebeka
2007-01-16  7:20         ` Daniel Jacobowitz
2007-01-18 18:36         ` Jim Blandy

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