GDB (xrefs)

Public Member Functions | Public Attributes | List of all members
bp_location Class Reference

`#include "breakpoint.h"`

Inheritance diagram for bp_location:

## Public Member Functions
| bp_location ()=default
| bp_location (const bp_location_ops *ops, breakpoint *owner)

## Public Attributes
bp_location * | next = NULL
const bp_location_ops * | ops = NULL
int | refc = 0
bp_loc_type | loc_type {}
breakpoint * | owner = NULL
expression_up | cond
agent_expr_up | cond_bytecode
condition_status | condition_changed {}
agent_expr_up | cmd_bytecode
bool | needs_update = false
bool | shlib_disabled = false
bool | enabled = false
bool | inserted = false
bool | permanent = false
bool | duplicate = false
struct gdbarch * | gdbarch = NULL
program_space * | pspace = NULL
CORE_ADDR | address = 0
int | length = 0
target_hw_bp_type | watchpoint_type {}
obj_section * | section = NULL
CORE_ADDR | requested_address = 0
CORE_ADDR | related_address = 0
bound_probe | probe {}
char * | function_name = NULL
bp_target_info | target_info {}
bp_target_info | overlay_target_info {}
int | events_till_retirement = 0
int | line_number = 0
struct symtab * | symtab = NULL
const struct symbol * | symbol = NULL

## Detailed Description

Definition at line 315 of file breakpoint.h.

## Constructor & Destructor Documentation

## ◆ bp_location() [1/2]

bp_location::bp_location | ( |  | ) |
| default

Referenced by base_breakpoint_allocate_location().

## ◆ bp_location() [2/2]

bp_location::bp_location | ( | const bp_location_ops * | ops,
|  | breakpoint * | owner
| ) |  |

Definition at line 7019 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_loc_hardware_breakpoint, bp_loc_hardware_watchpoint, bp_loc_other, bp_loc_software_breakpoint, bp_longjmp, bp_longjmp_call_dummy, bp_longjmp_master, bp_longjmp_resume, 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, gdb_assert, internal_error(), loc, mark_breakpoint_location_modified(), ops, owner, and breakpoint::type.

## Member Data Documentation

## ◆ address

CORE_ADDR bp_location::address = 0

Definition at line 427 of file breakpoint.h.

Referenced by add_location_to_breakpoint(), bkpt_breakpoint_hit(), bkpt_print_it(), bp_location_inserted_here_p(), bp_locations_compare(), bp_locations_compare_addrs(), bp_locations_target_extensions_update(), breakpoint_1(), breakpoint_has_pc(), breakpoint_hit_ranged_breakpoint(), breakpoint_location_address_match(), breakpoint_location_address_range_overlap(), breakpoint_locations_match(), breakpoint_xfer_memory(), build_target_command_list(), build_target_condition_list(), create_excep_cond_exprs(), create_thread_event_breakpoint(), disable_breakpoints_in_shlibs(), disable_breakpoints_in_unloaded_shlib(), encode_actions(), encode_actions_1(), find_matching_tracepoint_location(), force_breakpoint_reinsertion(), get_first_locp_gte_addr(), get_traceframe_location(), init_breakpoint_sal(), insert_bp_location(), insert_masked_watchpoint(), insert_watchpoint(), is_no_memory_software_watchpoint(), locations_are_equal(), momentary_breakpoint_from_master(), print_mention_ranged_breakpoint(), print_one_breakpoint_location(), print_one_detail_ranged_breakpoint(), print_one_exception(), print_one_exception_catchpoint(), process_event_stop_test(), remote_disable_tracepoint(), remote_enable_tracepoint(), remote_get_tracepoint_status(), remove_breakpoint_1(), remove_masked_watchpoint(), remove_watchpoint(), resources_needed_masked_watchpoint(), resources_needed_watchpoint(), say_where(), set_breakpoint_location_function(), should_be_inserted(), software_watchpoint_add_no_memory_location(), tfile_get_traceframe_address(), tracefile_fetch_registers(), tracepoint_locations_match(), update_global_location_list(), validate_actionline(), watch_command_1(), and watchpoint_locations_match().

## ◆ cmd_bytecode

agent_expr_up bp_location::cmd_bytecode

Definition at line 372 of file breakpoint.h.

## ◆ cond

expression_up bp_location::cond

Definition at line 350 of file breakpoint.h.

Referenced by bpstat_check_breakpoint_conditions(), parse_cond_to_aexpr(), and update_breakpoint_locations().

