From 21c206de3c74f451b3b76a865f6ae8215886aecf Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 28 Jul 2004 19:42:01 +0000 Subject: 2004-07-28 Andrew Cagney * cli/cli-decode.c (add_setshow_cmd): Delete function. (add_setshow_cmd_full): Make static. * command.h (add_setshow_cmd, add_setshow_cmd_full): Delete. (add_setshow_filename_cmd, add_setshow_string_cmd): Declare. * cli/cli-decode.c (add_setshow_filename_cmd) (add_setshow_string_cmd): New functions. * nto-tdep.c (_initialize_nto_tdep): Update. Fix parameters. * mips-tdep.c (_initialize_mips_tdep): Update. * m32r-rom.c (_initialize_m32r_rom): Update. Update copyright. * cli/cli-logging.c (_initialize_cli_logging): Update. * complaints.c (_initialize_complaints): Update. * remote.c (_initialize_remote): Update. --- gdb/remote.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'gdb/remote.c') diff --git a/gdb/remote.c b/gdb/remote.c index cee4cc34610..7dedc8de549 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -5469,20 +5469,22 @@ Whether to send break if interrupted is %s.", "Show the maximum number of bytes per memory-read packet.\n", &remote_show_cmdlist); - add_setshow_cmd ("hardware-watchpoint-limit", no_class, - var_zinteger, &remote_hw_watchpoint_limit, "\ + add_setshow_zinteger_cmd ("hardware-watchpoint-limit", no_class, + &remote_hw_watchpoint_limit, "\ Set the maximum number of target hardware watchpoints.", "\ Show the maximum number of target hardware watchpoints.", "\ Specify a negative limit for unlimited.", "\ The maximum number of target hardware watchpoints is %s.", - NULL, NULL, &remote_set_cmdlist, &remote_show_cmdlist); - add_setshow_cmd ("hardware-breakpoint-limit", no_class, - var_zinteger, &remote_hw_breakpoint_limit, "\ + NULL, NULL, + &remote_set_cmdlist, &remote_show_cmdlist); + add_setshow_zinteger_cmd ("hardware-breakpoint-limit", no_class, + &remote_hw_breakpoint_limit, "\ Set the maximum number of target hardware breakpoints.", "\ Show the maximum number of target hardware breakpoints.", "\ Specify a negative limit for unlimited.", "\ The maximum number of target hardware breakpoints is %s.", - NULL, NULL, &remote_set_cmdlist, &remote_show_cmdlist); + NULL, NULL, + &remote_set_cmdlist, &remote_show_cmdlist); deprecated_add_show_from_set (add_set_cmd ("remoteaddresssize", class_obscure, -- cgit v1.2.1