aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>1994-09-26 10:02:43 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>1994-09-26 10:02:43 +0000
commit78751d4fbbbb40d339c17f4e043df143b7d93536 (patch)
treebbfe9f32ac5f90da7d3c15a464f4dcb19ac33117 /gdb/defs.h
parent471fb8d8c06dc7ed4bf3bffdfdf0b3737a6ca387 (diff)
downloadbinutils-78751d4fbbbb40d339c17f4e043df143b7d93536.zip
binutils-78751d4fbbbb40d339c17f4e043df143b7d93536.tar.gz
binutils-78751d4fbbbb40d339c17f4e043df143b7d93536.tar.bz2
* defs.h (misc_command_type): Remove trailing comma from
enumerator list.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 36baf7f..ada6223 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -327,6 +327,26 @@ extern int read_relative_register_raw_bytes PARAMS ((int, char *));
extern char *tilde_expand PARAMS ((char *));
+/* Control types for commands */
+
+enum misc_command_type
+{
+ ok_command,
+ end_command,
+ else_command,
+ nop_command
+};
+
+enum command_control_type
+{
+ simple_control,
+ break_control,
+ continue_control,
+ while_control,
+ if_control,
+ invalid_control
+};
+
/* Structure for saved commands lines
(for breakpoints, defined commands, etc). */
@@ -334,6 +354,9 @@ struct command_line
{
struct command_line *next;
char *line;
+ enum command_control_type control_type;
+ int body_count;
+ struct command_line **body_list;
};
extern struct command_line *read_command_lines PARAMS ((void));