GDB (xrefs)

Classes | Macros | Enumerations | Functions | Variables
/tmp/gdb-8.1/gdb/breakpoint.c File Reference
`#include "defs.h"`
`#include "arch-utils.h"`
`#include <ctype.h>`
`#include "hashtab.h"`
`#include "symtab.h"`
`#include "frame.h"`
`#include "breakpoint.h"`
`#include "tracepoint.h"`
`#include "gdbtypes.h"`
`#include "expression.h"`
`#include "gdbcore.h"`
`#include "gdbcmd.h"`
`#include "value.h"`
`#include "command.h"`
`#include "inferior.h"`
`#include "infrun.h"`
`#include "gdbthread.h"`
`#include "target.h"`
`#include "language.h"`
`#include "gdb-demangle.h"`
`#include "filenames.h"`
`#include "annotate.h"`
`#include "symfile.h"`
`#include "objfiles.h"`
`#include "source.h"`
`#include "linespec.h"`
`#include "completer.h"`
`#include "ui-out.h"`
`#include "cli/cli-script.h"`
`#include "block.h"`
`#include "solib.h"`
`#include "solist.h"`
`#include "observer.h"`
`#include "memattr.h"`
`#include "ada-lang.h"`
`#include "top.h"`
`#include "valprint.h"`
`#include "jit.h"`
`#include "parser-defs.h"`
`#include "gdb_regex.h"`
`#include "probe.h"`
`#include "cli/cli-utils.h"`
`#include "continuations.h"`
`#include "stack.h"`
`#include "skip.h"`
`#include "ax-gdb.h"`
`#include "dummy-frame.h"`
`#include "interps.h"`
`#include "format.h"`
`#include "thread-fsm.h"`
`#include "tid-parse.h"`
`#include "readline/readline.h"`
`#include "readline/history.h"`
`#include "mi/mi-common.h"`
`#include "extension.h"`
`#include <algorithm>`
`#include "progspace-and-thread.h"`
`#include "common/array-view.h"`
`#include "common/gdb_optional.h"`

Go to the source code of this file.

## Classes
struct | longjmp_breakpoint
struct | breakpoint_objfile_data
struct | breakpoint_objfile_data::overlay_msym
struct | breakpoint_objfile_data::terminate_msym
struct | breakpoint_objfile_data::exception_msym
struct | lang_and_radix
struct | fork_catchpoint
struct | solib_catchpoint
struct | exec_catchpoint
struct | until_break_fsm

## Macros
#define | ALL_BREAKPOINTS(B) for (B = breakpoint_chain; B; B = B->next)
#define | ALL_BREAKPOINTS_SAFE(B, TMP)
#define | ALL_BP_LOCATIONS(B, BP_TMP)
#define | ALL_BP_LOCATIONS_AT_ADDR(BP_LOCP_TMP, BP_LOCP_START, ADDRESS)
#define | ALL_TRACEPOINTS(B)
#define | NUM_LONGJMP_NAMES ARRAY_SIZE(longjmp_names)
#define | BP_TEMPFLAG 1
#define | BP_HARDWAREFLAG 2
#define | internal_error_pure_virtual_called() gdb_assert_not_reached ("pure virtual function called")
#define | LOCATION_HELP_STRING "Linespecs are colon-separated lists of location parameters, such as\n\source filename, function name, label name, and line number.\n\Example: To specify the start of a label named \"the_top\" in the\n\function \"fact\" in the file \"factorial.c\", use\n\\"factorial.c:fact:the_top\".\n\\n\Address locations begin with \"*\" and specify an exact address in the\n\program. Example: To specify the fourth byte past the start function\n\\"main\", use \"*main + 4\".\n\\n\Explicit locations are similar to linespecs but use an option/argument\n\syntax to specify location parameters.\n\Example: To specify the start of the label named \"the_top\" in the\n\function \"fact\" in the file \"factorial.c\", use \"-source factorial.c\n\-function fact -label the_top\".\n\\n\By default, a specified function is matched against the program's\n\functions in all scopes. For C++, this means in all namespaces and\n\classes. For Ada, this means in all packages. E.g., in C++,\n\\"func()\" matches \"A::func()\", \"A::B::func()\", etc. The\n\\"-qualified\" flag overrides this behavior, making GDB interpret the\n\specified name as a complete fully-qualified name instead.\n"
#define | BREAK_ARGS_HELP(command) command" [PROBE_MODIFIER] [LOCATION] [thread THREADNUM] [if CONDITION]\n\PROBE_MODIFIER shall be present if the command is to be placed in a\n\probe point. Accepted values are `-probe' (for a generic, automatically\n\guessed probe type), `-probe-stap' (for a SystemTap probe) or \n\`-probe-dtrace' (for a DTrace probe).\n\LOCATION may be a linespec, address, or explicit location as described\n\below.\n\\n\With no LOCATION, uses current execution address of the selected\n\stack frame. This is useful for breaking on return to a stack frame.\n\\n\THREADNUM is the number from \"info threads\".\n\CONDITION is a boolean expression.\n\\n" LOCATION_HELP_STRING "\n\Multiple breakpoints at one place are permitted, and useful if their\n\conditions are different.\n\\n\Do \"help breakpoints\" for info on other commands dealing with breakpoints."

## Enumerations
enum | exception_event_kind { EX_EVENT_THROW, EX_EVENT_RETHROW, EX_EVENT_CATCH, EX_EVENT_THROW, EX_EVENT_RETHROW, EX_EVENT_CATCH }
enum | ugll_insert_mode { UGLL_DONT_INSERT, UGLL_MAY_INSERT, UGLL_INSERT }
enum | wp_check_result { WP_DELETED = 1, WP_VALUE_CHANGED = 2, WP_VALUE_NOT_CHANGED = 3, WP_IGNORE = 4 }
enum | catch_fork_kind { catch_fork_temporary, catch_vfork_temporary, catch_fork_permanent, catch_vfork_permanent }
enum | extract_bp_kind { extract_bp_kind::bp, extract_bp_kind::loc }

## Functions
static void | map_breakpoint_numbers (const char *, gdb::function_view< void(breakpoint *)>)
static void | breakpoint_re_set_default (struct breakpoint *)
static void | create_sals_from_location_default (const struct event_location *location, struct linespec_result *canonical, enum bptype type_wanted)
static void | create_breakpoints_sal_default (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)
static std::vector< symtab_and_line > | decode_location_default (struct breakpoint *b, const struct event_location *location, struct program_space *search_pspace)
static int | can_use_hardware_watchpoint (struct value *)
static void | mention (struct breakpoint *)
static struct breakpoint * | set_raw_breakpoint_without_location (struct gdbarch *, enum bptype, const struct breakpoint_ops *)
static struct bp_location * | add_location_to_breakpoint (struct breakpoint *, const struct symtab_and_line *)
struct breakpoint * | set_raw_breakpoint (struct gdbarch *gdbarch, struct symtab_and_line, enum bptype, const struct breakpoint_ops *)
static struct breakpoint * | momentary_breakpoint_from_master (struct breakpoint *orig, enum bptype type, const struct breakpoint_ops *ops, int loc_enabled)
static void | breakpoint_adjustment_warning (CORE_ADDR, CORE_ADDR, int, int)
static CORE_ADDR | adjust_breakpoint_address (struct gdbarch *gdbarch, CORE_ADDR bpaddr, enum bptype bptype)
static void | describe_other_breakpoints (struct gdbarch *, struct program_space *, CORE_ADDR, struct obj_section *, int)
static int | watchpoint_locations_match (struct bp_location *loc1, struct bp_location *loc2)
static int | breakpoint_location_address_match (struct bp_location *bl, const struct address_space *aspace, CORE_ADDR addr)
static int | breakpoint_location_address_range_overlap (struct bp_location *, const address_space *, CORE_ADDR, int)
static int | remove_breakpoint (struct bp_location *)
static int | remove_breakpoint_1 (struct bp_location *, enum remove_bp_reason)
static enum print_stop_action | print_bp_stop_message (bpstat bs)
static int | hw_breakpoint_used_count (void)
static int | hw_watchpoint_use_count (struct breakpoint *)
static int | hw_watchpoint_used_count_others (struct breakpoint *except, enum bptype type, int *other_type_used)
static void | enable_breakpoint_disp (struct breakpoint *, enum bpdisp, int count)
static void | free_bp_location (struct bp_location *loc)
static void | incref_bp_location (struct bp_location *loc)
static void | decref_bp_location (struct bp_location **loc)
static struct bp_location * | allocate_bp_location (struct breakpoint *bpt)
static void | update_global_location_list (enum ugll_insert_mode)
static void | update_global_location_list_nothrow (enum ugll_insert_mode)
static int | is_hardware_watchpoint (const struct breakpoint *bpt)
static void | insert_breakpoint_locations (void)
static void | trace_pass_command (const char *, int)
static void | set_tracepoint_count (int num)
static int | is_masked_watchpoint (const struct breakpoint *b)
static struct bp_location ** | get_first_locp_gte_addr (CORE_ADDR address)
static int | strace_marker_p (struct breakpoint *b)
struct command_line * | breakpoint_commands (struct breakpoint *b)
const char * | bpdisp_text (enum bpdisp disp)
static void | show_can_use_hw_watchpoints (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
static void | show_pending_break_support (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
static void | show_automatic_hardware_breakpoints (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
static void | show_always_inserted_mode (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
int | breakpoints_should_be_inserted_now (void)
static const char * | translate_condition_evaluation_mode (const char *mode)
static const char * | breakpoint_condition_evaluation_mode (void)
static int | gdb_evaluates_breakpoint_condition_p (void)
| VEC (bp_location_p)
static int | breakpoint_enabled (struct breakpoint *b)
static void | set_breakpoint_count (int num)
void | clear_breakpoint_hit_counts (void)
struct breakpoint * | get_breakpoint (int num)
static void | mark_breakpoint_modified (struct breakpoint *b)
static void | mark_breakpoint_location_modified (struct bp_location *loc)
static void | set_condition_evaluation_mode (const char *args, int from_tty, struct cmd_list_element *c)
static void | show_condition_evaluation_mode (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
static int | bp_locations_compare_addrs (const void *ap, const void *bp)
void | set_breakpoint_condition (struct breakpoint *b, const char *exp, int from_tty)
static void | condition_completer (struct cmd_list_element *cmd, completion_tracker &tracker, const char *text, const char *word)
static void | condition_command (const char *arg, int from_tty)
static void | check_no_tracepoint_commands (struct command_line *commands)
static bool | is_tracepoint_type (bptype type)
static bool | is_longjmp_type (bptype type)
int | is_tracepoint (const struct breakpoint *b)
static std::unique_ptr< breakpoint > | new_breakpoint_from_type (bptype type)
static void | validate_commands_for_breakpoint (struct breakpoint *b, struct command_line *commands)
| VEC (breakpoint_p)
void | breakpoint_set_commands (struct breakpoint *b, command_line_up &&commands)
void | breakpoint_set_silent (struct breakpoint *b, int silent)
void | breakpoint_set_thread (struct breakpoint *b, int thread)
void | breakpoint_set_task (struct breakpoint *b, int task)
void | check_tracepoint_command (char *line, void *closure)
static void | commands_command_1 (const char *arg, int from_tty, struct command_line *control)
static void | commands_command (const char *arg, int from_tty)
enum command_control_type | commands_from_control_command (const char *arg, struct command_line *cmd)
static int | bp_location_has_shadow (struct bp_location *bl)
static void | one_breakpoint_xfer_memory (gdb_byte *readbuf, gdb_byte *writebuf, const gdb_byte *writebuf_org, ULONGEST memaddr, LONGEST len, struct bp_target_info *target_info, struct gdbarch *gdbarch)
void | breakpoint_xfer_memory (gdb_byte *readbuf, gdb_byte *writebuf, const gdb_byte *writebuf_org, ULONGEST memaddr, LONGEST len)
int | is_breakpoint (const struct breakpoint *bpt)
int | is_watchpoint (const struct breakpoint *bpt)
static int | watchpoint_in_thread_scope (struct watchpoint *b)
static void | watchpoint_del_at_next_stop (struct watchpoint *w)
static struct value * | extract_bitfield_from_watchpoint_value (struct watchpoint *w, struct value *val)
static void | software_watchpoint_add_no_memory_location (struct breakpoint *b, struct program_space *pspace)
static int | is_no_memory_software_watchpoint (struct breakpoint *b)
static void | update_watchpoint (struct watchpoint *b, int reparse)
static int | should_be_inserted (struct bp_location *bl)
static int | unduplicated_should_be_inserted (struct bp_location *bl)
static agent_expr_up | parse_cond_to_aexpr (CORE_ADDR scope, struct expression *cond)
static void | build_target_condition_list (struct bp_location *bl)
static agent_expr_up | parse_cmd_to_aexpr (CORE_ADDR scope, char *cmd)
static void | build_target_command_list (struct bp_location *bl)
static int | breakpoint_kind (struct bp_location *bl, CORE_ADDR *addr)
static int | insert_bp_location (struct bp_location *bl, struct ui_file *tmp_error_stream, int *disabled_breaks, int *hw_breakpoint_error, int *hw_bp_error_explained_already)
void | breakpoint_program_space_exit (struct program_space *pspace)
void | insert_breakpoints (void)
void | iterate_over_bp_locations (walk_bp_location_callback callback)
static void | update_inserted_breakpoint_locations (void)
int | remove_breakpoints (void)
static void | remove_threaded_breakpoints (struct thread_info *tp, int silent)
int | remove_breakpoints_pid (int pid)
static void | set_breakpoint_number (int internal, struct breakpoint *b)
static struct breakpoint * | create_internal_breakpoint (struct gdbarch *gdbarch, CORE_ADDR address, enum bptype type, const struct breakpoint_ops *ops)
static int | msym_not_found_p (const struct minimal_symbol *msym)
static struct breakpoint_objfile_data * | get_breakpoint_objfile_data (struct objfile *objfile)
static void | free_breakpoint_objfile_data (struct objfile *obj, void *data)
static void | create_overlay_event_breakpoint (void)
static void | create_longjmp_master_breakpoint (void)
static void | create_std_terminate_master_breakpoint (void)
static void | create_exception_master_breakpoint (void)
static int | breakpoint_event_location_empty_p (const struct breakpoint *b)
void | update_breakpoints_after_exec (void)
int | detach_breakpoints (ptid_t ptid)
void | mark_breakpoints_out (void)
void | breakpoint_init_inferior (enum inf_context context)
enum breakpoint_here | breakpoint_here_p (const address_space *aspace, CORE_ADDR pc)
int | breakpoint_in_range_p (const address_space *aspace, CORE_ADDR addr, ULONGEST len)
int | moribund_breakpoint_here_p (const address_space *aspace, CORE_ADDR pc)
static int | bp_location_inserted_here_p (struct bp_location *bl, const address_space *aspace, CORE_ADDR pc)
int | breakpoint_inserted_here_p (const address_space *aspace, CORE_ADDR pc)
int | software_breakpoint_inserted_here_p (const address_space *aspace, CORE_ADDR pc)
int | hardware_breakpoint_inserted_here_p (const address_space *aspace, CORE_ADDR pc)
int | hardware_watchpoint_inserted_in_range (const address_space *aspace, CORE_ADDR addr, ULONGEST len)
int | is_catchpoint (struct breakpoint *ep)
void | bpstat_clear (bpstat *bsp)
bpstat | bpstat_copy (bpstat bs)
bpstat | bpstat_find_breakpoint (bpstat bsp, struct breakpoint *breakpoint)
int | bpstat_explains_signal (bpstat bsp, enum gdb_signal sig)
int | bpstat_num (bpstat *bsp, int *num)
void | bpstat_clear_actions (void)
static void | breakpoint_about_to_proceed (void)
static int | command_line_is_silent (struct command_line *cmd)
static int | bpstat_do_actions_1 (bpstat *bsp)
void | bpstat_do_actions (void)
static void | watchpoint_value_print (struct value *val, struct ui_file *stream)
void | maybe_print_thread_hit_breakpoint (struct ui_out *uiout)
static void | print_solib_event (int is_catchpoint)
enum print_stop_action | bpstat_print (bpstat bs, int kind)
static bool | breakpoint_cond_eval (expression *exp)
int | watchpoints_triggered (struct target_waitstatus *ws)
static wp_check_result | watchpoint_check (bpstat bs)
static int | bpstat_check_location (const struct bp_location *bl, const address_space *aspace, CORE_ADDR bp_addr, const struct target_waitstatus *ws)
static void | bpstat_check_watchpoint (bpstat bs)
static void | bpstat_check_breakpoint_conditions (bpstat bs, ptid_t ptid)
static int | need_moribund_for_location_type (struct bp_location *loc)
bpstat | bpstat_stop_status (const address_space *aspace, CORE_ADDR bp_addr, ptid_t ptid, const struct target_waitstatus *ws)
static void | handle_jit_event (void)
struct bpstat_what | bpstat_what (bpstat bs_head)
void | bpstat_run_callbacks (bpstat bs_head)
int | bpstat_should_step (void)
int | bpstat_causes_stop (bpstat bs)
static char * | wrap_indent_at_field (struct ui_out *uiout, const char *col_name)
static const char * | bp_condition_evaluator (struct breakpoint *b)
static const char * | bp_location_condition_evaluator (struct bp_location *bl)
static void | print_breakpoint_location (struct breakpoint *b, struct bp_location *loc)
static const char * | bptype_string (enum bptype type)
static void | output_thread_groups (struct ui_out *uiout, const char *field_name, const std::vector< int > &inf_nums, int mi_only)
static void | print_one_breakpoint_location (struct breakpoint *b, struct bp_location *loc, int loc_number, struct bp_location **last_loc, int allflag)
static void | print_one_breakpoint (struct breakpoint *b, struct bp_location **last_loc, int allflag)
static int | breakpoint_address_bits (struct breakpoint *b)
void | print_breakpoint (breakpoint *b)
int | user_breakpoint_p (struct breakpoint *b)
int | pending_breakpoint_p (struct breakpoint *b)
static int | breakpoint_1 (const char *args, int allflag, int(*filter)(const struct breakpoint *))
static void | default_collect_info (void)
static void | info_breakpoints_command (const char *args, int from_tty)
static void | info_watchpoints_command (const char *args, int from_tty)
static void | maintenance_info_breakpoints (const char *args, int from_tty)
static int | breakpoint_has_pc (struct breakpoint *b, struct program_space *pspace, CORE_ADDR pc, struct obj_section *section)
static int | breakpoint_address_is_meaningful (struct breakpoint *bpt)
int | breakpoint_address_match (const address_space *aspace1, CORE_ADDR addr1, const address_space *aspace2, CORE_ADDR addr2)
static int | breakpoint_address_match_range (const address_space *aspace1, CORE_ADDR addr1, int len1, const address_space *aspace2, CORE_ADDR addr2)
static int | breakpoint_location_address_match (struct bp_location *bl, const address_space *aspace, CORE_ADDR addr)
static int | tracepoint_locations_match (struct bp_location *loc1, struct bp_location *loc2)
static int | breakpoint_locations_match (struct bp_location *loc1, struct bp_location *loc2)
static CORE_ADDR | adjust_breakpoint_address (struct gdbarch *gdbarch, CORE_ADDR bpaddr, enum bptype bptype)
static breakpoint * | add_to_breakpoint_chain (std::unique_ptr< breakpoint > &&b)
static void | init_raw_breakpoint_without_location (struct breakpoint *b, struct gdbarch *gdbarch, enum bptype bptype, const struct breakpoint_ops *ops)
static void | set_breakpoint_location_function (struct bp_location *loc, int explicit_loc)
struct gdbarch * | get_sal_arch (struct symtab_and_line sal)
static void | init_raw_breakpoint (struct breakpoint *b, struct gdbarch *gdbarch, struct symtab_and_line sal, enum bptype bptype, const struct breakpoint_ops *ops)
void | set_longjmp_breakpoint (struct thread_info *tp, struct frame_id frame)
void | delete_longjmp_breakpoint (int thread)
void | delete_longjmp_breakpoint_at_next_stop (int thread)
struct breakpoint * | set_longjmp_breakpoint_for_call_dummy (void)
void | check_longjmp_breakpoint_for_call_dummy (struct thread_info *tp)
void | enable_overlay_breakpoints (void)
void | disable_overlay_breakpoints (void)
void | set_std_terminate_breakpoint (void)
void | delete_std_terminate_breakpoint (void)
struct breakpoint * | create_thread_event_breakpoint (struct gdbarch *gdbarch, CORE_ADDR address)
struct breakpoint * | create_jit_event_breakpoint (struct gdbarch *gdbarch, CORE_ADDR address)
void | remove_jit_event_breakpoints (void)
void | remove_solib_event_breakpoints (void)
void | remove_solib_event_breakpoints_at_next_stop (void)
static struct breakpoint * | create_solib_event_breakpoint_1 (struct gdbarch *gdbarch, CORE_ADDR address, enum ugll_insert_mode insert_mode)
struct breakpoint * | create_solib_event_breakpoint (struct gdbarch *gdbarch, CORE_ADDR address)
struct breakpoint * | create_and_insert_solib_event_breakpoint (struct gdbarch *gdbarch, CORE_ADDR address)
void | disable_breakpoints_in_shlibs (void)
static void | disable_breakpoints_in_unloaded_shlib (struct so_list *solib)
static void | disable_breakpoints_in_freed_objfile (struct objfile *objfile)
static int | insert_catch_fork (struct bp_location *bl)
static int | remove_catch_fork (struct bp_location *bl, enum remove_bp_reason reason)
static int | breakpoint_hit_catch_fork (const struct bp_location *bl, const address_space *aspace, CORE_ADDR bp_addr, const struct target_waitstatus *ws)
static enum print_stop_action | print_it_catch_fork (bpstat bs)
static void | print_one_catch_fork (struct breakpoint *b, struct bp_location **last_loc)
static void | print_mention_catch_fork (struct breakpoint *b)
static void | print_recreate_catch_fork (struct breakpoint *b, struct ui_file *fp)
static int | insert_catch_vfork (struct bp_location *bl)
static int | remove_catch_vfork (struct bp_location *bl, enum remove_bp_reason reason)
static int | breakpoint_hit_catch_vfork (const struct bp_location *bl, const address_space *aspace, CORE_ADDR bp_addr, const struct target_waitstatus *ws)
static enum print_stop_action | print_it_catch_vfork (bpstat bs)
static void | print_one_catch_vfork (struct breakpoint *b, struct bp_location **last_loc)
static void | print_mention_catch_vfork (struct breakpoint *b)
static void | print_recreate_catch_vfork (struct breakpoint *b, struct ui_file *fp)
static int | insert_catch_solib (struct bp_location *ignore)
static int | remove_catch_solib (struct bp_location *ignore, enum remove_bp_reason reason)
static int | breakpoint_hit_catch_solib (const struct bp_location *bl, const address_space *aspace, CORE_ADDR bp_addr, const struct target_waitstatus *ws)
static void | check_status_catch_solib (struct bpstats *bs)
static enum print_stop_action | print_it_catch_solib (bpstat bs)
static void | print_one_catch_solib (struct breakpoint *b, struct bp_location **locs)
static void | print_mention_catch_solib (struct breakpoint *b)
static void | print_recreate_catch_solib (struct breakpoint *b, struct ui_file *fp)
void | add_solib_catchpoint (const char *arg, int is_load, int is_temp, int enabled)
static void | catch_load_or_unload (const char *arg, int from_tty, int is_load, struct cmd_list_element *command)
static void | catch_load_command_1 (const char *arg, int from_tty, struct cmd_list_element *command)
static void | catch_unload_command_1 (const char *arg, int from_tty, struct cmd_list_element *command)
void | init_catchpoint (struct breakpoint *b, struct gdbarch *gdbarch, int tempflag, const char *cond_string, const struct breakpoint_ops *ops)
void | install_breakpoint (int internal, std::unique_ptr< breakpoint > &&arg, int update_gll)
static void | create_fork_vfork_event_catchpoint (struct gdbarch *gdbarch, int tempflag, const char *cond_string, const struct breakpoint_ops *ops)
static int | insert_catch_exec (struct bp_location *bl)
static int | remove_catch_exec (struct bp_location *bl, enum remove_bp_reason reason)
static int | breakpoint_hit_catch_exec (const struct bp_location *bl, const address_space *aspace, CORE_ADDR bp_addr, const struct target_waitstatus *ws)
static enum print_stop_action | print_it_catch_exec (bpstat bs)
static void | print_one_catch_exec (struct breakpoint *b, struct bp_location **last_loc)
static void | print_mention_catch_exec (struct breakpoint *b)
static void | print_recreate_catch_exec (struct breakpoint *b, struct ui_file *fp)
void | disable_watchpoints_before_interactive_call_start (void)
void | enable_watchpoints_after_interactive_call_stop (void)
void | disable_breakpoints_before_startup (void)
void | enable_breakpoints_after_startup (void)
static struct breakpoint * | new_single_step_breakpoint (int thread, struct gdbarch *gdbarch)
breakpoint_up | set_momentary_breakpoint (struct gdbarch *gdbarch, struct symtab_and_line sal, struct frame_id frame_id, enum bptype type)
struct breakpoint * | clone_momentary_breakpoint (struct breakpoint *orig)
breakpoint_up | set_momentary_breakpoint_at_pc (struct gdbarch *gdbarch, CORE_ADDR pc, enum bptype type)
static int | bp_loc_is_permanent (struct bp_location *loc)
int | program_breakpoint_here_p (struct gdbarch *gdbarch, CORE_ADDR address)
static void | update_dprintf_command_list (struct breakpoint *b)
static void | update_dprintf_commands (const char *args, int from_tty, struct cmd_list_element *c)
static void | init_breakpoint_sal (struct breakpoint *b, struct gdbarch *gdbarch, gdb::array_view< const symtab_and_line > sals, event_location_up &&location, gdb::unique_xmalloc_ptr< char > filter, gdb::unique_xmalloc_ptr< char > cond_string, gdb::unique_xmalloc_ptr< char > extra_string, enum bptype type, enum bpdisp disposition, int thread, int task, int ignore_count, const struct breakpoint_ops *ops, int from_tty, int enabled, int internal, unsigned flags, int display_canonical)
static void | create_breakpoint_sal (struct gdbarch *gdbarch, gdb::array_view< const symtab_and_line > sals, event_location_up &&location, gdb::unique_xmalloc_ptr< char > filter, gdb::unique_xmalloc_ptr< char > cond_string, gdb::unique_xmalloc_ptr< char > extra_string, enum bptype type, enum bpdisp disposition, int thread, int task, int ignore_count, const struct breakpoint_ops *ops, int from_tty, int enabled, int internal, unsigned flags, int display_canonical)
static void | create_breakpoints_sal (struct gdbarch *gdbarch, struct linespec_result *canonical, gdb::unique_xmalloc_ptr< char > cond_string, gdb::unique_xmalloc_ptr< char > extra_string, enum bptype type, enum bpdisp disposition, int thread, int task, int ignore_count, const struct breakpoint_ops *ops, int from_tty, int enabled, int internal, unsigned flags)
static void | parse_breakpoint_sals (const struct event_location *location, struct linespec_result *canonical)
static void | breakpoint_sals_to_pc (std::vector< symtab_and_line > &sals)
static void | check_fast_tracepoint_sals (struct gdbarch *gdbarch, gdb::array_view< const symtab_and_line > sals)
static void | find_condition_and_thread (const char *tok, CORE_ADDR pc, char **cond_string, int *thread, int *task, char **rest)
static std::vector< symtab_and_line > | decode_static_tracepoint_spec (const char **arg_p)
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 type_wanted, int ignore_count, enum auto_boolean pending_break_support, const struct breakpoint_ops *ops, int from_tty, int enabled, int internal, unsigned flags)
static void | break_command_1 (const char *arg, int flag, int from_tty)
void | resolve_sal_pc (struct symtab_and_line *sal)
void | break_command (const char *arg, int from_tty)
void | tbreak_command (const char *arg, int from_tty)
static void | hbreak_command (const char *arg, int from_tty)
static void | thbreak_command (const char *arg, int from_tty)
static void | stop_command (const char *arg, int from_tty)
static void | stopin_command (const char *arg, int from_tty)
static void | stopat_command (const char *arg, int from_tty)
static void | dprintf_command (const char *arg, int from_tty)
static void | agent_printf_command (const char *arg, int from_tty)
static int | breakpoint_hit_ranged_breakpoint (const struct bp_location *bl, const address_space *aspace, CORE_ADDR bp_addr, const struct target_waitstatus *ws)
static int | resources_needed_ranged_breakpoint (const struct bp_location *bl)
static enum print_stop_action | print_it_ranged_breakpoint (bpstat bs)
static void | print_one_ranged_breakpoint (struct breakpoint *b, struct bp_location **last_loc)
static void | print_one_detail_ranged_breakpoint (const struct breakpoint *b, struct ui_out *uiout)
static void | print_mention_ranged_breakpoint (struct breakpoint *b)
static void | print_recreate_ranged_breakpoint (struct breakpoint *b, struct ui_file *fp)
static CORE_ADDR | find_breakpoint_range_end (struct symtab_and_line sal)
static void | break_range_command (const char *arg, int from_tty)
static int | watchpoint_exp_is_const (const struct expression *exp)
static void | re_set_watchpoint (struct breakpoint *b)
static int | insert_watchpoint (struct bp_location *bl)
static int | remove_watchpoint (struct bp_location *bl, enum remove_bp_reason reason)
static int | breakpoint_hit_watchpoint (const struct bp_location *bl, const address_space *aspace, CORE_ADDR bp_addr, const struct target_waitstatus *ws)
static void | check_status_watchpoint (bpstat bs)
static int | resources_needed_watchpoint (const struct bp_location *bl)
static int | works_in_software_mode_watchpoint (const struct breakpoint *b)
static enum print_stop_action | print_it_watchpoint (bpstat bs)
static void | print_mention_watchpoint (struct breakpoint *b)
static void | print_recreate_watchpoint (struct breakpoint *b, struct ui_file *fp)
static int | explains_signal_watchpoint (struct breakpoint *b, enum gdb_signal sig)
static int | insert_masked_watchpoint (struct bp_location *bl)
static int | remove_masked_watchpoint (struct bp_location *bl, enum remove_bp_reason reason)
static int | resources_needed_masked_watchpoint (const struct bp_location *bl)
static int | works_in_software_mode_masked_watchpoint (const struct breakpoint *b)
static enum print_stop_action | print_it_masked_watchpoint (bpstat bs)
static void | print_one_detail_masked_watchpoint (const struct breakpoint *b, struct ui_out *uiout)
static void | print_mention_masked_watchpoint (struct breakpoint *b)
static void | print_recreate_masked_watchpoint (struct breakpoint *b, struct ui_file *fp)
static void | watch_command_1 (const char *arg, int accessflag, int from_tty, int just_location, int internal)
void | watch_command_wrapper (const char *arg, int from_tty, int internal)
static void | watch_maybe_just_location (const char *arg, int accessflag, int from_tty)
static void | watch_command (const char *arg, int from_tty)
void | rwatch_command_wrapper (const char *arg, int from_tty, int internal)
static void | rwatch_command (const char *arg, int from_tty)
void | awatch_command_wrapper (const char *arg, int from_tty, int internal)
static void | awatch_command (const char *arg, int from_tty)
static void | until_break_fsm_clean_up (struct thread_fsm *self, struct thread_info *thread)
static int | until_break_fsm_should_stop (struct thread_fsm *self, struct thread_info *thread)
static enum async_reply_reason | until_break_fsm_async_reply_reason (struct thread_fsm *self)
static struct until_break_fsm * | new_until_break_fsm (struct interp *cmd_interp, int thread, breakpoint_up &&location_breakpoint, breakpoint_up &&caller_breakpoint)
void | until_break_command (const char *arg, int from_tty, int anywhere)
const char * | ep_parse_optional_if_clause (const char **arg)
static void | catch_fork_command_1 (const char *arg, int from_tty, struct cmd_list_element *command)
static void | catch_exec_command_1 (const char *arg, int from_tty, struct cmd_list_element *command)
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)
static void | catch_command (const char *arg, int from_tty)
static void | tcatch_command (const char *arg, int from_tty)
static int | compare_breakpoints (const breakpoint *a, const breakpoint *b)
static void | clear_command (const char *arg, int from_tty)
void | breakpoint_auto_delete (bpstat bs)
static int | bp_locations_compare (const void *ap, const void *bp)
static void | bp_locations_target_extensions_update (void)
static void | download_tracepoint_locations (void)
static void | swap_insertion (struct bp_location *left, struct bp_location *right)
static void | force_breakpoint_reinsertion (struct bp_location *bl)
void | breakpoint_retire_moribund (void)
static void | bpstat_remove_bp_location (bpstat bps, struct breakpoint *bpt)
static int | bpstat_remove_breakpoint_callback (struct thread_info *th, void *data)
static void | say_where (struct breakpoint *b)
static void | bp_location_dtor (struct bp_location *self)
static struct bp_location * | base_breakpoint_allocate_location (struct breakpoint *self)
static void | base_breakpoint_re_set (struct breakpoint *b)
static int | base_breakpoint_insert_location (struct bp_location *bl)
static int | base_breakpoint_remove_location (struct bp_location *bl, enum remove_bp_reason reason)
static int | base_breakpoint_breakpoint_hit (const struct bp_location *bl, const address_space *aspace, CORE_ADDR bp_addr, const struct target_waitstatus *ws)
static void | base_breakpoint_check_status (bpstat bs)
static int | base_breakpoint_works_in_software_mode (const struct breakpoint *b)
static int | base_breakpoint_resources_needed (const struct bp_location *bl)
static enum print_stop_action | base_breakpoint_print_it (bpstat bs)
static void | base_breakpoint_print_one_detail (const struct breakpoint *self, struct ui_out *uiout)
static void | base_breakpoint_print_mention (struct breakpoint *b)
static void | base_breakpoint_print_recreate (struct breakpoint *b, struct ui_file *fp)
static void | base_breakpoint_create_sals_from_location (const struct event_location *location, struct linespec_result *canonical, enum bptype type_wanted)
static void | base_breakpoint_create_breakpoints_sal (struct gdbarch *gdbarch, struct linespec_result *c, gdb::unique_xmalloc_ptr< char > cond_string, gdb::unique_xmalloc_ptr< char > extra_string, enum bptype type_wanted, enum bpdisp disposition, int thread, int task, int ignore_count, const struct breakpoint_ops *o, int from_tty, int enabled, int internal, unsigned flags)
static std::vector< symtab_and_line > | base_breakpoint_decode_location (struct breakpoint *b, const struct event_location *location, struct program_space *search_pspace)
static int | base_breakpoint_explains_signal (struct breakpoint *b, enum gdb_signal sig)
static void | base_breakpoint_after_condition_true (struct bpstats *bs)
static void | bkpt_re_set (struct breakpoint *b)
static int | bkpt_insert_location (struct bp_location *bl)
static int | bkpt_remove_location (struct bp_location *bl, enum remove_bp_reason reason)
static int | bkpt_breakpoint_hit (const struct bp_location *bl, const address_space *aspace, CORE_ADDR bp_addr, const struct target_waitstatus *ws)
static int | dprintf_breakpoint_hit (const struct bp_location *bl, const address_space *aspace, CORE_ADDR bp_addr, const struct target_waitstatus *ws)
static int | bkpt_resources_needed (const struct bp_location *bl)
static enum print_stop_action | bkpt_print_it (bpstat bs)
static void | bkpt_print_mention (struct breakpoint *b)
static void | bkpt_print_recreate (struct breakpoint *tp, struct ui_file *fp)
static void | bkpt_create_sals_from_location (const struct event_location *location, struct linespec_result *canonical, enum bptype type_wanted)
static void | bkpt_create_breakpoints_sal (struct gdbarch *gdbarch, struct linespec_result *canonical, gdb::unique_xmalloc_ptr< char > cond_string, gdb::unique_xmalloc_ptr< char > extra_string, enum bptype type_wanted, enum bpdisp disposition, int thread, int task, int ignore_count, const struct breakpoint_ops *ops, int from_tty, int enabled, int internal, unsigned flags)
static std::vector< symtab_and_line > | bkpt_decode_location (struct breakpoint *b, const struct event_location *location, struct program_space *search_pspace)
static void | internal_bkpt_re_set (struct breakpoint *b)
static void | internal_bkpt_check_status (bpstat bs)
static enum print_stop_action | internal_bkpt_print_it (bpstat bs)
static void | internal_bkpt_print_mention (struct breakpoint *b)
static void | momentary_bkpt_re_set (struct breakpoint *b)
static void | momentary_bkpt_check_status (bpstat bs)
static enum print_stop_action | momentary_bkpt_print_it (bpstat bs)
static void | momentary_bkpt_print_mention (struct breakpoint *b)
static int | bkpt_probe_insert_location (struct bp_location *bl)
static int | bkpt_probe_remove_location (struct bp_location *bl, enum remove_bp_reason reason)
static void | bkpt_probe_create_sals_from_location (const struct event_location *location, struct linespec_result *canonical, enum bptype type_wanted)
static std::vector< symtab_and_line > | bkpt_probe_decode_location (struct breakpoint *b, const struct event_location *location, struct program_space *search_pspace)
static void | tracepoint_re_set (struct breakpoint *b)
static int | tracepoint_breakpoint_hit (const struct bp_location *bl, const address_space *aspace, CORE_ADDR bp_addr, const struct target_waitstatus *ws)
static void | tracepoint_print_one_detail (const struct breakpoint *self, struct ui_out *uiout)
static void | tracepoint_print_mention (struct breakpoint *b)
static void | tracepoint_print_recreate (struct breakpoint *self, struct ui_file *fp)
static void | tracepoint_create_sals_from_location (const struct event_location *location, struct linespec_result *canonical, enum bptype type_wanted)
static void | tracepoint_create_breakpoints_sal (struct gdbarch *gdbarch, struct linespec_result *canonical, gdb::unique_xmalloc_ptr< char > cond_string, gdb::unique_xmalloc_ptr< char > extra_string, enum bptype type_wanted, enum bpdisp disposition, int thread, int task, int ignore_count, const struct breakpoint_ops *ops, int from_tty, int enabled, int internal, unsigned flags)
static std::vector< symtab_and_line > | tracepoint_decode_location (struct breakpoint *b, const struct event_location *location, struct program_space *search_pspace)
static void | tracepoint_probe_create_sals_from_location (const struct event_location *location, struct linespec_result *canonical, enum bptype type_wanted)
static std::vector< symtab_and_line > | tracepoint_probe_decode_location (struct breakpoint *b, const struct event_location *location, struct program_space *search_pspace)
static void | dprintf_re_set (struct breakpoint *b)
static void | dprintf_print_recreate (struct breakpoint *tp, struct ui_file *fp)
static void | dprintf_after_condition_true (struct bpstats *bs)
static void | strace_marker_create_sals_from_location (const struct event_location *location, struct linespec_result *canonical, enum bptype type_wanted)
static void | strace_marker_create_breakpoints_sal (struct gdbarch *gdbarch, struct linespec_result *canonical, gdb::unique_xmalloc_ptr< char > cond_string, gdb::unique_xmalloc_ptr< char > extra_string, enum bptype type_wanted, enum bpdisp disposition, int thread, int task, int ignore_count, const struct breakpoint_ops *ops, int from_tty, int enabled, int internal, unsigned flags)
static std::vector< symtab_and_line > | strace_marker_decode_location (struct breakpoint *b, const struct event_location *location, struct program_space *search_pspace)
void | delete_breakpoint (struct breakpoint *bpt)
static void | iterate_over_related_breakpoints (struct breakpoint *b, gdb::function_view< void(breakpoint *)> function)
static void | delete_command (const char *arg, int from_tty)
static int | all_locations_are_pending (struct breakpoint *b, struct program_space *pspace)
static int | ambiguous_names_p (struct bp_location *loc)
static struct symtab_and_line | update_static_tracepoint (struct breakpoint *b, struct symtab_and_line sal)
static int | locations_are_equal (struct bp_location *a, struct bp_location *b)
static struct bp_location * | hoist_existing_locations (struct breakpoint *b, struct program_space *pspace)
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)
static std::vector< symtab_and_line > | location_to_sals (struct breakpoint *b, struct event_location *location, struct program_space *search_pspace, int *found)
static void | breakpoint_re_set_one (breakpoint *b)
void | breakpoint_re_set (void)
void | breakpoint_re_set_thread (struct breakpoint *b)
void | set_ignore_count (int bptnum, int count, int from_tty)
static void | ignore_command (const char *args, int from_tty)
static void | map_breakpoint_number_range (std::pair< int, int > bp_num_range, gdb::function_view< void(breakpoint *)> function)
static struct bp_location * | find_location_by_number (int bp_num, int loc_num)
static int | extract_bp_num (extract_bp_kind kind, const char *start, int trailer, const char **end_out=NULL)
static std::pair< int, int > | extract_bp_or_bp_range (extract_bp_kind kind, const std::string &arg, std::string::size_type arg_offset)
static void | extract_bp_number_and_location (const std::string &arg, std::pair< int, int > &bp_num_range, std::pair< int, int > &bp_loc_range)
static void | enable_disable_bp_num_loc (int bp_num, int loc_num, bool enable)
static void | enable_disable_breakpoint_location_range (int bp_num, std::pair< int, int > &bp_loc_range, bool enable)
void | disable_breakpoint (struct breakpoint *bpt)
static void | enable_disable_command (const char *args, int from_tty, bool enable)
static void | disable_command (const char *args, int from_tty)
void | enable_breakpoint (struct breakpoint *bpt)
static void | enable_command (const char *args, int from_tty)
static void | enable_once_command (const char *args, int from_tty)
static void | enable_count_command (const char *args, int from_tty)
static void | enable_delete_command (const char *args, int from_tty)
static void | set_breakpoint_cmd (const char *args, int from_tty)
static void | show_breakpoint_cmd (const char *args, int from_tty)
static void | invalidate_bp_value_on_memory_change (struct inferior *inferior, CORE_ADDR addr, ssize_t len, const bfd_byte *data)
void | insert_single_step_breakpoint (struct gdbarch *gdbarch, const address_space *aspace, CORE_ADDR next_pc)
int | insert_single_step_breakpoints (struct gdbarch *gdbarch)
int | breakpoint_has_location_inserted_here (struct breakpoint *bp, const address_space *aspace, CORE_ADDR pc)
int | single_step_breakpoint_inserted_here_p (const address_space *aspace, CORE_ADDR pc)
static void | trace_command (const char *arg, int from_tty)
static void | ftrace_command (const char *arg, int from_tty)
static void | strace_command (const char *arg, int from_tty)
static char * | read_uploaded_action (void)
struct tracepoint * | create_tracepoint_from_upload (struct uploaded_tp *utp)
static void | info_tracepoints_command (const char *args, int from_tty)
static void | enable_trace_command (const char *args, int from_tty)
static void | disable_trace_command (const char *args, int from_tty)
static void | delete_trace_command (const char *arg, int from_tty)
static void | trace_pass_set_count (struct tracepoint *tp, int count, int from_tty)
struct tracepoint * | get_tracepoint (int num)
struct tracepoint * | get_tracepoint_by_number_on_target (int num)
struct tracepoint * | get_tracepoint_by_number (const char **arg, number_or_range_parser *parser)
void | print_recreate_thread (struct breakpoint *b, struct ui_file *fp)
static void | save_breakpoints (const char *filename, int from_tty, int(*filter)(const struct breakpoint *))
static void | save_breakpoints_command (const char *args, int from_tty)
static void | save_tracepoints_command (const char *args, int from_tty)
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)
static void | save_command (const char *arg, int from_tty)
struct breakpoint * | iterate_over_breakpoints (int(*callback)(struct breakpoint *, void *), void *data)
static int | is_non_inline_function (struct breakpoint *b)
int | pc_at_non_inline_function (const address_space *aspace, CORE_ADDR pc, const struct target_waitstatus *ws)
void | breakpoint_free_objfile (struct objfile *objfile)
void | initialize_breakpoint_ops (void)
void | _initialize_breakpoint (void)

## Variables
static struct breakpoint_ops | bkpt_base_breakpoint_ops
static struct breakpoint_ops | internal_breakpoint_ops
static struct breakpoint_ops | momentary_breakpoint_ops
struct breakpoint_ops | bkpt_breakpoint_ops
static struct breakpoint_ops | bkpt_probe_breakpoint_ops
struct breakpoint_ops | dprintf_breakpoint_ops
static const char | dprintf_style_gdb [] = "gdb"
static const char | dprintf_style_call [] = "call"
static const char | dprintf_style_agent [] = "agent"
static const char *const | dprintf_style_enums []
static const char * | dprintf_style = dprintf_style_gdb
static char * | dprintf_function
static char * | dprintf_channel
static int | disconnected_dprintf = 1
static int | breakpoint_proceeded
static int | can_use_hw_watchpoints
static enum auto_boolean | pending_break_support
static int | automatic_hardware_breakpoints
static int | always_inserted_mode = 0
static const char | condition_evaluation_both [] = "host or target"
static const char | condition_evaluation_auto [] = "auto"
static const char | condition_evaluation_host [] = "host"
static const char | condition_evaluation_target [] = "target"
static const char *const | condition_evaluation_enums []
static const char * | condition_evaluation_mode_1 = condition_evaluation_auto
static const char * | condition_evaluation_mode = condition_evaluation_auto
static int | executing_breakpoint_commands
static int | overlay_events_enabled
int | target_exact_watchpoints = 0
struct breakpoint * | breakpoint_chain
static struct bp_location ** | bp_locations
static unsigned | bp_locations_count
static CORE_ADDR | bp_locations_placed_address_before_address_max
static CORE_ADDR | bp_locations_shadow_len_after_address_max
static int | rbreak_start_breakpoint_count
static int | internal_breakpoint_number = -1
static const char *const | longjmp_names []
static const struct objfile_data * | breakpoint_objfile_key
static struct minimal_symbol | msym_not_found
static struct breakpoint_ops | catch_fork_breakpoint_ops
static struct breakpoint_ops | catch_vfork_breakpoint_ops
static struct breakpoint_ops | catch_solib_breakpoint_ops
static struct breakpoint_ops | catch_exec_breakpoint_ops
static struct breakpoint_ops | ranged_breakpoint_ops
static struct breakpoint_ops | watchpoint_breakpoint_ops
static struct breakpoint_ops | masked_watchpoint_breakpoint_ops
static struct thread_fsm_ops | until_break_fsm_ops
static const struct bp_location_ops | bp_location_ops
struct breakpoint_ops | base_breakpoint_ops
struct breakpoint_ops | tracepoint_breakpoint_ops
static struct breakpoint_ops | tracepoint_probe_breakpoint_ops
static struct breakpoint_ops | strace_marker_breakpoint_ops
static struct uploaded_tp * | this_utp
static int | next_cmd
static struct cmd_list_element * | catch_cmdlist
static struct cmd_list_element * | tcatch_cmdlist
static struct cmd_list_element * | enablebreaklist = NULL

## Macro Definition Documentation

## ◆ ALL_BP_LOCATIONS

#define ALL_BP_LOCATIONS | ( |  | B,
|  |  | BP_TMP
| ) |  |

