summaryrefslogtreecommitdiff
path: root/gdb/command.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-06-15 18:45:32 +0000
committerAndrew Cagney <cagney@redhat.com>2002-06-15 18:45:32 +0000
commite334692242522ff8a83a8edab56813c3fc441a9a (patch)
treed101afa4534d7f1d108f46d7221230e551f7d24c /gdb/command.h
parentc4ce528fc952c9fb3285047ba91acaa4af0ce960 (diff)
downloadgdb-e334692242522ff8a83a8edab56813c3fc441a9a.tar.gz
* defs.h (auto_boolean): Declare enum.
* command.h (cmd_auto_boolean): Delete enum. * mips-tdep.c (mask_address_var): Update. (mips_mask_address_p): Update. (show_mask_address): Update. * remote.c (struct packet_config): Update. (update_packet_config): Update. (show_packet_config_cmd): Update. (packet_ok): Update. (add_packet_config_cmd): Update. (_initialize_remote): * command.h: Update. * cli/cli-setshow.c (parse_auto_binary_operation): Update. (do_setshow_command): Update. * cli/cli-decode.c (add_set_auto_boolean_cmd): Update. * cli/cli-decode.h: Update.
Diffstat (limited to 'gdb/command.h')
-rw-r--r--gdb/command.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/gdb/command.h b/gdb/command.h
index db7a7402584..e8694828a07 100644
--- a/gdb/command.h
+++ b/gdb/command.h
@@ -51,14 +51,6 @@ typedef enum cmd_types
}
cmd_types;
-/* Reasonable values for an AUTO_BOOLEAN variable. */
-enum cmd_auto_boolean
-{
- CMD_AUTO_BOOLEAN_TRUE,
- CMD_AUTO_BOOLEAN_FALSE,
- CMD_AUTO_BOOLEAN_AUTO
-};
-
/* Types of "set" or "show" command. */
typedef enum var_types
{
@@ -67,9 +59,9 @@ typedef enum var_types
var_boolean,
/* "on" / "true" / "enable" or "off" / "false" / "disable" or
- "auto. *VAR is an ``enum cmd_auto_boolean''. NOTE: In general
- a custom show command will need to be implemented - one that
- for "auto" prints both the "auto" and the current auto-selected
+ "auto. *VAR is an ``enum auto_boolean''. NOTE: In general a
+ custom show command will need to be implemented - one that for
+ "auto" prints both the "auto" and the current auto-selected
value. */
var_auto_boolean,
@@ -231,7 +223,7 @@ extern struct cmd_list_element *add_set_enum_cmd (char *name,
extern struct cmd_list_element *add_set_auto_boolean_cmd (char *name,
enum command_class class,
- enum cmd_auto_boolean *var,
+ enum auto_boolean *var,
char *doc,
struct cmd_list_element **list);