Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Fernando Nasser <fnasser@redhat.com>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [rfc/cli:rfa] Don't copy func() into show from set ..
Date: Mon, 18 Mar 2002 08:37:00 -0000	[thread overview]
Message-ID: <3C96173E.3879600B@redhat.com> (raw)
In-Reply-To: <3C9616D3.3060300@cygnus.com>

Andrew Cagney wrote:
> 
> > Andrew, I agree with all that you say before but I have some
> > additional thoughts.
> 
> I'll leave it for a week then commit it (if that is ok) .....
> 

Sure.

> > Should we ever allow for the creation of a set command without
> > a show?  If not, we should get rid of add_set_cmd() and
> > add_show_from_set() and have a single add_setshow_cmd().
> > This would prevent anyone of creating a set without the
> > corresponding show and hide the implementation details.
> 
> That's true.
> 
> > It could return the show pointer as an argument if so requested.
> 
> Ah, yes!  You're thinking of
> 
>         set = add_setshow_cmd (name, class, ..., &show);
> 
> where the &show could be NULL.
> 
> I can add it, and ARI (just info) the other versions, if you want.
> 

If you can, please do it.

Thank you very much for the fix and clean-up.

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


  reply	other threads:[~2002-03-18 16:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-17 16:55 Andrew Cagney
2002-03-18  8:03 ` Fernando Nasser
2002-03-18  8:33   ` Andrew Cagney
2002-03-18  8:37     ` Fernando Nasser [this message]
2002-03-23 16:22       ` 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=3C96173E.3879600B@redhat.com \
    --to=fnasser@redhat.com \
    --cc=ac131313@cygnus.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