Value:
for (BP_TMP = bp_locations; \
BP_TMP < bp_locations + bp_locations_count && (B = *BP_TMP);\
BP_TMP++)
bp_locations_count
static unsigned bp_locations_count
Definition: breakpoint.c:541
bp_locations
static struct bp_location ** bp_locations
Definition: breakpoint.c:537
B
Definition: aarch64-insn.h:36

Definition at line 506 of file breakpoint.c.

Referenced by bp_locations_target_extensions_update(), breakpoint_free_objfile(), breakpoint_here_p(), breakpoint_in_range_p(), breakpoint_program_space_exit(), detach_breakpoints(), disable_breakpoints_in_shlibs(), disable_breakpoints_in_unloaded_shlib(), insert_bp_location(), insert_breakpoint_locations(), iterate_over_bp_locations(), mark_breakpoints_out(), remove_breakpoints(), remove_breakpoints_pid(), set_condition_evaluation_mode(), update_breakpoints_after_exec(), update_global_location_list(), and update_inserted_breakpoint_locations().

## ◆ ALL_BP_LOCATIONS_AT_ADDR

#define ALL_BP_LOCATIONS_AT_ADDR | ( |  | BP_LOCP_TMP,
|  |  | BP_LOCP_START,
|  |  | ADDRESS
| ) |  |

Value:
for (BP_LOCP_START = BP_LOCP_START == NULL ? get_first_locp_gte_addr (ADDRESS) : BP_LOCP_START, \
BP_LOCP_TMP = BP_LOCP_START; \
BP_LOCP_START \
&& (BP_LOCP_TMP < bp_locations + bp_locations_count \
&& (*BP_LOCP_TMP)->address == ADDRESS); \
BP_LOCP_TMP++)
bp_locations_count
static unsigned bp_locations_count
Definition: breakpoint.c:541
bp_locations
static struct bp_location ** bp_locations
Definition: breakpoint.c:537
get_first_locp_gte_addr
static struct bp_location ** get_first_locp_gte_addr(CORE_ADDR address)
Definition: breakpoint.c:809

Definition at line 517 of file breakpoint.c.

Referenced by breakpoint_inserted_here_p(), build_target_command_list(), build_target_condition_list(), force_breakpoint_reinsertion(), hardware_breakpoint_inserted_here_p(), and software_breakpoint_inserted_here_p().

## ◆ ALL_BREAKPOINTS

#define ALL_BREAKPOINTS | ( |  | B | ) | for (B = breakpoint_chain; B; B = B->next)

Definition at line 495 of file breakpoint.c.

Referenced by bpstat_check_watchpoint(), bpstat_should_step(), bpstat_stop_status(), breakpoint_1(), breakpoint_hit_catch_solib(), clear_breakpoint_hit_counts(), clear_command(), condition_command(), condition_completer(), delete_breakpoint(), delete_command(), describe_other_breakpoints(), disable_breakpoints_in_freed_objfile(), disable_overlay_breakpoints(), disable_watchpoints_before_interactive_call_start(), enable_disable_command(), enable_overlay_breakpoints(), enable_watchpoints_after_interactive_call_stop(), find_location_by_number(), get_breakpoint(), hardware_watchpoint_inserted_in_range(), hw_breakpoint_used_count(), hw_watchpoint_used_count_others(), insert_breakpoint_locations(), insert_breakpoints(), invalidate_bp_value_on_memory_change(), pc_at_non_inline_function(), save_breakpoints(), set_ignore_count(), set_longjmp_breakpoint_for_call_dummy(), single_step_breakpoint_inserted_here_p(), update_dprintf_commands(), update_global_location_list(), VEC(), and watchpoints_triggered().

## ◆ ALL_BREAKPOINTS_SAFE

#define ALL_BREAKPOINTS_SAFE | ( |  | B,
|  |  | TMP
| ) |  |

Value:
for (B = breakpoint_chain; \
B ? (TMP=B->next, 1): 0; \
B = TMP)
breakpoint_chain
struct breakpoint * breakpoint_chain
Definition: breakpoint.c:533
B
Definition: aarch64-insn.h:36

Definition at line 497 of file breakpoint.c.

Referenced by breakpoint_auto_delete(), breakpoint_init_inferior(), breakpoint_program_space_exit(), breakpoint_re_set(), check_longjmp_breakpoint_for_call_dummy(), delete_command(), delete_longjmp_breakpoint(), delete_longjmp_breakpoint_at_next_stop(), delete_std_terminate_breakpoint(), delete_trace_command(), iterate_over_breakpoints(), map_breakpoint_number_range(), remove_jit_event_breakpoints(), remove_solib_event_breakpoints(), remove_solib_event_breakpoints_at_next_stop(), remove_threaded_breakpoints(), set_longjmp_breakpoint(), set_std_terminate_breakpoint(), and update_breakpoints_after_exec().

## ◆ ALL_TRACEPOINTS

#define ALL_TRACEPOINTS | ( |  | B | ) |

Value:
for (B = breakpoint_chain; B; B = B->next) \
if (is_tracepoint (B))
breakpoint_chain
struct breakpoint * breakpoint_chain
Definition: breakpoint.c:533
B
Definition: aarch64-insn.h:36
is_tracepoint
int is_tracepoint(const struct breakpoint *b)
Definition: breakpoint.c:1053

Definition at line 527 of file breakpoint.c.

Referenced by delete_trace_command(), download_tracepoint_locations(), get_tracepoint(), get_tracepoint_by_number(), get_tracepoint_by_number_on_target(), and trace_pass_command().

## ◆ BP_HARDWAREFLAG

#define BP_HARDWAREFLAG 2

Definition at line 4853 of file breakpoint.c.

Referenced by break_command_1(), hbreak_command(), and thbreak_command().

## ◆ BP_TEMPFLAG

#define BP_TEMPFLAG 1

Definition at line 4852 of file breakpoint.c.

Referenced by break_command_1(), tbreak_command(), and thbreak_command().

## ◆ BREAK_ARGS_HELP

#define BREAK_ARGS_HELP | ( |  | command | ) | command" [PROBE_MODIFIER] [LOCATION] [thread THREADNUM] [if CONDITION]\n\PROBE_MODIFIER shall be present if the command is to be placed in a\n\probe point. Accepted values are `-probe' (for a generic, automatically\n\guessed probe type), `-probe-stap' (for a SystemTap probe) or \n\`-probe-dtrace' (for a DTrace probe).\n\LOCATION may be a linespec, address, or explicit location as described\n\below.\n\\n\With no LOCATION, uses current execution address of the selected\n\stack frame. This is useful for breaking on return to a stack frame.\n\\n\THREADNUM is the number from \"info threads\".\n\CONDITION is a boolean expression.\n\\n" LOCATION_HELP_STRING "\n\Multiple breakpoints at one place are permitted, and useful if their\n\conditions are different.\n\\n\Do \"help breakpoints\" for info on other commands dealing with breakpoints."

Definition at line 15290 of file breakpoint.c.

Referenced by _initialize_breakpoint().

## ◆ internal_error_pure_virtual_called

#define internal_error_pure_virtual_called | ( |  | ) | gdb_assert_not_reached ("pure virtual function called")

Definition at line 12353 of file breakpoint.c.

Referenced by base_breakpoint_breakpoint_hit(), base_breakpoint_create_breakpoints_sal(), base_breakpoint_create_sals_from_location(), base_breakpoint_decode_location(), base_breakpoint_insert_location(), base_breakpoint_print_it(), base_breakpoint_print_mention(), base_breakpoint_print_recreate(), base_breakpoint_remove_location(), base_breakpoint_resources_needed(), and base_breakpoint_works_in_software_mode().

## ◆ LOCATION_HELP_STRING

#define LOCATION_HELP_STRING "Linespecs are colon-separated lists of location parameters, such as\n\source filename, function name, label name, and line number.\n\Example: To specify the start of a label named \"the_top\" in the\n\function \"fact\" in the file \"factorial.c\", use\n\\"factorial.c:fact:the_top\".\n\\n\Address locations begin with \"*\" and specify an exact address in the\n\program. Example: To specify the fourth byte past the start function\n\\"main\", use \"*main + 4\".\n\\n\Explicit locations are similar to linespecs but use an option/argument\n\syntax to specify location parameters.\n\Example: To specify the start of the label named \"the_top\" in the\n\function \"fact\" in the file \"factorial.c\", use \"-source factorial.c\n\-function fact -label the_top\".\n\\n\By default, a specified function is matched against the program's\n\functions in all scopes. For C++, this means in all namespaces and\n\classes. For Ada, this means in all packages. E.g., in C++,\n\\"func()\" matches \"A::func()\", \"A::B::func()\", etc. The\n\\"-qualified\" flag overrides this behavior, making GDB interpret the\n\specified name as a complete fully-qualified name instead.\n"

Definition at line 15261 of file breakpoint.c.

Referenced by _initialize_breakpoint().

## ◆ NUM_LONGJMP_NAMES

#define NUM_LONGJMP_NAMES ARRAY_SIZE(longjmp_names)

Definition at line 3140 of file breakpoint.c.

Referenced by create_longjmp_master_breakpoint().

## Enumeration Type Documentation

## ◆ catch_fork_kind

enum catch_fork_kind

Enumerator
catch_fork_temporary |
catch_vfork_temporary |
catch_fork_permanent |
catch_vfork_permanent |

Definition at line 11304 of file breakpoint.c.

## ◆ exception_event_kind

enum exception_event_kind

Enumerator
EX_EVENT_THROW |
EX_EVENT_RETHROW |
EX_EVENT_CATCH |
EX_EVENT_THROW |
EX_EVENT_RETHROW |
EX_EVENT_CATCH |

Definition at line 87 of file breakpoint.c.

## ◆ extract_bp_kind

enum extract_bp_kind
| strong

Enumerator
bp |
loc |

Definition at line 14164 of file breakpoint.c.

## ◆ ugll_insert_mode

enum ugll_insert_mode

Enumerator
UGLL_DONT_INSERT |
UGLL_MAY_INSERT |
UGLL_INSERT |

Definition at line 188 of file breakpoint.c.

## ◆ wp_check_result

enum wp_check_result

Enumerator
WP_DELETED |
WP_VALUE_CHANGED |
WP_VALUE_NOT_CHANGED |
WP_IGNORE |

Definition at line 4837 of file breakpoint.c.

## Function Documentation

## ◆ _initialize_breakpoint()

void _initialize_breakpoint | ( | void |  | ) |

Definition at line 15594 of file breakpoint.c.

References _, add_abbrev_prefix_cmd(), add_alias_cmd(), add_catch_command(), add_cmd(), add_com(), add_com_alias(), add_info(), add_info_alias(), add_prefix_cmd(), add_setshow_auto_boolean_cmd(), add_setshow_boolean_cmd(), add_setshow_enum_cmd(), add_setshow_string_cmd(), add_setshow_zinteger_cmd(), agent_printf_command(), always_inserted_mode, AUTO_BOOLEAN_AUTO, automatic_hardware_breakpoints, awatch_command(), BREAK_ARGS_HELP, break_command(), break_range_command(), breakpoint_about_to_proceed(), breakpoint_chain, breakpoint_objfile_key, can_use_hw_watchpoints, catch_cmdlist, catch_command(), catch_exec_command_1(), catch_fork_command_1(), catch_fork_permanent, catch_fork_temporary, catch_load_command_1(), CATCH_PERMANENT, CATCH_TEMPORARY, catch_unload_command_1(), catch_vfork_permanent, catch_vfork_temporary, class_alias, class_breakpoint, class_info, class_maintenance, class_run, class_support, class_trace, class_vars, clear_command(), cmdlist, commands_command(), condition_command(), condition_completer(), condition_evaluation_enums, condition_evaluation_mode_1, dbx_commands, delete_command(), delete_trace_command(), deletelist, deprecate_cmd(), disable_breakpoints_in_freed_objfile(), disable_breakpoints_in_unloaded_shlib(), disable_command(), disable_trace_command(), disablelist, disconnected_dprintf, dprintf_channel, dprintf_command(), dprintf_function, dprintf_style, dprintf_style_enums, enable_command(), enable_count_command(), enable_delete_command(), enable_once_command(), enable_trace_command(), enablebreaklist, enablelist, expression_completer(), filename_completer(), free_breakpoint_objfile_data(), ftrace_command(), hbreak_command(), ignore_command(), info_breakpoints_command(), info_tracepoints_command(), info_watchpoints_command(), initialize_breakpoint_ops(), invalidate_bp_value_on_memory_change(), location_completer(), LOCATION_HELP_STRING, maintenance_info_breakpoints(), maintenanceinfolist, no_class, observer_attach_about_to_proceed(), observer_attach_free_objfile(), observer_attach_memory_changed(), observer_attach_solib_unloaded(), observer_attach_thread_exit(), pending_break_support, remove_threaded_breakpoints(), rwatch_command(), save_breakpoints_command(), save_cmdlist, save_command(), save_tracepoints_command(), set_breakpoint_cmd(), set_cmd_completer(), set_condition_evaluation_mode(), setlist, show_always_inserted_mode(), show_automatic_hardware_breakpoints(), show_breakpoint_cmd(), show_can_use_hw_watchpoints(), show_condition_evaluation_mode(), show_pending_break_support(), showlist, stop_command(), stopat_command(), stopin_command(), stoplist, strace_command(), tbreak_command(), tcatch_cmdlist, tcatch_command(), thbreak_command(), trace_command(), trace_pass_command(), update_dprintf_commands(), and watch_command().

## ◆ add_catch_command()

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
| ) |  |

Definition at line 15317 of file breakpoint.c.

References add_cmd(), catch_cmdlist, class_breakpoint, cmd_list_element::completer, name, set_cmd_completer(), set_cmd_context(), set_cmd_sfunc(), cmd_list_element::sfunc, and tcatch_cmdlist.

Referenced by _initialize_ada_language(), _initialize_break_catch_sig(), _initialize_break_catch_syscall(), _initialize_break_catch_throw(), and _initialize_breakpoint().

## ◆ add_location_to_breakpoint()

static struct bp_location * add_location_to_breakpoint | ( | struct breakpoint * | b,
|  | const struct symtab_and_line * | sal
| ) |  |
| static

Definition at line 8650 of file breakpoint.c.

References bp_location::address, adjust_breakpoint_address(), allocate_bp_location(), bp_loc_is_permanent(), symtab_and_line::explicit_line, symtab_and_line::explicit_pc, gdb_assert, breakpoint::gdbarch, get_sal_arch(), symtab_and_line::line, breakpoint::loc, loc, symtab_and_line::objfile, symtab_and_line::pc, symtab_and_line::prob, symtab_and_line::pspace, symtab_and_line::section, set_breakpoint_location_function(), symtab_and_line::symbol, symtab_and_line::symtab, and breakpoint::type.

Referenced by init_breakpoint_sal(), init_raw_breakpoint(), insert_single_step_breakpoint(), and update_breakpoint_locations().

## ◆ add_solib_catchpoint()

void add_solib_catchpoint | ( | const char * | arg,
|  | int | is_load,
|  | int | is_temp,
|  | int | enabled
| ) |  |

Definition at line 8180 of file breakpoint.c.

References _, bp_disabled, bp_enabled, catch_solib_breakpoint_ops, get_current_arch(), init_catchpoint(), install_breakpoint(), and skip_spaces().

Referenced by catch_load_or_unload(), and mi_catch_load_unload().

## ◆ add_to_breakpoint_chain()

static breakpoint* add_to_breakpoint_chain | ( | std::unique_ptr< breakpoint > && | b | ) |
| static

Definition at line 7122 of file breakpoint.c.

References breakpoint_chain, and breakpoint::next.

Referenced by install_breakpoint(), new_single_step_breakpoint(), set_raw_breakpoint(), and set_raw_breakpoint_without_location().

## ◆ adjust_breakpoint_address() [1/2]

static CORE_ADDR adjust_breakpoint_address | ( | struct gdbarch * | gdbarch,
|  | CORE_ADDR | bpaddr,
|  | enum bptype | bptype
| ) |  |
| static

Referenced by add_location_to_breakpoint(), set_breakpoint_location_function(), set_gdbarch_adjust_breakpoint_address(), and watch_command_1().

## ◆ adjust_breakpoint_address() [2/2]

static CORE_ADDR adjust_breakpoint_address | ( | struct gdbarch * | gdbarch,
|  | CORE_ADDR | bpaddr,
|  | enum bptype | bptype
| ) |  |
| static

Definition at line 6973 of file breakpoint.c.

References address_significant(), bp_access_watchpoint, bp_catchpoint, bp_hardware_watchpoint, bp_read_watchpoint, bp_single_step, bp_watchpoint, breakpoint_adjustment_warning(), gdbarch_adjust_breakpoint_address(), and gdbarch_adjust_breakpoint_address_p().

## ◆ agent_printf_command()

static void agent_printf_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 9729 of file breakpoint.c.

References _, and error().

Referenced by _initialize_breakpoint().

## ◆ all_locations_are_pending()

static int all_locations_are_pending | ( | struct breakpoint * | b,
|  | struct program_space * | pspace
| ) |  |
| static

Definition at line 13395 of file breakpoint.c.

References breakpoint::loc, loc, and bp_location::pspace.

Referenced by update_breakpoint_locations().

## ◆ allocate_bp_location()

static struct bp_location * allocate_bp_location | ( | struct breakpoint * | bpt | ) |
| static

Definition at line 7086 of file breakpoint.c.

References breakpoint_ops::allocate_location, and breakpoint::ops.

Referenced by add_location_to_breakpoint(), momentary_breakpoint_from_master(), software_watchpoint_add_no_memory_location(), and update_watchpoint().

## ◆ ambiguous_names_p()

static int ambiguous_names_p | ( | struct bp_location * | loc | ) |
| static

Definition at line 13413 of file breakpoint.c.

References bp_location::function_name, loc, name, bp_location::next, streq(), xcalloc(), and xfree().

Referenced by update_breakpoint_locations().

## ◆ awatch_command()

static void awatch_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 11058 of file breakpoint.c.

References hw_access, and watch_maybe_just_location().

Referenced by _initialize_breakpoint().

## ◆ awatch_command_wrapper()

void awatch_command_wrapper | ( | const char * | arg,
|  | int | from_tty,
|  | int | internal
| ) |  |

Definition at line 11052 of file breakpoint.c.

References hw_access, and watch_command_1().

Referenced by bppy_init(), gdbscm_register_breakpoint_x(), and mi_cmd_break_watch().

## ◆ base_breakpoint_after_condition_true()

static void base_breakpoint_after_condition_true | ( | struct bpstats * | bs | ) |
| static

Definition at line 12471 of file breakpoint.c.

## ◆ base_breakpoint_allocate_location()

static struct bp_location* base_breakpoint_allocate_location | ( | struct breakpoint * | self | ) |
| static

Definition at line 12342 of file breakpoint.c.

References bp_location::bp_location().

## ◆ base_breakpoint_breakpoint_hit()

static int base_breakpoint_breakpoint_hit | ( | const struct bp_location * | bl,
|  | const address_space * | aspace,
|  | CORE_ADDR | bp_addr,
|  | const struct target_waitstatus * | ws
| ) |  |
| static

Definition at line 12370 of file breakpoint.c.

References internal_error_pure_virtual_called.

## ◆ base_breakpoint_check_status()

static void base_breakpoint_check_status | ( | bpstat | bs | ) |
| static

Definition at line 12379 of file breakpoint.c.

## ◆ base_breakpoint_create_breakpoints_sal()

static void base_breakpoint_create_breakpoints_sal | ( | struct gdbarch * | gdbarch,
|  | struct linespec_result * | c,
|  | gdb::unique_xmalloc_ptr< char > | cond_string,
|  | gdb::unique_xmalloc_ptr< char > | extra_string,
|  | enum bptype | type_wanted,
|  | enum bpdisp | disposition,
|  | int | thread,
|  | int | task,
|  | int | ignore_count,
|  | const struct breakpoint_ops * | o,
|  | int | from_tty,
|  | int | enabled,
|  | int | internal,
|  | unsigned | flags
| ) |  |
| static

Definition at line 12437 of file breakpoint.c.

References internal_error_pure_virtual_called.

## ◆ base_breakpoint_create_sals_from_location()

static void base_breakpoint_create_sals_from_location | ( | const struct event_location * | location,
|  | struct linespec_result * | canonical,
|  | enum bptype | type_wanted
| ) |  |
| static

Definition at line 12429 of file breakpoint.c.

References internal_error_pure_virtual_called.

## ◆ base_breakpoint_decode_location()

static std::vector<symtab_and_line> base_breakpoint_decode_location | ( | struct breakpoint * | b,
|  | const struct event_location * | location,
|  | struct program_space * | search_pspace
| ) |  |
| static

Definition at line 12453 of file breakpoint.c.

References internal_error_pure_virtual_called.

## ◆ base_breakpoint_explains_signal()

static int base_breakpoint_explains_signal | ( | struct breakpoint * | b,
|  | enum gdb_signal | sig
| ) |  |
| static

Definition at line 12463 of file breakpoint.c.

## ◆ base_breakpoint_insert_location()

static int base_breakpoint_insert_location | ( | struct bp_location * | bl | ) |
| static

Definition at line 12357 of file breakpoint.c.

References internal_error_pure_virtual_called.

## ◆ base_breakpoint_print_it()

static enum print_stop_action base_breakpoint_print_it | ( | bpstat | bs | ) |
| static

Definition at line 12403 of file breakpoint.c.

References internal_error_pure_virtual_called.

## ◆ base_breakpoint_print_mention()

static void base_breakpoint_print_mention | ( | struct breakpoint * | b | ) |
| static

Definition at line 12416 of file breakpoint.c.

References internal_error_pure_virtual_called.

## ◆ base_breakpoint_print_one_detail()

static void base_breakpoint_print_one_detail | ( | const struct breakpoint * | self,
|  | struct ui_out * | uiout
| ) |  |
| static

Definition at line 12409 of file breakpoint.c.

## ◆ base_breakpoint_print_recreate()

static void base_breakpoint_print_recreate | ( | struct breakpoint * | b,
|  | struct ui_file * | fp
| ) |  |
| static

Definition at line 12422 of file breakpoint.c.

References internal_error_pure_virtual_called.

## ◆ base_breakpoint_re_set()

static void base_breakpoint_re_set | ( | struct breakpoint * | b | ) |
| static

Definition at line 12348 of file breakpoint.c.

## ◆ base_breakpoint_remove_location()

static int base_breakpoint_remove_location | ( | struct bp_location * | bl,
|  | enum remove_bp_reason | reason
| ) |  |
| static

Definition at line 12363 of file breakpoint.c.

References internal_error_pure_virtual_called.

## ◆ base_breakpoint_resources_needed()

static int base_breakpoint_resources_needed | ( | const struct bp_location * | bl | ) |
| static

Definition at line 12397 of file breakpoint.c.

References internal_error_pure_virtual_called.

## ◆ base_breakpoint_works_in_software_mode()

static int base_breakpoint_works_in_software_mode | ( | const struct breakpoint * | b | ) |
| static

Definition at line 12388 of file breakpoint.c.

References internal_error_pure_virtual_called.

## ◆ bkpt_breakpoint_hit()

static int bkpt_breakpoint_hit | ( | const struct bp_location * | bl,
|  | const address_space * | aspace,
|  | CORE_ADDR | bp_addr,
|  | const struct target_waitstatus * | ws
| ) |  |
| static

Definition at line 12538 of file breakpoint.c.

References bp_location::address, program_space::aspace, breakpoint_address_match(), target_waitstatus::kind, overlay_debugging, bp_location::pspace, bp_location::section, section_is_mapped(), section_is_overlay(), target_waitstatus::sig, TARGET_WAITKIND_STOPPED, and target_waitstatus::value.

Referenced by dprintf_breakpoint_hit(), and initialize_breakpoint_ops().

## ◆ bkpt_create_breakpoints_sal()

static void bkpt_create_breakpoints_sal | ( | struct gdbarch * | gdbarch,
|  | struct linespec_result * | canonical,
|  | gdb::unique_xmalloc_ptr< char > | cond_string,
|  | gdb::unique_xmalloc_ptr< char > | extra_string,
|  | enum bptype | type_wanted,
|  | enum bpdisp | disposition,
|  | int | thread,
|  | int | task,
|  | int | ignore_count,
|  | const struct breakpoint_ops * | ops,
|  | int | from_tty,
|  | int | enabled,
|  | int | internal,
|  | unsigned | flags
| ) |  |
| static

Definition at line 12685 of file breakpoint.c.

References create_breakpoints_sal_default(), and flags.

Referenced by initialize_breakpoint_ops().

## ◆ bkpt_create_sals_from_location()

static void bkpt_create_sals_from_location | ( | const struct event_location * | location,
|  | struct linespec_result * | canonical,
|  | enum bptype | type_wanted
| ) |  |
| static

Definition at line 12677 of file breakpoint.c.

References create_sals_from_location_default().

Referenced by initialize_breakpoint_ops().

## ◆ bkpt_decode_location()

static std::vector<symtab_and_line> bkpt_decode_location | ( | struct breakpoint * | b,
|  | const struct event_location * | location,
|  | struct program_space * | search_pspace
| ) |  |
| static

Definition at line 12707 of file breakpoint.c.

References decode_location_default().

Referenced by initialize_breakpoint_ops().

## ◆ bkpt_insert_location()

static int bkpt_insert_location | ( | struct bp_location * | bl | ) |
| static

Definition at line 12515 of file breakpoint.c.

References bp_loc_hardware_breakpoint, breakpoint_kind(), bp_location::gdbarch, bp_target_info::kind, bp_location::loc_type, bp_target_info::placed_address, bp_target_info::reqstd_address, bp_location::target_info, target_insert_breakpoint(), and target_insert_hw_breakpoint.

Referenced by bkpt_probe_insert_location(), and initialize_breakpoint_ops().

## ◆ bkpt_print_it()

static enum print_stop_action bkpt_print_it | ( | bpstat | bs | ) |
| static

Definition at line 12584 of file breakpoint.c.

References bp_location::address, annotate_breakpoint(), async_reason_lookup(), bpstats::bp_location_at, bpdisp_text(), breakpoint_adjustment_warning(), bpstats::breakpoint_at, current_uiout, disp_del, breakpoint::disposition, EXEC_ASYNC_BREAKPOINT_HIT, ui_out::field_int(), ui_out::field_string(), gdb_assert, ui_out::is_mi_like_p(), maybe_print_thread_hit_breakpoint(), breakpoint::number, PRINT_SRC_AND_LOC, bp_location::requested_address, and ui_out::text().

Referenced by initialize_breakpoint_ops().

## ◆ bkpt_print_mention()

static void bkpt_print_mention | ( | struct breakpoint * | b | ) |
| static

Definition at line 12621 of file breakpoint.c.

References _, bp_breakpoint, bp_dprintf, bp_gnu_ifunc_resolver, bp_hardware_breakpoint, current_uiout, disp_del, breakpoint::disposition, breakpoint::number, printf_filtered(), say_where(), and breakpoint::type.

Referenced by initialize_breakpoint_ops().

## ◆ bkpt_print_recreate()

static void bkpt_print_recreate | ( | struct breakpoint * | tp,
|  | struct ui_file * | fp
| ) |  |
| static

Definition at line 12650 of file breakpoint.c.

References _, bp_breakpoint, bp_hardware_breakpoint, disp_del, breakpoint::disposition, event_location_to_string(), breakpoint::extra_string, fprintf_unfiltered(), internal_error(), breakpoint::loc, breakpoint::location, print_recreate_thread(), and breakpoint::type.

Referenced by initialize_breakpoint_ops().

## ◆ bkpt_probe_create_sals_from_location()

static void bkpt_probe_create_sals_from_location | ( | const struct event_location * | location,
|  | struct linespec_result * | canonical,
|  | enum bptype | type_wanted
| ) |  |
| static

Definition at line 12881 of file breakpoint.c.

References linespec_sals::canonical, event_location_to_string(), parse_probes(), and linespec_sals::sals.

Referenced by initialize_breakpoint_ops(), and tracepoint_probe_create_sals_from_location().

## ◆ bkpt_probe_decode_location()

static std::vector<symtab_and_line> bkpt_probe_decode_location | ( | struct breakpoint * | b,
|  | const struct event_location * | location,
|  | struct program_space * | search_pspace
| ) |  |
| static

Definition at line 12894 of file breakpoint.c.

References _, error(), parse_probes(), and linespec_sals::sals.

Referenced by initialize_breakpoint_ops(), and tracepoint_probe_decode_location().

## ◆ bkpt_probe_insert_location()

static int bkpt_probe_insert_location | ( | struct bp_location * | bl | ) |
| static

Definition at line 12856 of file breakpoint.c.

References bkpt_insert_location(), bp_location::gdbarch, bound_probe::objfile, bound_probe::prob, bp_location::probe, and probe::set_semaphore().

Referenced by initialize_breakpoint_ops().

## ◆ bkpt_probe_remove_location()

static int bkpt_probe_remove_location | ( | struct bp_location * | bl,
|  | enum remove_bp_reason | reason
| ) |  |
| static

Definition at line 12871 of file breakpoint.c.

