GDB (xrefs)
|
#include "breakpoint.h"
Public Member Functions | |
bp_location ()=default | |
bp_location (breakpoint *owner) | |
bp_location (breakpoint *owner, bp_loc_type type) | |
virtual | ~bp_location ()=default |
Public Attributes | |
bp_location * | next = NULL |
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 | disabled_by_cond = 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 {} |
gdb::unique_xmalloc_ptr< char > | function_name |
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 |
const minimal_symbol * | msymbol = NULL |
const struct objfile * | objfile = NULL |
Definition at line 323 of file breakpoint.h.
|
default |
|
explicit |
Definition at line 7386 of file breakpoint.c.
bp_location::bp_location | ( | breakpoint * | owner, |
bp_loc_type | type | ||
) |
Definition at line 7369 of file breakpoint.c.
References bp_loc_hardware_breakpoint, bp_loc_software_breakpoint, cond_bytecode, disabled_by_cond, enabled, loc_type, mark_breakpoint_location_modified(), owner, and shlib_disabled.
|
virtualdefault |
CORE_ADDR bp_location::address = 0 |
Definition at line 442 of file breakpoint.h.
Referenced by code_breakpoint::add_location(), bp_location_inserted_here_p(), bp_location_is_less_than(), bpstat_locno(), breakpoint_1(), ranged_breakpoint::breakpoint_hit(), code_breakpoint::breakpoint_hit(), breakpoint_location_address_match(), breakpoint_location_address_range_overlap(), breakpoint_locations_match(), breakpoint_xfer_memory(), build_target_command_list(), build_target_condition_list(), code_breakpoint::code_breakpoint(), create_thread_event_breakpoint(), remote_target::disable_tracepoint(), remote_target::enable_tracepoint(), encode_actions(), encode_actions_1(), force_breakpoint_reinsertion(), handle_automatic_hardware_breakpoints(), insert_bp_location(), masked_watchpoint::insert_location(), watchpoint::insert_location(), locations_are_equal(), momentary_breakpoint_from_master(), ordinary_breakpoint::print_it(), ranged_breakpoint::print_mention(), ranged_breakpoint::print_one_detail(), process_event_stop_test(), remove_breakpoint_1(), masked_watchpoint::remove_location(), watchpoint::remove_location(), masked_watchpoint::resources_needed(), watchpoint::resources_needed(), say_where(), should_be_inserted(), tfile_get_traceframe_address(), tracefile_fetch_registers(), tracepoint_locations_match(), update_global_location_list(), watch_command_1(), and watchpoint_locations_match().
agent_expr_up bp_location::cmd_bytecode |
Definition at line 381 of file breakpoint.h.
expression_up bp_location::cond |
Definition at line 359 of file breakpoint.h.
Referenced by bpstat_check_breakpoint_conditions(), parse_cond_to_aexpr(), and update_breakpoint_locations().
agent_expr_up bp_location::cond_bytecode |
Definition at line 364 of file breakpoint.h.
Referenced by bp_location(), and bp_location_condition_evaluator().
condition_status bp_location::condition_changed {} |
Definition at line 379 of file breakpoint.h.
Referenced by update_global_location_list().
bool bp_location::disabled_by_cond = false |
Definition at line 400 of file breakpoint.h.
Referenced by bp_location(), locations_are_equal(), print_one_breakpoint(), print_one_breakpoint_location(), should_be_inserted(), and update_breakpoint_locations().
bool bp_location::duplicate = false |
Definition at line 418 of file breakpoint.h.
Referenced by insert_bp_location(), remove_breakpoint_1(), should_be_inserted(), swap_insertion(), and unduplicated_should_be_inserted().
bool bp_location::enabled = false |
Definition at line 394 of file breakpoint.h.
Referenced by gdb.printing.FlagEnumerationPrinter::__call__(), gdb.printing.SubPrettyPrinter::__init__(), gdb.types.TypePrinter::__init__(), gdb.unwinder.Unwinder::__init__(), gdb.xmethod.XMethod::__init__(), gdb.xmethod.XMethodMatcher::__init__(), gdb.printing.PrettyPrinter::__init__(), bp_location(), follow_inferior_reset_breakpoints(), locations_are_equal(), print_one_breakpoint(), print_one_breakpoint_location(), should_be_inserted(), and update_breakpoint_locations().
int bp_location::events_till_retirement = 0 |
Definition at line 491 of file breakpoint.h.
gdb::unique_xmalloc_ptr<char> bp_location::function_name |
Definition at line 474 of file breakpoint.h.
Referenced by ambiguous_names_p(), and update_breakpoint_locations().
struct gdbarch* bp_location::gdbarch = NULL |
Definition at line 428 of file breakpoint.h.
Referenced by code_breakpoint::add_location(), bpstat_locno(), breakpoint_1(), breakpoint_kind(), breakpoint_xfer_memory(), encode_actions(), insert_bp_location(), code_breakpoint::insert_location(), momentary_breakpoint_from_master(), ranged_breakpoint::print_mention(), ranged_breakpoint::print_one_detail(), masked_watchpoint::print_one_detail(), syscall_catchpoint::print_recreate(), remove_breakpoint_1(), code_breakpoint::remove_location(), say_where(), should_be_inserted(), and watch_command_1().
bool bp_location::inserted = false |
Definition at line 403 of file breakpoint.h.
Referenced by bp_location_has_shadow(), bp_location_inserted_here_p(), code_breakpoint::code_breakpoint(), create_and_insert_solib_event_breakpoint(), insert_bp_location(), remove_breakpoint_1(), and swap_insertion().
int bp_location::length = 0 |
Definition at line 447 of file breakpoint.h.
Referenced by bp_location_is_less_than(), ranged_breakpoint::breakpoint_hit(), breakpoint_location_address_match(), breakpoint_location_address_range_overlap(), breakpoint_locations_match(), insert_bp_location(), watchpoint::insert_location(), ranged_breakpoint::print_mention(), ranged_breakpoint::print_one_detail(), ranged_breakpoint::ranged_breakpoint(), watchpoint::remove_location(), watchpoint::resources_needed(), should_be_inserted(), update_breakpoint_locations(), and watchpoint_locations_match().
int bp_location::line_number = 0 |
Definition at line 498 of file breakpoint.h.
Referenced by code_breakpoint::add_location(), momentary_breakpoint_from_master(), say_where(), and update_static_tracepoint().
bp_loc_type bp_location::loc_type {} |
Definition at line 342 of file breakpoint.h.
Referenced by bp_location(), bp_location_has_shadow(), bp_location_is_less_than(), breakpoint_locations_match(), handle_automatic_hardware_breakpoints(), insert_bp_location(), code_breakpoint::insert_location(), remove_breakpoint_1(), code_breakpoint::remove_location(), should_be_inserted(), and update_watchpoint().
const minimal_symbol* bp_location::msymbol = NULL |
Definition at line 513 of file breakpoint.h.
Referenced by code_breakpoint::add_location().
bool bp_location::needs_update = false |
Definition at line 386 of file breakpoint.h.
Referenced by build_target_command_list(), build_target_condition_list(), insert_bp_location(), and swap_insertion().
bp_location* bp_location::next = NULL |
Definition at line 339 of file breakpoint.h.
Referenced by gdb.FrameIterator.FrameIterator::__next__(), code_breakpoint::add_location(), ambiguous_names_p(), bpstat_locno(), breakpoint_program_space_exit(), elf_gnu_ifunc_resolver_return_stop(), elf_gnu_ifunc_resolver_stop(), hoist_existing_locations(), locations_are_equal(), ranged_breakpoint::print_it(), masked_watchpoint::print_it(), ranged_breakpoint::print_one(), print_one_breakpoint(), print_one_breakpoint_location(), masked_watchpoint::print_one_detail(), say_where(), tracefile_fetch_registers(), and update_breakpoint_locations().
const struct objfile* bp_location::objfile = NULL |
Definition at line 516 of file breakpoint.h.
Referenced by code_breakpoint::add_location().
bp_target_info bp_location::overlay_target_info {} |
Definition at line 480 of file breakpoint.h.
Referenced by insert_bp_location(), and remove_breakpoint_1().
breakpoint* bp_location::owner = NULL |
Definition at line 350 of file breakpoint.h.
Referenced by bp_location(), bp_location_condition_evaluator(), bp_location_is_less_than(), bpstat_check_location(), solib_catchpoint::breakpoint_hit(), signal_catchpoint::breakpoint_hit(), watchpoint::breakpoint_hit(), breakpoint_kind(), breakpoint_locations_match(), breakpoint_xfer_memory(), build_target_command_list(), remote_target::disable_tracepoint(), remote_target::enable_tracepoint(), encode_actions(), handle_automatic_hardware_breakpoints(), insert_bp_location(), signal_catchpoint::insert_location(), syscall_catchpoint::print_mention(), syscall_catchpoint::print_one(), remove_breakpoint(), remove_breakpoint_1(), signal_catchpoint::remove_location(), should_be_inserted(), should_stop_exception(), swap_insertion(), tracepoint_locations_match(), update_global_location_list(), and watchpoint_locations_match().
bool bp_location::permanent = false |
Definition at line 410 of file breakpoint.h.
Referenced by code_breakpoint::add_location(), bp_location_is_less_than(), process_event_stop_test(), and resume_1().
bound_probe bp_location::probe {} |
Definition at line 472 of file breakpoint.h.
Referenced by code_breakpoint::add_location(), code_breakpoint::insert_location(), momentary_breakpoint_from_master(), and code_breakpoint::remove_location().
program_space* bp_location::pspace = NULL |
Definition at line 436 of file breakpoint.h.
Referenced by add_dummy_location(), code_breakpoint::add_location(), bp_location_inserted_here_p(), bp_location_is_less_than(), ranged_breakpoint::breakpoint_hit(), code_breakpoint::breakpoint_hit(), 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(), force_breakpoint_reinsertion(), hoist_existing_locations(), insert_bp_location(), code_breakpoint::location_spec_to_sals(), momentary_breakpoint_from_master(), remove_breakpoint(), remove_breakpoint_1(), remove_jit_event_breakpoints(), remove_solib_event_breakpoints(), remove_solib_event_breakpoints_at_next_stop(), should_be_inserted(), and watchpoint_locations_match().
CORE_ADDR bp_location::related_address = 0 |
Definition at line 468 of file breakpoint.h.
Referenced by elf_gnu_ifunc_resolver_return_stop().
CORE_ADDR bp_location::requested_address = 0 |
Definition at line 463 of file breakpoint.h.
Referenced by code_breakpoint::add_location(), elf_gnu_ifunc_resolver_stop(), momentary_breakpoint_from_master(), ordinary_breakpoint::print_it(), and watch_command_1().
obj_section* bp_location::section = NULL |
Definition at line 455 of file breakpoint.h.
Referenced by code_breakpoint::add_location(), bp_location_inserted_here_p(), code_breakpoint::breakpoint_hit(), insert_bp_location(), momentary_breakpoint_from_master(), and remove_breakpoint_1().
bool bp_location::shlib_disabled = false |
Definition at line 391 of file breakpoint.h.
Referenced by bp_location(), insert_bp_location(), code_breakpoint::location_spec_to_sals(), locations_are_equal(), remove_breakpoint_1(), and should_be_inserted().
const struct symbol* bp_location::symbol = NULL |
Definition at line 508 of file breakpoint.h.
Referenced by code_breakpoint::add_location().
struct symtab* bp_location::symtab = NULL |
Definition at line 503 of file breakpoint.h.
Referenced by code_breakpoint::add_location(), momentary_breakpoint_from_master(), say_where(), and update_static_tracepoint().
bp_target_info bp_location::target_info {} |
Definition at line 477 of file breakpoint.h.
Referenced by bp_location_has_shadow(), breakpoint_xfer_memory(), build_target_command_list(), build_target_condition_list(), insert_bp_location(), code_breakpoint::insert_location(), remove_breakpoint_1(), code_breakpoint::remove_location(), and swap_insertion().
target_hw_bp_type bp_location::watchpoint_type {} |
Definition at line 450 of file breakpoint.h.
Referenced by bpstat_check_watchpoint(), insert_bp_location(), masked_watchpoint::insert_location(), watchpoint::insert_location(), masked_watchpoint::remove_location(), watchpoint::remove_location(), update_global_location_list(), and watchpoint_locations_match().