aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r--gdb/breakpoint.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index fb29c84..89655fe 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -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
+ };
/* Prototypes for breakpoint-related functions. */