From 4d28ad1ecec979990f27959564de1657f055b97b Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 21 Feb 2005 06:21:09 +0000 Subject: 2005-02-21 Andrew Cagney 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. --- gdb/remote.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'gdb/remote.c') diff --git a/gdb/remote.c b/gdb/remote.c index 3fde452..444e6e8 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -5674,13 +5674,13 @@ Specify a negative limit for unlimited."), NULL, NULL, /* FIXME: i18n: The maximum number of target hardware breakpoints is %s. */ &remote_set_cmdlist, &remote_show_cmdlist); - deprecated_add_show_from_set - (add_set_cmd ("remoteaddresssize", class_obscure, - var_integer, (char *) &remote_address_size, - "Set the maximum size of the address (in bits) \ -in a memory packet.\n", - &setlist), - &showlist); + add_setshow_integer_cmd ("remoteaddresssize", class_obscure, + &remote_address_size, _("\ +Set the maximum size of the address (in bits) in a memory packet."), _("\ +Show the maximum size of the address (in bits) in a memory packet."), NULL, + NULL, + NULL, /* FIXME: i18n: */ + &setlist, &showlist); add_packet_config_cmd (&remote_protocol_binary_download, "X", "binary-download", -- cgit v1.1