aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r--gdb/breakpoint.h26
1 files changed, 15 insertions, 11 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index a597084..94492dd 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -375,6 +375,16 @@ struct bpstat_what
int call_dummy;
};
+/* 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
+ };
+
/* Tell what to do about this bpstat. */
struct bpstat_what bpstat_what PARAMS ((bpstat));
@@ -410,7 +420,7 @@ extern int bpstat_have_active_hw_watchpoints PARAMS ((void));
/* Print a message indicating what happened. Returns nonzero to
say that only the source line should be printed after this (zero
return means print the frame as well as the source line). */
-extern int bpstat_print PARAMS ((bpstat));
+extern enum print_stop_action bpstat_print PARAMS ((bpstat));
/* Return the breakpoint number of the first breakpoint we are stopped
at. *BSP upon return is a bpstat which points to the remaining
@@ -488,16 +498,6 @@ 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. */
@@ -618,6 +618,10 @@ enable_watchpoints_after_interactive_call_stop PARAMS ((void));
extern void clear_breakpoint_hit_counts PARAMS ((void));
+extern int get_number PARAMS ((char **));
+
+extern int get_number_or_range PARAMS ((char **));
+
/* The following are for displays, which aren't really breakpoints, but
here is as good a place as any for them. */