summaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
authorqiyao <qiyao>2012-04-24 14:33:10 +0000
committerqiyao <qiyao>2012-04-24 14:33:10 +0000
commit8dfb8536228b4a1391b28850b29b9f0f9b593285 (patch)
treefc4d2f0c1144c8e2218b5c13bae27b0f302c3cc6 /gdb/breakpoint.h
parenta0e9b872c4a0956bf8d71b7586b71fd0f19557e2 (diff)
downloadgdb-8dfb8536228b4a1391b28850b29b9f0f9b593285.tar.gz
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 e676659a935..75b62d2daf7 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);