public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Thomas A Peterson <tap@htc.honeywell.com>
To: insight@sourceware.cygnus.com
Subject: Remote debugging via server
Date: Tue, 16 Nov 1999 07:31:00 -0000	[thread overview]
Message-ID: <199911161530.JAA11979@wocket.htc.honeywell.com> (raw)

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

                 reply	other threads:[~1999-11-16  7:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199911161530.JAA11979@wocket.htc.honeywell.com \
    --to=tap@htc.honeywell.com \
    --cc=insight@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).