From: "Fred Viles" <fv@epitools.com>
To: gdb@sources.redhat.com
Subject: Connect to already running target?
Date: Wed, 11 Jun 2003 03:26:00 -0000 [thread overview]
Message-ID: <3EE63EEB.4136.18FFA12@localhost> (raw)
Is it possible to connect to an already running remote target with
"target remote" and/or "target async"?
As of GDB 5.0, the answer appears to be no, unless I've just not hit
on the right incantation. If the initial '?' packet gets a 'T'
response, of course GDB assumes the target is stopped. If it gets an
"O" response (which the docs seem to suggest should work), it treats
it as a fatal packet error and a failed connection. If it gets an
empty reply, it reports a packet error but then appears to be waiting
for the target to stop (or just a further reply). But trying to
interrupt the target with ctrl-C doesn't work - the ctrl-C packet is
apparently not sent. Same result if it gets *no* reply, but without
the packet error mesage.
I searched the list archive, but all I came up with is a post from
Andrew dated August 2002 RE dropping "target cisco" support, where he
mentioned that the cisco target supported connecting to a running
target and this should be integrated into the standard remote
targets. Has that happened yet?
- Fred
next reply other threads:[~2003-06-11 3:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-11 3:26 Fred Viles [this message]
2003-06-26 14:49 ` Andrew Cagney
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=3EE63EEB.4136.18FFA12@localhost \
--to=fv@epitools.com \
--cc=gdb@sources.redhat.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).