diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-06-15 21:07:59 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-06-15 21:07:59 +0000 |
commit | 1deb37769b16f0869be3328fd159633de67c929c (patch) | |
tree | b9d6cee1636fa84e0eae5d51fa06f9d2186a4e29 /gdb/command.h | |
parent | c5d4b5de44e8836345a9164d2390fc5063f6bcc6 (diff) | |
download | gdb-1deb37769b16f0869be3328fd159633de67c929c.tar.gz |
* cli/cli-decode.c (add_setshow_boolean_cmd): Replace
add_set_boolean_cmd.
(add_setshow_cmd): New function.
* command.h (add_setshow_boolean_cmd): Replace
add_set_boolean_cmd.
* remote-rdi.c (_initialize_remote_rdi): Update ``set rdiheartbeat''
and ``set rdiromatzero''.
* maint.c (_initialize_maint_cmds): Update commented out code.
* cli/cli-decode.h (add_set_boolean_cmd): Delete declaration.
* target.c (initialize_targets): Update `set
trust-readonly-sections'.
* remote.c (_initialize_remote): Update `set remotebreak'.
Diffstat (limited to 'gdb/command.h')
-rw-r--r-- | gdb/command.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/gdb/command.h b/gdb/command.h index afc84e467f7..75462e5d645 100644 --- a/gdb/command.h +++ b/gdb/command.h @@ -229,11 +229,15 @@ extern struct cmd_list_element *add_set_auto_boolean_cmd (char *name, char *doc, struct cmd_list_element **list); -extern struct cmd_list_element *add_set_boolean_cmd (char *name, - enum command_class class, - int *var, - char *doc, - struct cmd_list_element **list); +extern void add_setshow_boolean_cmd (char *name, + enum command_class class, + int *var, + char *set_doc, + char *show_doc, + cmd_sfunc_ftype *set_func, + cmd_sfunc_ftype *show_func, + struct cmd_list_element **set_list, + struct cmd_list_element **show_list); extern struct cmd_list_element *add_show_from_set (struct cmd_list_element *, struct cmd_list_element |