diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-21 06:21:09 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-21 06:21:09 +0000 |
commit | 4d28ad1ecec979990f27959564de1657f055b97b (patch) | |
tree | 9a0c52363a45c375fc1197d3b6689513b50abde9 /gdb/symfile.c | |
parent | 7ab044018aac127cb2867aadf8faa4a3a2e46142 (diff) | |
download | gdb-4d28ad1ecec979990f27959564de1657f055b97b.zip gdb-4d28ad1ecec979990f27959564de1657f055b97b.tar.gz gdb-4d28ad1ecec979990f27959564de1657f055b97b.tar.bz2 |
2005-02-21 Andrew Cagney <cagney@gnu.org>
Add more uses of add_setshow_string_cmd, add_setshow_integer_cmd,
and add_setshow_string_noescape_cmd.
* cli/cli-setshow.c (deprecated_show_value_hack): Do not print a
NULL command's value.
* kod.c, language.c, ocd.c, remote-e7000.c, remote-mips.c: Update.
* remote-sds.c, remote.c, symfile.c, top.c: Update.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index 142f026..d5384cd 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -3607,17 +3607,18 @@ Usage: set extension-language .foo bar"), add_info ("extensions", info_ext_lang_command, _("All filename extensions associated with a source language.")); - deprecated_add_show_from_set - (add_set_cmd ("download-write-size", class_obscure, - var_integer, (char *) &download_write_size, - "Set the write size used when downloading a program.\n" - "Only used when downloading a program onto a remote\n" - "target. Specify zero, or a negative value, to disable\n" - "blocked writes. The actual size of each transfer is also\n" - "limited by the size of the target packet and the memory\n" - "cache.\n", - &setlist), - &showlist); + add_setshow_integer_cmd ("download-write-size", class_obscure, + &download_write_size, _("\ +Set the write size used when downloading a program."), _("\ +Show the write size used when downloading a program."), _("\ +Only used when downloading a program onto a remote\n\ +target. Specify zero, or a negative value, to disable\n\ +blocked writes. The actual size of each transfer is also\n\ +limited by the size of the target packet and the memory\n\ +cache."), + NULL, + NULL, /* FIXME: i18n: */ + &setlist, &showlist); debug_file_directory = xstrdup (DEBUGDIR); c = (add_set_cmd |