## ◆ cond_bytecode

agent_expr_up bp_location::cond_bytecode

Definition at line 355 of file breakpoint.h.

Referenced by bp_condition_evaluator(), and bp_location_condition_evaluator().

## ◆ condition_changed

condition_status bp_location::condition_changed {}

Definition at line 370 of file breakpoint.h.

## ◆ duplicate

bool bp_location::duplicate = false

Definition at line 403 of file breakpoint.h.

Referenced by insert_bp_location(), remove_breakpoint_1(), should_be_inserted(), swap_insertion(), and unduplicated_should_be_inserted().

## ◆ enabled

bool bp_location::enabled = false

Definition at line 385 of file breakpoint.h.

Referenced by gdb.printing.FlagEnumerationPrinter::__call__(), gdb.unwinder.Unwinder::__init__(), gdb.xmethod.XMethod::__init__(), gdb.printing.PrettyPrinter::__init__(), gdb.printing.SubPrettyPrinter::__init__(), gdb.xmethod.XMethodMatcher::__init__(), gdb.types.TypePrinter::__init__(), bpstat_stop_status(), follow_inferior_reset_breakpoints(), locations_are_equal(), momentary_breakpoint_from_master(), print_one_breakpoint(), print_one_breakpoint_location(), should_be_inserted(), and update_breakpoint_locations().

## ◆ events_till_retirement

int bp_location::events_till_retirement = 0

Definition at line 476 of file breakpoint.h.

Referenced by update_global_location_list().

## ◆ function_name

char* bp_location::function_name = NULL

Definition at line 459 of file breakpoint.h.

Referenced by ambiguous_names_p(), set_breakpoint_location_function(), and update_breakpoint_locations().

## ◆ gdbarch

struct gdbarch* bp_location::gdbarch = NULL

Definition at line 413 of file breakpoint.h.

Referenced by bkpt_insert_location(), bkpt_probe_insert_location(), bkpt_probe_remove_location(), bkpt_remove_location(), breakpoint_1(), breakpoint_kind(), breakpoint_xfer_memory(), encode_actions(), insert_bp_location(), merge_uploaded_tracepoints(), momentary_breakpoint_from_master(), print_it_catch_syscall(), print_mention_catch_syscall(), print_mention_ranged_breakpoint(), print_one_breakpoint_location(), print_one_catch_syscall(), print_one_detail_masked_watchpoint(), print_one_detail_ranged_breakpoint(), print_one_exception(), print_one_exception_catchpoint(), print_recreate_catch_syscall(), remove_breakpoint_1(), say_where(), set_breakpoint_location_function(), should_be_inserted(), and watch_command_1().

## ◆ inserted

bool bp_location::inserted = false

Definition at line 388 of file breakpoint.h.

Referenced by bp_location_has_shadow(), bp_location_inserted_here_p(), create_and_insert_solib_event_breakpoint(), detach_breakpoints(), disable_breakpoints_in_unloaded_shlib(), download_tracepoint_locations(), init_breakpoint_sal(), insert_bp_location(), insert_breakpoint_locations(), mark_breakpoints_out(), merge_uploaded_tracepoints(), print_one_breakpoint_location(), remove_breakpoint_1(), remove_breakpoints(), remove_breakpoints_pid(), swap_insertion(), update_breakpoints_after_exec(), update_global_location_list(), and update_inserted_breakpoint_locations().

## ◆ length

int bp_location::length = 0

Definition at line 432 of file breakpoint.h.

Referenced by break_range_command(), breakpoint_hit_ranged_breakpoint(), breakpoint_location_address_match(), breakpoint_location_address_range_overlap(), breakpoint_locations_match(), insert_bp_location(), insert_watchpoint(), is_no_memory_software_watchpoint(), print_mention_ranged_breakpoint(), print_one_detail_ranged_breakpoint(), remove_watchpoint(), resources_needed_watchpoint(), should_be_inserted(), software_watchpoint_add_no_memory_location(), update_breakpoint_locations(), and watchpoint_locations_match().

## ◆ line_number

int bp_location::line_number = 0

Definition at line 483 of file breakpoint.h.

Referenced by momentary_breakpoint_from_master(), and say_where().

## ◆ loc_type

bp_loc_type bp_location::loc_type {}

Definition at line 333 of file breakpoint.h.

