From f3796e26572d9c543bde60af67a4c43311098526 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 30 Sep 2001 16:16:16 +0000 Subject: * 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" --- gdb/command.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gdb/command.h') diff --git a/gdb/command.h b/gdb/command.h index ac52821..20ebef2 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 **); -- cgit v1.1