References bkpt_remove_location(), probe::clear_semaphore(), bp_location::gdbarch, bound_probe::objfile, bound_probe::prob, and bp_location::probe.

Referenced by initialize_breakpoint_ops().

## ◆ bkpt_re_set()

static void bkpt_re_set | ( | struct breakpoint * | b | ) |
| static

Definition at line 12501 of file breakpoint.c.

References breakpoint_event_location_empty_p(), breakpoint_re_set_default(), and delete_breakpoint().

Referenced by initialize_breakpoint_ops().

## ◆ bkpt_remove_location()

static int bkpt_remove_location | ( | struct bp_location * | bl,
|  | enum remove_bp_reason | reason
| ) |  |
| static

Definition at line 12529 of file breakpoint.c.

References bp_loc_hardware_breakpoint, bp_location::gdbarch, bp_location::loc_type, bp_location::target_info, target_remove_breakpoint(), and target_remove_hw_breakpoint.

Referenced by bkpt_probe_remove_location(), and initialize_breakpoint_ops().

## ◆ bkpt_resources_needed()

static int bkpt_resources_needed | ( | const struct bp_location * | bl | ) |
| static

Definition at line 12576 of file breakpoint.c.

References bp_hardware_breakpoint, gdb_assert, bp_location::owner, and breakpoint::type.

Referenced by initialize_breakpoint_ops().

## ◆ bp_condition_evaluator()

static const char* bp_condition_evaluator | ( | struct breakpoint * | b | ) |
| static

Definition at line 5829 of file breakpoint.c.

References bp_location::cond_bytecode, condition_evaluation_both, condition_evaluation_host, condition_evaluation_target, gdb_evaluates_breakpoint_condition_p(), is_breakpoint(), breakpoint::loc, bp_location::next, and target_supports_evaluation_of_breakpoint_conditions.

Referenced by print_breakpoint_location(), and print_one_breakpoint_location().

## ◆ bp_loc_is_permanent()

static int bp_loc_is_permanent | ( | struct bp_location * | loc | ) |
| static

Definition at line 8748 of file breakpoint.c.

References breakpoint_address_is_meaningful(), gdb_assert, loc, program_breakpoint_here_p(), and switch_to_program_space_and_thread().

Referenced by add_location_to_breakpoint().

## ◆ bp_location_condition_evaluator()

static const char* bp_location_condition_evaluator | ( | struct bp_location * | bl | ) |
| static

Definition at line 5865 of file breakpoint.c.

References bp_location::cond_bytecode, condition_evaluation_host, condition_evaluation_target, gdb_evaluates_breakpoint_condition_p(), is_breakpoint(), bp_location::owner, and target_supports_evaluation_of_breakpoint_conditions.

Referenced by print_breakpoint_location().

## ◆ bp_location_dtor()

static void bp_location_dtor | ( | struct bp_location * | self | ) |
| static

Definition at line 12322 of file breakpoint.c.

References xfree().

## ◆ bp_location_has_shadow()

static int bp_location_has_shadow | ( | struct bp_location * | bl | ) |
| static

Definition at line 1298 of file breakpoint.c.

References bp_loc_software_breakpoint, bp_location::inserted, bp_location::loc_type, bp_target_info::shadow_len, and bp_location::target_info.

Referenced by bp_locations_target_extensions_update(), and breakpoint_xfer_memory().

## ◆ bp_location_inserted_here_p()

static int bp_location_inserted_here_p | ( | struct bp_location * | bl,
|  | const address_space * | aspace,
|  | CORE_ADDR | pc
| ) |  |
| static

Definition at line 4072 of file breakpoint.c.

References bp_location::address, program_space::aspace, breakpoint_address_match(), bp_location::inserted, overlay_debugging, bp_location::pspace, bp_location::section, section_is_mapped(), and section_is_overlay().

Referenced by breakpoint_inserted_here_p(), hardware_breakpoint_inserted_here_p(), and software_breakpoint_inserted_here_p().

## ◆ bp_locations_compare()

static int bp_locations_compare | ( | const void * | ap,
|  | const void * | bp
| ) |  |
| static

Definition at line 11649 of file breakpoint.c.

References bp_location::address, bp, program_space::num, breakpoint::number, bp_location::owner, bp_location::permanent, and bp_location::pspace.

Referenced by update_global_location_list().

## ◆ bp_locations_compare_addrs()

static int bp_locations_compare_addrs | ( | const void * | ap,
|  | const void * | bp
| ) |  |
| static

Definition at line 792 of file breakpoint.c.

References bp_location::address, and bp.

Referenced by get_first_locp_gte_addr().

## ◆ bp_locations_target_extensions_update()

static void bp_locations_target_extensions_update | ( | void |  | ) |
| static

Definition at line 11685 of file breakpoint.c.

References bp_location::address, ALL_BP_LOCATIONS, bp_location_has_shadow(), bp_locations_placed_address_before_address_max, bp_locations_shadow_len_after_address_max, gdb_assert, bp_target_info::placed_address, bp_target_info::shadow_len, and bp_location::target_info.

Referenced by update_global_location_list().

## ◆ bpdisp_text()

const char* bpdisp_text | ( | enum bpdisp | disp | ) |

Definition at line 314 of file breakpoint.c.

Referenced by bkpt_print_it(), print_it_catch_exec(), print_it_catch_fork(), print_it_catch_solib(), print_it_catch_syscall(), print_it_catch_vfork(), print_it_exception(), print_it_exception_catchpoint(), print_it_ranged_breakpoint(), and print_one_breakpoint_location().

## ◆ bpstat_causes_stop()

int bpstat_causes_stop | ( | bpstat | bs | ) |

Definition at line 5780 of file breakpoint.c.

References bpstats::next, and bpstats::stop.

Referenced by bpstat_stop_status(), handle_inferior_event_1(), and handle_syscall_event().

## ◆ bpstat_check_breakpoint_conditions()

static void bpstat_check_breakpoint_conditions | ( | bpstat | bs,
|  | ptid_t | ptid
| ) |  |
| static

Definition at line 5195 of file breakpoint.c.

References _, ada_get_task_number(), block_innermost_frame(), bpstats::bp_location_at, bpstats::breakpoint_at, breakpoint_cond_eval(), breakpoint_ext_lang_cond_says_stop(), CATCH, bp_location::cond, watchpoint::cond_exp, watchpoint::cond_exp_valid_block, disp_del_at_next_stop, breakpoint::disposition, END_CATCH, exception_fprintf(), breakpoint::frame_id, frame_id_eq(), frame_id_p(), gdb_assert, gdb_stderr, get_current_frame(), get_stack_frame_id(), breakpoint::hit_count, breakpoint::ignore_count, is_watchpoint(), observer_notify_breakpoint_modified(), ptid_to_global_thread_id(), RETURN_MASK_ALL, select_frame(), bpstats::stop, breakpoint::task, breakpoint::thread, TRY, value_free_to_mark(), value_mark(), and warning().

Referenced by bpstat_stop_status().

## ◆ bpstat_check_location()

static int bpstat_check_location | ( | const struct bp_location * | bl,
|  | const address_space * | aspace,
|  | CORE_ADDR | bp_addr,
|  | const struct target_waitstatus * | ws
| ) |  |
| static

Definition at line 5007 of file breakpoint.c.

References breakpoint_ops::breakpoint_hit, gdb_assert, breakpoint::ops, and bp_location::owner.

Referenced by bpstat_stop_status(), and pc_at_non_inline_function().

## ◆ bpstat_check_watchpoint()

static void bpstat_check_watchpoint | ( | bpstat | bs | ) |
| static

Definition at line 5023 of file breakpoint.c.

References _, ALL_BREAKPOINTS, bp_access_watchpoint, bp_hardware_watchpoint, bpstats::bp_location_at, bp_read_watchpoint, bp_watchpoint, bpstats::breakpoint_at, CATCH, END_CATCH, exception_fprintf(), gdb_assert, gdb_stderr, hw_access, hw_read, breakpoint::number, bpstats::print_it, print_it_done, print_it_noop, printf_filtered(), RETURN_MASK_ALL, bpstats::stop, SWITCH_THRU_ALL_UIS, TRY, breakpoint::type, watch_triggered_unknown, watch_triggered_yes, watchpoint_check(), watchpoint_del_at_next_stop(), watchpoint::watchpoint_triggered, bp_location::watchpoint_type, WP_DELETED, WP_IGNORE, WP_VALUE_CHANGED, and WP_VALUE_NOT_CHANGED.

Referenced by check_status_watchpoint().

## ◆ bpstat_clear()

void bpstat_clear | ( | bpstat * | bsp | ) |

Definition at line 4212 of file breakpoint.c.

References bpstats::next.

Referenced by clear_proceed_status_thread(), clear_thread_inferior_resources(), discard_infcall_control_state(), handle_signal_stop(), and restore_infcall_control_state().

## ◆ bpstat_clear_actions()

void bpstat_clear_actions | ( | void |  | ) |

Definition at line 4349 of file breakpoint.c.

References bpstats::commands, thread_info::control, find_thread_ptid(), inferior_ptid, bpstats::next, null_ptid, bpstats::old_val, ptid_equal(), thread_control_state::stop_bpstat, and value_free().

Referenced by do_bpstat_clear_actions_cleanup().

## ◆ bpstat_copy()

bpstat bpstat_copy | ( | bpstat | bs | ) |

Definition at line 4251 of file breakpoint.c.

References bpstats::next.

Referenced by save_infcall_control_state().

## ◆ bpstat_do_actions()

void bpstat_do_actions | ( | void |  | ) |

Definition at line 4494 of file breakpoint.c.

References bpstat_do_actions_1(), discard_cleanups(), inferior_ptid, inferior_thread(), is_executing(), is_exited(), make_bpstat_clear_actions_cleanup(), null_ptid, ptid_equal(), and target_has_execution.

Referenced by command_handler(), execute_gdb_command(), inferior_event_handler(), and mi_execute_command().

## ◆ bpstat_do_actions_1()

static int bpstat_do_actions_1 | ( | bpstat * | bsp | ) |
| static

Definition at line 4412 of file breakpoint.c.

References ui::async, breakpoint_proceeded, command_line_is_silent(), bpstats::commands, current_ui, execute_control_command(), executing_breakpoint_commands, make_scoped_restore(), command_line::next, bpstats::next, and prevent_dont_repeat().

Referenced by bpstat_do_actions(), and dprintf_after_condition_true().

## ◆ bpstat_explains_signal()

int bpstat_explains_signal | ( | bpstat | bsp,
|  | enum gdb_signal | sig
| ) |  |

Definition at line 4294 of file breakpoint.c.

References bpstats::breakpoint_at, breakpoint_ops::explains_signal, bpstats::next, and breakpoint::ops.

Referenced by handle_signal_stop().

## ◆ bpstat_find_breakpoint()

bpstat bpstat_find_breakpoint | ( | bpstat | bsp,
|  | struct breakpoint * | breakpoint
| ) |  |

Definition at line 4278 of file breakpoint.c.

References bpstats::breakpoint_at, and bpstats::next.

Referenced by finish_command_fsm_should_stop(), and until_break_fsm_should_stop().

## ◆ bpstat_num()

int bpstat_num | ( | bpstat * | bsp,
|  | int * | num
| ) |  |

Definition at line 4327 of file breakpoint.c.

References bpstats::next, and breakpoint::number.

Referenced by continue_command(), and info_program_command().

## ◆ bpstat_print()

enum print_stop_action bpstat_print | ( | bpstat | bs,
|  | int | kind
| ) |  |

Definition at line 4686 of file breakpoint.c.

References bpstats::next, print_bp_stop_message(), PRINT_NOTHING, print_solib_event(), PRINT_SRC_AND_LOC, PRINT_SRC_ONLY, PRINT_UNKNOWN, and TARGET_WAITKIND_LOADED.

Referenced by print_stop_location().

## ◆ bpstat_remove_bp_location()

static void bpstat_remove_bp_location | ( | bpstat | bps,
|  | struct breakpoint * | bpt
| ) |  |
| static

Definition at line 12226 of file breakpoint.c.

References bpstats::breakpoint_at, bpstats::next, and bpstats::old_val.

Referenced by bpstat_remove_breakpoint_callback().

## ◆ bpstat_remove_breakpoint_callback()

static int bpstat_remove_breakpoint_callback | ( | struct thread_info * | th,
|  | void * | data
| ) |  |
| static

Definition at line 12241 of file breakpoint.c.

References bpstat_remove_bp_location(), thread_info::control, and thread_control_state::stop_bpstat.

Referenced by delete_breakpoint().

## ◆ bpstat_run_callbacks()

void bpstat_run_callbacks | ( | bpstat | bs_head | ) |

Definition at line 5739 of file breakpoint.c.

References bp_gnu_ifunc_resolver, bp_gnu_ifunc_resolver_return, bp_jit_event, bpstats::breakpoint_at, gnu_ifunc_resolver_return_stop, gnu_ifunc_resolver_stop, handle_jit_event(), bpstats::next, and breakpoint::type.

Referenced by process_event_stop_test().

## ◆ bpstat_should_step()

int bpstat_should_step | ( | void |  | ) |

Definition at line 5769 of file breakpoint.c.

References ALL_BREAKPOINTS, bp_watchpoint, breakpoint_enabled(), breakpoint::loc, and breakpoint::type.

Referenced by currently_stepping(), and resume_1().

## ◆ bpstat_stop_status()

bpstat bpstat_stop_status | ( | const address_space * | aspace,
|  | CORE_ADDR | bp_addr,
|  | ptid_t | ptid,
|  | const struct target_waitstatus * | ws
| ) |  |

Definition at line 5365 of file breakpoint.c.

References breakpoint_ops::after_condition_true, ALL_BREAKPOINTS, bp_disabled, bp_hardware_watchpoint, bp_shlib_event, bp_watchpoint_scope, bpstat_causes_stop(), bpstat_check_breakpoint_conditions(), bpstat_check_location(), bpstats::breakpoint_at, breakpoint_enabled(), breakpoint_location_address_match(), breakpoint_ops::check_status, command_line_is_silent(), breakpoint::commands, bpstats::commands, disp_disable, breakpoint::disposition, breakpoint::enable_count, breakpoint::enable_state, bp_location::enabled, handle_solib_event(), breakpoint::hit_count, is_hardware_watchpoint(), breakpoint::loc, loc, need_moribund_for_location_type(), bp_location::next, bpstats::next, observer_notify_breakpoint_modified(), breakpoint::ops, bpstats::print, bpstats::print_it, print_it_noop, breakpoint::related_breakpoint, bp_location::shlib_disabled, breakpoint::silent, bpstats::stop, target_supports_stopped_by_hw_breakpoint, target_supports_stopped_by_sw_breakpoint, breakpoint::type, UGLL_DONT_INSERT, UGLL_MAY_INSERT, update_global_location_list(), update_watchpoint(), VEC_iterate, watch_triggered_yes, and watchpoint::watchpoint_triggered.

Referenced by handle_inferior_event_1(), handle_signal_stop(), and handle_syscall_event().

## ◆ bpstat_what()

struct bpstat_what bpstat_what | ( | bpstat | bs_head | ) |

Definition at line 5563 of file breakpoint.c.

References _, bp_access_watchpoint, bp_breakpoint, bp_call_dummy, bp_catchpoint, bp_dprintf, bp_exception, bp_exception_master, bp_exception_resume, bp_fast_tracepoint, bp_finish, bp_gnu_ifunc_resolver, bp_gnu_ifunc_resolver_return, bp_hardware_breakpoint, bp_hardware_watchpoint, bp_hp_step_resume, bp_jit_event, bp_longjmp, bp_longjmp_call_dummy, bp_longjmp_master, bp_longjmp_resume, bp_none, bp_overlay_event, bp_read_watchpoint, bp_shlib_event, bp_single_step, bp_static_tracepoint, bp_std_terminate, bp_std_terminate_master, bp_step_resume, bp_thread_event, bp_tracepoint, bp_until, bp_watchpoint, bp_watchpoint_scope, BPSTAT_WHAT_CLEAR_LONGJMP_RESUME, BPSTAT_WHAT_HP_STEP_RESUME, BPSTAT_WHAT_KEEP_CHECKING, BPSTAT_WHAT_SET_LONGJMP_RESUME, BPSTAT_WHAT_SINGLE, BPSTAT_WHAT_STEP_RESUME, BPSTAT_WHAT_STOP_NOISY, BPSTAT_WHAT_STOP_SILENT, bpstat_what::call_dummy, internal_error(), bpstat_what::is_longjmp, bpstat_what::main_action, STOP_NONE, STOP_STACK_DUMMY, and STOP_STD_TERMINATE.

Referenced by process_event_stop_test().

## ◆ bptype_string()

static const char* bptype_string | ( | enum bptype | type | ) |
| static

Definition at line 5959 of file breakpoint.c.

References _, bp_access_watchpoint, bp_breakpoint, bp_call_dummy, bp_catchpoint, bp_dprintf, bp_exception, bp_exception_master, bp_exception_resume, bp_fast_tracepoint, bp_finish, bp_gnu_ifunc_resolver, bp_gnu_ifunc_resolver_return, bp_hardware_breakpoint, bp_hardware_watchpoint, bp_hp_step_resume, bp_jit_event, bp_longjmp, bp_longjmp_call_dummy, bp_longjmp_master, bp_longjmp_resume, bp_none, bp_overlay_event, bp_read_watchpoint, bp_shlib_event, bp_single_step, bp_static_tracepoint, bp_std_terminate, bp_std_terminate_master, bp_step_resume, bp_thread_event, bp_tracepoint, bp_until, bp_watchpoint, bp_watchpoint_scope, internal_error(), and type.

Referenced by breakpoint_1(), create_breakpoint(), and print_one_breakpoint_location().

## ◆ break_command()

void break_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |

Definition at line 9596 of file breakpoint.c.

References break_command_1().

Referenced by _initialize_breakpoint(), mi_cmd_break_commands(), and rbreak_command().

## ◆ break_command_1()

static void break_command_1 | ( | const char * | arg,
|  | int | flag,
|  | int | from_tty
| ) |  |
| static

Definition at line 9510 of file breakpoint.c.

References bkpt_breakpoint_ops, bkpt_probe_breakpoint_ops, bp_breakpoint, bp_hardware_breakpoint, BP_HARDWAREFLAG, BP_TEMPFLAG, create_breakpoint(), current_language, get_current_arch(), pending_break_support, PROBE_LOCATION, and string_to_event_location().

Referenced by break_command(), hbreak_command(), stopat_command(), stopin_command(), tbreak_command(), and thbreak_command().

## ◆ break_range_command()

static void break_range_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 9913 of file breakpoint.c.

References _, bp_hardware_breakpoint, current_language, decode_line_full(), DECODE_LINE_FUNFIRSTLINE, disp_donttouch, breakpoint::disposition, error(), find_breakpoint_range_end(), get_current_arch(), hbreak_command(), hw_breakpoint_used_count(), bp_location::length, symtab_and_line::line, breakpoint::loc, breakpoint::location, breakpoint::location_range_end, linespec_result::lsals, mention(), breakpoint::number, observer_notify_breakpoint_created(), parse_breakpoint_sals(), symtab_and_line::pc, ranged_breakpoint_ops, linespec_sals::sals, set_breakpoint_count(), set_raw_breakpoint(), skip_spaces(), string, string_to_event_location(), symtab_and_line::symtab, target_can_use_hardware_watchpoint, target_ranged_break_num_registers(), UGLL_MAY_INSERT, and update_global_location_list().

Referenced by _initialize_breakpoint().

## ◆ breakpoint_1()

static int breakpoint_1 | ( | const char * | args,
|  | int | allflag,
|  | int(*)(const struct breakpoint *) | filter
| ) |  |
| static

Definition at line 6514 of file breakpoint.c.

References bp_location::address, value_print_options::addressprint, ALL_BREAKPOINTS, annotate_breakpoints_headers(), annotate_breakpoints_table(), annotate_breakpoints_table_end(), annotate_field(), bptype_string(), breakpoint_address_bits(), current_uiout, bp_location::gdbarch, get_user_print_options(), ui_out::message(), breakpoint::number, number_is_in_list(), parse_and_eval_long(), print_one_breakpoint(), QUIT, server_command, set_next_address(), ui_out::table_body(), ui_out::table_header(), breakpoint::type, ui_left, ui_noalign, and user_breakpoint_p().

Referenced by info_breakpoints_command(), info_tracepoints_command(), info_watchpoints_command(), and maintenance_info_breakpoints().

## ◆ breakpoint_about_to_proceed()

static void breakpoint_about_to_proceed | ( | void |  | ) |
| static

Definition at line 4376 of file breakpoint.c.

References breakpoint_proceeded, thread_info::control, thread_control_state::in_infcall, inferior_ptid, inferior_thread(), null_ptid, and ptid_equal().

Referenced by _initialize_breakpoint().

## ◆ breakpoint_address_bits()

static int breakpoint_address_bits | ( | struct breakpoint * | b | ) |
| static

Definition at line 6458 of file breakpoint.c.

References gdbarch_addr_bit(), is_no_memory_software_watchpoint(), breakpoint::loc, and loc.

Referenced by breakpoint_1().

## ◆ breakpoint_address_is_meaningful()

static int breakpoint_address_is_meaningful | ( | struct breakpoint * | bpt | ) |
| static

Definition at line 6784 of file breakpoint.c.

References bp_catchpoint, bp_watchpoint, and breakpoint::type.

Referenced by bp_loc_is_permanent(), and update_global_location_list().

## ◆ breakpoint_address_match()

int breakpoint_address_match | ( | const address_space * | aspace1,
|  | CORE_ADDR | addr1,
|  | const address_space * | aspace2,
|  | CORE_ADDR | addr2
| ) |  |

Definition at line 6838 of file breakpoint.c.

References gdbarch_has_global_breakpoints(), and target_gdbarch().

Referenced by bkpt_breakpoint_hit(), bp_location_inserted_here_p(), breakpoint_location_address_match(), breakpoint_locations_match(), one_breakpoint_xfer_memory(), and stepping_past_instruction_at().

## ◆ breakpoint_address_match_range()

static int breakpoint_address_match_range | ( | const address_space * | aspace1,
|  | CORE_ADDR | addr1,
|  | int | len1,
|  | const address_space * | aspace2,
|  | CORE_ADDR | addr2
| ) |  |
| static

Definition at line 6852 of file breakpoint.c.

References gdbarch_has_global_breakpoints(), and target_gdbarch().

Referenced by breakpoint_hit_ranged_breakpoint(), and breakpoint_location_address_match().

## ◆ breakpoint_adjustment_warning()

static void breakpoint_adjustment_warning | ( | CORE_ADDR | from_addr,
|  | CORE_ADDR | to_addr,
|  | int | bnum,
|  | int | have_bnum
| ) |  |
| static

Definition at line 6950 of file breakpoint.c.

References _, hex_string_custom(), and warning().

Referenced by adjust_breakpoint_address(), and bkpt_print_it().

## ◆ breakpoint_auto_delete()

void breakpoint_auto_delete | ( | bpstat | bs | ) |

Definition at line 11624 of file breakpoint.c.

References ALL_BREAKPOINTS_SAFE, bpstats::breakpoint_at, delete_breakpoint(), disp_del, disp_del_at_next_stop, breakpoint::disposition, bpstats::next, and bpstats::stop.

Referenced by normal_stop(), and run_inferior_call().

## ◆ breakpoint_commands()

struct command_line* breakpoint_commands | ( | struct breakpoint * | b | ) |

Definition at line 303 of file breakpoint.c.

References breakpoint::commands.

Referenced by all_tracepoint_actions_and_cleanup(), bppy_get_commands(), gdbscm_breakpoint_commands(), and remote_download_tracepoint().

## ◆ breakpoint_cond_eval()

static bool breakpoint_cond_eval | ( | expression * | exp | ) |
| static

Definition at line 4720 of file breakpoint.c.

References evaluate_expression(), value_free_to_mark(), value_mark(), and value_true().

Referenced by bpstat_check_breakpoint_conditions().

## ◆ breakpoint_condition_evaluation_mode()

static const char* breakpoint_condition_evaluation_mode | ( | void |  | ) |
| static

Definition at line 466 of file breakpoint.c.

References condition_evaluation_mode, and translate_condition_evaluation_mode().

Referenced by gdb_evaluates_breakpoint_condition_p(), print_breakpoint_location(), print_one_breakpoint_location(), and show_condition_evaluation_mode().

## ◆ breakpoint_enabled()

static int breakpoint_enabled | ( | struct breakpoint * | b | ) |
| static

Definition at line 601 of file breakpoint.c.

References bp_enabled, and breakpoint::enable_state.

Referenced by bpstat_should_step(), bpstat_stop_status(), breakpoint_here_p(), breakpoint_in_range_p(), disable_watchpoints_before_interactive_call_start(), hardware_watchpoint_inserted_in_range(), hw_breakpoint_used_count(), hw_watchpoint_use_count(), hw_watchpoint_used_count_others(), insert_breakpoint_locations(), remove_breakpoint_1(), and should_be_inserted().

## ◆ breakpoint_event_location_empty_p()

static int breakpoint_event_location_empty_p | ( | const struct breakpoint * | b | ) |
| static

Definition at line 3517 of file breakpoint.c.

References event_location_empty_p(), and breakpoint::location.

Referenced by bkpt_re_set(), and update_breakpoints_after_exec().

## ◆ breakpoint_free_objfile()

void breakpoint_free_objfile | ( | struct objfile * | objfile | ) |

Definition at line 15404 of file breakpoint.c.

References ALL_BP_LOCATIONS, loc, and SYMTAB_OBJFILE.

Referenced by objfile::~objfile().

## ◆ breakpoint_has_location_inserted_here()

int breakpoint_has_location_inserted_here | ( | struct breakpoint * | bp,
|  | const address_space * | aspace,
|  | CORE_ADDR | pc
| ) |  |

Definition at line 14647 of file breakpoint.c.

References bp, breakpoint_location_address_match(), and loc.

Referenced by single_step_breakpoint_inserted_here_p(), and thread_has_single_step_breakpoint_here().

## ◆ breakpoint_has_pc()

static int breakpoint_has_pc | ( | struct breakpoint * | b,
|  | struct program_space * | pspace,
|  | CORE_ADDR | pc,
|  | struct obj_section * | section
| ) |  |
| static

Definition at line 6707 of file breakpoint.c.

References bp_location::address, breakpoint::loc, bp_location::next, overlay_debugging, bp_location::pspace, and bp_location::section.

Referenced by describe_other_breakpoints().

## ◆ breakpoint_here_p()

enum breakpoint_here breakpoint_here_p | ( | const address_space * | aspace,
|  | CORE_ADDR | pc
| ) |  |

Definition at line 3989 of file breakpoint.c.

References ALL_BP_LOCATIONS, bp_loc_hardware_breakpoint, bp_loc_software_breakpoint, breakpoint_enabled(), breakpoint_location_address_match(), bp_location::loc_type, no_breakpoint_here, ordinary_breakpoint_here, overlay_debugging, bp_location::owner, bp_location::permanent, permanent_breakpoint_here, bp_location::section, section_is_mapped(), and section_is_overlay().

Referenced by crisv32_single_step_through_delay(), mips_single_step_through_delay(), proceed(), resume_1(), thread_still_needs_step_over_bp(), and tui_set_disassem_content().

## ◆ breakpoint_hit_catch_exec()

static int breakpoint_hit_catch_exec | ( | const struct bp_location * | bl,
|  | const address_space * | aspace,
|  | CORE_ADDR | bp_addr,
|  | const struct target_waitstatus * | ws
| ) |  |
| static

Definition at line 8320 of file breakpoint.c.

References exec_catchpoint::exec_pathname, target_waitstatus::execd_pathname, if(), target_waitstatus::kind, bp_location::owner, TARGET_WAITKIND_EXECD, and target_waitstatus::value.

Referenced by initialize_breakpoint_ops().

## ◆ breakpoint_hit_catch_fork()

static int breakpoint_hit_catch_fork | ( | const struct bp_location * | bl,
|  | const address_space * | aspace,
|  | CORE_ADDR | bp_addr,
|  | const struct target_waitstatus * | ws
| ) |  |
| static

Definition at line 7770 of file breakpoint.c.

References fork_catchpoint::forked_inferior_pid, if(), target_waitstatus::kind, bp_location::owner, target_waitstatus::related_pid, TARGET_WAITKIND_FORKED, and target_waitstatus::value.

Referenced by initialize_breakpoint_ops().

## ◆ breakpoint_hit_catch_solib()

static int breakpoint_hit_catch_solib | ( | const struct bp_location * | bl,
|  | const address_space * | aspace,
|  | CORE_ADDR | bp_addr,
|  | const struct target_waitstatus * | ws
| ) |  |
| static

Definition at line 8014 of file breakpoint.c.

References ALL_BREAKPOINTS, bp_shlib_event, if(), target_waitstatus::kind, bp_location::next, bp_location::owner, and TARGET_WAITKIND_LOADED.

Referenced by initialize_breakpoint_ops().

## ◆ breakpoint_hit_catch_vfork()

static int breakpoint_hit_catch_vfork | ( | const struct bp_location * | bl,
|  | const address_space * | aspace,
|  | CORE_ADDR | bp_addr,
|  | const struct target_waitstatus * | ws
| ) |  |
| static

Definition at line 7886 of file breakpoint.c.

References fork_catchpoint::forked_inferior_pid, if(), target_waitstatus::kind, bp_location::owner, target_waitstatus::related_pid, TARGET_WAITKIND_VFORKED, and target_waitstatus::value.

Referenced by initialize_breakpoint_ops().

## ◆ breakpoint_hit_ranged_breakpoint()

static int breakpoint_hit_ranged_breakpoint | ( | const struct bp_location * | bl,
|  | const address_space * | aspace,
|  | CORE_ADDR | bp_addr,
|  | const struct target_waitstatus * | ws
| ) |  |
| static

Definition at line 9738 of file breakpoint.c.

References bp_location::address, program_space::aspace, breakpoint_address_match_range(), target_waitstatus::kind, bp_location::length, bp_location::pspace, target_waitstatus::sig, TARGET_WAITKIND_STOPPED, and target_waitstatus::value.

Referenced by initialize_breakpoint_ops().

## ◆ breakpoint_hit_watchpoint()

static int breakpoint_hit_watchpoint | ( | const struct bp_location * | bl,
|  | const address_space * | aspace,
|  | CORE_ADDR | bp_addr,
|  | const struct target_waitstatus * | ws
| ) |  |
| static

Definition at line 10197 of file breakpoint.c.

References is_hardware_watchpoint(), bp_location::owner, watch_triggered_no, and watchpoint::watchpoint_triggered.

Referenced by initialize_breakpoint_ops().

## ◆ breakpoint_in_range_p()

int breakpoint_in_range_p | ( | const address_space * | aspace,
|  | CORE_ADDR | addr,
|  | ULONGEST | len
| ) |  |

Definition at line 4022 of file breakpoint.c.

References ALL_BP_LOCATIONS, bp_loc_hardware_breakpoint, bp_loc_software_breakpoint, breakpoint_enabled(), breakpoint_location_address_range_overlap(), bp_location::loc_type, overlay_debugging, bp_location::owner, bp_location::permanent, bp_location::section, section_is_mapped(), and section_is_overlay().

Referenced by displaced_step_prepare_throw().

## ◆ breakpoint_init_inferior()

void breakpoint_init_inferior | ( | enum inf_context | context | ) |

Definition at line 3872 of file breakpoint.c.

References ALL_BREAKPOINTS_SAFE, bp_access_watchpoint, bp_call_dummy, bp_hardware_watchpoint, bp_longjmp_call_dummy, bp_read_watchpoint, bp_shlib_event, bp_single_step, bp_step_resume, bp_watchpoint, bp_watchpoint_scope, current_program_space, decref_bp_location(), delete_breakpoint(), watchpoint::exp_valid_block, gdbarch_has_global_breakpoints(), inf_starting, breakpoint::loc, mark_breakpoints_out(), bp_location::pspace, target_gdbarch(), breakpoint::type, watchpoint::val, watchpoint::val_valid, value_free(), VEC_free, and VEC_iterate.

Referenced by detach_command(), follow_exec(), generic_mourn_inferior(), and init_wait_for_inferior().

## ◆ breakpoint_inserted_here_p()

int breakpoint_inserted_here_p | ( | const address_space * | aspace,
|  | CORE_ADDR | pc
| ) |  |

Definition at line 4092 of file breakpoint.c.

References ALL_BP_LOCATIONS_AT_ADDR, bp_loc_hardware_breakpoint, bp_loc_software_breakpoint, bp_location_inserted_here_p(), and bp_location::loc_type.

Referenced by cancel_breakpoint(), do_target_wait(), handle_inferior_event_1(), record_check_stopped_by_breakpoint(), resume_1(), resume_stopped_resumed_lwps(), and status_callback().

## ◆ breakpoint_kind()

static int breakpoint_kind | ( | struct bp_location * | bl,
|  | CORE_ADDR * | addr
| ) |  |
| static

Definition at line 2415 of file breakpoint.c.

References bp_single_step, find_thread_global_id(), bp_location::gdbarch, gdbarch_breakpoint_kind_from_current_state(), gdbarch_breakpoint_kind_from_pc(), get_thread_regcache(), bp_location::owner, thread_info::ptid, regcache::regcache(), breakpoint::thread, and breakpoint::type.

Referenced by bkpt_insert_location(), and insert_bp_location().

## ◆ breakpoint_location_address_match() [1/2]

static int breakpoint_location_address_match | ( | struct bp_location * | bl,
|  | const struct address_space * | aspace,
|  | CORE_ADDR | addr
| ) |  |
| static

Referenced by bpstat_stop_status(), breakpoint_has_location_inserted_here(), breakpoint_here_p(), and moribund_breakpoint_here_p().

## ◆ breakpoint_location_address_match() [2/2]

static int breakpoint_location_address_match | ( | struct bp_location * | bl,
|  | const address_space * | aspace,
|  | CORE_ADDR | addr
| ) |  |
| static

Definition at line 6868 of file breakpoint.c.

References bp_location::address, program_space::aspace, breakpoint_address_match(), breakpoint_address_match_range(), bp_location::length, and bp_location::pspace.

## ◆ breakpoint_location_address_range_overlap()

static int breakpoint_location_address_range_overlap | ( | struct bp_location * | bl,
|  | const address_space * | aspace,
|  | CORE_ADDR | addr,
|  | int | len
| ) |  |
| static

Definition at line 6887 of file breakpoint.c.

References bp_location::address, program_space::aspace, gdbarch_has_global_breakpoints(), bp_location::length, mem_ranges_overlap(), bp_location::pspace, and target_gdbarch().

Referenced by breakpoint_in_range_p().

## ◆ breakpoint_locations_match()

static int breakpoint_locations_match | ( | struct bp_location * | loc1,
|  | struct bp_location * | loc2
| ) |  |
| static

Definition at line 6924 of file breakpoint.c.

References bp_location::address, program_space::aspace, breakpoint_address_match(), gdb_assert, is_hardware_watchpoint(), is_tracepoint(), bp_location::length, bp_location::owner, bp_location::pspace, tracepoint_locations_match(), and watchpoint_locations_match().

Referenced by update_breakpoint_locations(), and update_global_location_list().

## ◆ breakpoint_program_space_exit()

void breakpoint_program_space_exit | ( | struct program_space * | pspace | ) |

Definition at line 2802 of file breakpoint.c.

References ALL_BP_LOCATIONS, ALL_BREAKPOINTS_SAFE, delete_breakpoint(), loc, bp_location::next, bp_location::pspace, breakpoint::pspace, UGLL_DONT_INSERT, and update_global_location_list().

Referenced by release_program_space().

## ◆ breakpoint_re_set()

void breakpoint_re_set | ( | void |  | ) |

Definition at line 13952 of file breakpoint.c.

References ALL_BREAKPOINTS_SAFE, breakpoint_re_set_one(), CATCH, create_exception_master_breakpoint(), create_longjmp_master_breakpoint(), create_overlay_event_breakpoint(), create_std_terminate_master_breakpoint(), END_CATCH, exception_fprintf(), gdb_stderr, input_radix, jit_breakpoint_re_set(), make_scoped_restore(), breakpoint::number, RETURN_MASK_ALL, TRY, UGLL_MAY_INSERT, and update_global_location_list().

Referenced by clear_symtab_users(), enable_breakpoints_after_startup(), finish_new_objfile(), follow_exec(), follow_inferior_reset_breakpoints(), generic_load(), objfile_rebase(), objfile_relocate(), post_create_inferior(), reload_shared_libraries(), and solib_add().

## ◆ breakpoint_re_set_default()

static void breakpoint_re_set_default | ( | struct breakpoint * | b | ) |
| static

Definition at line 13852 of file breakpoint.c.

References current_program_space, breakpoint::location, breakpoint::location_range_end, location_to_sals(), and update_breakpoint_locations().

Referenced by bkpt_re_set(), dprintf_re_set(), and tracepoint_re_set().

## ◆ breakpoint_re_set_one()

static void breakpoint_re_set_one | ( | breakpoint * | b | ) |
| static

Definition at line 13940 of file breakpoint.c.

References input_radix, breakpoint::input_radix, breakpoint::language, breakpoint::ops, breakpoint_ops::re_set, and set_language().

Referenced by breakpoint_re_set().

## ◆ breakpoint_re_set_thread()

void breakpoint_re_set_thread | ( | struct breakpoint * | b | ) |

Definition at line 13998 of file breakpoint.c.

References current_program_space, in_thread_list(), inferior_ptid, breakpoint::loc, bp_location::pspace, ptid_to_global_thread_id(), and breakpoint::thread.

Referenced by follow_inferior_reset_breakpoints().

## ◆ breakpoint_retire_moribund()

void breakpoint_retire_moribund | ( | void |  | ) |

Definition at line 12195 of file breakpoint.c.

References decref_bp_location(), loc, VEC_iterate, and VEC_unordered_remove.

Referenced by handle_inferior_event_1().

## ◆ breakpoint_sals_to_pc()

static void breakpoint_sals_to_pc | ( | std::vector< symtab_and_line > & | sals | ) |
| static

Definition at line 9163 of file breakpoint.c.

References resolve_sal_pc(), and linespec_sals::sals.

