summaryrefslogtreecommitdiff
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
commit725b374aef285a27d3509c527f2e630d1d6c620b (patch)
treea3366baad263c7b055434dacc05c49c007ae2279 /gdb/remote-mips.c
parent313436a0ac6c585fa80c8ba40b031156377ddf79 (diff)
downloadgdb-725b374aef285a27d3509c527f2e630d1d6c620b.tar.gz
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 f26344da1df..8c4035bebee 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, _("\