X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fbreakpoint.h;h=e0eeeaa950e4549f99610ab449ae7599df8a6ad8;hb=3d3e6bc3f438c51ff235d6a454ee1010246e814a;hp=5b5172ee6b4f77ad63b67e24ed5021bc3afcc527;hpb=f59f708a4b12a347cb003c750b96336822481900;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index 5b5172ee6b..e0eeeaa950 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -550,7 +550,7 @@ struct breakpoint_ops struct linespec_sals *, char *, enum bptype, enum bpdisp, int, int, int, const struct breakpoint_ops *, - int, int, int); + int, int, int, unsigned); /* Given the address string (second parameter), this method decodes it and provides the SAL locations related to it. For ordinary breakpoints, @@ -583,9 +583,6 @@ enum watchpoint_triggered watch_triggered_yes }; -/* This is used to declare the VEC syscalls_to_be_caught. */ -DEF_VEC_I(int); - typedef struct bp_location *bp_location_p; DEF_VEC_P(bp_location_p); @@ -1193,6 +1190,16 @@ extern void extern void install_breakpoint (int internal, struct breakpoint *b, int update_gll); +/* Flags that can be passed down to create_breakpoint, etc., to affect + breakpoint creation in several ways. */ + +enum breakpoint_create_flags + { + /* We're adding a breakpoint to our tables that is already + inserted in the target. */ + CREATE_BREAKPOINT_FLAGS_INSERTED = 1 << 0 + }; + extern int create_breakpoint (struct gdbarch *gdbarch, char *arg, char *cond_string, int thread, int parse_condition_and_thread, @@ -1202,7 +1209,7 @@ extern int create_breakpoint (struct gdbarch *gdbarch, char *arg, const struct breakpoint_ops *ops, int from_tty, int enabled, - int internal); + int internal, unsigned flags); extern void insert_breakpoints (void);