Referenced by create_breakpoint().

## ◆ breakpoint_set_commands()

void breakpoint_set_commands | ( | struct breakpoint * | b,
|  | command_line_up && | commands
| ) |  |

Definition at line 1169 of file breakpoint.c.

References breakpoint::commands, observer_notify_breakpoint_modified(), and validate_commands_for_breakpoint().

Referenced by actions_command(), create_tracepoint_from_upload(), mi_cmd_break_commands(), and update_dprintf_command_list().

## ◆ breakpoint_set_silent()

void breakpoint_set_silent | ( | struct breakpoint * | b,
|  | int | silent
| ) |  |

Definition at line 1183 of file breakpoint.c.

References observer_notify_breakpoint_modified(), and breakpoint::silent.

Referenced by bppy_set_silent(), and gdbscm_set_breakpoint_silent_x().

## ◆ breakpoint_set_task()

void breakpoint_set_task | ( | struct breakpoint * | b,
|  | int | task
| ) |  |

Definition at line 1209 of file breakpoint.c.

References observer_notify_breakpoint_modified(), and breakpoint::task.

Referenced by bppy_set_task(), and gdbscm_set_breakpoint_task_x().

## ◆ breakpoint_set_thread()

void breakpoint_set_thread | ( | struct breakpoint * | b,
|  | int | thread
| ) |  |

Definition at line 1196 of file breakpoint.c.

References observer_notify_breakpoint_modified(), and breakpoint::thread.

Referenced by bppy_set_thread(), and gdbscm_set_breakpoint_thread_x().

## ◆ breakpoint_xfer_memory()

void breakpoint_xfer_memory | ( | gdb_byte * | readbuf,
|  | gdb_byte * | writebuf,
|  | const gdb_byte * | writebuf_org,
|  | ULONGEST | memaddr,
|  | LONGEST | len
| ) |  |

Definition at line 1423 of file breakpoint.c.

References _, bp_location::address, bp_location_has_shadow(), bp_locations, bp_locations_count, bp_locations_placed_address_before_address_max, bp_locations_shadow_len_after_address_max, bp_none, bp_location::gdbarch, breakpoint::number, one_breakpoint_xfer_memory(), bp_location::owner, bp_location::target_info, breakpoint::type, and warning().

Referenced by memory_xfer_partial().

## ◆ breakpoints_should_be_inserted_now()

int breakpoints_should_be_inserted_now | ( | void |  | ) |

Definition at line 391 of file breakpoint.c.

References ALL_NON_EXITED_THREADS, always_inserted_mode, gdbarch_has_global_breakpoints(), thread_info::resumed, thread_info::suspend, target_gdbarch(), target_has_execution, threads_are_executing(), and thread_suspend_state::waitstatus_pending_p.

Referenced by maybe_remove_breakpoints(), remote_start_remote(), and update_global_location_list().

## ◆ build_target_command_list()

static void build_target_command_list | ( | struct bp_location * | bl | ) |
| static

Definition at line 2305 of file breakpoint.c.

References bp_location::address, ALL_BP_LOCATIONS_AT_ADDR, bp_dprintf, bp_enabled, disconnected_dprintf, dprintf_style, dprintf_style_agent, is_breakpoint(), loc, bp_location::needs_update, program_space::num, bp_location::owner, parse_cmd_to_aexpr(), bp_target_info::persist, bp_location::pspace, target_can_run_breakpoint_commands, bp_location::target_info, bp_target_info::tcommands, and breakpoint::type.

Referenced by insert_bp_location().

## ◆ build_target_condition_list()

static void build_target_condition_list | ( | struct bp_location * | bl | ) |
| static

Definition at line 2131 of file breakpoint.c.

References bp_location::address, ALL_BP_LOCATIONS_AT_ADDR, bp_enabled, bp_target_info::conditions, gdb_evaluates_breakpoint_condition_p(), is_breakpoint(), loc, bp_location::needs_update, program_space::num, parse_cond_to_aexpr(), bp_location::pspace, bp_location::target_info, and target_supports_evaluation_of_breakpoint_conditions.

Referenced by insert_bp_location().

## ◆ can_use_hardware_watchpoint()

static int can_use_hardware_watchpoint | ( | struct value * | v | ) |
| static

Definition at line 10928 of file breakpoint.c.

References can_use_hw_watchpoints, check_typedef(), deprecated_value_modifiable(), is_scalar_type_recursive(), lval_memory, lval_register, not_lval, target_exact_watchpoints, target_region_ok_for_hw_watchpoint, TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_STRUCT, TYPE_LENGTH, value_address(), value_lazy(), VALUE_LVAL, value_next(), and value_type().

Referenced by update_watchpoint().

## ◆ catch_command()

static void catch_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 11428 of file breakpoint.c.

References _, and error().

Referenced by _initialize_breakpoint().

## ◆ catch_exec_command_1()

static void catch_exec_command_1 | ( | const char * | arg,
|  | int | from_tty,
|  | struct cmd_list_element * | command
| ) |  |
| static

Definition at line 11359 of file breakpoint.c.

References _, catch_exec_breakpoint_ops, CATCH_TEMPORARY, ep_parse_optional_if_clause(), error(), get_cmd_context(), get_current_arch(), init_catchpoint(), install_breakpoint(), and skip_spaces().

Referenced by _initialize_breakpoint().

## ◆ catch_fork_command_1()

static void catch_fork_command_1 | ( | const char * | arg,
|  | int | from_tty,
|  | struct cmd_list_element * | command
| ) |  |
| static

Definition at line 11312 of file breakpoint.c.

References _, catch_fork_breakpoint_ops, catch_fork_permanent, catch_fork_temporary, catch_vfork_breakpoint_ops, catch_vfork_permanent, catch_vfork_temporary, create_fork_vfork_event_catchpoint(), ep_parse_optional_if_clause(), error(), get_cmd_context(), get_current_arch(), and skip_spaces().

Referenced by _initialize_breakpoint().

## ◆ catch_load_command_1()

static void catch_load_command_1 | ( | const char * | arg,
|  | int | from_tty,
|  | struct cmd_list_element * | command
| ) |  |
| static

Definition at line 8222 of file breakpoint.c.

References catch_load_or_unload().

Referenced by _initialize_breakpoint().

## ◆ catch_load_or_unload()

static void catch_load_or_unload | ( | const char * | arg,
|  | int | from_tty,
|  | int | is_load,
|  | struct cmd_list_element * | command
| ) |  |
| static

Definition at line 8210 of file breakpoint.c.

References add_solib_catchpoint(), CATCH_TEMPORARY, and get_cmd_context().

Referenced by catch_load_command_1(), and catch_unload_command_1().

## ◆ catch_unload_command_1()

static void catch_unload_command_1 | ( | const char * | arg,
|  | int | from_tty,
|  | struct cmd_list_element * | command
| ) |  |
| static

Definition at line 8229 of file breakpoint.c.

References catch_load_or_unload().

Referenced by _initialize_breakpoint().

## ◆ check_fast_tracepoint_sals()

static void check_fast_tracepoint_sals | ( | struct gdbarch * | gdbarch,
|  | gdb::array_view< const symtab_and_line > | sals
| ) |  |
| static

Definition at line 9177 of file breakpoint.c.

References _, do_cleanups(), error(), gdbarch_fast_tracepoint_valid_at(), get_sal_arch(), make_cleanup(), paddress(), and xfree().

Referenced by create_breakpoint().

## ◆ check_longjmp_breakpoint_for_call_dummy()

void check_longjmp_breakpoint_for_call_dummy | ( | struct thread_info * | tp | ) |

Definition at line 7392 of file breakpoint.c.

References ALL_BREAKPOINTS_SAFE, bp_call_dummy, bp_longjmp_call_dummy, delete_breakpoint(), dummy_frame_discard(), frame_find_by_id(), breakpoint::frame_id, thread_info::global_num, breakpoint::next, thread_info::ptid, breakpoint::related_breakpoint, breakpoint::thread, and breakpoint::type.

Referenced by process_event_stop_test().

## ◆ check_no_tracepoint_commands()

static void check_no_tracepoint_commands | ( | struct command_line * | commands | ) |
| static

Definition at line 1005 of file breakpoint.c.

References _, command_line::body_count, command_line::body_list, command_line::control_type, error(), command_line::line, command_line::next, and while_stepping_control.

Referenced by validate_commands_for_breakpoint().

## ◆ check_status_catch_solib()

static void check_status_catch_solib | ( | struct bpstats * | bs | ) |
| static

Definition at line 8049 of file breakpoint.c.

References bpstats::breakpoint_at, current_program_space, if(), bpstats::print_it, print_it_noop, so_list::so_name, bpstats::stop, and VEC_iterate.

Referenced by initialize_breakpoint_ops().

## ◆ check_status_watchpoint()

static void check_status_watchpoint | ( | bpstat | bs | ) |
| static

Definition at line 10218 of file breakpoint.c.

References bpstat_check_watchpoint(), bpstats::breakpoint_at, gdb_assert, and is_watchpoint().

Referenced by initialize_breakpoint_ops().

## ◆ check_tracepoint_command()

void check_tracepoint_command | ( | char * | line,
|  | void * | closure
| ) |  |

Definition at line 1219 of file breakpoint.c.

References validate_actionline().

Referenced by actions_command(), and mi_cmd_break_commands().

## ◆ clear_breakpoint_hit_counts()

void clear_breakpoint_hit_counts | ( | void |  | ) |

Definition at line 639 of file breakpoint.c.

References ALL_BREAKPOINTS, and breakpoint::hit_count.

Referenced by run_command_1().

## ◆ clear_command()

static void clear_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 11463 of file breakpoint.c.

References _, ALL_BREAKPOINTS, bp_none, compare_breakpoints(), DECODE_LINE_FUNFIRSTLINE, DECODE_LINE_LIST_MODE, decode_line_with_current_source(), delete_breakpoint(), error(), get_last_displayed_sal(), is_watchpoint(), breakpoint::loc, loc, printf_unfiltered(), putchar_unfiltered(), section_is_overlay(), symtab_and_line::symtab, symtab_to_fullname(), and breakpoint::type.

Referenced by _initialize_breakpoint().

## ◆ clone_momentary_breakpoint()

struct breakpoint* clone_momentary_breakpoint | ( | struct breakpoint * | orig | ) |

Definition at line 8611 of file breakpoint.c.

References momentary_breakpoint_from_master(), breakpoint::ops, and breakpoint::type.

Referenced by follow_fork().

## ◆ command_line_is_silent()

static int command_line_is_silent | ( | struct command_line * | cmd | ) |
| static

Definition at line 4397 of file breakpoint.c.

References command_line::line.

Referenced by bpstat_do_actions_1(), and bpstat_stop_status().

## ◆ commands_command()

static void commands_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 1278 of file breakpoint.c.

References commands_command_1().

Referenced by _initialize_breakpoint().

## ◆ commands_command_1()

static void commands_command_1 | ( | const char * | arg,
|  | int | from_tty,
|  | struct command_line * | control
| ) |  |
| static

Definition at line 1227 of file breakpoint.c.

References command_line::body_list, breakpoint::commands, copy_command_lines(), map_breakpoint_numbers(), string, and string_printf().

Referenced by commands_command(), and commands_from_control_command().

## ◆ commands_from_control_command()

enum command_control_type commands_from_control_command | ( | const char * | arg,
|  | struct command_line * | cmd
| ) |  |

Definition at line 1289 of file breakpoint.c.

References commands_command_1(), and simple_control.

Referenced by execute_control_command_1().

## ◆ compare_breakpoints()

static int compare_breakpoints | ( | const breakpoint * | a,
|  | const breakpoint * | b
| ) |  |
| static

Definition at line 11443 of file breakpoint.c.

References breakpoint::number.

Referenced by clear_command().

## ◆ condition_command()

static void condition_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 960 of file breakpoint.c.

References _, ALL_BREAKPOINTS, error(), error_no_arg(), ext_lang_capitalized_name(), EXT_LANG_NONE, get_breakpoint_cond_ext_lang(), get_number(), is_breakpoint(), breakpoint::number, set_breakpoint_condition(), UGLL_MAY_INSERT, and update_global_location_list().

Referenced by _initialize_breakpoint().

## ◆ condition_completer()

static void condition_completer | ( | struct cmd_list_element * | cmd,
|  | completion_tracker & | tracker,
|  | const char * | text,
|  | const char * | word
| ) |  |
| static

Definition at line 912 of file breakpoint.c.

References completion_tracker::add_completion(), ALL_BREAKPOINTS, complete_internalvar(), expression_completer(), breakpoint::number, skip_spaces(), skip_to_space(), and xsnprintf().

Referenced by _initialize_breakpoint().

## ◆ create_and_insert_solib_event_breakpoint()

struct breakpoint* create_and_insert_solib_event_breakpoint | ( | struct gdbarch * | gdbarch,
|  | CORE_ADDR | address
| ) |  |

Definition at line 7568 of file breakpoint.c.

References create_solib_event_breakpoint_1(), delete_breakpoint(), bp_location::inserted, breakpoint::loc, and UGLL_INSERT.

## ◆ create_breakpoint()

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 | type_wanted,
|  | int | ignore_count,
|  | enum auto_boolean | pending_break_support,
|  | const struct breakpoint_ops * | ops,
|  | int | from_tty,
|  | int | enabled,
|  | int | internal,
|  | unsigned | flags
| ) |  |

Definition at line 9325 of file breakpoint.c.

References _, AUTO_BOOLEAN_AUTO, AUTO_BOOLEAN_FALSE, bp_breakpoint, bp_disabled, bp_dprintf, bp_enabled, bp_fast_tracepoint, bp_hardware_breakpoint, bptype_string(), breakpoint_sals_to_pc(), CATCH, check_fast_tracepoint_sals(), copy_event_location(), breakpoint_ops::create_breakpoints_sal, breakpoint_ops::create_sals_from_location, current_program_space, discard_cleanups(), disp_del, disp_donttouch, END_CATCH, error(), exception_print(), find_condition_and_thread(), flags, gdb_assert, gdb_stderr, init_raw_breakpoint_without_location(), install_breakpoint(), linespec_result::lsals, make_cleanup(), new_breakpoint_from_type(), NOT_FOUND_ERROR, nquery(), null_cleanup(), pending_break_support, RETURN_MASK_ERROR, linespec_sals::sals, throw_exception(), TRY, UGLL_MAY_INSERT, update_global_location_list(), and warning().

Referenced by bpfinishpy_init(), bppy_init(), break_command_1(), create_tracepoint_from_upload(), dprintf_command(), ftrace_command(), gdbscm_register_breakpoint_x(), mi_cmd_break_insert_1(), spu_catch_start(), strace_command(), and trace_command().

## ◆ create_breakpoint_sal()

static void create_breakpoint_sal | ( | struct gdbarch * | gdbarch,
|  | gdb::array_view< const symtab_and_line > | sals,
|  | event_location_up && | location,
|  | gdb::unique_xmalloc_ptr< char > | filter,
|  | gdb::unique_xmalloc_ptr< char > | cond_string,
|  | gdb::unique_xmalloc_ptr< char > | extra_string,
|  | enum bptype | type,
|  | enum bpdisp | disposition,
|  | int | thread,
|  | int | task,
|  | int | ignore_count,
|  | const struct breakpoint_ops * | ops,
|  | int | from_tty,
|  | int | enabled,
|  | int | internal,
|  | unsigned | flags,
|  | int | display_canonical
| ) |  |
| static

Definition at line 8994 of file breakpoint.c.

References flags, static_tracepoint_marker::gdbarch, init_breakpoint_sal(), install_breakpoint(), new_breakpoint_from_type(), and type.

Referenced by create_breakpoints_sal().

## ◆ create_breakpoints_sal()

static void create_breakpoints_sal | ( | struct gdbarch * | gdbarch,
|  | struct linespec_result * | canonical,
|  | gdb::unique_xmalloc_ptr< char > | cond_string,
|  | gdb::unique_xmalloc_ptr< char > | extra_string,
|  | enum bptype | type,
|  | enum bpdisp | disposition,
|  | int | thread,
|  | int | task,
|  | int | ignore_count,
|  | const struct breakpoint_ops * | ops,
|  | int | from_tty,
|  | int | enabled,
|  | int | internal,
|  | unsigned | flags
| ) |  |
| static

Definition at line 9038 of file breakpoint.c.

References copy_event_location(), create_breakpoint_sal(), flags, gdb_assert, linespec_result::location, linespec_result::lsals, linespec_result::pre_expanded, and linespec_result::special_display.

Referenced by create_breakpoints_sal_default().

## ◆ create_breakpoints_sal_default()

static void create_breakpoints_sal_default | ( | struct gdbarch * | gdbarch,
|  | struct linespec_result * | canonical,
|  | gdb::unique_xmalloc_ptr< char > | cond_string,
|  | gdb::unique_xmalloc_ptr< char > | extra_string,
|  | enum bptype | type_wanted,
|  | enum bpdisp | disposition,
|  | int | thread,
|  | int | task,
|  | int | ignore_count,
|  | const struct breakpoint_ops * | ops,
|  | int | from_tty,
|  | int | enabled,
|  | int | internal,
|  | unsigned | flags
| ) |  |
| static

Definition at line 13891 of file breakpoint.c.

References create_breakpoints_sal(), and flags.

Referenced by bkpt_create_breakpoints_sal(), and tracepoint_create_breakpoints_sal().

## ◆ create_exception_master_breakpoint()

static void create_exception_master_breakpoint | ( | void |  | ) |
| static

Definition at line 3425 of file breakpoint.c.

References ALL_OBJFILES, BMSYMBOL_VALUE_ADDRESS, bp_disabled, bp_exception_master, probe::can_evaluate_arguments(), create_internal_breakpoint(), current_target, breakpoint::enable_state, find_probes_in_objfile(), explicit_location::function_name, gdbarch_convert_from_func_ptr_addr(), get_breakpoint_objfile_data(), get_objfile_arch(), probe::get_relocated_address(), initialize_explicit_location(), internal_breakpoint_ops, breakpoint::location, lookup_minimal_symbol(), msym_not_found, msym_not_found_p(), new_explicit_location(), new_probe_location(), and objfile::objfile().

Referenced by breakpoint_re_set().

## ◆ create_fork_vfork_event_catchpoint()

static void create_fork_vfork_event_catchpoint | ( | struct gdbarch * | gdbarch,
|  | int | tempflag,
|  | const char * | cond_string,
|  | const struct breakpoint_ops * | ops
| ) |  |
| static

Definition at line 8271 of file breakpoint.c.

References init_catchpoint(), install_breakpoint(), and null_ptid.

Referenced by catch_fork_command_1().

## ◆ create_internal_breakpoint()

static struct breakpoint* create_internal_breakpoint | ( | struct gdbarch * | gdbarch,
|  | CORE_ADDR | address,
|  | enum bptype | type,
|  | const struct breakpoint_ops * | ops
| ) |  |
| static

Definition at line 3120 of file breakpoint.c.

References current_program_space, disp_donttouch, breakpoint::disposition, find_pc_overlay(), internal_breakpoint_number, breakpoint::number, breakpoint::ops, symtab_and_line::pc, symtab_and_line::pspace, symtab_and_line::section, and set_raw_breakpoint().

Referenced by create_exception_master_breakpoint(), create_jit_event_breakpoint(), create_longjmp_master_breakpoint(), create_overlay_event_breakpoint(), create_solib_event_breakpoint_1(), create_std_terminate_master_breakpoint(), create_thread_event_breakpoint(), and watch_command_1().

## ◆ create_jit_event_breakpoint()

struct breakpoint* create_jit_event_breakpoint | ( | struct gdbarch * | gdbarch,
|  | CORE_ADDR | address
| ) |  |

Definition at line 7500 of file breakpoint.c.

References bp_jit_event, create_internal_breakpoint(), and internal_breakpoint_ops.

Referenced by jit_breakpoint_re_set_internal().

## ◆ create_longjmp_master_breakpoint()

static void create_longjmp_master_breakpoint | ( | void |  | ) |
| static

Definition at line 3266 of file breakpoint.c.

References ALL_OBJFILES, ALL_PSPACES, BMSYMBOL_VALUE_ADDRESS, bp_disabled, bp_longjmp_master, probe::can_evaluate_arguments(), create_internal_breakpoint(), breakpoint::enable_state, find_probes_in_objfile(), explicit_location::function_name, gdbarch_get_longjmp_target_p(), get_breakpoint_objfile_data(), get_objfile_arch(), probe::get_relocated_address(), initialize_explicit_location(), internal_breakpoint_ops, breakpoint::location, breakpoint_objfile_data::longjmp_msym, longjmp_names, breakpoint_objfile_data::longjmp_probes, breakpoint_objfile_data::longjmp_searched, lookup_minimal_symbol_text(), arm-linux::m, bound_minimal_symbol::minsym, msym_not_found, msym_not_found_p(), new_explicit_location(), new_probe_location(), NUM_LONGJMP_NAMES, objfile::objfile(), objfile::pspace, and set_current_program_space().

Referenced by breakpoint_re_set().

## ◆ create_overlay_event_breakpoint()

static void create_overlay_event_breakpoint | ( | void |  | ) |
| static

Definition at line 3213 of file breakpoint.c.

References ALL_OBJFILES, BMSYMBOL_VALUE_ADDRESS, bp_disabled, bp_enabled, bp_overlay_event, create_internal_breakpoint(), breakpoint::enable_state, explicit_location::function_name, get_breakpoint_objfile_data(), get_objfile_arch(), initialize_explicit_location(), internal_breakpoint_ops, breakpoint::location, lookup_minimal_symbol_text(), arm-linux::m, msym_not_found, msym_not_found_p(), new_explicit_location(), objfile::objfile(), overlay_debugging, overlay_events_enabled, and ovly_auto.

Referenced by breakpoint_re_set().

## ◆ create_sals_from_location_default()

static void create_sals_from_location_default | ( | const struct event_location * | location,
|  | struct linespec_result * | canonical,
|  | enum bptype | type_wanted
| ) |  |
| static

Definition at line 13879 of file breakpoint.c.

References parse_breakpoint_sals().

Referenced by bkpt_create_sals_from_location(), and tracepoint_create_sals_from_location().

## ◆ create_solib_event_breakpoint()

struct breakpoint* create_solib_event_breakpoint | ( | struct gdbarch * | gdbarch,
|  | CORE_ADDR | address
| ) |  |

Definition at line 7560 of file breakpoint.c.

References create_solib_event_breakpoint_1(), and UGLL_MAY_INSERT.

Referenced by darwin_solib_create_inferior_hook(), enable_break(), enable_break2(), ocl_enable_break(), spu_enable_break(), svr4_create_probe_breakpoints(), and svr4_create_solib_event_breakpoints().

## ◆ create_solib_event_breakpoint_1()

static struct breakpoint* create_solib_event_breakpoint_1 | ( | struct gdbarch * | gdbarch,
|  | CORE_ADDR | address,
|  | enum ugll_insert_mode | insert_mode
| ) |  |
| static

Definition at line 7548 of file breakpoint.c.

References bp_shlib_event, create_internal_breakpoint(), internal_breakpoint_ops, and update_global_location_list_nothrow().

Referenced by create_and_insert_solib_event_breakpoint(), and create_solib_event_breakpoint().

## ◆ create_std_terminate_master_breakpoint()

static void create_std_terminate_master_breakpoint | ( | void |  | ) |
| static

Definition at line 3370 of file breakpoint.c.

References ALL_OBJFILES, ALL_PSPACES, BMSYMBOL_VALUE_ADDRESS, bp_disabled, bp_std_terminate_master, create_internal_breakpoint(), breakpoint::enable_state, explicit_location::function_name, get_breakpoint_objfile_data(), get_objfile_arch(), initialize_explicit_location(), internal_breakpoint_ops, breakpoint::location, lookup_minimal_symbol(), arm-linux::m, mst_file_text, mst_text, msym_not_found, msym_not_found_p(), MSYMBOL_TYPE, new_explicit_location(), objfile::objfile(), objfile::pspace, and set_current_program_space().

Referenced by breakpoint_re_set().

## ◆ create_thread_event_breakpoint()

struct breakpoint* create_thread_event_breakpoint | ( | struct gdbarch * | gdbarch,
|  | CORE_ADDR | address
| ) |  |

Definition at line 7475 of file breakpoint.c.

References bp_location::address, bp_enabled, bp_thread_event, create_internal_breakpoint(), breakpoint::enable_state, internal_breakpoint_ops, breakpoint::loc, breakpoint::location, new_address_location(), UGLL_MAY_INSERT, and update_global_location_list_nothrow().

Referenced by pd_enable().

## ◆ create_tracepoint_from_upload()

struct tracepoint* create_tracepoint_from_upload | ( | struct uploaded_tp * | utp | ) |

Definition at line 14792 of file breakpoint.c.

References _, uploaded_tp::addr, uploaded_tp::at_string, breakpoint_set_commands(), uploaded_tp::cond, uploaded_tp::cond_string, create_breakpoint(), CREATE_BREAKPOINT_FLAGS_INSERTED, current_language, uploaded_tp::enabled, gdb_assert, get_current_arch(), get_tracepoint(), hex_string(), uploaded_tp::hit_count, breakpoint::hit_count, breakpoint::location, next_cmd, uploaded_tp::number, breakpoint::number, uploaded_tp::pass, pending_break_support, read_command_lines_1(), read_uploaded_action(), string_to_event_location(), this_utp, trace_pass_command(), uploaded_tp::traceframe_usage, tracepoint::traceframe_usage, tracepoint_breakpoint_ops, uploaded_tp::type, VEC_empty, warning(), and xsnprintf().

Referenced by merge_uploaded_tracepoints().

## ◆ decode_location_default()

static std::vector< symtab_and_line > decode_location_default | ( | struct breakpoint * | b,
|  | const struct event_location * | location,
|  | struct program_space * | search_pspace
| ) |  |
| static

Definition at line 13915 of file breakpoint.c.

References decode_line_full(), DECODE_LINE_FUNFIRSTLINE, breakpoint::filter, gdb_assert, linespec_result::location, linespec_result::lsals, multiple_symbols_all, and linespec_sals::sals.

Referenced by bkpt_decode_location(), and tracepoint_decode_location().

## ◆ decode_static_tracepoint_spec()

static std::vector<symtab_and_line> decode_static_tracepoint_spec | ( | const char ** | arg_p | ) |
| static

Definition at line 9284 of file breakpoint.c.

References _, static_tracepoint_marker::address, error(), find_pc_line(), symtab_and_line::pc, release_static_tracepoint_marker(), skip_spaces(), skip_to_space(), string, target_static_tracepoint_markers_by_strid, VEC(), VEC_empty, VEC_index, and VEC_length.

Referenced by strace_marker_create_sals_from_location(), and strace_marker_decode_location().

## ◆ decref_bp_location()

static void decref_bp_location | ( | struct bp_location ** | loc | ) |
| static

Definition at line 7110 of file breakpoint.c.

References free_bp_location(), and gdb_assert.

Referenced by breakpoint_init_inferior(), breakpoint_retire_moribund(), update_global_location_list(), and bpstats::~bpstats().

## ◆ default_collect_info()

static void default_collect_info | ( | void |  | ) |
| static

Definition at line 6658 of file breakpoint.c.

References current_uiout, default_collect, ui_out::field_string(), and ui_out::text().

Referenced by info_breakpoints_command(), info_tracepoints_command(), and maintenance_info_breakpoints().

## ◆ delete_breakpoint()

void delete_breakpoint | ( | struct breakpoint * | bpt | ) |

Definition at line 13226 of file breakpoint.c.

References ALL_BREAKPOINTS, bp_none, bp_watchpoint_scope, bpstat_remove_breakpoint_callback(), breakpoint_chain, gdb_assert, if(), iterate_over_threads(), breakpoint::next, breakpoint::number, observer_notify_breakpoint_deleted(), breakpoint::related_breakpoint, breakpoint::type, UGLL_DONT_INSERT, update_global_location_list(), and watchpoint_del_at_next_stop().

Referenced by bkpt_re_set(), bpfinishpy_out_of_scope(), bppy_delete_breakpoint(), breakpoint_auto_delete(), breakpoint_init_inferior(), breakpoint_program_space_exit(), check_longjmp_breakpoint_for_call_dummy(), clear_command(), create_and_insert_solib_event_breakpoint(), delete_command(), delete_longjmp_breakpoint(), delete_std_terminate_breakpoint(), delete_thread_breakpoint(), delete_trace_command(), elf_gnu_ifunc_resolver_return_stop(), finish_command_fsm_clean_up(), free_objfile_data(), gdbscm_delete_breakpoint_x(), internal_bkpt_re_set(), jit_breakpoint_re_set_internal(), breakpoint_deleter::operator()(), pop_dummy_frame_bpt(), remove_jit_event_breakpoints(), remove_solib_event_breakpoints(), until_break_fsm_clean_up(), and update_breakpoints_after_exec().

## ◆ delete_command()

static void delete_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 13353 of file breakpoint.c.

References _, ALL_BREAKPOINTS, ALL_BREAKPOINTS_SAFE, delete_breakpoint(), dont_repeat(), iterate_over_related_breakpoints(), map_breakpoint_numbers(), query(), and user_breakpoint_p().

Referenced by _initialize_breakpoint().

## ◆ delete_longjmp_breakpoint()

void delete_longjmp_breakpoint | ( | int | thread | ) |

Definition at line 7324 of file breakpoint.c.

References ALL_BREAKPOINTS_SAFE, bp_exception, bp_longjmp, delete_breakpoint(), breakpoint::thread, and breakpoint::type.

Referenced by delete_longjmp_breakpoint_cleanup(), finish_command_fsm_clean_up(), step_command_fsm_clean_up(), until_break_fsm_clean_up(), and until_next_fsm_clean_up().

## ◆ delete_longjmp_breakpoint_at_next_stop()

void delete_longjmp_breakpoint_at_next_stop | ( | int | thread | ) |

Definition at line 7337 of file breakpoint.c.

References ALL_BREAKPOINTS_SAFE, bp_exception, bp_longjmp, disp_del_at_next_stop, breakpoint::disposition, breakpoint::thread, and breakpoint::type.

Referenced by clear_thread_inferior_resources().

## ◆ delete_std_terminate_breakpoint()

void delete_std_terminate_breakpoint | ( | void |  | ) |

Definition at line 7465 of file breakpoint.c.

References ALL_BREAKPOINTS_SAFE, bp_std_terminate, delete_breakpoint(), and breakpoint::type.

Referenced by cleanup_delete_std_terminate_breakpoint().

## ◆ delete_trace_command()

static void delete_trace_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 14916 of file breakpoint.c.

References _, ALL_BREAKPOINTS_SAFE, ALL_TRACEPOINTS, delete_breakpoint(), dont_repeat(), is_tracepoint(), iterate_over_related_breakpoints(), map_breakpoint_numbers(), query(), and user_breakpoint_p().

Referenced by _initialize_breakpoint().

## ◆ describe_other_breakpoints()

static void describe_other_breakpoints | ( | struct gdbarch * | gdbarch,
|  | struct program_space * | pspace,
|  | CORE_ADDR | pc,
|  | struct obj_section * | section,
|  | int | thread
| ) |  |
| static

Definition at line 6728 of file breakpoint.c.

References _, ALL_BREAKPOINTS, bp_call_disabled, bp_disabled, breakpoint_has_pc(), breakpoint::enable_state, fputs_filtered(), gdb_stdout, breakpoint::number, paddress(), printf_filtered(), breakpoint::pspace, breakpoint::thread, and user_breakpoint_p().

Referenced by init_ada_exception_breakpoint(), and init_breakpoint_sal().

## ◆ detach_breakpoints()

int detach_breakpoints | ( | ptid_t | ptid | ) |

Definition at line 3645 of file breakpoint.c.

References _, ALL_BP_LOCATIONS, bp_loc_other, current_inferior(), DETACH_BREAKPOINT, error(), inferior_ptid, bp_location::inserted, bp_location::loc_type, make_scoped_restore(), bp_location::pspace, ptid_get_pid(), and remove_breakpoint_1().

Referenced by handle_inferior_event_1(), and linux_handle_extended_wait().

## ◆ disable_breakpoint()

void disable_breakpoint | ( | struct breakpoint * | bpt | ) |

Definition at line 14330 of file breakpoint.c.

References bp_disabled, bp_watchpoint_scope, current_trace_status(), breakpoint::enable_state, is_tracepoint(), breakpoint::loc, mark_breakpoint_modified(), bp_location::next, observer_notify_breakpoint_modified(), target_disable_tracepoint, target_supports_enable_disable_tracepoint, breakpoint::type, UGLL_DONT_INSERT, and update_global_location_list().

Referenced by bpfinishpy_post_stop_hook(), bppy_set_enabled(), enable_disable_command(), gdbscm_set_breakpoint_enabled_x(), and svr4_update_solib_event_breakpoint().

## ◆ disable_breakpoints_before_startup()

void disable_breakpoints_before_startup | ( | void |  | ) |

Definition at line 8507 of file breakpoint.c.

References current_program_space, program_space::executing_startup, UGLL_DONT_INSERT, and update_global_location_list().

Referenced by spu_solib_create_inferior_hook().

## ◆ disable_breakpoints_in_freed_objfile()

static void disable_breakpoints_in_freed_objfile | ( | struct objfile * | objfile | ) |
| static

Definition at line 7666 of file breakpoint.c.

References ALL_BREAKPOINTS, bp_loc_hardware_breakpoint, bp_loc_software_breakpoint, objfile::flags, is_addr_in_objfile(), is_breakpoint(), is_tracepoint(), breakpoint::loc, loc, mark_breakpoint_location_modified(), OBJF_SHARED, OBJF_USERLOADED, observer_notify_breakpoint_modified(), and objfile::pspace.

Referenced by _initialize_breakpoint().

## ◆ disable_breakpoints_in_shlibs()

void disable_breakpoints_in_shlibs | ( | void |  | ) |

Definition at line 7587 of file breakpoint.c.

References bp_location::address, ALL_BP_LOCATIONS, bp_breakpoint, bp_hardware_breakpoint, bp_jit_event, current_program_space, is_tracepoint(), breakpoint::loc, loc, bp_location::owner, bp_location::pspace, bp_location::shlib_disabled, solib_name_from_address(), and breakpoint::type.

Referenced by clear_solib(), and do_initial_windows_stuff().

## ◆ disable_breakpoints_in_unloaded_shlib()

static void disable_breakpoints_in_unloaded_shlib | ( | struct so_list * | solib | ) |
| static

Definition at line 7620 of file breakpoint.c.

References _, bp_location::address, ALL_BP_LOCATIONS, bp_breakpoint, bp_hardware_breakpoint, bp_jit_event, bp_loc_hardware_breakpoint, bp_loc_software_breakpoint, bp_location::inserted, is_tracepoint(), breakpoint::loc, loc, bp_location::loc_type, observer_notify_breakpoint_modified(), target_terminal::ours_for_output(), bp_location::owner, so_list::pspace, bp_location::pspace, bp_location::shlib_disabled, so_list::so_name, solib_contains_address_p(), breakpoint::type, and warning().

Referenced by _initialize_breakpoint().

## ◆ disable_command()

static void disable_command | ( | const char * | args,
|  | int | from_tty
| ) |  |
| static

Definition at line 14415 of file breakpoint.c.

References enable_disable_command().

Referenced by _initialize_breakpoint(), and disable_trace_command().

## ◆ disable_overlay_breakpoints()

void disable_overlay_breakpoints | ( | void |  | ) |

Definition at line 7434 of file breakpoint.c.

References ALL_BREAKPOINTS, bp_disabled, bp_overlay_event, breakpoint::enable_state, overlay_events_enabled, breakpoint::type, UGLL_DONT_INSERT, and update_global_location_list().

Referenced by overlay_manual_command(), and overlay_off_command().

## ◆ disable_trace_command()

static void disable_trace_command | ( | const char * | args,
|  | int | from_tty
| ) |  |
| static

Definition at line 14909 of file breakpoint.c.

References disable_command().

Referenced by _initialize_breakpoint().

## ◆ disable_watchpoints_before_interactive_call_start()

void disable_watchpoints_before_interactive_call_start | ( | void |  | ) |

Definition at line 8477 of file breakpoint.c.

References ALL_BREAKPOINTS, bp_call_disabled, breakpoint_enabled(), breakpoint::enable_state, is_watchpoint(), UGLL_DONT_INSERT, and update_global_location_list().

Referenced by run_inferior_call().

## ◆ download_tracepoint_locations()

static void download_tracepoint_locations | ( | void |  | ) |
| static

Definition at line 11719 of file breakpoint.c.

References ALL_TRACEPOINTS, bp_fast_tracepoint, bp_location::inserted, breakpoint::loc, may_insert_fast_tracepoints, may_insert_tracepoints, bp_location::next, breakpoint::number, tracepoint::number_on_target, observer_notify_breakpoint_modified(), bp_location::pspace, should_be_inserted(), switch_to_program_space_and_thread(), target_can_download_tracepoint, target_download_tracepoint, TRIBOOL_FALSE, TRIBOOL_TRUE, TRIBOOL_UNKNOWN, and breakpoint::type.

Referenced by update_global_location_list().

## ◆ dprintf_after_condition_true()

static void dprintf_after_condition_true | ( | struct bpstats * | bs | ) |
| static

Definition at line 13098 of file breakpoint.c.

References bpstat_do_actions_1(), bpstats::commands, and bpstats::stop.

Referenced by initialize_breakpoint_ops().

## ◆ dprintf_breakpoint_hit()

static int dprintf_breakpoint_hit | ( | const struct bp_location * | bl,
|  | const address_space * | aspace,
|  | CORE_ADDR | bp_addr,
|  | const struct target_waitstatus * | ws
| ) |  |
| static

Definition at line 12559 of file breakpoint.c.

References bkpt_breakpoint_hit(), dprintf_style, dprintf_style_agent, and target_can_run_breakpoint_commands.

Referenced by initialize_breakpoint_ops().

## ◆ dprintf_command()

static void dprintf_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 9698 of file breakpoint.c.

References _, bp_dprintf, create_breakpoint(), current_language, dprintf_breakpoint_ops, error(), get_current_arch(), pending_break_support, and string_to_event_location().

