aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-mips.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-21 06:21:09 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-21 06:21:09 +0000
commit4d28ad1ecec979990f27959564de1657f055b97b (patch)
tree9a0c52363a45c375fc1197d3b6689513b50abde9 /gdb/remote-mips.c
parent7ab044018aac127cb2867aadf8faa4a3a2e46142 (diff)
downloadgdb-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/remote-mips.c')
-rw-r--r--gdb/remote-mips.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c
index f26344d..8c4035b 100644
--- a/gdb/remote-mips.c
+++ b/gdb/remote-mips.c
@@ -3399,12 +3399,13 @@ ignored.)"),
NULL, /* FIXME: i18n: */
&setlist, &showlist);
- deprecated_add_show_from_set
- (add_set_cmd ("monitor-prompt", class_obscure, var_string,
- (char *) &mips_monitor_prompt,
- "Set the prompt that GDB expects from the monitor.",
- &setlist),
- &showlist);
+ add_setshow_string_cmd ("monitor-prompt", class_obscure,
+ &mips_monitor_prompt, _("\
+Set the prompt that GDB expects from the monitor."), _("\
+Show the prompt that GDB expects from the monitor."), NULL,
+ NULL,
+ NULL, /* FIXME: i18n: */
+ &setlist, &showlist);
add_setshow_zinteger_cmd ("monitor-warnings", class_obscure,
&monitor_warnings, _("\