GDB (xrefs)
|
#include "breakpoint.h"
Public Member Functions | |
bp_location (breakpoint *owner) | |
bp_location (breakpoint *owner, bp_loc_type type) | |
virtual | ~bp_location ()=default |
std::string | to_string () const |
Public Attributes | |
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 324 of file breakpoint.h.
|
explicit |
Definition at line 7570 of file breakpoint.c.
bp_location::bp_location | ( | breakpoint * | owner, |
bp_loc_type | type ) |
Definition at line 7553 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, shlib_disabled, and type.
|
virtualdefault |
std::string bp_location::to_string | ( | ) | const |
Definition at line 7579 of file breakpoint.c.
References current_uiout, owner, print_breakpoint_location(), and string_file::release().
Referenced by breakpoint_location_address_str().
CORE_ADDR bp_location::address = 0 |
Definition at line 437 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_location_address_str(), breakpoint_locations_match(), breakpoint_xfer_memory(), build_target_command_list(), build_target_condition_list(), 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(), 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(), code_breakpoint::say_where(), should_be_inserted(), tfile_get_traceframe_address(), tracefile_fetch_registers(), tracepoint_locations_match(), update_global_location_list(), and watchpoint_locations_match().
agent_expr_up bp_location::cmd_bytecode |
Definition at line 376 of file breakpoint.h.
expression_up bp_location::cond |
Definition at line 354 of file breakpoint.h.
Referenced by bpstat_check_breakpoint_conditions(), and update_breakpoint_locations().
agent_expr_up bp_location::cond_bytecode |
Definition at line 359 of file breakpoint.h.
Referenced by bp_location(), and bp_location_condition_evaluator().
condition_status bp_location::condition_changed {} |
Definition at line 374 of file breakpoint.h.
Referenced by update_global_location_list().
bool bp_location::disabled_by_cond = false |
Definition at line 395 of file breakpoint.h.
Referenced by bp_location(), print_one_breakpoint(), print_one_breakpoint_location(), should_be_inserted(), and update_breakpoint_locations().
bool bp_location::duplicate = false |
Definition at line 413 of file breakpoint.h.
Referenced by insert_bp_location(), remove_breakpoint_1(), should_be_inserted(), swap_insertion(), unduplicated_should_be_inserted(), and update_global_location_list().
bool bp_location::enabled = false |
Definition at line 389 of file breakpoint.h.
Referenced by gdb.printing.FlagEnumerationPrinter::__call__(), gdb.printing.SubPrettyPrinter::__init__(), gdb.types.TypePrinter::__init__(), gdb.xmethod.XMethod::__init__(), gdb.xmethod.XMethodMatcher::__init__(), gdb.printing.PrettyPrinter::__init__(), bp_location(), follow_inferior_reset_breakpoints(), momentary_breakpoint_from_master(), print_one_breakpoint(), print_one_breakpoint_location(), and should_be_inserted().
int bp_location::events_till_retirement = 0 |
Definition at line 486 of file breakpoint.h.
gdb::unique_xmalloc_ptr<char> bp_location::function_name |
Definition at line 469 of file breakpoint.h.
struct gdbarch* bp_location::gdbarch = NULL |
Definition at line 423 of file breakpoint.h.
Referenced by code_breakpoint::add_location(), bpstat_locno(), breakpoint_1(), breakpoint_kind(), breakpoint_location_address_str(), 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(), remove_breakpoint_1(), code_breakpoint::remove_location(), code_breakpoint::say_where(), should_be_inserted(), update_watchpoint(), and watch_command_1().
bool bp_location::inserted = false |
Definition at line 398 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 442 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 493 of file breakpoint.h.
Referenced by code_breakpoint::add_location(), momentary_breakpoint_from_master(), and code_breakpoint::say_where().
bp_loc_type bp_location::loc_type {} |
Definition at line 337 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 stopped_by_user_bp_inline_frame().
const minimal_symbol* bp_location::msymbol = NULL |
Definition at line 508 of file breakpoint.h.
Referenced by code_breakpoint::add_location().
bool bp_location::needs_update = false |
Definition at line 381 of file breakpoint.h.
Referenced by build_target_command_list(), build_target_condition_list(), insert_bp_location(), and swap_insertion().
const struct objfile* bp_location::objfile = NULL |
Definition at line 511 of file breakpoint.h.
Referenced by code_breakpoint::add_location().
bp_target_info bp_location::overlay_target_info {} |
Definition at line 475 of file breakpoint.h.
Referenced by insert_bp_location(), and remove_breakpoint_1().
breakpoint* bp_location::owner = NULL |
Definition at line 345 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_location_address_str(), 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(), remove_breakpoint(), remove_breakpoint_1(), signal_catchpoint::remove_location(), should_be_inserted(), ada_catchpoint::should_stop_exception(), swap_insertion(), to_string(), tracepoint_locations_match(), update_global_location_list(), and watchpoint_locations_match().
bool bp_location::permanent = false |
Definition at line 405 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 467 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 431 of file breakpoint.h.
Referenced by 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_re_set_thread(), build_target_command_list(), build_target_condition_list(), force_breakpoint_reinsertion(), insert_bp_location(), 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 463 of file breakpoint.h.
Referenced by elf_gnu_ifunc_resolver_return_stop().
CORE_ADDR bp_location::requested_address = 0 |
Definition at line 458 of file breakpoint.h.
Referenced by code_breakpoint::add_location(), elf_gnu_ifunc_resolver_stop(), momentary_breakpoint_from_master(), and ordinary_breakpoint::print_it().
obj_section* bp_location::section = NULL |
Definition at line 450 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 386 of file breakpoint.h.
Referenced by bp_location(), insert_bp_location(), remove_breakpoint_1(), and should_be_inserted().
const struct symbol* bp_location::symbol = NULL |
Definition at line 503 of file breakpoint.h.
Referenced by code_breakpoint::add_location().
struct symtab* bp_location::symtab = NULL |
Definition at line 498 of file breakpoint.h.
Referenced by code_breakpoint::add_location(), momentary_breakpoint_from_master(), and code_breakpoint::say_where().
bp_target_info bp_location::target_info {} |
Definition at line 472 of file breakpoint.h.
Referenced by bp_location_has_shadow(), bp_locations_target_extensions_update(), 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 445 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().