aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-02-18 16:43:53 +0000
committerPedro Alves <palves@redhat.com>2011-02-18 16:43:53 +0000
commit3c3fe74c6fe58e9035ff5a045d9497321d3a0d31 (patch)
treebb53f5321d33c6ac4ce9662afb1df47baa028958 /gdb/breakpoint.h
parentbadc813953563b5539ce2974242b9c3d3860adab (diff)
downloadgdb-3c3fe74c6fe58e9035ff5a045d9497321d3a0d31.zip
gdb-3c3fe74c6fe58e9035ff5a045d9497321d3a0d31.tar.gz
gdb-3c3fe74c6fe58e9035ff5a045d9497321d3a0d31.tar.bz2
* 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.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r--gdb/breakpoint.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index 86fae66..a3927cf 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -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) */