Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@specifix.com>
To: gdb@sourceware.org
Subject: target remote-attach?
Date: Fri, 29 Feb 2008 20:23:00 -0000	[thread overview]
Message-ID: <1204316091.19253.525.camel@localhost.localdomain> (raw)

Just thinking aloud... we ought to have a sort of "remote-attach"
command, that would allow us to connect to a remote target when it
is already in a "run" state.  Right now the initial handshake 
protocol prevents doing that.

The target might be waiting to tell gdb "I stopped because of
a SIGTRAP", or similar, or it might actually be running, and
need to be stopped via a serial BRK or the like.  After that, 
we would be in a sane state from which we could do the usual
remote_open handshake.

Or is there something like that already?




             reply	other threads:[~2008-02-29 20:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-29 20:23 Michael Snyder [this message]
2008-02-29 20:26 ` Paul Koning
2008-02-29 22:20   ` Michael Snyder
2008-02-29 20:29 ` Daniel Jacobowitz

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=1204316091.19253.525.camel@localhost.localdomain \
    --to=msnyder@specifix.com \
    --cc=gdb@sourceware.org \
    /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