19 #if !defined (BREAKPOINT_H) 20 #define BREAKPOINT_H 1 62 #define BREAKPOINT_MAX 16 618 int, int, int, unsigned);
626 std::vector<symtab_and_line> (*decode_location)
1282 #define CATCH_PERMANENT ((void *) (uintptr_t) 0) 1283 #define CATCH_TEMPORARY ((void *) (uintptr_t) 1) 1293 void *user_data_catch,
1294 void *user_data_tcatch);
1302 const char *addr_string,
1310 const char *cond_string,
1353 const char *cond_string,
int thread,
1354 const char *extra_string,
1356 int tempflag,
enum bptype wanted_type,
1362 int internal,
unsigned flags);
enum breakpoint_here breakpoint_here_p(const address_space *, CORE_ADDR)
int hardware_breakpoint_inserted_here_p(const address_space *, CORE_ADDR)
void(* walk_bp_location_callback)(struct bp_location *, void *)
agent_expr_up cond_bytecode
void(* print_recreate)(struct breakpoint *, struct ui_file *fp)
void disable_breakpoints_before_startup(void)
int breakpoints_should_be_inserted_now(void)
int is_breakpoint(const struct breakpoint *bpt)
struct breakpoint_ops tracepoint_breakpoint_ops
void set_ignore_count(int, int, int)
void delete_longjmp_breakpoint(int thread)
std::unique_ptr< agent_expr > agent_expr_up
int hardware_watchpoint_inserted_in_range(const address_space *, CORE_ADDR addr, ULONGEST len)
struct command_line * breakpoint_commands(struct breakpoint *b)
void bpstat_do_actions(void)
int create_breakpoint(struct gdbarch *gdbarch, const struct event_location *location, const char *cond_string, int thread, const char *extra_string, int parse_extra, int tempflag, enum bptype wanted_type, int ignore_count, enum auto_boolean pending_break_support, const struct breakpoint_ops *ops, int from_tty, int enabled, int internal, unsigned flags)
target_hw_bp_type watchpoint_type
void operator()(struct breakpoint *b) const
int(* works_in_software_mode)(const struct breakpoint *)
gdb::unique_xmalloc_ptr< expression > expression_up
void bpstat_clear(bpstat *)
mach_port_t mach_port_t name mach_port_t mach_port_t name kern_return_t int int rusage_t pid_t pid
void cmd_const_sfunc_ftype(const char *args, int from_tty, struct cmd_list_element *c)
void init_catchpoint(struct breakpoint *b, struct gdbarch *gdbarch, int tempflag, const char *cond_string, const struct breakpoint_ops *ops)
void add_catch_command(const char *name, const char *docstring, cmd_const_sfunc_ftype *sfunc, completer_ftype *completer, void *user_data_catch, void *user_data_tcatch)
enum print_stop_action(* print_it)(struct bpstats *bs)
void awatch_command_wrapper(const char *, int, int)
void bpstat_clear_actions(void)
struct gdbarch * get_sal_arch(struct symtab_and_line sal)
counted_command_line commands
static enum auto_boolean pending_break_support
int events_till_retirement
int software_breakpoint_inserted_here_p(const address_space *, CORE_ADDR)
bp_target_info overlay_target_info
int(* resources_needed)(const struct bp_location *)
int is_tracepoint(const struct breakpoint *b)
void(* dtor)(struct bp_location *self)
struct breakpoint_ops dprintf_breakpoint_ops
struct breakpoint * create_solib_event_breakpoint(struct gdbarch *, CORE_ADDR)
const struct frame_id null_frame_id
event_location_up location_range_end
void remove_solib_event_breakpoints(void)
CORE_ADDR requested_address
void(* print_mention)(struct breakpoint *)
enum command_control_type commands_from_control_command(const char *arg, struct command_line *cmd)
int is_watchpoint(const struct breakpoint *bpt)
int program_breakpoint_here_p(struct gdbarch *gdbarch, CORE_ADDR address)
const struct block * cond_exp_valid_block
void watch_command_wrapper(const char *, int, int)
void disable_display(int)
int moribund_breakpoint_here_p(const address_space *, CORE_ADDR)
const breakpoint_ops * ops
void breakpoint_re_set(void)
void initialize_breakpoint_ops(void)
int bpstat_explains_signal(bpstat, enum gdb_signal)
int breakpoint_inserted_here_p(const address_space *, CORE_ADDR)
enum print_stop_action bpstat_print(bpstat, int)
struct breakpoint * iterate_over_breakpoints(int(*)(struct breakpoint *, void *), void *)
breakpoint * related_breakpoint
void check_tracepoint_command(char *line, void *closure)
bpstat bpstat_copy(bpstat)
DISABLE_COPY_AND_ASSIGN(scoped_rbreak_breakpoints)
void breakpoint_program_space_exit(struct program_space *pspace)
struct bp_location * bp_location_p
agent_expr_up cmd_bytecode
mach_port_t kern_return_t mach_port_t msgports mach_port_t kern_return_t pid_t pid mach_port_t kern_return_t mach_port_t task mach_port_t kern_return_t int flags
void iterate_over_bp_locations(walk_bp_location_callback)
std::vector< agent_expr * > tcommands
void disable_breakpoint(struct breakpoint *)
void rbreak_command_wrapper(const char *, int)
int(* insert_location)(struct bp_location *)
void delete_breakpoint(struct breakpoint *)
enum stop_stack_kind call_dummy
int single_step_breakpoint_inserted_here_p(const address_space *, CORE_ADDR)
int bpstat_causes_stop(bpstat)
std::unique_ptr< T, xfree_deleter< T > > unique_xmalloc_ptr
const char * ep_parse_optional_if_clause(const char **arg)
struct bp_location * bp_location_at
void disable_breakpoints_in_shlibs(void)
int user_breakpoint_p(struct breakpoint *)
struct tracepoint * get_tracepoint_by_number_on_target(int num)
int breakpoint_has_location_inserted_here(struct breakpoint *bp, const address_space *aspace, CORE_ADDR pc)
int static_trace_marker_id_idx
gdbpy_breakpoint_object * py_bp_object
void update_breakpoint_locations(struct breakpoint *b, struct program_space *filter_pspace, gdb::array_view< const symtab_and_line > sals, gdb::array_view< const symtab_and_line > sals_end)
int(* breakpoint_hit)(const struct bp_location *bl, const address_space *aspace, CORE_ADDR bp_addr, const struct target_waitstatus *ws)
const struct block * exp_valid_block
void breakpoint_set_commands(struct breakpoint *b, command_line_up &&commands)
gdb_byte shadow_contents[BREAKPOINT_MAX]
void enable_breakpoint(struct breakpoint *)
enum bp_print_how print_it
bpstat bpstat_stop_status(const address_space *aspace, CORE_ADDR pc, ptid_t ptid, const struct target_waitstatus *ws)
struct breakpoint * breakpoint_find_if(int(*func)(struct breakpoint *b, void *d), void *user_data)
void until_break_command(const char *, int, int)
void breakpoint_auto_delete(bpstat)
void hbreak_command_wrapper(const char *, int)
void delete_longjmp_breakpoint_at_next_stop(int thread)
void maybe_print_thread_hit_breakpoint(struct ui_out *uiout)
int breakpoint_address_match(const address_space *aspace1, CORE_ADDR addr1, const address_space *aspace2, CORE_ADDR addr2)
void add_solib_catchpoint(const char *arg, int is_load, int is_temp, int enabled)
int detach_breakpoints(ptid_t ptid)
void bpstat_run_callbacks(bpstat bs_head)
void set_breakpoint_condition(struct breakpoint *b, const char *exp, int from_tty)
bpstat bpstat_find_breakpoint(bpstat, struct breakpoint *)
std::unique_ptr< event_location, event_location_deleter > event_location_up
struct breakpoint * clone_momentary_breakpoint(struct breakpoint *bpkt)
int bpstat_should_step(void)
void breakpoint_free_objfile(struct objfile *objfile)
std::vector< agent_expr * > conditions
int(* explains_signal)(struct breakpoint *, enum gdb_signal)
breakpoint_up set_momentary_breakpoint_at_pc(struct gdbarch *, CORE_ADDR pc, enum bptype type)
enum watchpoint_triggered watchpoint_triggered
void completer_ftype(struct cmd_list_element *, completion_tracker &tracker, const char *text, const char *word)
void breakpoint_xfer_memory(gdb_byte *readbuf, gdb_byte *writebuf, const gdb_byte *writebuf_org, ULONGEST memaddr, LONGEST len)
void clear_displays(void)
int breakpoint_in_range_p(const address_space *aspace, CORE_ADDR addr, ULONGEST len)
void(* check_status)(struct bpstats *bs)
std::unique_ptr< struct breakpoint, breakpoint_deleter > breakpoint_up
void update_breakpoints_after_exec(void)
void clear_breakpoint_hit_counts(void)
struct breakpoint_ops bkpt_breakpoint_ops
void install_breakpoint(int internal, std::unique_ptr< breakpoint > &&b, int update_gll)
int is_catchpoint(struct breakpoint *)
struct breakpoint * breakpoint_at
void delete_std_terminate_breakpoint(void)
struct breakpoint_ops base_breakpoint_ops
int catching_syscall_number(int syscall_number)
struct tracepoint * get_tracepoint(int num)
void(* create_sals_from_location)(const struct event_location *location, struct linespec_result *canonical, enum bptype type_wanted)
void disable_current_display(void)
void set_longjmp_breakpoint(struct thread_info *tp, struct frame_id frame)
void disable_overlay_breakpoints(void)
VEC(breakpoint_p) *all_tracepoints(void)
void remove_solib_event_breakpoints_at_next_stop(void)
int remove_breakpoints_pid(int pid)
condition_status condition_changed
int watchpoints_triggered(struct target_waitstatus *)
void breakpoint_init_inferior(enum inf_context)
void disable_watchpoints_before_interactive_call_start(void)
void print_recreate_thread(struct breakpoint *b, struct ui_file *fp)
char * static_trace_marker_id
void print_breakpoint(breakpoint *bp)
int remove_breakpoints(void)
void tbreak_command(const char *, int)
int target_exact_watchpoints
void breakpoint_re_set_thread(struct breakpoint *)
ULONGEST traceframe_usage
event_location_up location
int(* remove_location)(struct bp_location *, enum remove_bp_reason reason)
struct breakpoint * create_jit_event_breakpoint(struct gdbarch *, CORE_ADDR)
bp_target_info target_info
int catch_syscall_enabled(void)
int insert_single_step_breakpoints(struct gdbarch *)
~scoped_rbreak_breakpoints()
breakpoint_up set_momentary_breakpoint(struct gdbarch *, struct symtab_and_line, struct frame_id, enum bptype)
const char * bpdisp_text(enum bpdisp disp)
CORE_ADDR related_address
bpstats & operator=(const bpstats &)=delete
struct breakpoint * get_breakpoint(int num)
void remove_jit_event_breakpoints(void)
void thbreak_command_wrapper(const char *, int)
void(* print_one_detail)(const struct breakpoint *, struct ui_out *)
struct breakpoint * create_thread_event_breakpoint(struct gdbarch *, CORE_ADDR)
const bp_location_ops * ops
void(* after_condition_true)(struct bpstats *bs)
void rwatch_command_wrapper(const char *, int, int)
void set_std_terminate_breakpoint(void)
void enable_breakpoints_after_startup(void)
scoped_rbreak_breakpoints()
struct tracepoint * get_tracepoint_by_number(const char **arg, number_or_range_parser *parser)
unsigned long long ULONGEST
int pending_breakpoint_p(struct breakpoint *)
void breakpoint_retire_moribund(void)
struct breakpoint * breakpoint_p
counted_command_line commands
void check_longjmp_breakpoint_for_call_dummy(struct thread_info *tp)
struct breakpoint * set_longjmp_breakpoint_for_call_dummy(void)
void mark_breakpoints_out(void)
void insert_breakpoints(void)
void breakpoint_set_thread(struct breakpoint *b, int thread)
gdbscm_breakpoint_object * scm_bp_object
std::unique_ptr< command_line, command_lines_deleter > command_line_up
void enable_watchpoints_after_interactive_call_stop(void)
int bpstat_num(bpstat *, int *)
struct address_space * placed_address_space
void breakpoint_set_task(struct breakpoint *b, int task)
struct breakpoint * create_and_insert_solib_event_breakpoint(struct gdbarch *gdbarch, CORE_ADDR address)
void insert_single_step_breakpoint(struct gdbarch *, const address_space *, CORE_ADDR)
void enable_overlay_breakpoints(void)
void(* create_breakpoints_sal)(struct gdbarch *, struct linespec_result *, gdb::unique_xmalloc_ptr< char >, gdb::unique_xmalloc_ptr< char >, enum bptype, enum bpdisp, int, int, int, const struct breakpoint_ops *, int, int, int, unsigned)
void init_ada_exception_breakpoint(struct breakpoint *b, struct gdbarch *gdbarch, struct symtab_and_line sal, const char *addr_string, const struct breakpoint_ops *ops, int tempflag, int enabled, int from_tty)
void breakpoint_set_silent(struct breakpoint *b, int silent)
void(* print_one)(struct breakpoint *, struct bp_location **)
std::shared_ptr< command_line > counted_command_line
struct frame_id watchpoint_frame
void(* re_set)(struct breakpoint *self)
char * exp_string_reparse
void break_command(const char *, int)
int pc_at_non_inline_function(const address_space *aspace, CORE_ADDR pc, const struct target_waitstatus *ws)
enum bpstat_what_main_action main_action