diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-07-28 19:42:01 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-07-28 19:42:01 +0000 |
commit | 21c206de3c74f451b3b76a865f6ae8215886aecf (patch) | |
tree | c2923a543ae773d96ac8043fc051099d30f7a69f /gdb/remote.c | |
parent | bbd943b1d5f59b80a874de2c818c7660d6782fe6 (diff) | |
download | gdb-21c206de3c74f451b3b76a865f6ae8215886aecf.tar.gz |
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.c | 14 |
1 files changed, 8 insertions, 6 deletions
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, |