19 #if !defined (BREAKPOINT_H)
20 #define BREAKPOINT_H 1
46 #define BREAKPOINT_MAX 16
584 enum bptype,
char *,
char **);
1246 #define CATCH_PERMANENT ((void *) (uintptr_t) 0)
1247 #define CATCH_TEMPORARY ((void *) (uintptr_t) 1)
1256 completer_ftype *completer,
1257 void *user_data_catch,
1258 void *user_data_tcatch);
1297 char *cond_string,
int thread,
1300 int tempflag,
enum bptype wanted_type,
1306 int internal,
unsigned flags);
1550 extern VEC(breakpoint_p) *all_tracepoints (
void);
1557 extern VEC(breakpoint_p) *static_tracepoints_here (
CORE_ADDR addr);
VEC(breakpoint_p)*all_tracepoints(void)
int breakpoint_has_location_inserted_here(struct breakpoint *bp, struct address_space *aspace, CORE_ADDR pc)
struct agent_expr * cond_bytecode
void init_bp_location(struct bp_location *loc, const struct bp_location_ops *ops, struct breakpoint *owner)
enum condition_status condition_changed
void(* walk_bp_location_callback)(struct bp_location *, void *)
void thbreak_command_wrapper(char *, int)
void(* print_recreate)(struct breakpoint *, struct ui_file *fp)
void disable_breakpoints_before_startup(void)
int breakpoints_should_be_inserted_now(void)
void add_catch_command(char *name, char *docstring, cmd_sfunc_ftype *sfunc, completer_ftype *completer, void *user_data_catch, void *user_data_tcatch)
int is_breakpoint(const struct breakpoint *bpt)
struct breakpoint_ops tracepoint_breakpoint_ops
void set_ignore_count(int, int, int)
void awatch_command_wrapper(char *, int, int)
struct tracepoint * get_tracepoint_by_number(char **arg, struct get_number_or_range_state *state)
void delete_longjmp_breakpoint(int thread)
struct command_line * breakpoint_commands(struct breakpoint *b)
void bpstat_do_actions(void)
enum target_hw_bp_type watchpoint_type
int pc_at_non_inline_function(struct address_space *aspace, CORE_ADDR pc, const struct target_waitstatus *ws)
int(* works_in_software_mode)(const struct breakpoint *)
void bpstat_clear(bpstat *)
int events_till_retirement
struct counted_command_line * commands
void init_ada_exception_breakpoint(struct breakpoint *b, struct gdbarch *gdbarch, struct symtab_and_line sal, char *addr_string, const struct breakpoint_ops *ops, int tempflag, int enabled, int from_tty)
enum print_stop_action(* print_it)(struct bpstats *bs)
void rbreak_command_wrapper(char *, int)
void bpstat_clear_actions(void)
struct gdbarch * get_sal_arch(struct symtab_and_line sal)
struct counted_command_line * commands
static enum auto_boolean pending_break_support
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 obj_section * section
struct breakpoint * create_solib_event_breakpoint(struct gdbarch *, CORE_ADDR)
enum command_control_type commands_from_control_command(char *arg, struct command_line *cmd)
void remove_solib_event_breakpoints(void)
void(* print_mention)(struct breakpoint *)
int(* breakpoint_hit)(const struct bp_location *bl, struct address_space *aspace, CORE_ADDR bp_addr, const struct target_waitstatus *ws)
int hardware_watchpoint_inserted_in_range(struct address_space *, CORE_ADDR addr, ULONGEST len)
int is_watchpoint(const struct breakpoint *bpt)
int program_breakpoint_here_p(struct gdbarch *gdbarch, CORE_ADDR address)
int software_breakpoint_inserted_here_p(struct address_space *, CORE_ADDR)
const struct block * cond_exp_valid_block
void disable_display(int)
void breakpoint_re_set(void)
void initialize_breakpoint_ops(void)
struct gdbpy_breakpoint_object * py_bp_object
int bpstat_explains_signal(bpstat, enum gdb_signal)
enum print_stop_action bpstat_print(bpstat, int)
VEC(agent_expr_p)*conditions
bpstat bpstat_stop_status(struct address_space *aspace, CORE_ADDR pc, ptid_t ptid, const struct target_waitstatus *ws)
void init_catchpoint(struct breakpoint *b, struct gdbarch *gdbarch, int tempflag, char *cond_string, const struct breakpoint_ops *ops)
void rwatch_command_wrapper(char *, int, int)
void check_tracepoint_command(char *line, void *closure)
struct program_space * pspace
bpstat bpstat_copy(bpstat)
void breakpoint_program_space_exit(struct program_space *pspace)
void hbreak_command_wrapper(char *, int)
struct bp_location * bp_location_p
int breakpoint_inserted_here_p(struct address_space *, CORE_ADDR)
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)
void disable_breakpoint(struct breakpoint *)
int(* insert_location)(struct bp_location *)
void delete_breakpoint(struct breakpoint *)
enum stop_stack_kind call_dummy
enum breakpoint_here breakpoint_here_p(struct address_space *, CORE_ADDR)
void add_solib_catchpoint(char *arg, int is_load, int is_temp, int enabled)
struct expression * cond_exp
struct bp_location * next
struct bp_target_info overlay_target_info
void start_rbreak_breakpoints(void)
int regular_breakpoint_inserted_here_p(struct address_space *, CORE_ADDR)
int bpstat_causes_stop(bpstat)
struct bp_location * bp_location_at
void disable_breakpoints_in_shlibs(void)
struct program_space * pspace
int user_breakpoint_p(struct breakpoint *)
struct tracepoint * get_tracepoint_by_number_on_target(int num)
void until_break_command(char *, int, int)
int static_trace_marker_id_idx
struct breakpoint * set_momentary_breakpoint(struct gdbarch *, struct symtab_and_line, struct frame_id, enum bptype)
const struct block * exp_valid_block
gdb_byte shadow_contents[BREAKPOINT_MAX]
void enable_breakpoint(struct breakpoint *)
enum bp_print_how print_it
void cmd_sfunc_ftype(char *args, int from_tty, struct cmd_list_element *c)
struct breakpoint * breakpoint_find_if(int(*func)(struct breakpoint *b, void *d), void *user_data)
void insert_single_step_breakpoint(struct gdbarch *, struct address_space *, CORE_ADDR)
void breakpoint_set_commands(struct breakpoint *b, struct command_line *commands)
void(* decode_linespec)(struct breakpoint *, char **, struct symtabs_and_lines *)
void breakpoint_auto_delete(bpstat)
struct cleanup * make_cleanup_delete_breakpoint(struct breakpoint *)
void delete_longjmp_breakpoint_at_next_stop(int thread)
const struct bp_location_ops * ops
int detach_breakpoints(ptid_t ptid)
void set_breakpoint_condition(struct breakpoint *b, const char *exp, int from_tty)
bpstat bpstat_find_breakpoint(bpstat, struct breakpoint *)
void tbreak_command(char *, int)
struct breakpoint * clone_momentary_breakpoint(struct breakpoint *bpkt)
int bpstat_should_step(void)
void breakpoint_free_objfile(struct objfile *objfile)
int(* explains_signal)(struct breakpoint *, enum gdb_signal)
enum watchpoint_triggered watchpoint_triggered
struct gdbscm_breakpoint_object * scm_bp_object
char * ep_parse_optional_if_clause(char **arg)
void breakpoint_xfer_memory(gdb_byte *readbuf, gdb_byte *writebuf, const gdb_byte *writebuf_org, ULONGEST memaddr, LONGEST len)
void clear_displays(void)
CORE_ADDR requested_address
unsigned char display_canonical
void(* check_status)(struct bpstats *bs)
void update_breakpoints_after_exec(void)
void clear_breakpoint_hit_counts(void)
int moribund_breakpoint_here_p(struct address_space *, CORE_ADDR)
struct breakpoint_ops bkpt_breakpoint_ops
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)
void(* create_sals_from_address)(char **, struct linespec_result *, enum bptype, char *, char **)
struct tracepoint * get_tracepoint(int num)
void disable_current_display(void)
void set_longjmp_breakpoint(struct thread_info *tp, struct frame_id frame)
void disable_overlay_breakpoints(void)
void remove_solib_event_breakpoints_at_next_stop(void)
const char const char int
int remove_breakpoints_pid(int pid)
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
enum bp_loc_type loc_type
int remove_breakpoints(void)
int target_exact_watchpoints
void breakpoint_re_set_thread(struct breakpoint *)
int single_step_breakpoint_inserted_here_p(struct address_space *, CORE_ADDR)
ULONGEST traceframe_usage
struct breakpoint * create_jit_event_breakpoint(struct gdbarch *, CORE_ADDR)
CORE_ADDR related_address
int catch_syscall_enabled(void)
void install_breakpoint(int internal, struct breakpoint *b, int update_gll)
const char * bpdisp_text(enum bpdisp disp)
int create_breakpoint(struct gdbarch *gdbarch, char *arg, char *cond_string, int thread, char *extra_string, int parse_arg, 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)
struct breakpoint * get_breakpoint(int num)
int(* remove_location)(struct bp_location *)
void remove_jit_event_breakpoints(void)
void end_rbreak_breakpoints(void)
void(* print_one_detail)(const struct breakpoint *, struct ui_out *)
struct breakpoint * create_thread_event_breakpoint(struct gdbarch *, CORE_ADDR)
struct breakpoint * related_breakpoint
struct agent_expr * cmd_bytecode
void(* after_condition_true)(struct bpstats *bs)
void set_std_terminate_breakpoint(void)
int breakpoint_address_match(struct address_space *aspace1, CORE_ADDR addr1, struct address_space *aspace2, CORE_ADDR addr2)
void remove_thread_event_breakpoints(void)
void enable_breakpoints_after_startup(void)
unsigned long long ULONGEST
int reattach_breakpoints(int)
void breakpoint_retire_moribund(void)
struct breakpoint * breakpoint_p
void(* dtor)(struct breakpoint *self)
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)
struct bp_target_info target_info
void insert_breakpoints(void)
void break_command(char *, int)
void breakpoint_set_thread(struct breakpoint *b, int thread)
struct breakpoint * set_momentary_breakpoint_at_pc(struct gdbarch *, CORE_ADDR pc, enum bptype type)
char * addr_string_range_end
void enable_watchpoints_after_interactive_call_stop(void)
int hardware_breakpoint_inserted_here_p(struct address_space *, CORE_ADDR)
int bpstat_num(bpstat *, int *)
void delete_command(char *arg, int from_tty)
struct address_space * placed_address_space
void breakpoint_set_task(struct breakpoint *b, int task)
void watch_command_wrapper(char *, int, int)
struct breakpoint * create_and_insert_solib_event_breakpoint(struct gdbarch *gdbarch, CORE_ADDR address)
enum enable_state enable_state
void enable_overlay_breakpoints(void)
struct breakpoint * owner
struct breakpoint * iterate_over_breakpoints(int(*)(struct breakpoint *, void *), void *)
void breakpoint_set_silent(struct breakpoint *b, int silent)
void(* print_one)(struct breakpoint *, struct bp_location **)
void(* create_breakpoints_sal)(struct gdbarch *, struct linespec_result *, char *, char *, enum bptype, enum bpdisp, int, int, int, const struct breakpoint_ops *, int, int, int, unsigned)
struct frame_id watchpoint_frame
void(* re_set)(struct breakpoint *self)
char * exp_string_reparse
mach_port_t mach_port_t name mach_port_t mach_port_t name error_t int int rusage_t pid_t pid
void update_breakpoint_locations(struct breakpoint *b, struct symtabs_and_lines sals, struct symtabs_and_lines sals_end)
const struct breakpoint_ops * ops
const ULONGEST const LONGEST len
enum bpstat_what_main_action main_action