aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-04-24 14:33:12 +0000
committerYao Qi <yao@codesourcery.com>2012-04-24 14:33:12 +0000
commit20388dd6b670db6c2fada1c609d7ca4ae04c85a0 (patch)
treeb8c0df862294c1400dccb67ab2e6b07431d059af /gdb/breakpoint.h
parent4734f50e63de6deef4fe7976bbfaa398ac701deb (diff)
downloadgdb-20388dd6b670db6c2fada1c609d7ca4ae04c85a0.zip
gdb-20388dd6b670db6c2fada1c609d7ca4ae04c85a0.tar.gz
gdb-20388dd6b670db6c2fada1c609d7ca4ae04c85a0.tar.bz2
gdb:
Revert this patch to allow breakpoint always-inserted in record target. 2011-12-05 Pedro Alves <pedro@codesourcery.com> * breakpoint.c: Include record.h. (breakpoints_always_inserted_mode): Return false when the record target is in use. * breakpoint.c (iterate_over_bp_locations): New. * breakpoint.h: Declare. New typedef walk_bp_location_callback. * record.c (record_open): Call record_init_record_breakpoints. (record_sync_record_breakpoints): New. (record_init_record_breakpoints): New. * NEWS: Mention supporting breakpoint always-inserted mode in record target.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r--gdb/breakpoint.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index e676659..75b62d2 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -1131,6 +1131,10 @@ extern void delete_breakpoint (struct breakpoint *);
extern void breakpoint_auto_delete (bpstat);
+typedef void (*walk_bp_location_callback) (struct bp_location *, void *);
+
+extern void iterate_over_bp_locations (walk_bp_location_callback);
+
/* Return the chain of command lines to execute when this breakpoint
is hit. */
extern struct command_line *breakpoint_commands (struct breakpoint *b);