Referenced by _initialize_breakpoint().

## ◆ dprintf_print_recreate()

static void dprintf_print_recreate | ( | struct breakpoint * | tp,
|  | struct ui_file * | fp
| ) |  |
| static

Definition at line 13080 of file breakpoint.c.

References event_location_to_string(), breakpoint::extra_string, fprintf_unfiltered(), breakpoint::location, and print_recreate_thread().

Referenced by initialize_breakpoint_ops().

## ◆ dprintf_re_set()

static void dprintf_re_set | ( | struct breakpoint * | b | ) |
| static

Definition at line 13056 of file breakpoint.c.

References breakpoint_re_set_default(), breakpoint::extra_string, gdb_assert, and update_dprintf_command_list().

Referenced by initialize_breakpoint_ops().

## ◆ enable_breakpoint()

void enable_breakpoint | ( | struct breakpoint * | bpt | ) |

Definition at line 14485 of file breakpoint.c.

References breakpoint::disposition, and enable_breakpoint_disp().

Referenced by bppy_set_enabled(), enable_disable_command(), gdbscm_set_breakpoint_enabled_x(), and svr4_update_solib_event_breakpoint().

## ◆ enable_breakpoint_disp()

static void enable_breakpoint_disp | ( | struct breakpoint * | bpt,
|  | enum bpdisp | disposition,
|  | int | count
| ) |  |
| static

Definition at line 14421 of file breakpoint.c.

References _, bp_disabled, bp_enabled, bp_hardware_breakpoint, CATCH, current_trace_status(), breakpoint::disposition, breakpoint::enable_count, breakpoint::enable_state, END_CATCH, error(), exception_fprintf(), gdb_stderr, hw_breakpoint_used_count(), is_tracepoint(), is_watchpoint(), breakpoint::loc, mark_breakpoint_modified(), bp_location::next, breakpoint::number, observer_notify_breakpoint_modified(), RETURN_MASK_ALL, target_can_use_hardware_watchpoint, target_enable_tracepoint, target_supports_enable_disable_tracepoint, TRY, breakpoint::type, UGLL_MAY_INSERT, update_global_location_list(), and update_watchpoint().

Referenced by enable_breakpoint(), enable_count_command(), enable_delete_command(), and enable_once_command().

## ◆ enable_breakpoints_after_startup()

void enable_breakpoints_after_startup | ( | void |  | ) |

Definition at line 8514 of file breakpoint.c.

References breakpoint_re_set(), current_program_space, and program_space::executing_startup.

Referenced by spu_current_sos().

## ◆ enable_command()

static void enable_command | ( | const char * | args,
|  | int | from_tty
| ) |  |
| static

Definition at line 14496 of file breakpoint.c.

References enable_disable_command().

Referenced by _initialize_breakpoint(), and enable_trace_command().

## ◆ enable_count_command()

static void enable_count_command | ( | const char * | args,
|  | int | from_tty
| ) |  |
| static

Definition at line 14516 of file breakpoint.c.

References _, disp_disable, enable_breakpoint_disp(), error_no_arg(), get_number(), iterate_over_related_breakpoints(), and map_breakpoint_numbers().

Referenced by _initialize_breakpoint().

## ◆ enable_delete_command()

static void enable_delete_command | ( | const char * | args,
|  | int | from_tty
| ) |  |
| static

Definition at line 14537 of file breakpoint.c.

References disp_del, enable_breakpoint_disp(), iterate_over_related_breakpoints(), and map_breakpoint_numbers().

Referenced by _initialize_breakpoint().

## ◆ enable_disable_bp_num_loc()

static void enable_disable_bp_num_loc | ( | int | bp_num,
|  | int | loc_num,
|  | bool | enable
| ) |  |
| static

Definition at line 14292 of file breakpoint.c.

References current_trace_status(), enable, find_location_by_number(), is_tracepoint(), loc, mark_breakpoint_location_modified(), target_disable_tracepoint, target_supports_enable_disable_tracepoint, UGLL_DONT_INSERT, and update_global_location_list().

Referenced by enable_disable_breakpoint_location_range().

## ◆ enable_disable_breakpoint_location_range()

static void enable_disable_breakpoint_location_range | ( | int | bp_num,
|  | std::pair< int, int > & | bp_loc_range,
|  | bool | enable
| ) |  |
| static

Definition at line 14317 of file breakpoint.c.

References enable, and enable_disable_bp_num_loc().

Referenced by enable_disable_command().

## ◆ enable_disable_command()

static void enable_disable_command | ( | const char * | args,
|  | int | from_tty,
|  | bool | enable
| ) |  |
| static

Definition at line 14363 of file breakpoint.c.

References ALL_BREAKPOINTS, disable_breakpoint(), enable, enable_breakpoint(), enable_disable_breakpoint_location_range(), extract_arg(), extract_bp_number_and_location(), map_breakpoint_number_range(), string, and user_breakpoint_p().

Referenced by disable_command(), and enable_command().

## ◆ enable_once_command()

static void enable_once_command | ( | const char * | args,
|  | int | from_tty
| ) |  |
| static

Definition at line 14502 of file breakpoint.c.

References disp_disable, enable_breakpoint_disp(), iterate_over_related_breakpoints(), and map_breakpoint_numbers().

Referenced by _initialize_breakpoint().

## ◆ enable_overlay_breakpoints()

void enable_overlay_breakpoints | ( | void |  | ) |

Definition at line 7420 of file breakpoint.c.

References ALL_BREAKPOINTS, bp_enabled, bp_overlay_event, breakpoint::enable_state, overlay_events_enabled, breakpoint::type, UGLL_MAY_INSERT, and update_global_location_list().

Referenced by overlay_auto_command().

## ◆ enable_trace_command()

static void enable_trace_command | ( | const char * | args,
|  | int | from_tty
| ) |  |
| static

Definition at line 14901 of file breakpoint.c.

References enable_command().

Referenced by _initialize_breakpoint().

## ◆ enable_watchpoints_after_interactive_call_stop()

void enable_watchpoints_after_interactive_call_stop | ( | void |  | ) |

Definition at line 8492 of file breakpoint.c.

References ALL_BREAKPOINTS, bp_call_disabled, bp_enabled, breakpoint::enable_state, is_watchpoint(), UGLL_MAY_INSERT, and update_global_location_list().

Referenced by run_inferior_call().

## ◆ ep_parse_optional_if_clause()

const char* ep_parse_optional_if_clause | ( | const char ** | arg | ) |

Definition at line 11279 of file breakpoint.c.

References skip_spaces().

Referenced by catch_exception_command_1(), catch_exec_command_1(), and catch_fork_command_1().

## ◆ explains_signal_watchpoint()

static int explains_signal_watchpoint | ( | struct breakpoint * | b,
|  | enum gdb_signal | sig
| ) |  |
| static

Definition at line 10407 of file breakpoint.c.

References bp_watchpoint, and breakpoint::type.

Referenced by initialize_breakpoint_ops().

## ◆ extract_bitfield_from_watchpoint_value()

static struct value* extract_bitfield_from_watchpoint_value | ( | struct watchpoint * | w,
|  | struct value * | val
| ) |  |
| static

Definition at line 1578 of file breakpoint.c.

References allocate_value(), unpack_value_bitfield(), watchpoint::val_bitpos, watchpoint::val_bitsize, value_contents_for_printing(), value_offset(), and value_type().

Referenced by update_watchpoint(), and watchpoint_check().

## ◆ extract_bp_num()

static int extract_bp_num | ( | extract_bp_kind | kind,
|  | const char * | start,
|  | int | trailer,
|  | const char ** | end_out = `NULL`
| ) |  |
| static

Definition at line 14180 of file breakpoint.c.

References _, bp, error(), and get_number_trailer().

Referenced by extract_bp_number_and_location(), and extract_bp_or_bp_range().

## ◆ extract_bp_number_and_location()

static void extract_bp_number_and_location | ( | const std::string & | arg,
|  | std::pair< int, int > & | bp_num_range,
|  | std::pair< int, int > & | bp_loc_range
| ) |  |
| static

Definition at line 14258 of file breakpoint.c.

References _, bp, error(), extract_bp_num(), extract_bp_or_bp_range(), and loc.

Referenced by enable_disable_command().

## ◆ extract_bp_or_bp_range()

static std::pair<int, int> extract_bp_or_bp_range | ( | extract_bp_kind | kind,
|  | const std::string & | arg,
|  | std::string::size_type | arg_offset
| ) |  |
| static

Definition at line 14207 of file breakpoint.c.

References _, bp, error(), extract_bp_num(), and range.

Referenced by extract_bp_number_and_location().

## ◆ find_breakpoint_range_end()

static CORE_ADDR find_breakpoint_range_end | ( | struct symtab_and_line | sal | ) |
| static

Definition at line 9886 of file breakpoint.c.

References _, error(), symtab_and_line::explicit_pc, find_line_pc_range(), and symtab_and_line::pc.

Referenced by break_range_command(), and update_breakpoint_locations().

## ◆ find_condition_and_thread()

static void find_condition_and_thread | ( | const char * | tok,
|  | CORE_ADDR | pc,
|  | char ** | cond_string,
|  | int * | thread,
|  | int * | task,
|  | char ** | rest
| ) |  |
| static

Definition at line 9212 of file breakpoint.c.

References _, block_for_pc(), error(), thread_info::global_num, parse_exp_1(), parse_thread_id(), savestring(), skip_spaces(), skip_to_space(), and valid_task_id().

Referenced by create_breakpoint(), and location_to_sals().

## ◆ find_location_by_number()

static struct bp_location* find_location_by_number | ( | int | bp_num,
|  | int | loc_num
| ) |  |
| static

Definition at line 14139 of file breakpoint.c.

References _, ALL_BREAKPOINTS, error(), breakpoint::loc, bp_location::next, and breakpoint::number.

Referenced by enable_disable_bp_num_loc().

## ◆ force_breakpoint_reinsertion()

static void force_breakpoint_reinsertion | ( | struct bp_location * | bl | ) |
| static

Definition at line 11802 of file breakpoint.c.

References bp_location::address, ALL_BP_LOCATIONS_AT_ADDR, condition_updated, gdb_evaluates_breakpoint_condition_p(), is_breakpoint(), loc, program_space::num, bp_location::pspace, and target_supports_evaluation_of_breakpoint_conditions.

Referenced by update_global_location_list().

## ◆ free_bp_location()

static void free_bp_location | ( | struct bp_location * | loc | ) |
| static

Definition at line 7092 of file breakpoint.c.

References loc.

Referenced by decref_bp_location().

## ◆ free_breakpoint_objfile_data()

static void free_breakpoint_objfile_data | ( | struct objfile * | obj,
|  | void * | data
| ) |  |
| static

Definition at line 3204 of file breakpoint.c.

Referenced by _initialize_breakpoint().

## ◆ ftrace_command()

static void ftrace_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 14716 of file breakpoint.c.

References bp_fast_tracepoint, create_breakpoint(), current_language, get_current_arch(), pending_break_support, string_to_event_location(), and tracepoint_breakpoint_ops.

Referenced by _initialize_breakpoint().

## ◆ gdb_evaluates_breakpoint_condition_p()

static int gdb_evaluates_breakpoint_condition_p | ( | void |  | ) |
| static

Definition at line 475 of file breakpoint.c.

References breakpoint_condition_evaluation_mode(), and condition_evaluation_host.

Referenced by bp_condition_evaluator(), bp_location_condition_evaluator(), build_target_condition_list(), force_breakpoint_reinsertion(), mark_breakpoint_location_modified(), and mark_breakpoint_modified().

## ◆ get_breakpoint()

struct breakpoint* get_breakpoint | ( | int | num | ) |

Definition at line 652 of file breakpoint.c.

References ALL_BREAKPOINTS, and breakpoint::number.

Referenced by bpscm_breakpoint_deleted(), gdbpy_breakpoint_deleted(), gdbpy_breakpoint_modified(), and mi_cmd_break_commands().

## ◆ get_breakpoint_objfile_data()

static struct breakpoint_objfile_data* get_breakpoint_objfile_data | ( | struct objfile * | objfile | ) |
| static

Definition at line 3189 of file breakpoint.c.

References breakpoint_objfile_key.

Referenced by create_exception_master_breakpoint(), create_longjmp_master_breakpoint(), create_overlay_event_breakpoint(), and create_std_terminate_master_breakpoint().

## ◆ get_first_locp_gte_addr()

static struct bp_location ** get_first_locp_gte_addr | ( | CORE_ADDR | address | ) |
| static

Definition at line 809 of file breakpoint.c.

References bp_location::address, bp_locations, bp_locations_compare_addrs(), and bp_locations_count.

## ◆ get_sal_arch()

struct gdbarch* get_sal_arch | ( | struct symtab_and_line | sal | ) |

Definition at line 7227 of file breakpoint.c.

References get_objfile_arch(), obj_section::objfile, symtab_and_line::section, symtab_and_line::symtab, and SYMTAB_OBJFILE.

Referenced by add_location_to_breakpoint(), check_fast_tracepoint_sals(), init_ada_exception_breakpoint(), and init_breakpoint_sal().

## ◆ get_tracepoint()

struct tracepoint* get_tracepoint | ( | int | num | ) |

Definition at line 15018 of file breakpoint.c.

References ALL_TRACEPOINTS, and breakpoint::number.

Referenced by create_tracepoint_from_upload(), get_traceframe_location(), mi_cmd_break_passcount(), tfile_trace_find(), tfind_tracepoint_command(), and tracefile_fetch_registers().

## ◆ get_tracepoint_by_number()

struct tracepoint* get_tracepoint_by_number | ( | const char ** | arg,
|  | number_or_range_parser * | parser
| ) |  |

Definition at line 15055 of file breakpoint.c.

References _, ALL_TRACEPOINTS, number_or_range_parser::finished(), gdb_assert, number_or_range_parser::get_number(), get_number(), breakpoint::number, printf_filtered(), and printf_unfiltered().

Referenced by actions_command(), and trace_pass_command().

## ◆ get_tracepoint_by_number_on_target()

struct tracepoint* get_tracepoint_by_number_on_target | ( | int | num | ) |

Definition at line 15034 of file breakpoint.c.

References ALL_TRACEPOINTS, and tracepoint::number_on_target.

Referenced by tfile_get_traceframe_address(), and tfind_1().

## ◆ handle_jit_event()

static void handle_jit_event | ( | void |  | ) |
| static

Definition at line 5538 of file breakpoint.c.

References debug_infrun, fprintf_unfiltered(), gdb_stdlog, get_current_frame(), get_frame_arch(), target_terminal::inferior(), jit_event_handler(), and target_terminal::ours_for_output().

Referenced by bpstat_run_callbacks().

## ◆ hardware_breakpoint_inserted_here_p()

int hardware_breakpoint_inserted_here_p | ( | const address_space * | aspace,
|  | CORE_ADDR | pc
| ) |  |

Definition at line 4136 of file breakpoint.c.

References ALL_BP_LOCATIONS_AT_ADDR, bp_loc_hardware_breakpoint, bp_location_inserted_here_p(), and bp_location::loc_type.

Referenced by record_check_stopped_by_breakpoint(), save_stop_reason(), and save_waitstatus().

## ◆ hardware_watchpoint_inserted_in_range()

int hardware_watchpoint_inserted_in_range | ( | const address_space * | aspace,
|  | CORE_ADDR | addr,
|  | ULONGEST | len
| ) |  |

Definition at line 4156 of file breakpoint.c.

References ALL_BREAKPOINTS, bp_access_watchpoint, bp_hardware_watchpoint, breakpoint_enabled(), breakpoint::loc, loc, and breakpoint::type.

Referenced by record_full_exec_insn().

## ◆ hbreak_command()

static void hbreak_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 9608 of file breakpoint.c.

References BP_HARDWAREFLAG, and break_command_1().

Referenced by _initialize_breakpoint(), and break_range_command().

## ◆ hoist_existing_locations()

static struct bp_location* hoist_existing_locations | ( | struct breakpoint * | b,
|  | struct program_space * | pspace
| ) |  |
| static

Definition at line 13606 of file breakpoint.c.

References breakpoint::loc, bp_location::next, and bp_location::pspace.

Referenced by update_breakpoint_locations().

## ◆ hw_breakpoint_used_count()

static int hw_breakpoint_used_count | ( | void |  | ) |
| static

Definition at line 8405 of file breakpoint.c.

References ALL_BREAKPOINTS, bp_hardware_breakpoint, breakpoint_enabled(), breakpoint::loc, bp_location::next, breakpoint::ops, breakpoint_ops::resources_needed, and breakpoint::type.

Referenced by break_range_command(), enable_breakpoint_disp(), and init_breakpoint_sal().

## ◆ hw_watchpoint_use_count()

static int hw_watchpoint_use_count | ( | struct breakpoint * | b | ) |
| static

Definition at line 8429 of file breakpoint.c.

References breakpoint_enabled(), breakpoint::loc, bp_location::next, breakpoint::ops, and breakpoint_ops::resources_needed.

Referenced by hw_watchpoint_used_count_others(), and update_watchpoint().

## ◆ hw_watchpoint_used_count_others()

static int hw_watchpoint_used_count_others | ( | struct breakpoint * | except,
|  | enum bptype | type,
|  | int * | other_type_used
| ) |  |
| static

Definition at line 8453 of file breakpoint.c.

References ALL_BREAKPOINTS, breakpoint_enabled(), hw_watchpoint_use_count(), is_hardware_watchpoint(), and breakpoint::type.

Referenced by update_watchpoint().

## ◆ ignore_command()

static void ignore_command | ( | const char * | args,
|  | int | from_tty
| ) |  |
| static

Definition at line 14061 of file breakpoint.c.

References _, error(), error_no_arg(), get_number(), longest_to_int(), parse_and_eval(), printf_filtered(), set_ignore_count(), and value_as_long().

Referenced by _initialize_breakpoint().

## ◆ incref_bp_location()

static void incref_bp_location | ( | struct bp_location * | loc | ) |
| static

Definition at line 7101 of file breakpoint.c.

References bp_location::refc.

Referenced by bpstats::bpstats().

## ◆ info_breakpoints_command()

static void info_breakpoints_command | ( | const char * | args,
|  | int | from_tty
| ) |  |
| static

Definition at line 6676 of file breakpoint.c.

References breakpoint_1(), and default_collect_info().

Referenced by _initialize_breakpoint().

## ◆ info_tracepoints_command()

static void info_tracepoints_command | ( | const char * | args,
|  | int | from_tty
| ) |  |
| static

Definition at line 14880 of file breakpoint.c.

References breakpoint_1(), current_uiout, default_collect_info(), is_tracepoint(), and ui_out::message().

Referenced by _initialize_breakpoint().

## ◆ info_watchpoints_command()

static void info_watchpoints_command | ( | const char * | args,
|  | int | from_tty
| ) |  |
| static

Definition at line 6684 of file breakpoint.c.

References breakpoint_1(), current_uiout, is_watchpoint(), and ui_out::message().

Referenced by _initialize_breakpoint().

## ◆ init_ada_exception_breakpoint()

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
| ) |  |

Definition at line 11391 of file breakpoint.c.

References bp_breakpoint, bp_disabled, bp_enabled, describe_other_breakpoints(), disp_del, disp_donttouch, breakpoint::disposition, breakpoint::enable_state, get_sal_arch(), init_raw_breakpoint(), breakpoint::language, language_ada, language_def(), breakpoint::location, symtab_and_line::pc, symtab_and_line::pspace, symtab_and_line::section, and string_to_event_location().

Referenced by create_ada_exception_catchpoint().

## ◆ init_breakpoint_sal()

static void init_breakpoint_sal | ( | struct breakpoint * | b,
|  | struct gdbarch * | gdbarch,
|  | gdb::array_view< const symtab_and_line > | sals,
|  | event_location_up && | location,
|  | gdb::unique_xmalloc_ptr< char > | filter,
|  | gdb::unique_xmalloc_ptr< char > | cond_string,
|  | gdb::unique_xmalloc_ptr< char > | extra_string,
|  | enum bptype | type,
|  | enum bpdisp | disposition,
|  | int | thread,
|  | int | task,
|  | int | ignore_count,
|  | const struct breakpoint_ops * | ops,
|  | int | from_tty,
|  | int | enabled,
|  | int | internal,
|  | unsigned | flags,
|  | int | display_canonical
| ) |  |
| static

Definition at line 8855 of file breakpoint.c.

References _, add_location_to_breakpoint(), bp_location::address, block_for_pc(), bp_disabled, bp_dprintf, bp_enabled, bp_hardware_breakpoint, bp_static_tracepoint, breakpoint::cond_string, CREATE_BREAKPOINT_FLAGS_INSERTED, describe_other_breakpoints(), breakpoint::display_canonical, breakpoint::disposition, gdb::array_view< T >::empty(), breakpoint::enable_state, error(), event_location_to_string(), breakpoint::extra_string, breakpoint::filter, flags, gdb_assert, get_sal_arch(), hw_breakpoint_used_count(), breakpoint::ignore_count, init_raw_breakpoint(), bp_location::inserted, breakpoint::loc, loc, breakpoint::location, new_address_location(), parse_exp_1(), printf_filtered(), release_static_tracepoint_marker(), savestring(), skip_spaces(), skip_to_space(), tracepoint::static_trace_marker_id, static_tracepoint_marker::str_id, strace_marker_p(), target_can_use_hardware_watchpoint, target_static_tracepoint_marker_at, breakpoint::task, breakpoint::thread, update_dprintf_command_list(), and warning().

Referenced by create_breakpoint_sal(), and strace_marker_create_breakpoints_sal().

## ◆ init_catchpoint()

void init_catchpoint | ( | struct breakpoint * | b,
|  | struct gdbarch * | gdbarch,
|  | int | tempflag,
|  | const char * | cond_string,
|  | const struct breakpoint_ops * | ops
| ) |  |

Definition at line 8241 of file breakpoint.c.

References bp_catchpoint, breakpoint::cond_string, current_program_space, disp_del, disp_donttouch, breakpoint::disposition, init_raw_breakpoint(), and symtab_and_line::pspace.

Referenced by add_solib_catchpoint(), catch_exec_command_1(), create_fork_vfork_event_catchpoint(), create_signal_catchpoint(), create_syscall_event_catchpoint(), and handle_gnu_v3_exceptions().

## ◆ init_raw_breakpoint()

static void init_raw_breakpoint | ( | struct breakpoint * | b,
|  | struct gdbarch * | gdbarch,
|  | struct symtab_and_line | sal,
|  | enum bptype | bptype,
|  | const struct breakpoint_ops * | ops
| ) |  |
| static

Definition at line 7246 of file breakpoint.c.

References add_location_to_breakpoint(), bp_breakpoint, bp_catchpoint, bp_hardware_breakpoint, gdb_assert, init_raw_breakpoint_without_location(), breakpoint::pspace, and symtab_and_line::pspace.

Referenced by init_ada_exception_breakpoint(), init_breakpoint_sal(), init_catchpoint(), and set_raw_breakpoint().

## ◆ init_raw_breakpoint_without_location()

static void init_raw_breakpoint_without_location | ( | struct breakpoint * | b,
|  | struct gdbarch * | gdbarch,
|  | enum bptype | bptype,
|  | const struct breakpoint_ops * | ops
| ) |  |
| static

Definition at line 7146 of file breakpoint.c.

References current_language, gdb_assert, breakpoint::gdbarch, input_radix, breakpoint::input_radix, language_defn::la_language, breakpoint::language, breakpoint::ops, breakpoint::related_breakpoint, and breakpoint::type.

Referenced by create_breakpoint(), init_raw_breakpoint(), new_single_step_breakpoint(), set_raw_breakpoint_without_location(), and watch_command_1().

## ◆ initialize_breakpoint_ops()

void initialize_breakpoint_ops | ( | void |  | ) |

Definition at line 15414 of file breakpoint.c.

References breakpoint_ops::after_condition_true, base_breakpoint_ops, bkpt_base_breakpoint_ops, bkpt_breakpoint_hit(), bkpt_breakpoint_ops, bkpt_create_breakpoints_sal(), bkpt_create_sals_from_location(), bkpt_decode_location(), bkpt_insert_location(), bkpt_print_it(), bkpt_print_mention(), bkpt_print_recreate(), bkpt_probe_breakpoint_ops, bkpt_probe_create_sals_from_location(), bkpt_probe_decode_location(), bkpt_probe_insert_location(), bkpt_probe_remove_location(), bkpt_re_set(), bkpt_remove_location(), bkpt_resources_needed(), breakpoint_ops::breakpoint_hit, breakpoint_hit_catch_exec(), breakpoint_hit_catch_fork(), breakpoint_hit_catch_solib(), breakpoint_hit_catch_vfork(), breakpoint_hit_ranged_breakpoint(), breakpoint_hit_watchpoint(), catch_exec_breakpoint_ops, catch_fork_breakpoint_ops, catch_solib_breakpoint_ops, catch_vfork_breakpoint_ops, breakpoint_ops::check_status, check_status_catch_solib(), check_status_watchpoint(), breakpoint_ops::create_breakpoints_sal, breakpoint_ops::create_sals_from_location, breakpoint_ops::decode_location, dprintf_after_condition_true(), dprintf_breakpoint_hit(), dprintf_breakpoint_ops, dprintf_print_recreate(), dprintf_re_set(), breakpoint_ops::explains_signal, explains_signal_watchpoint(), insert_catch_exec(), insert_catch_fork(), insert_catch_solib(), insert_catch_vfork(), breakpoint_ops::insert_location, insert_masked_watchpoint(), insert_watchpoint(), internal_bkpt_check_status(), internal_bkpt_print_it(), internal_bkpt_print_mention(), internal_bkpt_re_set(), internal_breakpoint_ops, masked_watchpoint_breakpoint_ops, momentary_bkpt_check_status(), momentary_bkpt_print_it(), momentary_bkpt_print_mention(), momentary_bkpt_re_set(), momentary_breakpoint_ops, breakpoint_ops::print_it, print_it_catch_exec(), print_it_catch_fork(), print_it_catch_solib(), print_it_catch_vfork(), print_it_masked_watchpoint(), print_it_ranged_breakpoint(), print_it_watchpoint(), breakpoint_ops::print_mention, print_mention_catch_exec(), print_mention_catch_fork(), print_mention_catch_solib(), print_mention_catch_vfork(), print_mention_masked_watchpoint(), print_mention_ranged_breakpoint(), print_mention_watchpoint(), breakpoint_ops::print_one, print_one_catch_exec(), print_one_catch_fork(), print_one_catch_solib(), print_one_catch_vfork(), breakpoint_ops::print_one_detail, print_one_detail_masked_watchpoint(), print_one_detail_ranged_breakpoint(), print_one_ranged_breakpoint(), breakpoint_ops::print_recreate, print_recreate_catch_exec(), print_recreate_catch_fork(), print_recreate_catch_solib(), print_recreate_catch_vfork(), print_recreate_masked_watchpoint(), print_recreate_ranged_breakpoint(), print_recreate_watchpoint(), ranged_breakpoint_ops, breakpoint_ops::re_set, re_set_watchpoint(), remove_catch_exec(), remove_catch_fork(), remove_catch_solib(), remove_catch_vfork(), breakpoint_ops::remove_location, remove_masked_watchpoint(), remove_watchpoint(), breakpoint_ops::resources_needed, resources_needed_masked_watchpoint(), resources_needed_ranged_breakpoint(), resources_needed_watchpoint(), strace_marker_breakpoint_ops, strace_marker_create_breakpoints_sal(), strace_marker_create_sals_from_location(), strace_marker_decode_location(), tracepoint_breakpoint_hit(), tracepoint_breakpoint_ops, tracepoint_create_breakpoints_sal(), tracepoint_create_sals_from_location(), tracepoint_decode_location(), tracepoint_print_mention(), tracepoint_print_one_detail(), tracepoint_print_recreate(), tracepoint_probe_breakpoint_ops, tracepoint_probe_create_sals_from_location(), tracepoint_probe_decode_location(), tracepoint_re_set(), watchpoint_breakpoint_ops, breakpoint_ops::works_in_software_mode, works_in_software_mode_masked_watchpoint(), and works_in_software_mode_watchpoint().

Referenced by _initialize_breakpoint(), initialize_ada_catchpoint_ops(), initialize_signal_catchpoint_ops(), initialize_syscall_catchpoint_ops(), and initialize_throw_catchpoint_ops().

## ◆ insert_bp_location()

static int insert_bp_location | ( | struct bp_location * | bl,
|  | struct ui_file * | tmp_error_stream,
|  | int * | disabled_breaks,
|  | int * | hw_breakpoint_error,
|  | int * | hw_bp_error_explained_already
| ) |  |
| static

Definition at line 2440 of file breakpoint.c.

References _, bp_location::address, ALL_BP_LOCATIONS, program_space::aspace, mem_region::attrib, automatic_hardware_breakpoints, bp_catchpoint, bp_disabled, bp_hardware_breakpoint, bp_loc_hardware_breakpoint, bp_loc_hardware_watchpoint, bp_loc_software_breakpoint, breakpoint_kind(), build_target_command_list(), build_target_condition_list(), CATCH, disp_del_at_next_stop, breakpoint::disposition, bp_location::duplicate, breakpoint::enable_state, END_CATCH, gdb_exception::error, exception_none, fprintf_filtered(), fprintf_unfiltered(), gdb_assert, gdb_stdout, bp_location::gdbarch, GENERIC_ERROR, hw_access, hw_read, breakpoint_ops::insert_location, bp_location::inserted, is_breakpoint(), bp_target_info::kind, bp_target_info::length, bp_location::length, loc, bp_location::loc_type, lookup_mem_region(), MEM_RW, MEMORY_ERROR, memory_error_message(), gdb_exception::message, mem_attrib::mode, bp_location::needs_update, new_type(), breakpoint::number, observer_notify_breakpoint_modified(), breakpoint::ops, overlay_debugging, overlay_events_enabled, bp_location::overlay_target_info, overlay_unmapped_address(), ovly_off, bp_location::owner, paddress(), bp_target_info::placed_address, bp_target_info::placed_address_space, bp_location::pspace, gdb_exception::reason, bp_target_info::reqstd_address, RETURN_ERROR, RETURN_MASK_ALL, bp_location::section, section_is_mapped(), section_is_overlay(), shared_objfile_contains_address_p(), bp_location::shlib_disabled, should_be_inserted(), solib_name_from_address(), string, bp_location::target_info, target_insert_breakpoint(), TARGET_XFER_E_IO, TRY, breakpoint::type, warning(), watchpoint_locations_match(), and bp_location::watchpoint_type.

Referenced by insert_breakpoint_locations(), and update_inserted_breakpoint_locations().

## ◆ insert_breakpoint_locations()

static void insert_breakpoint_locations | ( | void |  | ) |
| static

Definition at line 2937 of file breakpoint.c.

References ALL_BP_LOCATIONS, ALL_BREAKPOINTS, breakpoint_enabled(), disp_del_at_next_stop, breakpoint::disposition, error_stream(), gdbarch_has_global_breakpoints(), inferior_ptid, insert_bp_location(), bp_location::inserted, is_hardware_watchpoint(), breakpoint::loc, loc, bp_location::needs_update, null_ptid, breakpoint::number, target_terminal::ours_for_output(), bp_location::owner, ui_file::printf(), bp_location::pspace, ptid_equal(), ui_file::puts(), remove_breakpoint(), should_be_inserted(), switch_to_program_space_and_thread(), target_gdbarch(), breakpoint::thread, and valid_global_thread_id().

Referenced by update_global_location_list().

## ◆ insert_breakpoints()

void insert_breakpoints | ( | void |  | ) |

Definition at line 2845 of file breakpoint.c.

References ALL_BREAKPOINTS, is_hardware_watchpoint(), UGLL_INSERT, update_global_location_list(), and update_watchpoint().

Referenced by arm_linux_copy_svc(), finish_step_over(), follow_exec(), follow_inferior_reset_breakpoints(), gdbsim_create_inferior(), go32_create_inferior(), handle_inferior_event_1(), inferior_call_waitpid(), inferior_call_waitpid_cleanup(), keep_going_pass_signal(), linux_fork_context(), remote_start_remote(), and resume_1().

## ◆ insert_catch_exec()

static int insert_catch_exec | ( | struct bp_location * | bl | ) |
| static

Definition at line 8308 of file breakpoint.c.

References inferior_ptid, ptid_get_pid(), and target_insert_exec_catchpoint.

Referenced by initialize_breakpoint_ops().

## ◆ insert_catch_fork()

static int insert_catch_fork | ( | struct bp_location * | bl | ) |
| static

Definition at line 7752 of file breakpoint.c.

References inferior_ptid, ptid_get_pid(), and target_insert_fork_catchpoint.

Referenced by initialize_breakpoint_ops().

## ◆ insert_catch_solib()

static int insert_catch_solib | ( | struct bp_location * | ignore | ) |
| static

Definition at line 8002 of file breakpoint.c.

Referenced by initialize_breakpoint_ops().

## ◆ insert_catch_vfork()

static int insert_catch_vfork | ( | struct bp_location * | bl | ) |
| static

Definition at line 7868 of file breakpoint.c.

References inferior_ptid, ptid_get_pid(), and target_insert_vfork_catchpoint.

Referenced by initialize_breakpoint_ops().

## ◆ insert_masked_watchpoint()

static int insert_masked_watchpoint | ( | struct bp_location * | bl | ) |
| static

Definition at line 10425 of file breakpoint.c.

References bp_location::address, watchpoint::hw_wp_mask, bp_location::owner, target_insert_mask_watchpoint(), and bp_location::watchpoint_type.

Referenced by initialize_breakpoint_ops().

## ◆ insert_single_step_breakpoint()

void insert_single_step_breakpoint | ( | struct gdbarch * | gdbarch,
|  | const address_space * | aspace,
|  | CORE_ADDR | next_pc
| ) |  |

Definition at line 14597 of file breakpoint.c.

References add_location_to_breakpoint(), thread_info::control, symtab_and_line::explicit_pc, find_pc_line(), find_pc_overlay(), thread_info::global_num, inferior_thread(), new_single_step_breakpoint(), symtab_and_line::pc, symtab_and_line::section, thread_control_state::single_step_breakpoints, UGLL_INSERT, and update_global_location_list().

Referenced by insert_single_step_breakpoints(), keep_going_stepped_thread(), and resume_1().

## ◆ insert_single_step_breakpoints()

int insert_single_step_breakpoints | ( | struct gdbarch * | gdbarch | ) |

Definition at line 14623 of file breakpoint.c.

References frame_info::aspace, gdbarch_software_single_step(), get_current_frame(), get_current_regcache(), get_frame_address_space(), and insert_single_step_breakpoint().

Referenced by maybe_software_singlestep(), record_full_resume(), and record_full_wait_1().

## ◆ insert_watchpoint()

static int insert_watchpoint | ( | struct bp_location * | bl | ) |
| static

Definition at line 10175 of file breakpoint.c.

References bp_location::address, watchpoint::cond_exp, watchpoint::exact, bp_location::length, bp_location::owner, target_insert_watchpoint, and bp_location::watchpoint_type.

Referenced by initialize_breakpoint_ops().

## ◆ install_breakpoint()

void install_breakpoint | ( | int | internal,
|  | std::unique_ptr< breakpoint > && | arg,
|  | int | update_gll
| ) |  |

Definition at line 8256 of file breakpoint.c.

References add_to_breakpoint_chain(), is_tracepoint(), mention(), observer_notify_breakpoint_created(), set_breakpoint_number(), set_tracepoint_count(), UGLL_MAY_INSERT, and update_global_location_list().

Referenced by add_solib_catchpoint(), catch_exec_command_1(), create_ada_exception_catchpoint(), create_breakpoint(), create_breakpoint_sal(), create_fork_vfork_event_catchpoint(), create_signal_catchpoint(), create_syscall_event_catchpoint(), handle_gnu_v3_exceptions(), strace_marker_create_breakpoints_sal(), and watch_command_1().

## ◆ internal_bkpt_check_status()

static void internal_bkpt_check_status | ( | bpstat | bs | ) |
| static

Definition at line 12742 of file breakpoint.c.

References bp_shlib_event, bpstats::breakpoint_at, bpstats::print, bpstats::stop, stop_on_solib_events, and breakpoint::type.

Referenced by initialize_breakpoint_ops().

## ◆ internal_bkpt_print_it()

static enum print_stop_action internal_bkpt_print_it | ( | bpstat | bs | ) |
| static

Definition at line 12758 of file breakpoint.c.

References _, bp_exception_master, bp_longjmp_master, bp_overlay_event, bp_shlib_event, bp_std_terminate_master, bp_thread_event, bpstats::breakpoint_at, PRINT_NOTHING, print_solib_event(), printf_filtered(), and breakpoint::type.

Referenced by initialize_breakpoint_ops().

## ◆ internal_bkpt_print_mention()

static void internal_bkpt_print_mention | ( | struct breakpoint * | b | ) |
| static

Definition at line 12806 of file breakpoint.c.

Referenced by initialize_breakpoint_ops().

## ◆ internal_bkpt_re_set()

static void internal_bkpt_re_set | ( | struct breakpoint * | b | ) |
| static

Definition at line 12717 of file breakpoint.c.

References bp_exception_master, bp_longjmp_master, bp_overlay_event, bp_shlib_event, bp_std_terminate_master, bp_thread_event, delete_breakpoint(), and breakpoint::type.

Referenced by initialize_breakpoint_ops().

## ◆ invalidate_bp_value_on_memory_change()

static void invalidate_bp_value_on_memory_change | ( | struct inferior * | inferior,
|  | CORE_ADDR | addr,
|  | ssize_t | len,
|  | const bfd_byte * | data
| ) |  |
| static

Definition at line 14565 of file breakpoint.c.

References ALL_BREAKPOINTS, bp, bp_enabled, bp_hardware_watchpoint, bp_loc_hardware_watchpoint, loc, watchpoint::val, watchpoint::val_valid, and value_free().

Referenced by _initialize_breakpoint().

## ◆ is_breakpoint()

int is_breakpoint | ( | const struct breakpoint * | bpt | ) |

Definition at line 1512 of file breakpoint.c.

References bp_breakpoint, bp_dprintf, bp_hardware_breakpoint, and breakpoint::type.

