summaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-11-02 04:44:47 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-11-02 04:44:47 +0000
commitca799f40e93972d04247a5bbc76b749a2d462824 (patch)
treed0142d7a9db3d791008037a060e4336032339c66 /gdb/breakpoint.h
parent1f80975aceb82ecd4fc9bf4e988e6d1b7c7bbca1 (diff)
downloadgdb-ca799f40e93972d04247a5bbc76b749a2d462824.tar.gz
import gdb-1999-11-01 snapshot
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 a59708490b9..94492dd3bda 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. */