diff options
author | Tom Tromey <tromey@redhat.com> | 2011-01-31 15:07:49 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-01-31 15:07:49 +0000 |
commit | 09d682a4f353e0e692e602baf229b3b5b93c0142 (patch) | |
tree | 176e10e1fd7cb76b032ea429088c3797fb508d6a /gdb/breakpoint.h | |
parent | 65b4571a45f1e672f3679d8149cea621e1d7ef1d (diff) | |
download | gdb-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.h | 2 |
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) */ |