Removed superflous code.
[deliverable/binutils-gdb.git] / gdb / tracepoint.h
index d58a7dbfa867db5717f37c5e02f649ce66b435ca..2dc13bdb5b33bc19125ada0283139949080b8e6c 100644 (file)
@@ -80,30 +80,48 @@ struct tracepoint
   /* Input radix we used to set the tracepoint.  */
   int input_radix;
 
-  /* String form of the tracepoint trigger condition (malloc'd), 
-     or NULL if there is no condition.  */
-  char *cond_string;
-
   /* Count of the number of times this tracepoint was taken, dumped
      with the info, but not used for anything else.  Useful for
      seeing how many times you hit a tracepoint prior to the program
      aborting, so you can back up to just before the abort.  */
   int hit_count;
 
-  /* Thread number for thread-specific breakpoint, or -1 if don't care */ 
+  /* Thread number for thread-specific tracepoint, or -1 if don't care */ 
   int thread;
+
+  /* BFD section, in case of overlays: 
+     no, I don't know if tracepoints are really gonna work with overlays.  */
+  asection *section;
+};
+
+enum actionline_type
+{
+  BADLINE  = -1,
+  GENERIC  =  0,
+  END      =  1,
+  STEPPING =  2,
 };
 
+
 /* The tracepont chain of all tracepoints */
 
 extern struct tracepoint *tracepoint_chain;
 
+extern unsigned long trace_running_p;
+
 /* A hook used to notify the UI of tracepoint operations */
 
 void (*create_tracepoint_hook) PARAMS ((struct tracepoint *));
 void (*delete_tracepoint_hook) PARAMS ((struct tracepoint *));
+void (*modify_tracepoint_hook) PARAMS ((struct tracepoint *));
+void (*trace_find_hook) PARAMS ((char *arg, int from_tty));
 
 struct tracepoint *get_tracepoint_by_number PARAMS ((char **));
+int get_traceframe_number PARAMS ((void));
+void  free_actions PARAMS((struct tracepoint *));
+enum actionline_type validate_actionline PARAMS((char **,
+                                                        struct tracepoint *));
+
 
 /* Walk the following statement or block through all tracepoints.
    ALL_TRACEPOINTS_SAFE does so even if the statment deletes the current
This page took 0.023797 seconds and 4 git commands to generate.