Referenced by bp_condition_evaluator(), bp_location_condition_evaluator(), build_target_command_list(), build_target_condition_list(), condition_command(), disable_breakpoints_in_freed_objfile(), force_breakpoint_reinsertion(), insert_bp_location(), mark_breakpoint_location_modified(), mark_breakpoint_modified(), print_breakpoint_location(), print_one_breakpoint_location(), set_condition_evaluation_mode(), update_global_location_list(), and update_inserted_breakpoint_locations().

## ◆ is_catchpoint()

int is_catchpoint | ( | struct breakpoint * | ep | ) |

Definition at line 4192 of file breakpoint.c.

References bp_catchpoint, and breakpoint::type.

Referenced by print_one_breakpoint_location(), and print_solib_event().

## ◆ is_hardware_watchpoint()

static int is_hardware_watchpoint | ( | const struct breakpoint * | bpt | ) |
| static

Definition at line 1522 of file breakpoint.c.

References bp_access_watchpoint, bp_hardware_watchpoint, bp_read_watchpoint, and breakpoint::type.

Referenced by bpstat_stop_status(), breakpoint_hit_watchpoint(), breakpoint_locations_match(), hw_watchpoint_used_count_others(), insert_breakpoint_locations(), insert_breakpoints(), is_watchpoint(), print_one_breakpoint(), update_global_location_list(), and watchpoints_triggered().

## ◆ is_longjmp_type()

static bool is_longjmp_type | ( | bptype | type | ) |
| static

Definition at line 1047 of file breakpoint.c.

References bp_exception, and bp_longjmp.

Referenced by new_breakpoint_from_type().

## ◆ is_masked_watchpoint()

static int is_masked_watchpoint | ( | const struct breakpoint * | b | ) |
| static

Definition at line 10604 of file breakpoint.c.

References masked_watchpoint_breakpoint_ops, and breakpoint::ops.

Referenced by update_watchpoint(), watchpoint_check(), and watchpoints_triggered().

## ◆ is_no_memory_software_watchpoint()

static int is_no_memory_software_watchpoint | ( | struct breakpoint * | b | ) |
| static

Definition at line 1618 of file breakpoint.c.

References bp_location::address, bp_watchpoint, bp_location::length, breakpoint::loc, bp_location::next, and breakpoint::type.

Referenced by breakpoint_address_bits().

## ◆ is_non_inline_function()

static int is_non_inline_function | ( | struct breakpoint * | b | ) |
| static

Definition at line 15365 of file breakpoint.c.

References bp_shlib_event, and breakpoint::type.

Referenced by pc_at_non_inline_function().

## ◆ is_tracepoint()

int is_tracepoint | ( | const struct breakpoint * | b | ) |

Definition at line 1053 of file breakpoint.c.

References is_tracepoint_type(), and breakpoint::type.

Referenced by breakpoint_locations_match(), delete_trace_command(), disable_breakpoint(), disable_breakpoints_in_freed_objfile(), disable_breakpoints_in_shlibs(), disable_breakpoints_in_unloaded_shlib(), enable_breakpoint_disp(), enable_disable_bp_num_loc(), info_tracepoints_command(), install_breakpoint(), mi_cmd_break_commands(), print_one_breakpoint_location(), remove_breakpoints(), save_breakpoints(), save_tracepoints_command(), set_breakpoint_location_function(), set_ignore_count(), swap_insertion(), tracepoint_locations_match(), update_global_location_list(), and validate_commands_for_breakpoint().

## ◆ is_tracepoint_type()

static bool is_tracepoint_type | ( | bptype | type | ) |
| static

Definition at line 1039 of file breakpoint.c.

References bp_fast_tracepoint, bp_static_tracepoint, and bp_tracepoint.

Referenced by is_tracepoint(), and new_breakpoint_from_type().

## ◆ is_watchpoint()

int is_watchpoint | ( | const struct breakpoint * | bpt | ) |

Definition at line 1533 of file breakpoint.c.

References bp_watchpoint, is_hardware_watchpoint(), and breakpoint::type.

Referenced by aarch64_dr_state_insert_one_point(), aarch64_dr_state_remove_one_point(), aarch64_notify_debug_reg_change(), aarch64_point_is_aligned(), bppy_get_expression(), bppy_get_pending(), bpstat_check_breakpoint_conditions(), check_status_watchpoint(), clear_command(), debug_reg_change_callback(), disable_watchpoints_before_interactive_call_start(), enable_breakpoint_disp(), enable_watchpoints_after_interactive_call_stop(), gdbscm_breakpoint_expression(), info_watchpoints_command(), print_one_breakpoint_location(), save_breakpoints(), and set_breakpoint_condition().

## ◆ iterate_over_bp_locations()

void iterate_over_bp_locations | ( | walk_bp_location_callback | callback | ) |

Definition at line 2866 of file breakpoint.c.

References ALL_BP_LOCATIONS, and loc.

Referenced by record_full_init_record_breakpoints().

## ◆ iterate_over_breakpoints()

struct breakpoint* iterate_over_breakpoints | ( | int(*)(struct breakpoint *, void *) | callback,
|  | void * | data
| ) |  |

Definition at line 15347 of file breakpoint.c.

References ALL_BREAKPOINTS_SAFE.

Referenced by bpfinishpy_handle_exit(), bpfinishpy_handle_stop(), gdbpy_breakpoints(), gdbscm_breakpoints(), pop_dummy_frame(), and svr4_update_solib_event_breakpoints().

## ◆ iterate_over_related_breakpoints()

static void iterate_over_related_breakpoints | ( | struct breakpoint * | b,
|  | gdb::function_view< void(breakpoint *)> | function
| ) |  |
| static

Definition at line 13321 of file breakpoint.c.

References breakpoint::next, and breakpoint::related_breakpoint.

Referenced by delete_command(), delete_trace_command(), enable_count_command(), enable_delete_command(), and enable_once_command().

## ◆ location_to_sals()

static std::vector<symtab_and_line> location_to_sals | ( | struct breakpoint * | b,
|  | struct event_location * | location,
|  | struct program_space * | search_pspace,
|  | int * | found
| ) |  |
| static

Definition at line 13761 of file breakpoint.c.

References bp_disabled, bp_static_tracepoint, CATCH, breakpoint::cond_string, breakpoint::condition_not_parsed, breakpoint_ops::decode_location, breakpoint::enable_state, END_CATCH, gdb_exception::error, exception_none, program_space::executing_startup, breakpoint::extra_string, find_condition_and_thread(), gdb_assert, breakpoint::loc, NOT_FOUND_ERROR, breakpoint::ops, bp_location::pspace, gdb_exception::reason, resolve_sal_pc(), RETURN_MASK_ERROR, bp_location::shlib_disabled, strace_marker_p(), breakpoint::task, breakpoint::thread, throw_exception(), TRY, breakpoint::type, update_static_tracepoint(), and xfree().

Referenced by breakpoint_re_set_default().

## ◆ locations_are_equal()

static int locations_are_equal | ( | struct bp_location * | a,
|  | struct bp_location * | b
| ) |  |
| static

Definition at line 13578 of file breakpoint.c.

References bp_location::address, bp_location::enabled, bp_location::next, and bp_location::shlib_disabled.

Referenced by update_breakpoint_locations().

## ◆ maintenance_info_breakpoints()

static void maintenance_info_breakpoints | ( | const char * | args,
|  | int | from_tty
| ) |  |
| static

Definition at line 6699 of file breakpoint.c.

References breakpoint_1(), and default_collect_info().

Referenced by _initialize_breakpoint().

## ◆ map_breakpoint_number_range()

static void map_breakpoint_number_range | ( | std::pair< int, int > | bp_num_range,
|  | gdb::function_view< void(breakpoint *)> | function
| ) |  |
| static

Definition at line 14087 of file breakpoint.c.

References _, ALL_BREAKPOINTS_SAFE, breakpoint::number, printf_unfiltered(), and warning().

Referenced by enable_disable_command(), and map_breakpoint_numbers().

## ◆ map_breakpoint_numbers()

static void map_breakpoint_numbers | ( | const char * | args,
|  | gdb::function_view< void(breakpoint *)> | function
| ) |  |
| static

Definition at line 14120 of file breakpoint.c.

References _, error_no_arg(), number_or_range_parser::finished(), number_or_range_parser::get_number(), and map_breakpoint_number_range().

Referenced by commands_command_1(), delete_command(), delete_trace_command(), enable_count_command(), enable_delete_command(), and enable_once_command().

## ◆ mark_breakpoint_location_modified()

static void mark_breakpoint_location_modified | ( | struct bp_location * | loc | ) |
| static

Definition at line 692 of file breakpoint.c.

References condition_modified, gdb_evaluates_breakpoint_condition_p(), is_breakpoint(), loc, and target_supports_evaluation_of_breakpoint_conditions.

Referenced by bp_location::bp_location(), disable_breakpoints_in_freed_objfile(), enable_disable_bp_num_loc(), and set_condition_evaluation_mode().

## ◆ mark_breakpoint_modified()

static void mark_breakpoint_modified | ( | struct breakpoint * | b | ) |
| static

Definition at line 669 of file breakpoint.c.

References condition_modified, gdb_evaluates_breakpoint_condition_p(), is_breakpoint(), breakpoint::loc, loc, and target_supports_evaluation_of_breakpoint_conditions.

Referenced by disable_breakpoint(), enable_breakpoint_disp(), and set_breakpoint_condition().

## ◆ mark_breakpoints_out()

void mark_breakpoints_out | ( | void |  | ) |

Definition at line 3850 of file breakpoint.c.

References ALL_BP_LOCATIONS, current_program_space, bp_location::inserted, and bp_location::pspace.

Referenced by breakpoint_init_inferior(), follow_exec(), and generic_mourn_inferior().

## ◆ maybe_print_thread_hit_breakpoint()

void maybe_print_thread_hit_breakpoint | ( | struct ui_out * | uiout | ) |

Definition at line 4532 of file breakpoint.c.

References ui_out::field_fmt(), inferior_thread(), ui_out::is_mi_like_p(), name, thread_info::name, print_thread_id(), show_thread_that_caused_stop(), target_thread_name(), and ui_out::text().

Referenced by bkpt_print_it(), print_it_catch_exec(), print_it_catch_fork(), print_it_catch_solib(), print_it_catch_syscall(), print_it_catch_vfork(), print_it_exception_catchpoint(), print_it_masked_watchpoint(), print_it_ranged_breakpoint(), print_it_watchpoint(), and signal_catchpoint_print_it().

## ◆ mention()

static void mention | ( | struct breakpoint * | b | ) |
| static

Definition at line 8638 of file breakpoint.c.

References current_uiout, breakpoint::ops, breakpoint_ops::print_mention, and printf_filtered().

Referenced by break_range_command(), install_breakpoint(), print_it_masked_watchpoint(), and print_it_watchpoint().

## ◆ momentary_bkpt_check_status()

static void momentary_bkpt_check_status | ( | bpstat | bs | ) |
| static

Definition at line 12823 of file breakpoint.c.

Referenced by initialize_breakpoint_ops().

## ◆ momentary_bkpt_print_it()

static enum print_stop_action momentary_bkpt_print_it | ( | bpstat | bs | ) |
| static

Definition at line 12829 of file breakpoint.c.

References PRINT_UNKNOWN.

Referenced by initialize_breakpoint_ops().

## ◆ momentary_bkpt_print_mention()

static void momentary_bkpt_print_mention | ( | struct breakpoint * | b | ) |
| static

Definition at line 12835 of file breakpoint.c.

Referenced by initialize_breakpoint_ops().

## ◆ momentary_bkpt_re_set()

static void momentary_bkpt_re_set | ( | struct breakpoint * | b | ) |
| static

Definition at line 12814 of file breakpoint.c.

Referenced by initialize_breakpoint_ops().

## ◆ momentary_breakpoint_from_master()

static struct breakpoint * momentary_breakpoint_from_master | ( | struct breakpoint * | orig,
|  | enum bptype | type,
|  | const struct breakpoint_ops * | ops,
|  | int | loc_enabled
| ) |  |
| static

Definition at line 8575 of file breakpoint.c.

References bp_location::address, allocate_bp_location(), bp_enabled, disp_donttouch, breakpoint::disposition, breakpoint::enable_state, bp_location::enabled, breakpoint::frame_id, bp_location::gdbarch, breakpoint::gdbarch, internal_breakpoint_number, bp_location::line_number, breakpoint::loc, breakpoint::number, breakpoint::ops, bp_location::probe, bp_location::pspace, breakpoint::pspace, bp_location::requested_address, bp_location::section, set_breakpoint_location_function(), set_raw_breakpoint_without_location(), bp_location::symtab, breakpoint::thread, UGLL_DONT_INSERT, and update_global_location_list_nothrow().

Referenced by clone_momentary_breakpoint(), set_longjmp_breakpoint(), set_longjmp_breakpoint_for_call_dummy(), and set_std_terminate_breakpoint().

## ◆ moribund_breakpoint_here_p()

int moribund_breakpoint_here_p | ( | const address_space * | aspace,
|  | CORE_ADDR | pc
| ) |  |

Definition at line 4056 of file breakpoint.c.

References breakpoint_location_address_match(), loc, and VEC_iterate.

Referenced by adjust_pc_after_break().

## ◆ msym_not_found_p()

static int msym_not_found_p | ( | const struct minimal_symbol * | msym | ) |
| static

Definition at line 3180 of file breakpoint.c.

References msym_not_found.

Referenced by create_exception_master_breakpoint(), create_longjmp_master_breakpoint(), create_overlay_event_breakpoint(), and create_std_terminate_master_breakpoint().

## ◆ need_moribund_for_location_type()

static int need_moribund_for_location_type | ( | struct bp_location * | loc | ) |
| static

Definition at line 5337 of file breakpoint.c.

References bp_loc_hardware_breakpoint, bp_loc_software_breakpoint, loc, target_supports_stopped_by_hw_breakpoint, and target_supports_stopped_by_sw_breakpoint.

Referenced by bpstat_stop_status(), and update_global_location_list().

## ◆ new_breakpoint_from_type()

static std::unique_ptr<breakpoint> new_breakpoint_from_type | ( | bptype | type | ) |
| static

Definition at line 1062 of file breakpoint.c.

References is_longjmp_type(), and is_tracepoint_type().

Referenced by create_breakpoint(), create_breakpoint_sal(), set_raw_breakpoint(), and set_raw_breakpoint_without_location().

## ◆ new_single_step_breakpoint()

static struct breakpoint* new_single_step_breakpoint | ( | int | thread,
|  | struct gdbarch * | gdbarch
| ) |  |
| static

Definition at line 8524 of file breakpoint.c.

References add_to_breakpoint_chain(), bp_single_step, disp_donttouch, gdb_assert, breakpoint::gdbarch, init_raw_breakpoint_without_location(), momentary_breakpoint_ops, null_frame_id, and breakpoint::thread.

Referenced by insert_single_step_breakpoint().

## ◆ new_until_break_fsm()

static struct until_break_fsm* new_until_break_fsm | ( | struct interp * | cmd_interp,
|  | int | thread,
|  | breakpoint_up && | location_breakpoint,
|  | breakpoint_up && | caller_breakpoint
| ) |  |
| static

Definition at line 11105 of file breakpoint.c.

References until_break_fsm::caller_breakpoint, until_break_fsm::location_breakpoint, until_break_fsm::thread, until_break_fsm::thread_fsm, thread_fsm_ctor(), until_break_fsm_ops, and XCNEW.

Referenced by until_break_command().

## ◆ one_breakpoint_xfer_memory()

static void one_breakpoint_xfer_memory | ( | gdb_byte * | readbuf,
|  | gdb_byte * | writebuf,
|  | const gdb_byte * | writebuf_org,
|  | ULONGEST | memaddr,
|  | LONGEST | len,
|  | struct bp_target_info * | target_info,
|  | struct gdbarch * | gdbarch
| ) |  |
| static

Definition at line 1319 of file breakpoint.c.

References program_space::aspace, bp, breakpoint_address_match(), current_program_space, gdb_assert, gdbarch_breakpoint_from_pc(), bp_target_info::placed_address, bp_target_info::placed_address_space, bp_target_info::reqstd_address, bp_target_info::shadow_contents, and bp_target_info::shadow_len.

Referenced by breakpoint_xfer_memory().

## ◆ output_thread_groups()

static void output_thread_groups | ( | struct ui_out * | uiout,
|  | const char * | field_name,
|  | const std::vector< int > & | inf_nums,
|  | int | mi_only
| ) |  |
| static

Definition at line 6017 of file breakpoint.c.

References field_name(), ui_out::field_string(), ui_out::is_mi_like_p(), plongest(), ui_out::text(), and xsnprintf().

Referenced by print_one_breakpoint_location().

## ◆ parse_breakpoint_sals()

static void parse_breakpoint_sals | ( | const struct event_location * | location,
|  | struct linespec_result * | canonical
| ) |  |
| static

Definition at line 9081 of file breakpoint.c.

References _, linespec_sals::canonical, decode_line_full(), DECODE_LINE_FUNFIRSTLINE, error(), symtab_and_line::explicit_pc, find_pc_line(), get_current_source_symtab_and_line(), get_last_displayed_line(), get_last_displayed_sal(), get_last_displayed_symtab(), get_linespec_location(), last_displayed_sal_is_valid(), symtab_and_line::line, LINESPEC_LOCATION, symtab_and_line::pc, linespec_sals::sals, linespec_location::spec_string, and symtab_and_line::symtab.

Referenced by break_range_command(), and create_sals_from_location_default().

## ◆ parse_cmd_to_aexpr()

static agent_expr_up parse_cmd_to_aexpr | ( | CORE_ADDR | scope,
|  | char * | cmd
| ) |  |
| static

Definition at line 2227 of file breakpoint.c.

References _, block_for_pc(), CATCH, gdbarch::data, END_CATCH, error(), gen_printf(), get_current_arch(), parse_exp_1(), RETURN_MASK_ERROR, skip_spaces(), and TRY.

Referenced by build_target_command_list().

## ◆ parse_cond_to_aexpr()

static agent_expr_up parse_cond_to_aexpr | ( | CORE_ADDR | scope,
|  | struct expression * | cond
| ) |  |
| static

Definition at line 2098 of file breakpoint.c.

References CATCH, bp_location::cond, END_CATCH, gen_eval_for_expr(), RETURN_MASK_ERROR, and TRY.

Referenced by build_target_condition_list().

## ◆ pc_at_non_inline_function()

int pc_at_non_inline_function | ( | const address_space * | aspace,
|  | CORE_ADDR | pc,
|  | const struct target_waitstatus * | ws
| ) |  |

Definition at line 15379 of file breakpoint.c.

References ALL_BREAKPOINTS, bpstat_check_location(), is_non_inline_function(), breakpoint::loc, bp_location::next, and bp_location::shlib_disabled.

Referenced by handle_signal_stop().

## ◆ pending_breakpoint_p()

int pending_breakpoint_p | ( | struct breakpoint * | b | ) |

Definition at line 6501 of file breakpoint.c.

References breakpoint::loc.

Referenced by bppy_get_pending().

## ◆ print_bp_stop_message()

static enum print_stop_action print_bp_stop_message | ( | bpstat | bs | ) |
| static

Definition at line 4566 of file breakpoint.c.

References _, bpstats::breakpoint_at, internal_error(), breakpoint::ops, breakpoint_ops::print_it, bpstats::print_it, print_it_done, print_it_noop, print_it_normal, PRINT_SRC_AND_LOC, and PRINT_UNKNOWN.

Referenced by bpstat_print().

## ◆ print_breakpoint()

void print_breakpoint | ( | breakpoint * | b | ) |

Definition at line 6483 of file breakpoint.c.

References print_one_breakpoint().

Referenced by breakpoint_notify(), and mi_print_breakpoint_for_event().

## ◆ print_breakpoint_location()

static void print_breakpoint_location | ( | struct breakpoint * | b,
|  | struct bp_location * | loc
| ) |  |
| static

Definition at line 5883 of file breakpoint.c.

References bp_condition_evaluator(), bp_dprintf, bp_location_condition_evaluator(), breakpoint_condition_evaluation_mode(), condition_evaluation_both, condition_evaluation_target, current_uiout, demangle, breakpoint::display_canonical, event_location_to_string(), breakpoint::extra_string, ui_out::field_int(), ui_out::field_stream(), ui_out::field_string(), find_pc_sect_function(), is_breakpoint(), ui_out::is_mi_like_p(), loc, breakpoint::location, print_address_symbolic(), set_current_program_space(), SYMBOL_PRINT_NAME, symtab_to_filename_for_display(), symtab_to_fullname(), ui_out::text(), breakpoint::type, ui_out::wrap_hint(), and wrap_indent_at_field().

Referenced by print_one_breakpoint_location(), and print_one_ranged_breakpoint().

## ◆ print_it_catch_exec()

static enum print_stop_action print_it_catch_exec | ( | bpstat | bs | ) |
| static

Definition at line 8334 of file breakpoint.c.

References annotate_catchpoint(), async_reason_lookup(), bpdisp_text(), bpstats::breakpoint_at, current_uiout, disp_del, breakpoint::disposition, EXEC_ASYNC_EXEC, exec_catchpoint::exec_pathname, ui_out::field_int(), ui_out::field_string(), ui_out::is_mi_like_p(), maybe_print_thread_hit_breakpoint(), breakpoint::number, PRINT_SRC_AND_LOC, and ui_out::text().

Referenced by initialize_breakpoint_ops().

## ◆ print_it_catch_fork()

static enum print_stop_action print_it_catch_fork | ( | bpstat | bs | ) |
| static

Definition at line 7787 of file breakpoint.c.

References annotate_catchpoint(), async_reason_lookup(), bpdisp_text(), bpstats::breakpoint_at, current_uiout, disp_del, breakpoint::disposition, EXEC_ASYNC_FORK, ui_out::field_int(), ui_out::field_string(), fork_catchpoint::forked_inferior_pid, ui_out::is_mi_like_p(), maybe_print_thread_hit_breakpoint(), breakpoint::number, PRINT_SRC_AND_LOC, ptid_get_pid(), and ui_out::text().

Referenced by initialize_breakpoint_ops().

## ◆ print_it_catch_solib()

static enum print_stop_action print_it_catch_solib | ( | bpstat | bs | ) |
| static

Definition at line 8089 of file breakpoint.c.

References annotate_catchpoint(), bpdisp_text(), bpstats::breakpoint_at, current_uiout, disp_del, breakpoint::disposition, ui_out::field_int(), ui_out::field_string(), ui_out::is_mi_like_p(), maybe_print_thread_hit_breakpoint(), breakpoint::number, print_solib_event(), PRINT_SRC_AND_LOC, and ui_out::text().

Referenced by initialize_breakpoint_ops().

## ◆ print_it_catch_vfork()

static enum print_stop_action print_it_catch_vfork | ( | bpstat | bs | ) |
| static

Definition at line 7903 of file breakpoint.c.

References annotate_catchpoint(), async_reason_lookup(), bpdisp_text(), bpstats::breakpoint_at, current_uiout, disp_del, breakpoint::disposition, EXEC_ASYNC_VFORK, ui_out::field_int(), ui_out::field_string(), fork_catchpoint::forked_inferior_pid, ui_out::is_mi_like_p(), maybe_print_thread_hit_breakpoint(), breakpoint::number, PRINT_SRC_AND_LOC, ptid_get_pid(), and ui_out::text().

Referenced by initialize_breakpoint_ops().

## ◆ print_it_masked_watchpoint()

static enum print_stop_action print_it_masked_watchpoint | ( | bpstat | bs | ) |
| static

Definition at line 10469 of file breakpoint.c.

References _, annotate_watchpoint(), async_reason_lookup(), bp_access_watchpoint, bp_hardware_watchpoint, bp_read_watchpoint, bpstats::breakpoint_at, current_uiout, EXEC_ASYNC_ACCESS_WATCHPOINT_TRIGGER, EXEC_ASYNC_READ_WATCHPOINT_TRIGGER, EXEC_ASYNC_WATCHPOINT_TRIGGER, ui_out::field_string(), gdb_assert, internal_error(), ui_out::is_mi_like_p(), breakpoint::loc, maybe_print_thread_hit_breakpoint(), mention(), bp_location::next, breakpoint::number, PRINT_UNKNOWN, ui_out::text(), and breakpoint::type.

Referenced by initialize_breakpoint_ops().

## ◆ print_it_ranged_breakpoint()

static enum print_stop_action print_it_ranged_breakpoint | ( | bpstat | bs | ) |
| static

Definition at line 9764 of file breakpoint.c.

References annotate_breakpoint(), async_reason_lookup(), bp_hardware_breakpoint, bpdisp_text(), bpstats::breakpoint_at, current_uiout, disp_del, breakpoint::disposition, EXEC_ASYNC_BREAKPOINT_HIT, ui_out::field_int(), ui_out::field_string(), gdb_assert, ui_out::is_mi_like_p(), breakpoint::loc, maybe_print_thread_hit_breakpoint(), bp_location::next, breakpoint::number, PRINT_SRC_AND_LOC, ui_out::text(), and breakpoint::type.

Referenced by initialize_breakpoint_ops().

## ◆ print_it_watchpoint()

static enum print_stop_action print_it_watchpoint | ( | bpstat | bs | ) |
| static

Definition at line 10248 of file breakpoint.c.

References annotate_watchpoint(), async_reason_lookup(), bp_access_watchpoint, bp_hardware_watchpoint, bpstats::bp_location_at, bp_read_watchpoint, bp_watchpoint, bpstats::breakpoint_at, current_uiout, gdb::optional< T >::emplace(), EXEC_ASYNC_ACCESS_WATCHPOINT_TRIGGER, EXEC_ASYNC_READ_WATCHPOINT_TRIGGER, EXEC_ASYNC_WATCHPOINT_TRIGGER, ui_out::field_stream(), ui_out::field_string(), gdb_assert, ui_out::is_mi_like_p(), maybe_print_thread_hit_breakpoint(), mention(), breakpoint::number, bpstats::old_val, PRINT_UNKNOWN, ui_out::text(), breakpoint::type, watchpoint::val, and watchpoint_value_print().

Referenced by initialize_breakpoint_ops().

## ◆ print_mention_catch_exec()

static void print_mention_catch_exec | ( | struct breakpoint * | b | ) |
| static

Definition at line 8387 of file breakpoint.c.

References _, breakpoint::number, and printf_filtered().

Referenced by initialize_breakpoint_ops().

## ◆ print_mention_catch_fork()

static void print_mention_catch_fork | ( | struct breakpoint * | b | ) |
| static

Definition at line 7845 of file breakpoint.c.

References _, breakpoint::number, and printf_filtered().

Referenced by initialize_breakpoint_ops().

## ◆ print_mention_catch_solib()

static void print_mention_catch_solib | ( | struct breakpoint * | b | ) |
| static

Definition at line 8149 of file breakpoint.c.

References _, breakpoint::number, and printf_filtered().

Referenced by initialize_breakpoint_ops().

## ◆ print_mention_catch_vfork()

static void print_mention_catch_vfork | ( | struct breakpoint * | b | ) |
| static

Definition at line 7960 of file breakpoint.c.

References _, breakpoint::number, and printf_filtered().

Referenced by initialize_breakpoint_ops().

## ◆ print_mention_masked_watchpoint()

static void print_mention_masked_watchpoint | ( | struct breakpoint * | b | ) |
| static

Definition at line 10536 of file breakpoint.c.

References _, bp_access_watchpoint, bp_hardware_watchpoint, bp_read_watchpoint, current_uiout, watchpoint::exp_string, ui_out::field_int(), ui_out::field_string(), internal_error(), breakpoint::number, ui_out::text(), and breakpoint::type.

Referenced by initialize_breakpoint_ops().

## ◆ print_mention_ranged_breakpoint()

static void print_mention_ranged_breakpoint | ( | struct breakpoint * | b | ) |
| static

Definition at line 9848 of file breakpoint.c.

References _, bp_location::address, bp_hardware_breakpoint, current_uiout, gdb_assert, bp_location::gdbarch, ui_out::is_mi_like_p(), bp_location::length, breakpoint::loc, breakpoint::number, paddress(), printf_filtered(), and breakpoint::type.

Referenced by initialize_breakpoint_ops().

## ◆ print_mention_watchpoint()

static void print_mention_watchpoint | ( | struct breakpoint * | b | ) |
| static

Definition at line 10339 of file breakpoint.c.

References _, bp_access_watchpoint, bp_hardware_watchpoint, bp_read_watchpoint, bp_watchpoint, current_uiout, watchpoint::exp_string, ui_out::field_int(), ui_out::field_string(), internal_error(), breakpoint::number, ui_out::text(), and breakpoint::type.

Referenced by initialize_breakpoint_ops().

## ◆ print_one_breakpoint()

static void print_one_breakpoint | ( | struct breakpoint * | b,
|  | struct bp_location ** | last_loc,
|  | int | allflag
| ) |  |
| static

Definition at line 6417 of file breakpoint.c.

References current_uiout, bp_location::enabled, is_hardware_watchpoint(), breakpoint::loc, loc, bp_location::next, breakpoint::ops, breakpoint_ops::print_one, and print_one_breakpoint_location().

Referenced by breakpoint_1(), and print_breakpoint().

## ◆ print_one_breakpoint_location()

static void print_one_breakpoint_location | ( | struct breakpoint * | b,
|  | struct bp_location * | loc,
|  | int | loc_number,
|  | struct bp_location ** | last_loc,
|  | int | allflag
| ) |  |
| static

Definition at line 6055 of file breakpoint.c.

References _, bp_location::address, value_print_options::addressprint, ALL_INFERIORS, annotate_field(), annotate_record(), bp_access_watchpoint, bp_breakpoint, bp_call_dummy, bp_catchpoint, bp_condition_evaluator(), bp_dprintf, bp_exception, bp_exception_master, bp_exception_resume, bp_fast_tracepoint, bp_finish, bp_gnu_ifunc_resolver, bp_gnu_ifunc_resolver_return, bp_hardware_breakpoint, bp_hardware_watchpoint, bp_hp_step_resume, bp_jit_event, bp_longjmp, bp_longjmp_call_dummy, bp_longjmp_master, bp_longjmp_resume, bp_none, bp_overlay_event, bp_read_watchpoint, bp_shlib_event, bp_single_step, bp_static_tracepoint, bp_std_terminate, bp_std_terminate_master, bp_step_resume, bp_thread_event, bp_tracepoint, bp_until, bp_watchpoint, bp_watchpoint_scope, bpdisp_text(), bptype_string(), breakpoint_condition_evaluation_mode(), breakpoint::commands, breakpoint::cond_string, condition_evaluation_target, current_uiout, breakpoint::disposition, breakpoint::enable_count, breakpoint::enable_state, bp_location::enabled, event_location_to_string(), watchpoint::exp_string, ui_out::field_core_addr(), ui_out::field_fmt(), ui_out::field_int(), ui_out::field_skip(), ui_out::field_string(), find_thread_global_id(), breakpoint::frame_id, frame_id_p(), gdb_assert, bp_location::gdbarch, breakpoint::gdbarch, gdbarch_has_global_breakpoints(), get_user_print_options(), breakpoint::hit_count, breakpoint::ignore_count, arm-linux::inf, bp_location::inserted, internal_error(), is_breakpoint(), is_catchpoint(), ui_out::is_mi_like_p(), is_tracepoint(), is_watchpoint(), breakpoint::loc, loc, breakpoint::location, bp_location::next, breakpoint::number, number_of_inferiors(), number_of_program_spaces(), breakpoint::ops, output_thread_groups(), tracepoint::pass_count, print_breakpoint_location(), print_command_lines(), breakpoint_ops::print_one, breakpoint_ops::print_one_detail, print_thread_id(), bp_location::shlib_disabled, ui_out::spaces(), frame_id::stack_addr, target_gdbarch(), breakpoint::task, ui_out::text(), breakpoint::thread, tracepoint::traceframe_usage, breakpoint::type, xfree(), and xstrprintf().

Referenced by print_one_breakpoint().

## ◆ print_one_catch_exec()

static void print_one_catch_exec | ( | struct breakpoint * | b,
|  | struct bp_location ** | last_loc
| ) |  |
| static

Definition at line 8360 of file breakpoint.c.

References value_print_options::addressprint, annotate_field(), current_uiout, exec_catchpoint::exec_pathname, ui_out::field_skip(), ui_out::field_string(), get_user_print_options(), ui_out::is_mi_like_p(), and ui_out::text().

Referenced by initialize_breakpoint_ops().

## ◆ print_one_catch_fork()

static void print_one_catch_fork | ( | struct breakpoint * | b,
|  | struct bp_location ** | last_loc
| ) |  |
| static

Definition at line 7815 of file breakpoint.c.

References value_print_options::addressprint, annotate_field(), current_uiout, ui_out::field_int(), ui_out::field_skip(), ui_out::field_string(), fork_catchpoint::forked_inferior_pid, get_user_print_options(), ui_out::is_mi_like_p(), null_ptid, ptid_equal(), ptid_get_pid(), ui_out::spaces(), and ui_out::text().

Referenced by initialize_breakpoint_ops().

## ◆ print_one_catch_solib()

static void print_one_catch_solib | ( | struct breakpoint * | b,
|  | struct bp_location ** | locs
| ) |  |
| static

Definition at line 8109 of file breakpoint.c.

References _, value_print_options::addressprint, annotate_field(), current_uiout, ui_out::field_skip(), ui_out::field_string(), get_user_print_options(), ui_out::is_mi_like_p(), xfree(), and xstrprintf().

Referenced by initialize_breakpoint_ops().

## ◆ print_one_catch_vfork()

static void print_one_catch_vfork | ( | struct breakpoint * | b,
|  | struct bp_location ** | last_loc
| ) |  |
| static

Definition at line 7931 of file breakpoint.c.

References value_print_options::addressprint, annotate_field(), current_uiout, ui_out::field_int(), ui_out::field_skip(), ui_out::field_string(), fork_catchpoint::forked_inferior_pid, get_user_print_options(), ui_out::is_mi_like_p(), null_ptid, ptid_equal(), ptid_get_pid(), ui_out::spaces(), and ui_out::text().

Referenced by initialize_breakpoint_ops().

## ◆ print_one_detail_masked_watchpoint()

static void print_one_detail_masked_watchpoint | ( | const struct breakpoint * | b,
|  | struct ui_out * | uiout
| ) |  |
| static

Definition at line 10519 of file breakpoint.c.

References ui_out::field_core_addr(), gdb_assert, bp_location::gdbarch, watchpoint::hw_wp_mask, breakpoint::loc, bp_location::next, and ui_out::text().

Referenced by initialize_breakpoint_ops().

## ◆ print_one_detail_ranged_breakpoint()

static void print_one_detail_ranged_breakpoint | ( | const struct breakpoint * | b,
|  | struct ui_out * | uiout
| ) |  |
| static

Definition at line 9824 of file breakpoint.c.

References bp_location::address, ui_out::field_stream(), gdb_assert, bp_location::gdbarch, bp_location::length, breakpoint::loc, print_core_address(), ui_file::printf(), and ui_out::text().

Referenced by initialize_breakpoint_ops().

## ◆ print_one_ranged_breakpoint()

static void print_one_ranged_breakpoint | ( | struct breakpoint * | b,
|  | struct bp_location ** | last_loc
| ) |  |
| static

Definition at line 9799 of file breakpoint.c.

References value_print_options::addressprint, annotate_field(), current_uiout, ui_out::field_skip(), gdb_assert, get_user_print_options(), breakpoint::loc, bp_location::next, and print_breakpoint_location().

Referenced by initialize_breakpoint_ops().

## ◆ print_recreate_catch_exec()

static void print_recreate_catch_exec | ( | struct breakpoint * | b,
|  | struct ui_file * | fp
| ) |  |
| static

Definition at line 8396 of file breakpoint.c.

References fprintf_unfiltered(), and print_recreate_thread().

Referenced by initialize_breakpoint_ops().

## ◆ print_recreate_catch_fork()

static void print_recreate_catch_fork | ( | struct breakpoint * | b,
|  | struct ui_file * | fp
| ) |  |
| static

Definition at line 7854 of file breakpoint.c.

References fprintf_unfiltered(), and print_recreate_thread().

Referenced by initialize_breakpoint_ops().

## ◆ print_recreate_catch_solib()

static void print_recreate_catch_solib | ( | struct breakpoint * | b,
|  | struct ui_file * | fp
| ) |  |
| static

Definition at line 8158 of file breakpoint.c.

References disp_del, breakpoint::disposition, and fprintf_unfiltered().

Referenced by initialize_breakpoint_ops().

## ◆ print_recreate_catch_vfork()

static void print_recreate_catch_vfork | ( | struct breakpoint * | b,
|  | struct ui_file * | fp
| ) |  |
| static

Definition at line 7969 of file breakpoint.c.

References fprintf_unfiltered(), and print_recreate_thread().

Referenced by initialize_breakpoint_ops().

## ◆ print_recreate_masked_watchpoint()

static void print_recreate_masked_watchpoint | ( | struct breakpoint * | b,
|  | struct ui_file * | fp
| ) |  |
| static

Definition at line 10571 of file breakpoint.c.

References _, bp_access_watchpoint, bp_hardware_watchpoint, bp_read_watchpoint, watchpoint::exp_string, fprintf_unfiltered(), watchpoint::hw_wp_mask, internal_error(), print_recreate_thread(), and breakpoint::type.

Referenced by initialize_breakpoint_ops().

## ◆ print_recreate_ranged_breakpoint()

static void print_recreate_ranged_breakpoint | ( | struct breakpoint * | b,
|  | struct ui_file * | fp
| ) |  |
| static

Definition at line 9868 of file breakpoint.c.

References event_location_to_string(), fprintf_unfiltered(), breakpoint::location, breakpoint::location_range_end, and print_recreate_thread().

Referenced by initialize_breakpoint_ops().

## ◆ print_recreate_thread()

void print_recreate_thread | ( | struct breakpoint * | b,
|  | struct ui_file * | fp
| ) |  |

Definition at line 15093 of file breakpoint.c.

References fprintf_unfiltered(), breakpoint::task, and breakpoint::thread.

