From: Daniel Jacobowitz <drow@mvista.com>
To: Andrew Cagney <ac131313@ges.redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: RFC: ``detach remote''
Date: Mon, 12 Aug 2002 07:47:00 -0000 [thread overview]
Message-ID: <20020812144726.GA25234@nevyn.them.org> (raw)
In-Reply-To: <3D57C800.4010809@ges.redhat.com>
On Mon, Aug 12, 2002 at 10:36:48AM -0400, Andrew Cagney wrote:
>
> >This whole question put another way:
> > Obviously, if you start something with "run", you want to end it with
> >"kill".
> >
> > Obviously, if you start something with "attach", you want to end it
> >with "detach".
> >
> >[These are not hard and fast, of course. You can detach a run process
> >or kill an attached process. But you surely see what I mean - they're
> >logical opposites.]
>
> True,
>
> There is a tradeoff between convenience and modal behavour. Need a user
> survey (however, I suspect the attach/detach argument would win :-).
Actually, I took a couple of surveys about this. Couldn't find
terribly many people to poll, but the general idea of having the target
resume on detach went over well.
> > If you start something with "target", how do you end it? I propose
> >"disconnect".
>
> The user doesn't start something with target, they ``connect'' using
> target. That should more strongly suggest that ``disconnect''
> disconnects the connection :-)
Pity the command is "target" instead of "connect", then :) It would
make the pairings clearer.
> The doco will end up needing a glossary.
So true...
What I think I'll do is submit a patch to add the "disconnect" command,
and then commit a patch to make gdbserver detach or resume the target
on a "D" (detach) packet.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2002-08-12 14:47 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-06 14:00 Daniel Jacobowitz
2002-08-06 22:17 ` Eli Zaretskii
2002-08-07 12:31 ` Andrew Cagney
2002-08-07 12:49 ` Daniel Jacobowitz
2002-08-07 15:31 ` Andrew Cagney
2002-08-08 6:24 ` Daniel Jacobowitz
2002-08-09 10:48 ` Andrew Cagney
2002-08-10 20:01 ` Daniel Jacobowitz
2002-08-11 8:15 ` Andrew Cagney
2002-08-11 9:35 ` Daniel Jacobowitz
2002-08-11 9:42 ` Andrew Cagney
2002-08-11 9:52 ` Daniel Jacobowitz
2002-08-11 11:02 ` Andrew Cagney
2002-08-11 11:34 ` Daniel Jacobowitz
2002-08-11 13:52 ` Daniel Jacobowitz
2002-08-12 7:36 ` Andrew Cagney
2002-08-12 7:47 ` Daniel Jacobowitz [this message]
2002-08-29 15:07 ` Daniel Jacobowitz
2002-09-03 14:32 ` Andrew Cagney
2002-09-03 14:41 ` Daniel Jacobowitz
2002-09-03 22:04 ` Eli Zaretskii
2002-09-03 22:04 ` Eli Zaretskii
2002-09-03 22:14 ` Eli Zaretskii
2002-08-12 10:29 ` Eli Zaretskii
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=20020812144726.GA25234@nevyn.them.org \
--to=drow@mvista.com \
--cc=ac131313@ges.redhat.com \
--cc=gdb-patches@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