From ca799f40e93972d04247a5bbc76b749a2d462824 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Tue, 2 Nov 1999 04:44:47 +0000 Subject: import gdb-1999-11-01 snapshot --- gdb/breakpoint.h | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) (limited to 'gdb/breakpoint.h') 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. */ -- cgit v1.2.1