Referenced by bkpt_print_recreate(), dprintf_print_recreate(), print_recreate_catch_exec(), print_recreate_catch_fork(), print_recreate_catch_syscall(), print_recreate_catch_vfork(), print_recreate_exception(), print_recreate_exception_catchpoint(), print_recreate_masked_watchpoint(), print_recreate_ranged_breakpoint(), print_recreate_watchpoint(), and tracepoint_print_recreate().

## ◆ print_recreate_watchpoint()

static void print_recreate_watchpoint | ( | struct breakpoint * | b,
|  | struct ui_file * | fp
| ) |  |
| static

Definition at line 10378 of file breakpoint.c.

References _, bp_access_watchpoint, bp_hardware_watchpoint, bp_read_watchpoint, bp_watchpoint, watchpoint::exp_string, fprintf_unfiltered(), internal_error(), print_recreate_thread(), and breakpoint::type.

Referenced by initialize_breakpoint_ops().

## ◆ print_solib_event()

static void print_solib_event | ( | int | is_catchpoint | ) |
| static

Definition at line 4605 of file breakpoint.c.

References _, async_reason_lookup(), current_program_space, current_uiout, EXEC_ASYNC_SOLIB_EVENT, is_catchpoint(), name, so_list::so_name, VEC_empty, and VEC_iterate.

Referenced by bpstat_print(), internal_bkpt_print_it(), and print_it_catch_solib().

## ◆ program_breakpoint_here_p()

int program_breakpoint_here_p | ( | struct gdbarch * | gdbarch,
|  | CORE_ADDR | address
| ) |  |

Definition at line 8715 of file breakpoint.c.

References gdbarch_breakpoint_from_pc(), make_scoped_restore_show_memory_breakpoints(), and target_read_memory().

Referenced by bp_loc_is_permanent(), and handle_signal_stop().

## ◆ re_set_watchpoint()

static void re_set_watchpoint | ( | struct breakpoint * | b | ) |
| static

Definition at line 10140 of file breakpoint.c.

References update_watchpoint().

Referenced by initialize_breakpoint_ops().

## ◆ read_uploaded_action()

static char* read_uploaded_action | ( | void |  | ) |
| static

Definition at line 14774 of file breakpoint.c.

References next_cmd, this_utp, and VEC_iterate.

Referenced by create_tracepoint_from_upload().

## ◆ remove_breakpoint()

static int remove_breakpoint | ( | struct bp_location * | bl | ) |
| static

Definition at line 3831 of file breakpoint.c.

References bp_none, gdb_assert, bp_location::owner, bp_location::pspace, REMOVE_BREAKPOINT, remove_breakpoint_1(), switch_to_program_space_and_thread(), and breakpoint::type.

Referenced by insert_breakpoint_locations(), remove_breakpoints(), remove_breakpoints_pid(), and update_global_location_list().

## ◆ remove_breakpoint_1()

static int remove_breakpoint_1 | ( | struct bp_location * | bl,
|  | enum remove_bp_reason | reason
| ) |  |
| static

Definition at line 3685 of file breakpoint.c.

References _, bp_location::address, bp_catchpoint, bp_loc_hardware_breakpoint, bp_loc_hardware_watchpoint, bp_loc_software_breakpoint, bp_none, breakpoint_enabled(), DETACH_BREAKPOINT, bp_location::duplicate, gdb_assert, bp_location::gdbarch, bp_location::inserted, bp_location::loc_type, memory_validate_breakpoint(), breakpoint::number, breakpoint::ops, overlay_debugging, overlay_events_enabled, bp_location::overlay_target_info, ovly_off, bp_location::owner, bp_location::pspace, REMOVE_BREAKPOINT, breakpoint_ops::remove_location, bp_location::section, section_is_mapped(), section_is_overlay(), bp_target_info::shadow_len, shared_objfile_contains_address_p(), bp_location::shlib_disabled, solib_name_from_address(), bp_location::target_info, target_remove_breakpoint(), target_remove_hw_breakpoint, breakpoint::type, and warning().

Referenced by detach_breakpoints(), and remove_breakpoint().

## ◆ remove_breakpoints()

int remove_breakpoints | ( | void |  | ) |

Definition at line 3038 of file breakpoint.c.

References ALL_BP_LOCATIONS, bp_location::inserted, is_tracepoint(), bp_location::owner, and remove_breakpoint().

Referenced by gdbsim_create_inferior(), gdbsim_mourn_inferior(), inferior_call_waitpid(), inferior_call_waitpid_cleanup(), linux_fork_context(), maybe_remove_breakpoints(), and target_disconnect().

## ◆ remove_breakpoints_pid()

int remove_breakpoints_pid | ( | int | pid | ) |

Definition at line 3078 of file breakpoint.c.

References ALL_BP_LOCATIONS, find_inferior_pid(), bp_location::inserted, bp_target_info::persist, pid, bp_location::pspace, remove_breakpoint(), and bp_location::target_info.

Referenced by follow_fork_inferior(), and target_detach().

## ◆ remove_catch_exec()

static int remove_catch_exec | ( | struct bp_location * | bl,
|  | enum remove_bp_reason | reason
| ) |  |
| static

Definition at line 8314 of file breakpoint.c.

References inferior_ptid, ptid_get_pid(), and target_remove_exec_catchpoint.

Referenced by initialize_breakpoint_ops().

## ◆ remove_catch_fork()

static int remove_catch_fork | ( | struct bp_location * | bl,
|  | enum remove_bp_reason | reason
| ) |  |
| static

Definition at line 7761 of file breakpoint.c.

References inferior_ptid, ptid_get_pid(), and target_remove_fork_catchpoint.

Referenced by initialize_breakpoint_ops().

## ◆ remove_catch_solib()

static int remove_catch_solib | ( | struct bp_location * | ignore,
|  | enum remove_bp_reason | reason
| ) |  |
| static

Definition at line 8008 of file breakpoint.c.

Referenced by initialize_breakpoint_ops().

## ◆ remove_catch_vfork()

static int remove_catch_vfork | ( | struct bp_location * | bl,
|  | enum remove_bp_reason | reason
| ) |  |
| static

Definition at line 7877 of file breakpoint.c.

References inferior_ptid, ptid_get_pid(), and target_remove_vfork_catchpoint.

Referenced by initialize_breakpoint_ops().

## ◆ remove_jit_event_breakpoints()

void remove_jit_event_breakpoints | ( | void |  | ) |

Definition at line 7509 of file breakpoint.c.

References ALL_BREAKPOINTS_SAFE, bp_jit_event, current_program_space, delete_breakpoint(), breakpoint::loc, bp_location::pspace, and breakpoint::type.

## ◆ remove_masked_watchpoint()

static int remove_masked_watchpoint | ( | struct bp_location * | bl,
|  | enum remove_bp_reason | reason
| ) |  |
| static

Definition at line 10437 of file breakpoint.c.

References bp_location::address, watchpoint::hw_wp_mask, bp_location::owner, target_remove_mask_watchpoint(), and bp_location::watchpoint_type.

Referenced by initialize_breakpoint_ops().

## ◆ remove_solib_event_breakpoints()

void remove_solib_event_breakpoints | ( | void |  | ) |

Definition at line 7520 of file breakpoint.c.

References ALL_BREAKPOINTS_SAFE, bp_shlib_event, current_program_space, delete_breakpoint(), breakpoint::loc, bp_location::pspace, and breakpoint::type.

Referenced by enable_break2(), and reload_shared_libraries().

## ◆ remove_solib_event_breakpoints_at_next_stop()

void remove_solib_event_breakpoints_at_next_stop | ( | void |  | ) |

Definition at line 7533 of file breakpoint.c.

References ALL_BREAKPOINTS_SAFE, bp_shlib_event, current_program_space, disp_del_at_next_stop, breakpoint::disposition, breakpoint::loc, bp_location::pspace, and breakpoint::type.

## ◆ remove_threaded_breakpoints()

static void remove_threaded_breakpoints | ( | struct thread_info * | tp,
|  | int | silent
| ) |  |
| static

Definition at line 3055 of file breakpoint.c.

References _, ALL_BREAKPOINTS_SAFE, disp_del_at_next_stop, breakpoint::disposition, thread_info::global_num, breakpoint::number, print_thread_id(), printf_filtered(), breakpoint::thread, and user_breakpoint_p().

Referenced by _initialize_breakpoint().

## ◆ remove_watchpoint()

static int remove_watchpoint | ( | struct bp_location * | bl,
|  | enum remove_bp_reason | reason
| ) |  |
| static

Definition at line 10187 of file breakpoint.c.

References bp_location::address, watchpoint::cond_exp, watchpoint::exact, bp_location::length, bp_location::owner, target_remove_watchpoint, and bp_location::watchpoint_type.

Referenced by initialize_breakpoint_ops().

## ◆ resolve_sal_pc()

void resolve_sal_pc | ( | struct symtab_and_line * | sal | ) |

Definition at line 9543 of file breakpoint.c.

References _, block_linkage_function(), blockvector_for_pc_sect(), error(), symtab_and_line::explicit_line, find_line_pc(), fixup_symbol_section(), symtab_and_line::line, lookup_minimal_symbol_by_pc(), bound_minimal_symbol::minsym, MSYMBOL_OBJ_SECTION, bound_minimal_symbol::objfile, symtab_and_line::pc, symtab_and_line::pspace, symtab_and_line::section, skip_prologue_sal(), switch_to_program_space_and_thread(), SYMBOL_OBJ_SECTION, symtab_and_line::symtab, SYMTAB_COMPUNIT, SYMTAB_OBJFILE, and symtab_to_filename_for_display().

Referenced by breakpoint_sals_to_pc(), info_scope_command(), jump_command(), location_to_sals(), and until_break_command().

## ◆ resources_needed_masked_watchpoint()

static int resources_needed_masked_watchpoint | ( | const struct bp_location * | bl | ) |
| static

Definition at line 10449 of file breakpoint.c.

References bp_location::address, watchpoint::hw_wp_mask, bp_location::owner, and target_masked_watch_num_registers().

Referenced by initialize_breakpoint_ops().

## ◆ resources_needed_ranged_breakpoint()

static int resources_needed_ranged_breakpoint | ( | const struct bp_location * | bl | ) |
| static

Definition at line 9755 of file breakpoint.c.

References target_ranged_break_num_registers().

Referenced by initialize_breakpoint_ops().

## ◆ resources_needed_watchpoint()

static int resources_needed_watchpoint | ( | const struct bp_location * | bl | ) |
| static

Definition at line 10229 of file breakpoint.c.

References bp_location::address, watchpoint::exact, bp_location::length, bp_location::owner, and target_region_ok_for_hw_watchpoint.

Referenced by initialize_breakpoint_ops().

## ◆ rwatch_command()

static void rwatch_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 11046 of file breakpoint.c.

References hw_read, and watch_maybe_just_location().

Referenced by _initialize_breakpoint().

## ◆ rwatch_command_wrapper()

void rwatch_command_wrapper | ( | const char * | arg,
|  | int | from_tty,
|  | int | internal
| ) |  |

Definition at line 11040 of file breakpoint.c.

References hw_read, and watch_command_1().

Referenced by bppy_init(), gdbscm_register_breakpoint_x(), and mi_cmd_break_watch().

## ◆ save_breakpoints()

static void save_breakpoints | ( | const char * | filename,
|  | int | from_tty,
|  | int(*)(const struct breakpoint *) | filter
| ) |  |
| static

Definition at line 15110 of file breakpoint.c.

References _, ALL_BREAKPOINTS, bp_disabled, bp_dprintf, CATCH, breakpoint::commands, breakpoint::cond_string, current_uiout, default_collect, breakpoint::enable_state, END_CATCH, error(), breakpoint::filter, breakpoint::ignore_count, is_tracepoint(), is_watchpoint(), breakpoint::loc, loc, bp_location::next, stdio_file::open(), breakpoint::ops, print_command_lines(), breakpoint_ops::print_recreate, ui_file::printf(), printf_filtered(), stdio_file::puts(), RETURN_MASK_ALL, safe_strerror(), save_trace_state_variables(), throw_exception(), TRY, breakpoint::type, user_breakpoint_p(), and warning().

Referenced by save_breakpoints_command(), and save_tracepoints_command().

## ◆ save_breakpoints_command()

static void save_breakpoints_command | ( | const char * | args,
|  | int | from_tty
| ) |  |
| static

Definition at line 15228 of file breakpoint.c.

References save_breakpoints().

Referenced by _initialize_breakpoint().

## ◆ save_command()

static void save_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 15339 of file breakpoint.c.

References _, all_commands, gdb_stdout, help_list(), printf_unfiltered(), and save_cmdlist.

Referenced by _initialize_breakpoint().

## ◆ save_tracepoints_command()

static void save_tracepoints_command | ( | const char * | args,
|  | int | from_tty
| ) |  |
| static

Definition at line 15236 of file breakpoint.c.

References is_tracepoint(), and save_breakpoints().

Referenced by _initialize_breakpoint().

## ◆ say_where()

static void say_where | ( | struct breakpoint * | b | ) |
| static

Definition at line 12253 of file breakpoint.c.

References _, bp_location::address, value_print_options::addressprint, bp_dprintf, event_location_to_string(), breakpoint::extra_string, fputs_filtered(), gdb_stdout, bp_location::gdbarch, get_user_print_options(), bp_location::line_number, breakpoint::loc, loc, breakpoint::location, bp_location::next, paddress(), printf_filtered(), bp_location::symtab, symtab_to_filename_for_display(), and breakpoint::type.

Referenced by bkpt_print_mention(), and tracepoint_print_mention().

## ◆ set_breakpoint_cmd()

static void set_breakpoint_cmd | ( | const char * | args,
|  | int | from_tty
| ) |  |
| static

Definition at line 14551 of file breakpoint.c.

Referenced by _initialize_breakpoint().

## ◆ set_breakpoint_condition()

void set_breakpoint_condition | ( | struct breakpoint * | b,
|  | const char * | exp,
|  | int | from_tty
| ) |  |

Definition at line 838 of file breakpoint.c.

References _, block_for_pc(), watchpoint::cond_exp, watchpoint::cond_exp_valid_block, breakpoint::cond_string, breakpoint::condition_not_parsed, error(), watchpoint::exp, innermost_block, is_watchpoint(), breakpoint::loc, loc, mark_breakpoint_modified(), breakpoint::number, observer_notify_breakpoint_modified(), parse_exp_1(), printf_filtered(), and xfree().

Referenced by bppy_set_condition(), condition_command(), create_ada_exception_catchpoint(), and gdbscm_set_breakpoint_condition_x().

## ◆ set_breakpoint_count()

static void set_breakpoint_count | ( | int | num | ) |
| static

Definition at line 609 of file breakpoint.c.

References lookup_internalvar(), and set_internalvar_integer().

Referenced by break_range_command(), and set_breakpoint_number().

## ◆ set_breakpoint_location_function()

static void set_breakpoint_location_function | ( | struct bp_location * | loc,
|  | int | explicit_loc
| ) |  |
| static

Definition at line 7180 of file breakpoint.c.

References bp_location::address, adjust_breakpoint_address(), bp_breakpoint, bp_gnu_ifunc_resolver, bp_hardware_breakpoint, current_program_space, find_pc_partial_function_gnu_ifunc(), bp_location::function_name, gdb_assert, bp_location::gdbarch, gnu_ifunc_resolve_name, is_tracepoint(), breakpoint::loc, bp_location::next, bp_location::owner, bp_location::pspace, bp_location::related_address, breakpoint::related_breakpoint, bp_location::requested_address, and breakpoint::type.

Referenced by add_location_to_breakpoint(), and momentary_breakpoint_from_master().

## ◆ set_breakpoint_number()

static void set_breakpoint_number | ( | int | internal,
|  | struct breakpoint * | b
| ) |  |
| static

Definition at line 3108 of file breakpoint.c.

References internal_breakpoint_number, breakpoint::number, and set_breakpoint_count().

Referenced by install_breakpoint().

## ◆ set_condition_evaluation_mode()

static void set_condition_evaluation_mode | ( | const char * | args,
|  | int | from_tty,
|  | struct cmd_list_element * | c
| ) |  |
| static

Definition at line 713 of file breakpoint.c.

References _, ALL_BP_LOCATIONS, condition_evaluation_mode, condition_evaluation_mode_1, condition_evaluation_target, is_breakpoint(), loc, mark_breakpoint_location_modified(), target_supports_evaluation_of_breakpoint_conditions, translate_condition_evaluation_mode(), UGLL_MAY_INSERT, update_global_location_list(), and warning().

Referenced by _initialize_breakpoint().

## ◆ set_ignore_count()

void set_ignore_count | ( | int | bptnum,
|  | int | count,
|  | int | from_tty
| ) |  |

Definition at line 14018 of file breakpoint.c.

References _, ALL_BREAKPOINTS, error(), breakpoint::ignore_count, is_tracepoint(), breakpoint::number, observer_notify_breakpoint_modified(), and printf_filtered().

Referenced by bppy_set_ignore_count(), continue_command(), gdbscm_set_breakpoint_ignore_count_x(), and ignore_command().

## ◆ set_longjmp_breakpoint()

void set_longjmp_breakpoint | ( | struct thread_info * | tp,
|  | struct frame_id | frame
| ) |  |

Definition at line 7295 of file breakpoint.c.

References ALL_BREAKPOINTS_SAFE, bp_exception, bp_exception_master, bp_longjmp, bp_longjmp_master, current_program_space, thread_info::global_num, thread_info::initiating_frame, momentary_breakpoint_from_master(), momentary_breakpoint_ops, breakpoint::pspace, breakpoint::thread, and breakpoint::type.

Referenced by finish_forward(), step_command_fsm_prepare(), until_break_command(), and until_next_command().

## ◆ set_longjmp_breakpoint_for_call_dummy()

struct breakpoint* set_longjmp_breakpoint_for_call_dummy | ( | void |  | ) |

Definition at line 7355 of file breakpoint.c.

References ALL_BREAKPOINTS, bp_longjmp_call_dummy, bp_longjmp_master, current_program_space, gdb_assert, inferior_ptid, momentary_breakpoint_from_master(), momentary_breakpoint_ops, breakpoint::pspace, ptid_to_global_thread_id(), breakpoint::related_breakpoint, breakpoint::thread, and breakpoint::type.

Referenced by call_function_by_hand_dummy().

## ◆ set_momentary_breakpoint()

breakpoint_up set_momentary_breakpoint | ( | struct gdbarch * | gdbarch,
|  | struct symtab_and_line | sal,
|  | struct frame_id frame_id | ,
|  | enum bptype | type
| ) |  |

Definition at line 8545 of file breakpoint.c.

References bp_enabled, disp_donttouch, breakpoint::disposition, breakpoint::enable_state, breakpoint::frame_id, frame_id_artificial_p(), gdb_assert, in_thread_list(), inferior_ptid, momentary_breakpoint_ops, ptid_to_global_thread_id(), set_raw_breakpoint(), breakpoint::thread, UGLL_MAY_INSERT, and update_global_location_list_nothrow().

Referenced by arm_linux_copy_svc(), call_function_by_hand_dummy(), elf_gnu_ifunc_resolver_stop(), finish_forward(), insert_step_resume_breakpoint_at_sal_1(), set_momentary_breakpoint_at_pc(), and until_break_command().

## ◆ set_momentary_breakpoint_at_pc()

breakpoint_up set_momentary_breakpoint_at_pc | ( | struct gdbarch * | gdbarch,
|  | CORE_ADDR | pc,
|  | enum bptype | type
| ) |  |

Definition at line 8621 of file breakpoint.c.

References find_pc_line(), find_pc_overlay(), null_frame_id, symtab_and_line::pc, and set_momentary_breakpoint().

Referenced by insert_exception_resume_breakpoint(), insert_exception_resume_from_probe(), and insert_longjmp_resume_breakpoint().

## ◆ set_raw_breakpoint()

struct breakpoint* set_raw_breakpoint | ( | struct gdbarch * | gdbarch,
|  | struct symtab_and_line | sal,
|  | enum bptype bptype | ,
|  | const struct breakpoint_ops * | ops
| ) |  |

Definition at line 7280 of file breakpoint.c.

References add_to_breakpoint_chain(), breakpoint::gdbarch, init_raw_breakpoint(), new_breakpoint_from_type(), and breakpoint::ops.

Referenced by break_range_command(), create_internal_breakpoint(), and set_momentary_breakpoint().

## ◆ set_raw_breakpoint_without_location()

static struct breakpoint* set_raw_breakpoint_without_location | ( | struct gdbarch * | gdbarch,
|  | enum bptype bptype | ,
|  | const struct breakpoint_ops * | ops
| ) |  |
| static

Definition at line 7165 of file breakpoint.c.

References add_to_breakpoint_chain(), breakpoint::gdbarch, init_raw_breakpoint_without_location(), new_breakpoint_from_type(), and breakpoint::ops.

Referenced by momentary_breakpoint_from_master().

## ◆ set_std_terminate_breakpoint()

void set_std_terminate_breakpoint | ( | void |  | ) |

Definition at line 7450 of file breakpoint.c.

References ALL_BREAKPOINTS_SAFE, bp_std_terminate, bp_std_terminate_master, current_program_space, momentary_breakpoint_from_master(), momentary_breakpoint_ops, breakpoint::pspace, and breakpoint::type.

Referenced by call_function_by_hand_dummy().

## ◆ set_tracepoint_count()

static void set_tracepoint_count | ( | int | num | ) |
| static

Definition at line 14683 of file breakpoint.c.

References lookup_internalvar(), and set_internalvar_integer().

Referenced by install_breakpoint().

## ◆ should_be_inserted()

static int should_be_inserted | ( | struct bp_location * | bl | ) |
| static

Definition at line 2005 of file breakpoint.c.

References bp_location::address, program_space::aspace, bp_loc_hardware_breakpoint, bp_loc_hardware_watchpoint, bp_loc_software_breakpoint, bp_single_step, breakpoint_enabled(), program_space::breakpoints_not_allowed, debug_infrun, disp_del_at_next_stop, breakpoint::disposition, bp_location::duplicate, bp_location::enabled, program_space::executing_startup, fprintf_unfiltered(), gdb_stdlog, bp_location::gdbarch, bp_location::length, bp_location::loc_type, bp_location::owner, paddress(), bp_location::pspace, bp_location::shlib_disabled, stepping_past_instruction_at(), stepping_past_nonsteppable_watchpoint(), breakpoint::thread, thread_is_stepping_over_breakpoint(), breakpoint::type, and user_breakpoint_p().

Referenced by download_tracepoint_locations(), insert_bp_location(), insert_breakpoint_locations(), unduplicated_should_be_inserted(), and update_global_location_list().

## ◆ show_always_inserted_mode()

static void show_always_inserted_mode | ( | struct ui_file * | file,
|  | int | from_tty,
|  | struct cmd_list_element * | c,
|  | const char * | value
| ) |  |
| static

Definition at line 381 of file breakpoint.c.

References _, and fprintf_filtered().

Referenced by _initialize_breakpoint().

## ◆ show_automatic_hardware_breakpoints()

static void show_automatic_hardware_breakpoints | ( | struct ui_file * | file,
|  | int | from_tty,
|  | struct cmd_list_element * | c,
|  | const char * | value
| ) |  |
| static

Definition at line 362 of file breakpoint.c.

References _, and fprintf_filtered().

Referenced by _initialize_breakpoint().

## ◆ show_breakpoint_cmd()

static void show_breakpoint_cmd | ( | const char * | args,
|  | int | from_tty
| ) |  |
| static

Definition at line 14556 of file breakpoint.c.

Referenced by _initialize_breakpoint().

## ◆ show_can_use_hw_watchpoints()

static void show_can_use_hw_watchpoints | ( | struct ui_file * | file,
|  | int | from_tty,
|  | struct cmd_list_element * | c,
|  | const char * | value
| ) |  |
| static

Definition at line 330 of file breakpoint.c.

References _, and fprintf_filtered().

Referenced by _initialize_breakpoint().

## ◆ show_condition_evaluation_mode()

static void show_condition_evaluation_mode | ( | struct ui_file * | file,
|  | int | from_tty,
|  | struct cmd_list_element * | c,
|  | const char * | value
| ) |  |
| static

Definition at line 773 of file breakpoint.c.

References _, breakpoint_condition_evaluation_mode(), condition_evaluation_auto, condition_evaluation_mode, and fprintf_filtered().

Referenced by _initialize_breakpoint().

## ◆ show_pending_break_support()

static void show_pending_break_support | ( | struct ui_file * | file,
|  | int | from_tty,
|  | struct cmd_list_element * | c,
|  | const char * | value
| ) |  |
| static

Definition at line 346 of file breakpoint.c.

References _, and fprintf_filtered().

Referenced by _initialize_breakpoint().

## ◆ single_step_breakpoint_inserted_here_p()

int single_step_breakpoint_inserted_here_p | ( | const address_space * | aspace,
|  | CORE_ADDR | pc
| ) |  |

Definition at line 14665 of file breakpoint.c.

References ALL_BREAKPOINTS, bp_single_step, breakpoint_has_location_inserted_here(), and breakpoint::type.

Referenced by handle_signal_stop().

## ◆ software_breakpoint_inserted_here_p()

int software_breakpoint_inserted_here_p | ( | const address_space * | aspace,
|  | CORE_ADDR | pc
| ) |  |

Definition at line 4114 of file breakpoint.c.

References ALL_BP_LOCATIONS_AT_ADDR, bp_loc_software_breakpoint, bp_location_inserted_here_p(), and bp_location::loc_type.

Referenced by adjust_pc_after_break(), save_stop_reason(), and save_waitstatus().

## ◆ software_watchpoint_add_no_memory_location()

static void software_watchpoint_add_no_memory_location | ( | struct breakpoint * | b,
|  | struct program_space * | pspace
| ) |  |
| static

Definition at line 1603 of file breakpoint.c.

References bp_location::address, allocate_bp_location(), bp_watchpoint, gdb_assert, bp_location::length, breakpoint::loc, bp_location::pspace, and breakpoint::type.

Referenced by update_watchpoint().

## ◆ stop_command()

static void stop_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 9620 of file breakpoint.c.

References _, and printf_filtered().

Referenced by _initialize_breakpoint().

## ◆ stopat_command()

static void stopat_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 9661 of file breakpoint.c.

References _, break_command_1(), and printf_filtered().

Referenced by _initialize_breakpoint().

## ◆ stopin_command()

static void stopin_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 9628 of file breakpoint.c.

References _, break_command_1(), and printf_filtered().

Referenced by _initialize_breakpoint().

## ◆ strace_command()

static void strace_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 14736 of file breakpoint.c.

References bp_static_tracepoint, create_breakpoint(), current_language, FULL, get_current_arch(), new_linespec_location(), pending_break_support, startswith(), strace_marker_breakpoint_ops, string_to_event_location(), and tracepoint_breakpoint_ops.

Referenced by _initialize_breakpoint().

## ◆ strace_marker_create_breakpoints_sal()

static void strace_marker_create_breakpoints_sal | ( | struct gdbarch * | gdbarch,
|  | struct linespec_result * | canonical,
|  | gdb::unique_xmalloc_ptr< char > | cond_string,
|  | gdb::unique_xmalloc_ptr< char > | extra_string,
|  | enum bptype | type_wanted,
|  | enum bpdisp | disposition,
|  | int | thread,
|  | int | task,
|  | int | ignore_count,
|  | const struct breakpoint_ops * | ops,
|  | int | from_tty,
|  | int | enabled,
|  | int | internal,
|  | unsigned | flags
| ) |  |
| static

Definition at line 13148 of file breakpoint.c.

References linespec_sals::canonical, copy_event_location(), flags, init_breakpoint_sal(), install_breakpoint(), and linespec_sals::sals.

Referenced by initialize_breakpoint_ops().

## ◆ strace_marker_create_sals_from_location()

static void strace_marker_create_sals_from_location | ( | const struct event_location * | location,
|  | struct linespec_result * | canonical,
|  | enum bptype | type_wanted
| ) |  |
| static

Definition at line 13127 of file breakpoint.c.

References linespec_sals::canonical, decode_static_tracepoint_spec(), event_location_to_string(), FULL, get_linespec_location(), new_linespec_location(), linespec_sals::sals, linespec_location::spec_string, and string.

Referenced by initialize_breakpoint_ops().

## ◆ strace_marker_decode_location()

static std::vector<symtab_and_line> strace_marker_decode_location | ( | struct breakpoint * | b,
|  | const struct event_location * | location,
|  | struct program_space * | search_pspace
| ) |  |
| static

Definition at line 13196 of file breakpoint.c.

References _, decode_static_tracepoint_spec(), error(), get_linespec_location(), breakpoint::location, linespec_location::spec_string, tracepoint::static_trace_marker_id, and tracepoint::static_trace_marker_id_idx.

Referenced by initialize_breakpoint_ops().

## ◆ strace_marker_p()

static int strace_marker_p | ( | struct breakpoint * | b | ) |
| static

Definition at line 13217 of file breakpoint.c.

References breakpoint::ops, and strace_marker_breakpoint_ops.

Referenced by init_breakpoint_sal(), and location_to_sals().

## ◆ swap_insertion()

static void swap_insertion | ( | struct bp_location * | left,
|  | struct bp_location * | right
| ) |  |
| static

Definition at line 11773 of file breakpoint.c.

References bp_location::duplicate, gdb_assert, bp_location::inserted, is_tracepoint(), bp_location::needs_update, bp_location::owner, and bp_location::target_info.

Referenced by update_global_location_list().

## ◆ tbreak_command()

void tbreak_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |

Definition at line 9602 of file breakpoint.c.

References BP_TEMPFLAG, and break_command_1().

Referenced by _initialize_breakpoint(), and run_command_1().

## ◆ tcatch_command()

static void tcatch_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 11435 of file breakpoint.c.

References _, and error().

Referenced by _initialize_breakpoint().

## ◆ thbreak_command()

static void thbreak_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 9614 of file breakpoint.c.

References BP_HARDWAREFLAG, BP_TEMPFLAG, and break_command_1().

Referenced by _initialize_breakpoint().

## ◆ trace_command()

static void trace_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 14690 of file breakpoint.c.

References bp_tracepoint, create_breakpoint(), current_language, get_current_arch(), pending_break_support, PROBE_LOCATION, string_to_event_location(), tracepoint_breakpoint_ops, and tracepoint_probe_breakpoint_ops.

Referenced by _initialize_breakpoint().

## ◆ trace_pass_command()

static void trace_pass_command | ( | const char * | args,
|  | int | from_tty
| ) |  |
| static

Definition at line 14973 of file breakpoint.c.

References _, ALL_TRACEPOINTS, error(), number_or_range_parser::finished(), get_tracepoint_by_number(), skip_spaces(), strtoulst(), and trace_pass_set_count().

Referenced by _initialize_breakpoint(), and create_tracepoint_from_upload().

## ◆ trace_pass_set_count()

static void trace_pass_set_count | ( | struct tracepoint * | tp,
|  | int | count,
|  | int | from_tty
| ) |  |
| static

Definition at line 14957 of file breakpoint.c.

References _, breakpoint::number, observer_notify_breakpoint_modified(), tracepoint::pass_count, and printf_filtered().

Referenced by trace_pass_command().

## ◆ tracepoint_breakpoint_hit()

static int tracepoint_breakpoint_hit | ( | const struct bp_location * | bl,
|  | const address_space * | aspace,
|  | CORE_ADDR | bp_addr,
|  | const struct target_waitstatus * | ws
| ) |  |
| static

Definition at line 12913 of file breakpoint.c.

Referenced by initialize_breakpoint_ops().

## ◆ tracepoint_create_breakpoints_sal()

static void tracepoint_create_breakpoints_sal | ( | struct gdbarch * | gdbarch,
|  | struct linespec_result * | canonical,
|  | gdb::unique_xmalloc_ptr< char > | cond_string,
|  | gdb::unique_xmalloc_ptr< char > | extra_string,
|  | enum bptype | type_wanted,
|  | enum bpdisp | disposition,
|  | int | thread,
|  | int | task,
|  | int | ignore_count,
|  | const struct breakpoint_ops * | ops,
|  | int | from_tty,
|  | int | enabled,
|  | int | internal,
|  | unsigned | flags
| ) |  |
| static

Definition at line 12998 of file breakpoint.c.

References breakpoint::cond_string, create_breakpoints_sal_default(), breakpoint::disposition, breakpoint::extra_string, flags, breakpoint::ignore_count, breakpoint::ops, breakpoint::task, and breakpoint::thread.

Referenced by initialize_breakpoint_ops().

## ◆ tracepoint_create_sals_from_location()

static void tracepoint_create_sals_from_location | ( | const struct event_location * | location,
|  | struct linespec_result * | canonical,
|  | enum bptype | type_wanted
| ) |  |
| static

Definition at line 12990 of file breakpoint.c.

References create_sals_from_location_default(), and breakpoint::location.

Referenced by initialize_breakpoint_ops().

## ◆ tracepoint_decode_location()

static std::vector<symtab_and_line> tracepoint_decode_location | ( | struct breakpoint * | b,
|  | const struct event_location * | location,
|  | struct program_space * | search_pspace
| ) |  |
| static

Definition at line 13020 of file breakpoint.c.

References decode_location_default(), and breakpoint::location.

Referenced by initialize_breakpoint_ops().

## ◆ tracepoint_locations_match()

static int tracepoint_locations_match | ( | struct bp_location * | loc1,
|  | struct bp_location * | loc2
| ) |  |
| static

Definition at line 6907 of file breakpoint.c.

References bp_location::address, is_tracepoint(), and bp_location::owner.

Referenced by breakpoint_locations_match().

## ◆ tracepoint_print_mention()

static void tracepoint_print_mention | ( | struct breakpoint * | b | ) |
| static

Definition at line 12939 of file breakpoint.c.

References _, bp_fast_tracepoint, bp_static_tracepoint, bp_tracepoint, current_uiout, internal_error(), breakpoint::number, printf_filtered(), say_where(), and breakpoint::type.

Referenced by initialize_breakpoint_ops().

## ◆ tracepoint_print_one_detail()

static void tracepoint_print_one_detail | ( | const struct breakpoint * | self,
|  | struct ui_out * | uiout
| ) |  |
| static

Definition at line 12923 of file breakpoint.c.

References bp_static_tracepoint, ui_out::field_string(), gdb_assert, tracepoint::static_trace_marker_id, and ui_out::text().

Referenced by initialize_breakpoint_ops().

## ◆ tracepoint_print_recreate()

static void tracepoint_print_recreate | ( | struct breakpoint * | self,
|  | struct ui_file * | fp
| ) |  |
| static

Definition at line 12967 of file breakpoint.c.

References _, bp_fast_tracepoint, bp_static_tracepoint, bp_tracepoint, event_location_to_string(), fprintf_unfiltered(), internal_error(), tracepoint::pass_count, and print_recreate_thread().

Referenced by initialize_breakpoint_ops().

## ◆ tracepoint_probe_create_sals_from_location()

static void tracepoint_probe_create_sals_from_location | ( | const struct event_location * | location,
|  | struct linespec_result * | canonical,
|  | enum bptype | type_wanted
| ) |  |
| static

Definition at line 13034 of file breakpoint.c.

References bkpt_probe_create_sals_from_location().

Referenced by initialize_breakpoint_ops().

## ◆ tracepoint_probe_decode_location()

static std::vector<symtab_and_line> tracepoint_probe_decode_location | ( | struct breakpoint * | b,
|  | const struct event_location * | location,
|  | struct program_space * | search_pspace
| ) |  |
| static

Definition at line 13043 of file breakpoint.c.

References bkpt_probe_decode_location().

Referenced by initialize_breakpoint_ops().

## ◆ tracepoint_re_set()

static void tracepoint_re_set | ( | struct breakpoint * | b | ) |
| static

Definition at line 12907 of file breakpoint.c.

References breakpoint_re_set_default().

Referenced by initialize_breakpoint_ops().

## ◆ translate_condition_evaluation_mode()

static const char* translate_condition_evaluation_mode | ( | const char * | mode | ) |
| static

Definition at line 450 of file breakpoint.c.

References condition_evaluation_auto, condition_evaluation_host, condition_evaluation_target, and target_supports_evaluation_of_breakpoint_conditions.

Referenced by breakpoint_condition_evaluation_mode(), and set_condition_evaluation_mode().

## ◆ unduplicated_should_be_inserted()

static int unduplicated_should_be_inserted | ( | struct bp_location * | bl | ) |
| static

Definition at line 2081 of file breakpoint.c.

References bp_location::duplicate, and should_be_inserted().

Referenced by update_global_location_list().

## ◆ until_break_command()

void until_break_command | ( | const char * | arg,
|  | int | from_tty,
|  | int | anywhere
| ) |  |

Definition at line 11173 of file breakpoint.c.

References _, bp_until, clear_proceed_status(), command_interp(), current_language, decode_line_1(), DECODE_LINE_FUNFIRSTLINE, delete_longjmp_breakpoint_cleanup(), discard_cleanups(), error(), find_pc_line(), frame_id_p(), frame_unwind_caller_arch(), frame_unwind_caller_id(), frame_unwind_caller_pc(), get_frame_arch(), get_last_displayed_line(), get_last_displayed_symtab(), get_selected_frame(), get_stack_frame_id(), thread_info::global_num, inferior_thread(), last_displayed_sal_is_valid(), make_cleanup(), new_until_break_fsm(), null_cleanup(), null_frame_id, symtab_and_line::pc, proceed(), resolve_sal_pc(), set_longjmp_breakpoint(), set_momentary_breakpoint(), string_to_event_location(), thread_info::thread_fsm, and until_break_fsm::thread_fsm.

Referenced by advance_command(), and until_command().

## ◆ until_break_fsm_async_reply_reason()

static enum async_reply_reason until_break_fsm_async_reply_reason | ( | struct thread_fsm * | self | ) |
| static

Definition at line 11167 of file breakpoint.c.

References EXEC_ASYNC_LOCATION_REACHED.

## ◆ until_break_fsm_clean_up()

static void until_break_fsm_clean_up | ( | struct thread_fsm * | self,
|  | struct thread_info * | thread
| ) |  |
| static

Definition at line 11144 of file breakpoint.c.

