* defs.h (misc_command_type): Remove trailing comma from
authorPeter Schauer <Peter.Schauer@mytum.de>
Mon, 26 Sep 1994 10:02:43 +0000 (10:02 +0000)
committerPeter Schauer <Peter.Schauer@mytum.de>
Mon, 26 Sep 1994 10:02:43 +0000 (10:02 +0000)
enumerator list.

gdb/ChangeLog
gdb/defs.h

index f7af7bf8b8e4e3e4150b5eb1bb7173056b0c7d83..9ceab3efdbf24cb10af62dcd9fd2a9e4f2ad45da 100644 (file)
@@ -1,3 +1,8 @@
+Mon Sep 26 02:59:00 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * defs.h (misc_command_type):  Remove trailing comma from
+       enumerator list.
+
 Sun Sep 25 23:19:58 1994  Jeff Law  (law@snake.cs.utah.edu)
 
        * hppa-tdep.c (frame_saved_pc): Fix thinko in code to dig saved pc
index 36baf7f4a361e1d7745b7d1469497b66dd66bab9..ada622338f67eded3e2e78826506491b933c374c 100644 (file)
@@ -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));