summaryrefslogtreecommitdiffstats
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-11-02 04:44:47 +0000
committerJason Molenda <jmolenda@apple.com>1999-11-02 04:44:47 +0000
commit5c44784c11ecc8febfff615b88496c56c9ad5274 (patch)
tree74f9079f5b0ddae1182abf087af8adc02103e149 /gdb/breakpoint.h
parent9503fd8735ec438fcb2fca34afa276e3e6ca94f5 (diff)
downloadppe42-binutils-5c44784c11ecc8febfff615b88496c56c9ad5274.tar.gz
ppe42-binutils-5c44784c11ecc8febfff615b88496c56c9ad5274.zip
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 a59708490b..94492dd3bd 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. */
OpenPOWER on IntegriCloud