From: "Eli Zaretskii" <eliz@gnu.org>
To: Andrew Cagney <cagney@gnu.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [commit] Use add_setshow_boolean_cmd
Date: Fri, 18 Feb 2005 19:27:00 -0000 [thread overview]
Message-ID: <01c515da$Blat.v2.4$0100a340@zahav.net.il> (raw)
In-Reply-To: <421608B6.5030004@gnu.org> (message from Andrew Cagney on Fri, 18 Feb 2005 10:24:38 -0500)
> Date: Fri, 18 Feb 2005 10:24:38 -0500
> From: Andrew Cagney <cagney@gnu.org>
>
> --- dcache.c 15 Feb 2005 15:49:08 -0000 1.21
> +++ dcache.c 18 Feb 2005 15:16:26 -0000
> @@ -585,18 +585,18 @@ dcache_info (char *exp, int tty)
> void
> _initialize_dcache (void)
> {
> - deprecated_add_show_from_set
> - (add_set_cmd ("remotecache", class_support, var_boolean,
> - (char *) &dcache_enabled_p,
> - "\
> -Set cache use for remote targets.\n\
> + add_setshow_boolean_cmd ("remotecache", class_support,
> + &dcache_enabled_p, _("\
> +Set cache use for remote targets."), _("\
> +Show cache use for remote targets."), _("\
> When on, use data caching for remote targets. For many remote targets\n\
> this option can offer better throughput for reading target memory.\n\
> Unfortunately, gdb does not currently know anything about volatile\n\
> registers and thus data caching will produce incorrect results with\n\
> -volatile registers are in use. By default, this option is off.",
> - &setlist),
> - &showlist);
> +volatile registers are in use. By default, this option is off."),
This, and other similar patches, need tio have an i18n comment to tell
the translators that the "When on..." part is the continuation of the
"Set/Show cache use..." doc string.
prev parent reply other threads:[~2005-02-18 16:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-18 18:00 Andrew Cagney
2005-02-18 19:27 ` Eli Zaretskii [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='01c515da$Blat.v2.4$0100a340@zahav.net.il' \
--to=eliz@gnu.org \
--cc=cagney@gnu.org \
--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