Referenced by bkpt_insert_location(), bkpt_remove_location(), bp_location_has_shadow(), breakpoint_here_p(), breakpoint_in_range_p(), breakpoint_inserted_here_p(), detach_breakpoints(), disable_breakpoints_in_unloaded_shlib(), hardware_breakpoint_inserted_here_p(), insert_bp_location(), remove_breakpoint_1(), should_be_inserted(), software_breakpoint_inserted_here_p(), and update_watchpoint().

## ◆ needs_update

bool bp_location::needs_update = false

Definition at line 377 of file breakpoint.h.

Referenced by build_target_command_list(), build_target_condition_list(), insert_bp_location(), insert_breakpoint_locations(), swap_insertion(), and update_inserted_breakpoint_locations().

## ◆ next

bp_location* bp_location::next = NULL

Definition at line 324 of file breakpoint.h.

Referenced by gdb.FrameIterator.FrameIterator::__next__(), ambiguous_names_p(), bp_condition_evaluator(), bpstat_stop_status(), breakpoint_has_pc(), breakpoint_hit_catch_solib(), breakpoint_program_space_exit(), create_excep_cond_exprs(), disable_breakpoint(), download_tracepoint_locations(), elf_gnu_ifunc_resolver_return_stop(), elf_gnu_ifunc_resolver_stop(), enable_breakpoint_disp(), find_location_by_number(), find_matching_tracepoint_location(), get_traceframe_location(), hoist_existing_locations(), hw_breakpoint_used_count(), hw_watchpoint_use_count(), is_no_memory_software_watchpoint(), jit_breakpoint_deleted(), locations_are_equal(), pc_at_non_inline_function(), print_it_masked_watchpoint(), print_it_ranged_breakpoint(), print_one_breakpoint(), print_one_breakpoint_location(), print_one_detail_masked_watchpoint(), print_one_ranged_breakpoint(), process_tracepoint_on_disconnect(), remote_get_tracepoint_status(), save_breakpoints(), say_where(), set_breakpoint_location_function(), tracefile_fetch_registers(), update_breakpoint_locations(), update_watchpoint(), and validate_actionline().

## ◆ ops

const bp_location_ops* bp_location::ops = NULL

Definition at line 327 of file breakpoint.h.

Referenced by bp_location().

## ◆ overlay_target_info

bp_target_info bp_location::overlay_target_info {}

Definition at line 465 of file breakpoint.h.

Referenced by insert_bp_location(), and remove_breakpoint_1().

## ◆ owner

breakpoint* bp_location::owner = NULL

Definition at line 341 of file breakpoint.h.

Referenced by bkpt_resources_needed(), bp_location(), bp_location_condition_evaluator(), bp_locations_compare(), bpstat_check_location(), breakpoint_here_p(), breakpoint_hit_catch_exec(), breakpoint_hit_catch_fork(), breakpoint_hit_catch_solib(), breakpoint_hit_catch_syscall(), breakpoint_hit_catch_vfork(), breakpoint_hit_watchpoint(), breakpoint_in_range_p(), breakpoint_kind(), breakpoint_locations_match(), breakpoint_xfer_memory(), build_target_command_list(), disable_breakpoints_in_shlibs(), disable_breakpoints_in_unloaded_shlib(), encode_actions(), insert_bp_location(), insert_breakpoint_locations(), insert_catch_syscall(), insert_masked_watchpoint(), insert_watchpoint(), jit_breakpoint_deleted(), merge_uploaded_tracepoints(), remote_disable_tracepoint(), remote_download_tracepoint(), remote_enable_tracepoint(), remove_breakpoint(), remove_breakpoint_1(), remove_breakpoints(), remove_catch_syscall(), remove_masked_watchpoint(), remove_watchpoint(), resources_needed_masked_watchpoint(), resources_needed_watchpoint(), set_breakpoint_location_function(), should_be_inserted(), should_stop_exception(), signal_catchpoint_breakpoint_hit(), signal_catchpoint_insert_location(), signal_catchpoint_remove_location(), swap_insertion(), tracepoint_locations_match(), update_global_location_list(), update_inserted_breakpoint_locations(), and watchpoint_locations_match().

## ◆ permanent

bool bp_location::permanent = false

Definition at line 395 of file breakpoint.h.

Referenced by bp_locations_compare(), breakpoint_here_p(), breakpoint_in_range_p(), process_event_stop_test(), and resume_1().

## ◆ probe

bound_probe bp_location::probe {}

Definition at line 457 of file breakpoint.h.

