summaryrefslogtreecommitdiff
path: root/gdb/defs.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/defs.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/defs.h')
-rw-r--r--gdb/defs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index ab66d731182..e7698b55860 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -222,6 +222,14 @@ enum precision_type
unspecified_precision
};
+/* A generic, not quite boolean, enumeration. */
+enum auto_boolean
+{
+ AUTO_BOOLEAN_TRUE,
+ AUTO_BOOLEAN_FALSE,
+ AUTO_BOOLEAN_AUTO
+};
+
/* the cleanup list records things that have to be undone
if an error happens (descriptors to be closed, memory to be freed, etc.)
Each link in the chain records a function to call and an