import gdb-1999-10-18 snapshot
[deliverable/binutils-gdb.git] / gdb / breakpoint.h
index fb29c84301dba89176eb96ea43bde44d2e561209..89655fe4528cf84eaa51ec2c7d3cb7caed7620ee 100644 (file)
@@ -455,7 +455,7 @@ struct bpstats
     /* Function called by bpstat_print to print stuff associated with
        this element of the bpstat chain.  Returns 0 or 1 just like
        bpstat_print, or -1 if it can't deal with it.  */
-    int (*print_it) PARAMS ((bpstat bs));
+    enum print_stop_action (*print_it) PARAMS ((bpstat bs));
   };
 
 enum inf_context
@@ -473,6 +473,16 @@ enum breakpoint_here
     ordinary_breakpoint_here,
     permanent_breakpoint_here
   };
+
+/* The possible return values for print_bpstat, print_it_normal,
+   print_it_done, print_it_noop. */
+enum print_stop_action
+  {
+    PRINT_UNKNOWN = -1,
+    PRINT_SRC_AND_LOC,
+    PRINT_SRC_ONLY,
+    PRINT_NOTHING
+  };
 \f
 
 /* Prototypes for breakpoint-related functions.  */
This page took 0.023876 seconds and 4 git commands to generate.