diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-09-30 16:16:16 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-09-30 16:16:16 +0000 |
commit | f892cc7753952a795743e218c2b5e105b8f88eba (patch) | |
tree | 0b62a47eedaa5839f8dad01a6a4b4d0986e0f473 /gdb/command.h | |
parent | fbeb090c65b6890afec5502d4abbc4cb823e10b0 (diff) | |
download | gdb-f892cc7753952a795743e218c2b5e105b8f88eba.tar.gz |
* cli/cli-decode.c (add_set_boolean_cmd): Define.
* cli/cli-decode.h (add_set_boolean_cmd): Declare.
* command.h (add_set_boolean_cmd): Ditto.
* remote.c (_initialize_remote): Use add_set_boolean_cmd for "set
remotebreak"
Diffstat (limited to 'gdb/command.h')
-rw-r--r-- | gdb/command.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/command.h b/gdb/command.h index ac528212c34..20ebef2b46f 100644 --- a/gdb/command.h +++ b/gdb/command.h @@ -340,6 +340,12 @@ 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 struct cmd_list_element *add_show_from_set (struct cmd_list_element *, struct cmd_list_element **); |