From: Andrew Cagney <ac131313@cygnus.com>
To: tromey@redhat.com
Cc: Gdb List <gdb@sources.redhat.com>
Subject: Re: Questions about gdb and gettext
Date: Sun, 23 Jun 2002 14:33:00 -0000 [thread overview]
Message-ID: <3D163E9A.1000106@cygnus.com> (raw)
In-Reply-To: <87bsa1pvtv.fsf@fleche.redhat.com>
> I spent a little time today looking at add_show_from_set. One idea I
> had was to make a new `add_set_and_show' function which would work
> something like this:
>
> add_set_and_show (char *name, enum command_class class,
> var_types var_type, void *var,
> char *first_setline, char *first_showline,
> char *rest_of_docs, struct cmd_list_element **list)
>
> The idea here is to factor out the first sentence into separate `show'
> and `set' sentences, and then keep the rest of the help text the same.
FYI,
Look at add_setshow_boolean_cmd(). The general direction is for the
generic commands to go away being replaced by more specific, stronger
typed, and i18n frendly commands.
Andrew
next prev parent reply other threads:[~2002-06-23 21:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-23 13:33 Tom Tromey
2002-06-23 14:33 ` Andrew Cagney [this message]
2002-06-23 21:52 ` Tom Tromey
2002-06-24 9:10 ` Andrew Cagney
2002-06-24 15:12 ` Tom Tromey
2002-06-24 3:32 ` Eli Zaretskii
2002-06-24 5:18 ` Richard Earnshaw
2002-06-24 11:17 ` Tom Tromey
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=3D163E9A.1000106@cygnus.com \
--to=ac131313@cygnus.com \
--cc=gdb@sources.redhat.com \
--cc=tromey@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