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 | 725b374aef285a27d3509c527f2e630d1d6c620b (patch) | |
tree | a3366baad263c7b055434dacc05c49c007ae2279 /gdb/remote-e7000.c | |
parent | 313436a0ac6c585fa80c8ba40b031156377ddf79 (diff) | |
download | gdb-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-e7000.c')
-rw-r--r-- | gdb/remote-e7000.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/gdb/remote-e7000.c b/gdb/remote-e7000.c index d3b42f42ccd..451d260c79e 100644 --- a/gdb/remote-e7000.c +++ b/gdb/remote-e7000.c @@ -2207,9 +2207,11 @@ _initialize_remote_e7000 (void) add_com ("drain", class_obscure, e7000_drain_command, _("Drain pending e7000 text buffers.")); - deprecated_add_show_from_set - (add_set_cmd ("usehardbreakpoints", no_class, - var_integer, (char *) &use_hard_breakpoints, "\ -Set use of hardware breakpoints for all breakpoints.\n", &setlist), - &showlist); + add_setshow_integer_cmd ("usehardbreakpoints", no_class, + &use_hard_breakpoints, _("\ +Set use of hardware breakpoints for all breakpoints."), _("\ +Show use of hardware breakpoints for all breakpoints."), NULL, + NULL, + NULL, /* FIXME: i18n: */ + &setlist, &showlist); } |