* breakpoint.c (get_number_trailer): No longer accept a NULL PP.

* breakpoint.h (get_number_or_range): Declare.
	* printcmd.c (ALL_DISPLAYS): Declare.
	(delete_display): Reimplement taking a display pointer.
	(undisplay_command): Accept a range of displays to delete, using
	get_number_or_range.
This commit is contained in:
Pedro Alves
2011-02-18 16:43:53 +00:00
parent badc813953
commit 3c3fe74c6f
4 changed files with 45 additions and 37 deletions

View File

@@ -1191,4 +1191,6 @@ extern struct breakpoint *iterate_over_breakpoints (int (*) (struct breakpoint *
extern int user_breakpoint_p (struct breakpoint *);
extern int get_number_or_range (char **pp);
#endif /* !defined (BREAKPOINT_H) */