Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Fernando Nasser <fnasser@cygnus.com>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: Mark Salter <msalter@redhat.com>,
	eliz@is.elta.co.il, gdb-patches@sources.redhat.com
Subject: Re: set/show remotestopbits
Date: Wed, 26 Sep 2001 12:50:00 -0000	[thread overview]
Message-ID: <3BB23011.50D05907@cygnus.com> (raw)
In-Reply-To: <3BB219B8.2090403@cygnus.com>

Sorry Mark, I did not know of the "convention" below.  I haven't seen
it documented anywhere before this message.

Anyway, I agree with Andrew's argument that some parameters are
not necessarily tied to the remote protocol.  With that argument in mind,
the remoteXXXX's cause a little confusion ("remote target" vs. "remote
target that uses the remote protocol" -- "remote" seems to be overloaded).

Serial and parallel sound nice.  What if we have some things that can
apply to any "remote" (non-native) target and is not specific to the 
communication link.  (I am trying to think of an example -- the name of
a log file, perhaps?  Can you think of some other one?).

Fernando


Andrew Cagney wrote:
> 
> The convention has been for commands that affect the serial/parallel
> port to be called ``set/show remoteXXXX'' eg:
> 
>         set/show remotebaud
>         set/show remotelogfile
>         set/show remotelogbase
> 
> so
> set/show remotestopbits
> 
> certainly follows this convention.
> 
> We've also recently gained the convention for:
> 
>         set/show remote XXXX
> 
> to be used for things that relate to the remote targets (using the
> remote protocol).
> 
> My first thought is that, the ``serial'' (well serial / parallel / ...)
> commands should be under:
> 
>         set/show serial XXXXXX
> and
> set debug serial
> 
> rather than ``set/show remote XXXX'' since they are not specific to the
> remote protocol.
> 
> Thoughts?  I'm pretty easy to convince otherwise.
> 
> If there is agreement on this, I can churn out the framework needed so
> that you, Mark, can just drop in ``set serial stopbits''.
> 
> Andrew

-- 
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9


  parent reply	other threads:[~2001-09-26 12:50 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-26  5:27 Mark Salter
2001-09-26  7:35 ` Fernando Nasser
2001-09-26  7:42 ` Eli Zaretskii
2001-09-26  8:02   ` Mark Salter
2001-09-26 10:02     ` Andrew Cagney
2001-09-26 10:20       ` Mark Salter
2001-09-26 11:09         ` Andrew Cagney
2001-09-26 11:34           ` Mark Salter
2001-09-26 12:50           ` Fernando Nasser [this message]
2001-09-26 13:12             ` Andrew Cagney
2001-09-26 13:18               ` Fernando Nasser
2001-09-26 10:42       ` Michael Snyder
2001-09-26 11:01     ` Eli Zaretskii
2001-09-26 11:12       ` Andrew Cagney
2001-09-26 15:45         ` Stan Shebs
2001-09-26 11:23       ` Mark Salter
2001-09-26 11:17 ` Andrew Cagney
2001-09-26  5:35 Mark Salter

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=3BB23011.50D05907@cygnus.com \
    --to=fnasser@cygnus.com \
    --cc=ac131313@cygnus.com \
    --cc=eliz@is.elta.co.il \
    --cc=gdb-patches@sources.redhat.com \
    --cc=msalter@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