aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-07-28 19:42:01 +0000
committerAndrew Cagney <cagney@redhat.com>2004-07-28 19:42:01 +0000
commitb3f4233622f79fed7c4b9087734d97903770e9c9 (patch)
tree0a52830653b1b22b6a388ad58c9217eacbda4d89 /gdb/remote.c
parent3b64bf9877bc5cfacd10117a1a0656c464545995 (diff)
downloadgdb-b3f4233622f79fed7c4b9087734d97903770e9c9.zip
gdb-b3f4233622f79fed7c4b9087734d97903770e9c9.tar.gz
gdb-b3f4233622f79fed7c4b9087734d97903770e9c9.tar.bz2
2004-07-28 Andrew Cagney <cagney@gnu.org>
* 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.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index cee4cc3..7dedc8d 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,