Referenced by bkpt_probe_insert_location(), bkpt_probe_remove_location(), and momentary_breakpoint_from_master().

## ◆ pspace

program_space* bp_location::pspace = NULL

Definition at line 421 of file breakpoint.h.

Referenced by all_locations_are_pending(), bkpt_breakpoint_hit(), bp_location_inserted_here_p(), bp_locations_compare(), breakpoint_has_pc(), breakpoint_hit_ranged_breakpoint(), breakpoint_init_inferior(), breakpoint_location_address_match(), breakpoint_location_address_range_overlap(), breakpoint_locations_match(), breakpoint_program_space_exit(), breakpoint_re_set_thread(), build_target_command_list(), build_target_condition_list(), detach_breakpoints(), disable_breakpoints_in_shlibs(), disable_breakpoints_in_unloaded_shlib(), download_tracepoint_locations(), force_breakpoint_reinsertion(), hoist_existing_locations(), insert_bp_location(), insert_breakpoint_locations(), jit_breakpoint_deleted(), location_to_sals(), mark_breakpoints_out(), momentary_breakpoint_from_master(), remove_breakpoint(), remove_breakpoint_1(), remove_breakpoints_pid(), remove_jit_event_breakpoints(), remove_solib_event_breakpoints(), remove_solib_event_breakpoints_at_next_stop(), set_breakpoint_location_function(), should_be_inserted(), software_watchpoint_add_no_memory_location(), update_breakpoints_after_exec(), update_global_location_list(), update_inserted_breakpoint_locations(), and watchpoint_locations_match().

## ◆ refc

int bp_location::refc = 0

Definition at line 330 of file breakpoint.h.

Referenced by incref_bp_location().

## ◆ related_address

CORE_ADDR bp_location::related_address = 0

Definition at line 453 of file breakpoint.h.

Referenced by elf_gnu_ifunc_resolver_return_stop(), and set_breakpoint_location_function().

## ◆ requested_address

CORE_ADDR bp_location::requested_address = 0

Definition at line 448 of file breakpoint.h.

Referenced by bkpt_print_it(), elf_gnu_ifunc_resolver_stop(), momentary_breakpoint_from_master(), set_breakpoint_location_function(), and watch_command_1().

## ◆ section

obj_section* bp_location::section = NULL

Definition at line 440 of file breakpoint.h.

Referenced by bkpt_breakpoint_hit(), bp_location_inserted_here_p(), breakpoint_has_pc(), breakpoint_here_p(), breakpoint_in_range_p(), insert_bp_location(), momentary_breakpoint_from_master(), and remove_breakpoint_1().

## ◆ shlib_disabled

bool bp_location::shlib_disabled = false

Definition at line 382 of file breakpoint.h.

Referenced by bpstat_stop_status(), create_excep_cond_exprs(), disable_breakpoints_in_shlibs(), disable_breakpoints_in_unloaded_shlib(), insert_bp_location(), location_to_sals(), locations_are_equal(), pc_at_non_inline_function(), print_one_breakpoint_location(), print_one_exception_catchpoint(), process_tracepoint_on_disconnect(), remove_breakpoint_1(), and should_be_inserted().

## ◆ symbol

const struct symbol* bp_location::symbol = NULL

Definition at line 493 of file breakpoint.h.

## ◆ symtab

struct symtab* bp_location::symtab = NULL

Definition at line 488 of file breakpoint.h.

Referenced by momentary_breakpoint_from_master(), and say_where().

## ◆ target_info

bp_target_info bp_location::target_info {}

Definition at line 462 of file breakpoint.h.

Referenced by bkpt_insert_location(), bkpt_remove_location(), bp_location_has_shadow(), bp_locations_target_extensions_update(), breakpoint_xfer_memory(), build_target_command_list(), build_target_condition_list(), insert_bp_location(), remove_breakpoint_1(), remove_breakpoints_pid(), and swap_insertion().

## ◆ watchpoint_type

target_hw_bp_type bp_location::watchpoint_type {}

Definition at line 435 of file breakpoint.h.

Referenced by bpstat_check_watchpoint(), insert_bp_location(), insert_masked_watchpoint(), insert_watchpoint(), remove_masked_watchpoint(), remove_watchpoint(), update_global_location_list(), and watchpoint_locations_match().

The documentation for this class was generated from the following files:

- /tmp/gdb-8.1/gdb/breakpoint.h
- /tmp/gdb-8.1/gdb/breakpoint.c