aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-01-31 15:07:49 +0000
committerTom Tromey <tromey@redhat.com>2011-01-31 15:07:49 +0000
commit09d682a4f353e0e692e602baf229b3b5b93c0142 (patch)
tree176e10e1fd7cb76b032ea429088c3797fb508d6a /gdb/breakpoint.h
parent65b4571a45f1e672f3679d8149cea621e1d7ef1d (diff)
downloadgdb-09d682a4f353e0e692e602baf229b3b5b93c0142.zip
gdb-09d682a4f353e0e692e602baf229b3b5b93c0142.tar.gz
gdb-09d682a4f353e0e692e602baf229b3b5b93c0142.tar.bz2
* breakpoint.h (user_breakpoint_p): Declare.
* breakpoint.c (user_breakpoint_p): New function. (breakpoint_1): Use it. (save_breakpoints): Likewise.
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 69598a7..6eed2cd 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -1184,4 +1184,6 @@ extern void end_rbreak_breakpoints (void);
extern struct breakpoint *iterate_over_breakpoints (int (*) (struct breakpoint *,
void *), void *);
+extern int user_breakpoint_p (struct breakpoint *);
+
#endif /* !defined (BREAKPOINT_H) */