public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Remote debugging via server
@ 1999-11-16  7:31 Thomas A Peterson
  0 siblings, 0 replies; only message in thread
From: Thomas A Peterson @ 1999-11-16  7:31 UTC (permalink / raw)
  To: insight

I would like to use GDB to debug an embedded OS where the embedded OS has a
gdb server process that can attach to any thread. It is not clear to me
whether the GDB protocol currently supports this.  In our system we have
inetd fire up the gdbserver thread when gdb tries to connect.

I would like to be able to issue a target command, info threads command,
and then an attach command.

For example

  gdb> target remote <mytarget>:<myport>
  gdb> info threads
  gdb> attach <myfavoritethread>

Is this currently supported?  Is there a reason why it couldn't be
supported in a general why so as not to be OS specific?

Thanks, Tom

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-11-16  7:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-16  7:31 Remote debugging via server Thomas A Peterson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).