diff options
author | Pedro Alves <palves@redhat.com> | 2008-07-08 10:59:57 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2008-07-08 10:59:57 +0000 |
commit | 25b22b0a6f353d95932f8ee0b9bf861d3eed3261 (patch) | |
tree | 71079bc123086beec131668ccfc9f6b1c64a24d5 /gdb/breakpoint.h | |
parent | cce9b6bff92ae507e4517198c4b64e268f975760 (diff) | |
download | gdb-25b22b0a6f353d95932f8ee0b9bf861d3eed3261.zip gdb-25b22b0a6f353d95932f8ee0b9bf861d3eed3261.tar.gz gdb-25b22b0a6f353d95932f8ee0b9bf861d3eed3261.tar.bz2 |
* breakpoint.c (mark_breakpoints_out): Make public.
(update_breakpoints_after_exec): Don't call mark_breakpoints_out
here. Update comment.
* breakpoint.h (mark_breakpoints_out): Declare.
* linux-nat.c (linux_handle_extended_wait): On
TARGET_WAITKIND_EXECD, call mark_breakpoints_out.
* inf-ttrace.c (inf_ttrace_wait): Likewise.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r-- | gdb/breakpoint.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index 2c98d64..4636a13 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -826,6 +826,9 @@ extern void disable_breakpoint (struct breakpoint *); extern void enable_breakpoint (struct breakpoint *); +/* Clear the "inserted" flag in all breakpoints. */ +extern void mark_breakpoints_out (void); + extern void make_breakpoint_permanent (struct breakpoint *); extern struct breakpoint *create_solib_event_breakpoint (CORE_ADDR); |