Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: gdb@sources.redhat.com
Subject: Re: [cli] set <var_boolean> <tab>?
Date: Sun, 23 Sep 2001 13:17:00 -0000	[thread overview]
Message-ID: <3BAE4334.1060502@cygnus.com> (raw)
In-Reply-To: <3BAD1EC0.1060504@cygnus.com>

> I can either:
> 
>     o    Add a add_set_boolean_cmd() that is similar
>         to add_set_auto_boolean_cmd()
> 
>     o    Tweek add_set_cmd() to realise it is
>         a var_boolean and set things up accordingly.
> 
> If the latter, I should probably eliminate add_set_auto_boolean_cmd() and adding it to add_set_cmd().

Closer inspection reveals the rationale.  add_set_auto_boolean_cmd takes 
an explicit / strongly typed ``enum cmd_auto_boolean'' as the parameter 
that is updated.  add_set_cmd() takes a ``void *''.  I'll cook up a 
patch adding add_set_boolean_cmd().

Andrew



      reply	other threads:[~2001-09-23 13:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-22 16:29 Andrew Cagney
2001-09-23 13:17 ` Andrew Cagney [this message]

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=3BAE4334.1060502@cygnus.com \
    --to=ac131313@cygnus.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