References until_break_fsm::caller_breakpoint, delete_breakpoint(), delete_longjmp_breakpoint(), until_break_fsm::location_breakpoint, and until_break_fsm::thread.

## ◆ until_break_fsm_should_stop()

static int until_break_fsm_should_stop | ( | struct thread_fsm * | self,
|  | struct thread_info * | thread
| ) |  |
| static

Definition at line 11125 of file breakpoint.c.

References bpstat_find_breakpoint(), until_break_fsm::caller_breakpoint, thread_info::control, until_break_fsm::location_breakpoint, thread_control_state::stop_bpstat, and thread_fsm_set_finished().

## ◆ update_breakpoint_locations()

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
| ) |  |

Definition at line 13646 of file breakpoint.c.

References _, add_location_to_breakpoint(), all_locations_are_pending(), ambiguous_names_p(), block_for_pc(), bp_disabled, breakpoint_locations_match(), CATCH, bp_location::cond, breakpoint::cond_string, gdb::array_view< T >::empty(), breakpoint::enable_state, bp_location::enabled, END_CATCH, find_breakpoint_range_end(), bp_location::function_name, hoist_existing_locations(), bp_location::length, breakpoint::loc, locations_are_equal(), bp_location::next, breakpoint::number, observer_notify_breakpoint_modified(), parse_exp_1(), printf_unfiltered(), RETURN_MASK_ERROR, gdb::array_view< T >::size(), switch_to_program_space_and_thread(), TRY, and warning().

Referenced by breakpoint_re_set_default(), elf_gnu_ifunc_resolver_return_stop(), and re_set_exception_catchpoint().

## ◆ update_breakpoints_after_exec()

void update_breakpoints_after_exec | ( | void |  | ) |

Definition at line 3523 of file breakpoint.c.

References ALL_BP_LOCATIONS, ALL_BREAKPOINTS_SAFE, bp_catchpoint, bp_exception, bp_exception_master, bp_exception_resume, bp_finish, bp_hp_step_resume, bp_jit_event, bp_longjmp, bp_longjmp_call_dummy, bp_longjmp_master, bp_longjmp_resume, bp_overlay_event, bp_shlib_event, bp_single_step, bp_std_terminate_master, bp_step_resume, bp_thread_event, breakpoint_event_location_empty_p(), current_program_space, delete_breakpoint(), gdb_assert, bp_location::inserted, bp_location::pspace, breakpoint::pspace, and breakpoint::type.

Referenced by follow_exec().

## ◆ update_dprintf_command_list()

static void update_dprintf_command_list | ( | struct breakpoint * | b | ) |
| static

Definition at line 8768 of file breakpoint.c.

References _, command_line::body_count, command_line::body_list, breakpoint_set_commands(), command_line::control_type, dprintf_channel, dprintf_function, dprintf_style, dprintf_style_agent, dprintf_style_call, dprintf_style_gdb, error(), breakpoint::extra_string, gdb_assert, internal_error(), command_line::line, command_line::next, simple_control, skip_spaces(), target_can_run_breakpoint_commands, warning(), XNEW, and xstrprintf().

Referenced by dprintf_re_set(), init_breakpoint_sal(), and update_dprintf_commands().

## ◆ update_dprintf_commands()

static void update_dprintf_commands | ( | const char * | args,
|  | int | from_tty,
|  | struct cmd_list_element * | c
| ) |  |
| static

Definition at line 8837 of file breakpoint.c.

References ALL_BREAKPOINTS, bp_dprintf, breakpoint::type, and update_dprintf_command_list().

Referenced by _initialize_breakpoint().

## ◆ update_global_location_list()

static void update_global_location_list | ( | enum ugll_insert_mode | insert_mode | ) |
| static

Definition at line 11853 of file breakpoint.c.

References _, bp_location::address, ALL_BP_LOCATIONS, ALL_BREAKPOINTS, bp_access_watchpoint, bp_hardware_watchpoint, bp_locations, bp_locations_compare(), bp_locations_count, bp_locations_target_extensions_update(), bp_read_watchpoint, breakpoint_address_is_meaningful(), breakpoint_locations_match(), breakpoints_should_be_inserted_now(), condition_modified, condition_unchanged, decref_bp_location(), download_tracepoint_locations(), bp_location::events_till_retirement, force_breakpoint_reinsertion(), gdb_assert, insert_breakpoint_locations(), bp_location::inserted, is_breakpoint(), is_hardware_watchpoint(), is_tracepoint(), breakpoint::loc, loc, need_moribund_for_location_type(), program_space::num, breakpoint::number, overlay_debugging, bp_location::owner, printf_filtered(), bp_location::pspace, qsort, remove_breakpoint(), should_be_inserted(), swap_insertion(), target_is_non_stop_p(), thread_count(), breakpoint::type, UGLL_DONT_INSERT, UGLL_INSERT, unduplicated_should_be_inserted(), update_inserted_breakpoint_locations(), VEC_safe_push, bp_location::watchpoint_type, and XNEWVEC.

Referenced by bpstat_stop_status(), break_range_command(), breakpoint_program_space_exit(), breakpoint_re_set(), condition_command(), create_breakpoint(), delete_breakpoint(), disable_breakpoint(), disable_breakpoints_before_startup(), disable_overlay_breakpoints(), disable_watchpoints_before_interactive_call_start(), enable_breakpoint_disp(), enable_disable_bp_num_loc(), enable_overlay_breakpoints(), enable_watchpoints_after_interactive_call_stop(), insert_breakpoints(), insert_single_step_breakpoint(), install_breakpoint(), set_condition_evaluation_mode(), and update_global_location_list_nothrow().

## ◆ update_global_location_list_nothrow()

static void update_global_location_list_nothrow | ( | enum ugll_insert_mode | insert_mode | ) |
| static

Definition at line 12210 of file breakpoint.c.

References CATCH, END_CATCH, RETURN_MASK_ERROR, TRY, and update_global_location_list().

Referenced by create_solib_event_breakpoint_1(), create_thread_event_breakpoint(), momentary_breakpoint_from_master(), and set_momentary_breakpoint().

## ◆ update_inserted_breakpoint_locations()

static void update_inserted_breakpoint_locations | ( | void |  | ) |
| static

Definition at line 2881 of file breakpoint.c.

References ALL_BP_LOCATIONS, error_stream(), gdbarch_has_global_breakpoints(), inferior_ptid, insert_bp_location(), bp_location::inserted, is_breakpoint(), bp_location::needs_update, null_ptid, target_terminal::ours_for_output(), bp_location::owner, bp_location::pspace, ptid_equal(), ui_file::puts(), switch_to_program_space_and_thread(), and target_gdbarch().

Referenced by update_global_location_list().

## ◆ update_static_tracepoint()

static struct symtab_and_line update_static_tracepoint | ( | struct breakpoint * | b,
|  | struct symtab_and_line | sal
| ) |  |
| static

Definition at line 13480 of file breakpoint.c.

References _, current_uiout, ui_out::field_int(), ui_out::field_string(), find_line_pc(), find_pc_line(), find_pc_sect_function(), initialize_explicit_location(), ui_out::is_mi_like_p(), symtab_and_line::line, explicit_location::line_offset, LINE_OFFSET_NONE, new_explicit_location(), line_offset::offset, symtab_and_line::pc, release_static_tracepoint_marker(), line_offset::sign, explicit_location::source_filename, tracepoint::static_trace_marker_id, static_tracepoint_marker::str_id, SYMBOL_PRINT_NAME, symtab_and_line::symtab, symtab_to_filename_for_display(), symtab_to_fullname(), target_static_tracepoint_marker_at, target_static_tracepoint_markers_by_strid, ui_out::text(), VEC(), VEC_empty, VEC_index, warning(), and xfree().

Referenced by location_to_sals().

## ◆ update_watchpoint()

static void update_watchpoint | ( | struct watchpoint * | b,
|  | int | reparse
| ) |  |
| static

Definition at line 1680 of file breakpoint.c.

References _, address_significant(), allocate_bp_location(), bp_access_watchpoint, bp_hardware_watchpoint, bp_loc_hardware_watchpoint, bp_loc_other, bp_read_watchpoint, bp_watchpoint, can_use_hardware_watchpoint(), can_use_hw_watchpoints, check_typedef(), watchpoint::cond_exp, watchpoint::cond_exp_valid_block, breakpoint::cond_string, disp_del_at_next_stop, breakpoint::disposition, error(), watchpoint::exact, watchpoint::exp, watchpoint::exp_string, watchpoint::exp_string_reparse, watchpoint::exp_valid_block, extract_bitfield_from_watchpoint_value(), fetch_subexp_value(), frame_find_by_id(), gdbarch_stack_frame_destroyed_p(), get_current_frame(), get_frame_arch(), get_frame_id(), get_frame_pc(), get_frame_program_space(), get_selected_frame(), get_type_arch(), hw_access, hw_read, hw_watchpoint_use_count(), hw_watchpoint_used_count_others(), hw_write, is_masked_watchpoint(), breakpoint::loc, loc, bp_location::loc_type, lval_memory, value::next, bp_location::next, breakpoint::number, breakpoint::ops, parse_exp_1(), printf_filtered(), release_value(), select_frame(), software_watchpoint_add_no_memory_location(), target_can_use_hardware_watchpoint, target_exact_watchpoints, target_has_execution, type, breakpoint::type, TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_STRUCT, TYPE_LENGTH, watchpoint::val, watchpoint::val_bitpos, watchpoint::val_bitsize, watchpoint::val_valid, value_address(), value_bitpos(), value_bitsize(), value_free(), value_lazy(), VALUE_LVAL, value_next(), value_type(), watchpoint_del_at_next_stop(), watchpoint::watchpoint_frame, watchpoint_in_thread_scope(), and breakpoint_ops::works_in_software_mode.

Referenced by bpstat_stop_status(), enable_breakpoint_disp(), insert_breakpoints(), re_set_watchpoint(), and watch_command_1().

## ◆ user_breakpoint_p()

int user_breakpoint_p | ( | struct breakpoint * | b | ) |

Definition at line 6493 of file breakpoint.c.

References breakpoint::number.

Referenced by bppy_get_visibility(), breakpoint_1(), delete_command(), delete_trace_command(), describe_other_breakpoints(), enable_disable_command(), gdbpy_breakpoint_created(), remove_threaded_breakpoints(), save_breakpoints(), and should_be_inserted().

## ◆ validate_commands_for_breakpoint()

static void validate_commands_for_breakpoint | ( | struct breakpoint * | b,
|  | struct command_line * | commands
| ) |  |
| static

Definition at line 1081 of file breakpoint.c.

References _, command_line::body_count, command_line::body_list, bp_fast_tracepoint, bp_static_tracepoint, check_no_tracepoint_commands(), command_line::control_type, error(), gdb_assert, is_tracepoint(), command_line::line, command_line::next, tracepoint::step_count, breakpoint::type, validate_actionline(), and while_stepping_control.

Referenced by breakpoint_set_commands().

## ◆ VEC() [1/2]

VEC | ( | bp_location_p |  | ) |

Definition at line 562 of file breakpoint.c.

References ALL_BREAKPOINTS, and func.

Referenced by decode_static_tracepoint_spec(), update_static_tracepoint(), and VEC().

## ◆ VEC() [2/2]

VEC | ( | breakpoint_p |  | ) |

Definition at line 1147 of file breakpoint.c.

References ALL_BREAKPOINTS, bp_static_tracepoint, breakpoint::loc, loc, breakpoint::type, VEC(), and VEC_safe_push.

## ◆ watch_command()

static void watch_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 11034 of file breakpoint.c.

References hw_write, and watch_maybe_just_location().

Referenced by _initialize_breakpoint().

## ◆ watch_command_1()

static void watch_command_1 | ( | const char * | arg,
|  | int | accessflag,
|  | int | from_tty,
|  | int | just_location,
|  | int | internal
| ) |  |
| static

Definition at line 10613 of file breakpoint.c.

References _, bp_location::address, adjust_breakpoint_address(), block_innermost_frame(), bp_access_watchpoint, bp_enabled, bp_hardware_watchpoint, bp_read_watchpoint, bp_watchpoint_scope, create_internal_breakpoint(), current_language, current_program_space, disp_del, disp_donttouch, breakpoint::disposition, breakpoint::enable_state, error(), fetch_subexp_value(), breakpoint::frame_id, frame_id_p(), frame_unwind_caller_arch(), frame_unwind_caller_id(), frame_unwind_caller_pc(), bp_location::gdbarch, get_frame_id(), thread_info::global_num, hw_access, hw_read, inferior_ptid, init_raw_breakpoint_without_location(), innermost_block, install_breakpoint(), invalid_thread_id_error(), language_defn::la_watch_location_expression, breakpoint::loc, masked_watchpoint_breakpoint_ops, momentary_breakpoint_ops, null_frame_id, null_ptid, parse_exp_1(), parse_thread_id(), parse_to_comma_and_eval(), breakpoint::related_breakpoint, release_value(), bp_location::requested_address, savestring(), skip_spaces(), skip_to_space(), startswith(), string, target_masked_watch_num_registers(), breakpoint::type, update_watchpoint(), value_addr(), value_as_address(), value_bitpos(), value_bitsize(), value_free_to_mark(), value_mark(), value_type(), watchpoint_breakpoint_ops, watchpoint_exp_is_const(), and xstrprintf().

Referenced by awatch_command_wrapper(), rwatch_command_wrapper(), watch_command_wrapper(), and watch_maybe_just_location().

## ◆ watch_command_wrapper()

void watch_command_wrapper | ( | const char * | arg,
|  | int | from_tty,
|  | int | internal
| ) |  |

Definition at line 11009 of file breakpoint.c.

References hw_write, and watch_command_1().

Referenced by bppy_init(), gdbscm_register_breakpoint_x(), and mi_cmd_break_watch().

## ◆ watch_maybe_just_location()

static void watch_maybe_just_location | ( | const char * | arg,
|  | int | accessflag,
|  | int | from_tty
| ) |  |
| static

Definition at line 11018 of file breakpoint.c.

References check_for_argument(), skip_spaces(), and watch_command_1().

Referenced by awatch_command(), rwatch_command(), and watch_command().

## ◆ watchpoint_check()

static wp_check_result watchpoint_check | ( | bpstat | bs | ) |
| static

Definition at line 4859 of file breakpoint.c.

References async_reason_lookup(), bpstats::breakpoint_at, breakpoint::commands, contained_in(), current_uiout, EXEC_ASYNC_WATCHPOINT_SCOPE, watchpoint::exp, watchpoint::exp_valid_block, extract_bitfield_from_watchpoint_value(), fetch_subexp_value(), ui_out::field_int(), ui_out::field_string(), frame_find_by_id(), gdb_assert, gdbarch_stack_frame_destroyed_p(), get_current_frame(), get_frame_arch(), get_frame_function(), get_frame_pc(), if(), is_masked_watchpoint(), ui_out::is_mi_like_p(), breakpoint::number, bpstats::old_val, release_value(), select_frame(), SWITCH_THRU_ALL_UIS, SYMBOL_BLOCK_VALUE, ui_out::text(), watchpoint::val, watchpoint::val_bitsize, watchpoint::val_valid, value_equal_contents(), value_free_to_mark(), value_mark(), watchpoint_del_at_next_stop(), watchpoint::watchpoint_frame, watchpoint_in_thread_scope(), WP_DELETED, WP_IGNORE, WP_VALUE_CHANGED, and WP_VALUE_NOT_CHANGED.

Referenced by bpstat_check_watchpoint().

## ◆ watchpoint_del_at_next_stop()

static void watchpoint_del_at_next_stop | ( | struct watchpoint * | w | ) |
| static

Definition at line 1561 of file breakpoint.c.

References bp_watchpoint_scope, disp_del_at_next_stop, breakpoint::disposition, gdb_assert, breakpoint::related_breakpoint, and breakpoint::type.

Referenced by bpstat_check_watchpoint(), delete_breakpoint(), update_watchpoint(), and watchpoint_check().

## ◆ watchpoint_exp_is_const()

static int watchpoint_exp_is_const | ( | const struct expression * | exp | ) |
| static

Definition at line 10021 of file breakpoint.c.

References expression::elts, LOC_BLOCK, LOC_CONST, LOC_CONST_BYTES, expression::nelts, exp_element::opcode, operator_length(), exp_element::symbol, and SYMBOL_CLASS.

Referenced by watch_command_1().

## ◆ watchpoint_in_thread_scope()

static int watchpoint_in_thread_scope | ( | struct watchpoint * | b | ) |
| static

Definition at line 1549 of file breakpoint.c.

References current_program_space, inferior_ptid, is_executing(), null_ptid, breakpoint::pspace, ptid_equal(), and watchpoint::watchpoint_thread.

Referenced by update_watchpoint(), and watchpoint_check().

## ◆ watchpoint_locations_match()

static int watchpoint_locations_match | ( | struct bp_location * | loc1,
|  | struct bp_location * | loc2
| ) |  |
| static

Definition at line 6795 of file breakpoint.c.

References bp_location::address, program_space::aspace, watchpoint::cond_exp, gdb_assert, bp_location::length, bp_location::owner, bp_location::pspace, target_can_accel_watchpoint_condition, breakpoint::type, and bp_location::watchpoint_type.

Referenced by breakpoint_locations_match(), and insert_bp_location().

## ◆ watchpoint_value_print()

static void watchpoint_value_print | ( | struct value * | val,
|  | struct ui_file * | stream
| ) |  |
| static

Definition at line 4516 of file breakpoint.c.

References _, fprintf_unfiltered(), get_user_print_options(), and value_print().

Referenced by print_it_watchpoint().

## ◆ watchpoints_triggered()

int watchpoints_triggered | ( | struct target_waitstatus * | ws | ) |

Definition at line 4762 of file breakpoint.c.

References ALL_BREAKPOINTS, current_target, watchpoint::hw_wp_mask, is_hardware_watchpoint(), is_masked_watchpoint(), breakpoint::loc, loc, target_stopped_by_watchpoint, target_stopped_data_address, target_watchpoint_addr_within_range, watch_triggered_no, watch_triggered_unknown, watch_triggered_yes, and watchpoint::watchpoint_triggered.

Referenced by handle_signal_stop().

## ◆ works_in_software_mode_masked_watchpoint()

static int works_in_software_mode_masked_watchpoint | ( | const struct breakpoint * | b | ) |
| static

Definition at line 10460 of file breakpoint.c.

Referenced by initialize_breakpoint_ops().

## ◆ works_in_software_mode_watchpoint()

static int works_in_software_mode_watchpoint | ( | const struct breakpoint * | b | ) |
| static

Definition at line 10241 of file breakpoint.c.

References bp_hardware_watchpoint, bp_watchpoint, and breakpoint::type.

Referenced by initialize_breakpoint_ops().

## ◆ wrap_indent_at_field()

static char* wrap_indent_at_field | ( | struct ui_out * | uiout,
|  | const char * | col_name
| ) |  |
| static

Definition at line 5796 of file breakpoint.c.

References gdb_assert, memset(), ui_out::query_table_field(), and wrap_indent.

Referenced by print_breakpoint_location().

## Variable Documentation

## ◆ always_inserted_mode

int always_inserted_mode = 0
| static

Definition at line 378 of file breakpoint.c.

Referenced by _initialize_breakpoint(), and breakpoints_should_be_inserted_now().

## ◆ automatic_hardware_breakpoints

int automatic_hardware_breakpoints
| static

Definition at line 360 of file breakpoint.c.

Referenced by _initialize_breakpoint(), and insert_bp_location().

## ◆ base_breakpoint_ops

struct breakpoint_ops base_breakpoint_ops

Initial value:
=
{
base_breakpoint_allocate_location,
base_breakpoint_re_set,
base_breakpoint_insert_location,
base_breakpoint_remove_location,
base_breakpoint_breakpoint_hit,
base_breakpoint_check_status,
base_breakpoint_resources_needed,
base_breakpoint_works_in_software_mode,
base_breakpoint_print_it,
NULL,
base_breakpoint_print_one_detail,
base_breakpoint_print_mention,
base_breakpoint_print_recreate,
base_breakpoint_create_sals_from_location,
base_breakpoint_create_breakpoints_sal,
base_breakpoint_decode_location,
base_breakpoint_explains_signal,
base_breakpoint_after_condition_true,
}
base_breakpoint_explains_signal
static int base_breakpoint_explains_signal(struct breakpoint *b, enum gdb_signal sig)
Definition: breakpoint.c:12463
base_breakpoint_re_set
static void base_breakpoint_re_set(struct breakpoint *b)
Definition: breakpoint.c:12348
base_breakpoint_create_breakpoints_sal
static void base_breakpoint_create_breakpoints_sal(struct gdbarch *gdbarch, struct linespec_result *c, gdb::unique_xmalloc_ptr< char > cond_string, gdb::unique_xmalloc_ptr< char > extra_string, enum bptype type_wanted, enum bpdisp disposition, int thread, int task, int ignore_count, const struct breakpoint_ops *o, int from_tty, int enabled, int internal, unsigned flags)
Definition: breakpoint.c:12437
base_breakpoint_print_mention
static void base_breakpoint_print_mention(struct breakpoint *b)
Definition: breakpoint.c:12416
base_breakpoint_remove_location
static int base_breakpoint_remove_location(struct bp_location *bl, enum remove_bp_reason reason)
Definition: breakpoint.c:12363
base_breakpoint_print_recreate
static void base_breakpoint_print_recreate(struct breakpoint *b, struct ui_file *fp)
Definition: breakpoint.c:12422
base_breakpoint_allocate_location
static struct bp_location * base_breakpoint_allocate_location(struct breakpoint *self)
Definition: breakpoint.c:12342
base_breakpoint_print_one_detail
static void base_breakpoint_print_one_detail(const struct breakpoint *self, struct ui_out *uiout)
Definition: breakpoint.c:12409
base_breakpoint_create_sals_from_location
static void base_breakpoint_create_sals_from_location(const struct event_location *location, struct linespec_result *canonical, enum bptype type_wanted)
Definition: breakpoint.c:12429
base_breakpoint_print_it
static enum print_stop_action base_breakpoint_print_it(bpstat bs)
Definition: breakpoint.c:12403
base_breakpoint_decode_location
static std::vector< symtab_and_line > base_breakpoint_decode_location(struct breakpoint *b, const struct event_location *location, struct program_space *search_pspace)
Definition: breakpoint.c:12453
base_breakpoint_works_in_software_mode
static int base_breakpoint_works_in_software_mode(const struct breakpoint *b)
Definition: breakpoint.c:12388
base_breakpoint_check_status
static void base_breakpoint_check_status(bpstat bs)
Definition: breakpoint.c:12379
base_breakpoint_resources_needed
static int base_breakpoint_resources_needed(const struct bp_location *bl)
Definition: breakpoint.c:12397
base_breakpoint_breakpoint_hit
static int base_breakpoint_breakpoint_hit(const struct bp_location *bl, const address_space *aspace, CORE_ADDR bp_addr, const struct target_waitstatus *ws)
Definition: breakpoint.c:12370
base_breakpoint_after_condition_true
static void base_breakpoint_after_condition_true(struct bpstats *bs)
Definition: breakpoint.c:12471
base_breakpoint_insert_location
static int base_breakpoint_insert_location(struct bp_location *bl)
Definition: breakpoint.c:12357

Definition at line 12476 of file breakpoint.c.

Referenced by initialize_breakpoint_ops(), initialize_signal_catchpoint_ops(), and initialize_syscall_catchpoint_ops().

## ◆ bkpt_base_breakpoint_ops

struct breakpoint_ops bkpt_base_breakpoint_ops
| static

Definition at line 245 of file breakpoint.c.

Referenced by initialize_breakpoint_ops().

## ◆ bkpt_breakpoint_ops

struct breakpoint_ops bkpt_breakpoint_ops

Definition at line 255 of file breakpoint.c.

Referenced by bpfinishpy_init(), bppy_init(), break_command_1(), check_status_exception_catchpoint(), gdbscm_register_breakpoint_x(), initialize_ada_catchpoint_ops(), initialize_breakpoint_ops(), initialize_throw_catchpoint_ops(), mi_cmd_break_insert_1(), re_set_exception(), and spu_catch_start().

## ◆ bkpt_probe_breakpoint_ops

struct breakpoint_ops bkpt_probe_breakpoint_ops
| static

Definition at line 258 of file breakpoint.c.

Referenced by break_command_1(), and initialize_breakpoint_ops().

## ◆ bp_location_ops

const struct bp_location_ops bp_location_ops
| static

Initial value:
=
{
bp_location_dtor
}
bp_location_dtor
static void bp_location_dtor(struct bp_location *self)
Definition: breakpoint.c:12322

Definition at line 12327 of file breakpoint.c.

## ◆ bp_locations

struct bp_location** bp_locations
| static

Definition at line 537 of file breakpoint.c.

Referenced by breakpoint_xfer_memory(), get_first_locp_gte_addr(), and update_global_location_list().

## ◆ bp_locations_count

unsigned bp_locations_count
| static

Definition at line 541 of file breakpoint.c.

Referenced by breakpoint_xfer_memory(), get_first_locp_gte_addr(), and update_global_location_list().

## ◆ bp_locations_placed_address_before_address_max

CORE_ADDR bp_locations_placed_address_before_address_max
| static

Definition at line 549 of file breakpoint.c.

Referenced by bp_locations_target_extensions_update(), and breakpoint_xfer_memory().

## ◆ bp_locations_shadow_len_after_address_max

CORE_ADDR bp_locations_shadow_len_after_address_max
| static

Definition at line 557 of file breakpoint.c.

Referenced by bp_locations_target_extensions_update(), and breakpoint_xfer_memory().

## ◆ breakpoint_chain

struct breakpoint* breakpoint_chain

Definition at line 533 of file breakpoint.c.

Referenced by _initialize_breakpoint(), add_to_breakpoint_chain(), delete_breakpoint(), and tui_update_breakpoint_info().

## ◆ breakpoint_objfile_key

const struct objfile_data* breakpoint_objfile_key
| static

Definition at line 3172 of file breakpoint.c.

Referenced by _initialize_breakpoint(), and get_breakpoint_objfile_data().

## ◆ breakpoint_proceeded

int breakpoint_proceeded
| static

Definition at line 311 of file breakpoint.c.

Referenced by bpstat_do_actions_1(), and breakpoint_about_to_proceed().

## ◆ can_use_hw_watchpoints

int can_use_hw_watchpoints
| static

Definition at line 327 of file breakpoint.c.

Referenced by _initialize_breakpoint(), can_use_hardware_watchpoint(), and update_watchpoint().

## ◆ catch_cmdlist

struct cmd_list_element* catch_cmdlist
| static

Definition at line 15311 of file breakpoint.c.

Referenced by _initialize_breakpoint(), and add_catch_command().

## ◆ catch_exec_breakpoint_ops

struct breakpoint_ops catch_exec_breakpoint_ops
| static

Definition at line 8402 of file breakpoint.c.

Referenced by catch_exec_command_1(), and initialize_breakpoint_ops().

## ◆ catch_fork_breakpoint_ops

struct breakpoint_ops catch_fork_breakpoint_ops
| static

Definition at line 7862 of file breakpoint.c.

Referenced by catch_fork_command_1(), and initialize_breakpoint_ops().

## ◆ catch_solib_breakpoint_ops

struct breakpoint_ops catch_solib_breakpoint_ops
| static

Definition at line 8170 of file breakpoint.c.

Referenced by add_solib_catchpoint(), and initialize_breakpoint_ops().

## ◆ catch_vfork_breakpoint_ops

struct breakpoint_ops catch_vfork_breakpoint_ops
| static

Definition at line 7977 of file breakpoint.c.

Referenced by catch_fork_command_1(), and initialize_breakpoint_ops().

## ◆ condition_evaluation_auto

const char condition_evaluation_auto[] = "auto"
| static

Definition at line 427 of file breakpoint.c.

Referenced by show_condition_evaluation_mode(), and translate_condition_evaluation_mode().

## ◆ condition_evaluation_both

const char condition_evaluation_both[] = "host or target"
| static

Definition at line 424 of file breakpoint.c.

Referenced by bp_condition_evaluator(), and print_breakpoint_location().

## ◆ condition_evaluation_enums

const char* const condition_evaluation_enums[]
| static

Initial value:
= {
condition_evaluation_auto,
condition_evaluation_host,
condition_evaluation_target,
NULL
}
condition_evaluation_auto
static const char condition_evaluation_auto[]
Definition: breakpoint.c:427
condition_evaluation_host
static const char condition_evaluation_host[]
Definition: breakpoint.c:428
condition_evaluation_target
static const char condition_evaluation_target[]
Definition: breakpoint.c:429

Definition at line 430 of file breakpoint.c.

Referenced by _initialize_breakpoint().

## ◆ condition_evaluation_host

const char condition_evaluation_host[] = "host"
| static

Definition at line 428 of file breakpoint.c.

Referenced by bp_condition_evaluator(), bp_location_condition_evaluator(), gdb_evaluates_breakpoint_condition_p(), and translate_condition_evaluation_mode().

## ◆ condition_evaluation_mode

const char* condition_evaluation_mode = condition_evaluation_auto
| static

Definition at line 442 of file breakpoint.c.

Referenced by breakpoint_condition_evaluation_mode(), set_condition_evaluation_mode(), and show_condition_evaluation_mode().

## ◆ condition_evaluation_mode_1

const char* condition_evaluation_mode_1 = condition_evaluation_auto
| static

Definition at line 438 of file breakpoint.c.

Referenced by _initialize_breakpoint(), and set_condition_evaluation_mode().

## ◆ condition_evaluation_target

const char condition_evaluation_target[] = "target"
| static

Definition at line 429 of file breakpoint.c.

Referenced by bp_condition_evaluator(), bp_location_condition_evaluator(), print_breakpoint_location(), print_one_breakpoint_location(), set_condition_evaluation_mode(), and translate_condition_evaluation_mode().

## ◆ disconnected_dprintf

int disconnected_dprintf = 1
| static

Definition at line 300 of file breakpoint.c.

Referenced by _initialize_breakpoint(), and build_target_command_list().

## ◆ dprintf_breakpoint_ops

struct breakpoint_ops dprintf_breakpoint_ops

Definition at line 261 of file breakpoint.c.

Referenced by dprintf_command(), initialize_breakpoint_ops(), and mi_cmd_break_insert_1().

## ◆ dprintf_channel

char* dprintf_channel
| static

Definition at line 296 of file breakpoint.c.

Referenced by _initialize_breakpoint(), and update_dprintf_command_list().

## ◆ dprintf_function

char* dprintf_function
| static

Definition at line 286 of file breakpoint.c.

Referenced by _initialize_breakpoint(), and update_dprintf_command_list().

## ◆ dprintf_style

const char* dprintf_style = dprintf_style_gdb
| static

Definition at line 279 of file breakpoint.c.

Referenced by _initialize_breakpoint(), build_target_command_list(), dprintf_breakpoint_hit(), and update_dprintf_command_list().

## ◆ dprintf_style_agent

const char dprintf_style_agent[] = "agent"
| static

Definition at line 272 of file breakpoint.c.

Referenced by build_target_command_list(), dprintf_breakpoint_hit(), and update_dprintf_command_list().

## ◆ dprintf_style_call

const char dprintf_style_call[] = "call"
| static

Definition at line 271 of file breakpoint.c.

Referenced by update_dprintf_command_list().

## ◆ dprintf_style_enums

const char* const dprintf_style_enums[]
| static

Initial value:
= {
dprintf_style_gdb,
dprintf_style_call,
dprintf_style_agent,
NULL
}
dprintf_style_call
static const char dprintf_style_call[]
Definition: breakpoint.c:271
dprintf_style_agent
static const char dprintf_style_agent[]
Definition: breakpoint.c:272
dprintf_style_gdb
static const char dprintf_style_gdb[]
Definition: breakpoint.c:270

Definition at line 273 of file breakpoint.c.

Referenced by _initialize_breakpoint().

## ◆ dprintf_style_gdb

const char dprintf_style_gdb[] = "gdb"
| static

Definition at line 270 of file breakpoint.c.

Referenced by update_dprintf_command_list().

## ◆ enablebreaklist

struct cmd_list_element* enablebreaklist = NULL
| static

Definition at line 15591 of file breakpoint.c.

Referenced by _initialize_breakpoint().

## ◆ executing_breakpoint_commands

int executing_breakpoint_commands
| static

Definition at line 483 of file breakpoint.c.

Referenced by bpstat_do_actions_1().

## ◆ internal_breakpoint_number

int internal_breakpoint_number = -1
| static

Definition at line 3099 of file breakpoint.c.

Referenced by create_internal_breakpoint(), momentary_breakpoint_from_master(), and set_breakpoint_number().

## ◆ internal_breakpoint_ops

struct breakpoint_ops internal_breakpoint_ops
| static

Definition at line 248 of file breakpoint.c.

Referenced by create_exception_master_breakpoint(), create_jit_event_breakpoint(), create_longjmp_master_breakpoint(), create_overlay_event_breakpoint(), create_solib_event_breakpoint_1(), create_std_terminate_master_breakpoint(), create_thread_event_breakpoint(), and initialize_breakpoint_ops().

## ◆ longjmp_names

const char* const longjmp_names[]
| static

Initial value:
=
{
"longjmp", "_longjmp", "siglongjmp", "_siglongjmp"
}

Definition at line 3136 of file breakpoint.c.

Referenced by create_longjmp_master_breakpoint().

## ◆ masked_watchpoint_breakpoint_ops

struct breakpoint_ops masked_watchpoint_breakpoint_ops
| static

Definition at line 10599 of file breakpoint.c.

Referenced by initialize_breakpoint_ops(), is_masked_watchpoint(), and watch_command_1().

## ◆ momentary_breakpoint_ops

struct breakpoint_ops momentary_breakpoint_ops
| static

Definition at line 251 of file breakpoint.c.

Referenced by initialize_breakpoint_ops(), new_single_step_breakpoint(), set_longjmp_breakpoint(), set_longjmp_breakpoint_for_call_dummy(), set_momentary_breakpoint(), set_std_terminate_breakpoint(), and watch_command_1().

## ◆ msym_not_found

struct minimal_symbol msym_not_found
| static

Definition at line 3175 of file breakpoint.c.

Referenced by create_exception_master_breakpoint(), create_longjmp_master_breakpoint(), create_overlay_event_breakpoint(), create_std_terminate_master_breakpoint(), and msym_not_found_p().

## ◆ next_cmd

int next_cmd
| static

Definition at line 14771 of file breakpoint.c.

Referenced by create_tracepoint_from_upload(), and read_uploaded_action().

## ◆ overlay_events_enabled

int overlay_events_enabled
| static

Definition at line 486 of file breakpoint.c.

Referenced by create_overlay_event_breakpoint(), disable_overlay_breakpoints(), enable_overlay_breakpoints(), insert_bp_location(), and remove_breakpoint_1().

## ◆ pending_break_support

enum auto_boolean pending_break_support
| static

Definition at line 344 of file breakpoint.c.

Referenced by _initialize_breakpoint(), break_command_1(), create_breakpoint(), create_tracepoint_from_upload(), dprintf_command(), ftrace_command(), strace_command(), and trace_command().

## ◆ ranged_breakpoint_ops

struct breakpoint_ops ranged_breakpoint_ops
| static

Definition at line 9878 of file breakpoint.c.

Referenced by break_range_command(), and initialize_breakpoint_ops().

## ◆ rbreak_start_breakpoint_count

int rbreak_start_breakpoint_count
| static

Definition at line 618 of file breakpoint.c.

Referenced by scoped_rbreak_breakpoints::scoped_rbreak_breakpoints(), and scoped_rbreak_breakpoints::~scoped_rbreak_breakpoints().

## ◆ strace_marker_breakpoint_ops

struct breakpoint_ops strace_marker_breakpoint_ops
| static

Definition at line 13214 of file breakpoint.c.

Referenced by initialize_breakpoint_ops(), strace_command(), and strace_marker_p().

## ◆ target_exact_watchpoints

int target_exact_watchpoints = 0

Definition at line 489 of file breakpoint.c.

Referenced by _initialize_rs6000_tdep(), can_use_hardware_watchpoint(), and update_watchpoint().

## ◆ tcatch_cmdlist

struct cmd_list_element* tcatch_cmdlist
| static

Definition at line 15314 of file breakpoint.c.

Referenced by _initialize_breakpoint(), and add_catch_command().

## ◆ this_utp

struct uploaded_tp* this_utp
| static

Definition at line 14770 of file breakpoint.c.

Referenced by create_tracepoint_from_upload(), and read_uploaded_action().

## ◆ tracepoint_breakpoint_ops

struct breakpoint_ops tracepoint_breakpoint_ops

Definition at line 13027 of file breakpoint.c.

Referenced by create_tracepoint_from_upload(), ftrace_command(), initialize_breakpoint_ops(), mi_cmd_break_insert_1(), strace_command(), and trace_command().

## ◆ tracepoint_probe_breakpoint_ops

struct breakpoint_ops tracepoint_probe_breakpoint_ops
| static

Definition at line 13051 of file breakpoint.c.

Referenced by initialize_breakpoint_ops(), and trace_command().

## ◆ until_break_fsm_ops

struct thread_fsm_ops until_break_fsm_ops
| static

Initial value:
=
{
NULL,
until_break_fsm_clean_up,
until_break_fsm_should_stop,
NULL,
until_break_fsm_async_reply_reason,
}
until_break_fsm_clean_up
static void until_break_fsm_clean_up(struct thread_fsm *self, struct thread_info *thread)
Definition: breakpoint.c:11144
until_break_fsm_async_reply_reason
static enum async_reply_reason until_break_fsm_async_reply_reason(struct thread_fsm *self)
Definition: breakpoint.c:11167
until_break_fsm_should_stop
static int until_break_fsm_should_stop(struct thread_fsm *self, struct thread_info *thread)
Definition: breakpoint.c:11125

Definition at line 11093 of file breakpoint.c.

Referenced by new_until_break_fsm().

## ◆ watchpoint_breakpoint_ops

struct breakpoint_ops watchpoint_breakpoint_ops
| static

Definition at line 10419 of file breakpoint.c.

Referenced by initialize_breakpoint_ops(), and watch_command_1().