GDB (xrefs)
|
#include "frame.h"
#include "value.h"
#include "ax.h"
#include "command.h"
#include "gdbsupport/break-common.h"
#include "probe.h"
#include "location.h"
#include <vector>
#include "gdbsupport/array-view.h"
#include "gdbsupport/filtered-iterator.h"
#include "gdbsupport/function-view.h"
#include "gdbsupport/next-iterator.h"
#include "gdbsupport/iterator-range.h"
#include "gdbsupport/refcounted-object.h"
#include "gdbsupport/safe-iterator.h"
#include "cli/cli-script.h"
#include "target/waitstatus.h"
Go to the source code of this file.
Classes | |
struct | bp_target_info |
class | bp_location |
struct | bp_location_ref_policy |
struct | breakpoint_ops |
struct | breakpoint |
struct | code_breakpoint |
struct | watchpoint |
struct | tracepoint |
struct | catchpoint |
struct | bpstat_what |
struct | bpstat |
struct | breakpoint_deleter |
class | scoped_rbreak_breakpoints |
struct | tracepoint_filter |
Macros | |
#define | BREAKPOINT_MAX 16 |
#define | CATCH_PERMANENT ((void *) (uintptr_t) 0) |
#define | CATCH_TEMPORARY ((void *) (uintptr_t) 1) |
Typedefs | |
typedef gdb::ref_ptr< bp_location, bp_location_ref_policy > | bp_location_ref_ptr |
using | bp_location_list = intrusive_list<bp_location> |
using | bp_location_iterator = bp_location_list::iterator |
using | bp_location_range = iterator_range<bp_location_iterator> |
typedef std::unique_ptr< struct breakpoint, breakpoint_deleter > | breakpoint_up |
using | breakpoint_list = intrusive_list<breakpoint> |
using | breakpoint_iterator = breakpoint_list::iterator |
using | breakpoint_range = iterator_range<breakpoint_iterator> |
using | breakpoint_safe_range = basic_safe_range<breakpoint_range> |
using | tracepoint_iterator = filtered_iterator<breakpoint_iterator, tracepoint_filter> |
using | tracepoint_range = iterator_range<tracepoint_iterator> |
Variables | |
bool | target_exact_watchpoints |
const struct breakpoint_ops | code_breakpoint_ops |
cmd_list_element * | commands_cmd_element |
bool | fix_multi_location_breakpoint_output_globally |
bool | fix_breakpoint_script_output_globally |
#define BREAKPOINT_MAX 16 |
Definition at line 78 of file breakpoint.h.
Referenced by memory_validate_breakpoint(), microblaze_linux_memory_remove_breakpoint(), and ppc_linux_memory_remove_breakpoint().
#define CATCH_PERMANENT ((void *) (uintptr_t) 0) |
Definition at line 1540 of file breakpoint.h.
#define CATCH_TEMPORARY ((void *) (uintptr_t) 1) |
Definition at line 1541 of file breakpoint.h.
Referenced by catch_ada_exception_command(), catch_ada_handlers_command(), catch_assert_command(), catch_catch_command(), catch_exec_command_1(), catch_load_or_unload(), catch_rethrow_command(), catch_signal_command(), catch_syscall_command_1(), and catch_throw_command().
using bp_location_iterator = bp_location_list::iterator |
Definition at line 611 of file breakpoint.h.
using bp_location_list = intrusive_list<bp_location> |
Definition at line 610 of file breakpoint.h.
using bp_location_range = iterator_range<bp_location_iterator> |
Definition at line 612 of file breakpoint.h.
typedef gdb::ref_ptr<bp_location, bp_location_ref_policy> bp_location_ref_ptr |
Definition at line 537 of file breakpoint.h.
using breakpoint_iterator = breakpoint_list::iterator |
Definition at line 1914 of file breakpoint.h.
using breakpoint_list = intrusive_list<breakpoint> |
Definition at line 1912 of file breakpoint.h.
using breakpoint_range = iterator_range<breakpoint_iterator> |
Definition at line 1918 of file breakpoint.h.
using breakpoint_safe_range = basic_safe_range<breakpoint_range> |
Definition at line 1927 of file breakpoint.h.
typedef std::unique_ptr<struct breakpoint, breakpoint_deleter> breakpoint_up |
Definition at line 1506 of file breakpoint.h.
using tracepoint_iterator = filtered_iterator<breakpoint_iterator, tracepoint_filter> |
Definition at line 1944 of file breakpoint.h.
using tracepoint_range = iterator_range<tracepoint_iterator> |
Definition at line 1948 of file breakpoint.h.
enum bp_loc_type |
Enumerator | |
---|---|
bp_loc_software_breakpoint | |
bp_loc_hardware_breakpoint | |
bp_loc_software_watchpoint | |
bp_loc_hardware_watchpoint | |
bp_loc_tracepoint | |
bp_loc_other |
Definition at line 314 of file breakpoint.h.
enum bp_print_how |
Enumerator | |
---|---|
print_it_normal | |
print_it_noop | |
print_it_done |
Definition at line 1348 of file breakpoint.h.
enum bpdisp |
Enumerator | |
---|---|
disp_del | |
disp_del_at_next_stop | |
disp_disable | |
disp_donttouch |
Definition at line 235 of file breakpoint.h.
Definition at line 1204 of file breakpoint.h.
enum bptype |
Definition at line 83 of file breakpoint.h.
Enumerator | |
---|---|
CREATE_BREAKPOINT_FLAGS_INSERTED |
Definition at line 1577 of file breakpoint.h.
enum breakpoint_here |
Enumerator | |
---|---|
no_breakpoint_here | |
ordinary_breakpoint_here | |
permanent_breakpoint_here |
Definition at line 1426 of file breakpoint.h.
enum condition_status |
Enumerator | |
---|---|
condition_unchanged | |
condition_modified | |
condition_updated |
Definition at line 247 of file breakpoint.h.
enum enable_state |
Enumerator | |
---|---|
bp_disabled | |
bp_enabled | |
bp_call_disabled |
Definition at line 216 of file breakpoint.h.
enum exception_event_kind |
Enumerator | |
---|---|
EX_EVENT_THROW | |
EX_EVENT_RETHROW | |
EX_EVENT_CATCH |
Definition at line 54 of file breakpoint.h.
enum inf_context |
Enumerator | |
---|---|
inf_starting | |
inf_running | |
inf_exited | |
inf_execd |
Definition at line 1416 of file breakpoint.h.
enum print_stop_action |
Enumerator | |
---|---|
PRINT_UNKNOWN | |
PRINT_SRC_AND_LOC | |
PRINT_SRC_ONLY | |
PRINT_NOTHING |
Definition at line 541 of file breakpoint.h.
enum remove_bp_reason |
Enumerator | |
---|---|
REMOVE_BREAKPOINT | |
DETACH_BREAKPOINT |
Definition at line 63 of file breakpoint.h.
enum stop_stack_kind |
Enumerator | |
---|---|
STOP_NONE | |
STOP_STACK_DUMMY | |
STOP_STD_TERMINATE |
Definition at line 1255 of file breakpoint.h.
enum watchpoint_triggered |
Enumerator | |
---|---|
watch_triggered_no | |
watch_triggered_unknown | |
watch_triggered_yes |
Definition at line 590 of file breakpoint.h.
|
extern |
Definition at line 14617 of file breakpoint.c.
References add_cmd(), catch_cmdlist, class_breakpoint, cmd_list_element::completer, cmd_list_element::func, func, name, set_cmd_completer(), cmd_list_element::set_context(), and tcatch_cmdlist.
|
extern |
Definition at line 223 of file break-catch-load.c.
References bp_disabled, bp_enabled, get_current_arch(), and install_breakpoint().
Referenced by catch_load_or_unload(), and mi_catch_load_unload().
const std::vector< bp_location * > & all_bp_locations | ( | ) |
Definition at line 733 of file breakpoint.c.
References bp_locations.
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(), mark_breakpoints_out(), record_full_init_record_breakpoints(), remove_breakpoints(), remove_breakpoints_inf(), set_condition_evaluation_mode(), update_breakpoints_after_exec(), update_global_location_list(), and update_inserted_breakpoint_locations().
breakpoint_range all_breakpoints | ( | ) |
Definition at line 704 of file breakpoint.c.
References breakpoint_chain.
Referenced by all_breakpoints_safe(), bpstat_check_watchpoint(), bpstat_should_step(), breakpoint_1(), solib_catchpoint::breakpoint_hit(), build_bpstat_chain(), catching_syscall_number(), check_longjmp_breakpoint_for_call_dummy(), clear_breakpoint_hit_counts(), clear_command(), condition_completer(), 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(), gdbpy_breakpoints(), gdbscm_breakpoints(), get_breakpoint(), hardware_watchpoint_inserted_in_range(), has_multiple_locations(), 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_breakpoint_condition(), set_ignore_count(), set_longjmp_breakpoint_for_call_dummy(), single_step_breakpoint_inserted_here_p(), static_tracepoints_here(), tui_source_window_base::update_breakpoint_info(), update_dprintf_commands(), update_global_location_list(), and watchpoints_triggered().
breakpoint_safe_range all_breakpoints_safe | ( | ) |
Definition at line 712 of file breakpoint.c.
References all_breakpoints().
Referenced by bpfinishpy_handle_exit(), bpfinishpy_handle_stop(), breakpoint_auto_delete(), breakpoint_init_inferior(), breakpoint_program_space_exit(), breakpoint_re_set(), delete_command(), delete_longjmp_breakpoint(), delete_longjmp_breakpoint_at_next_stop(), delete_std_terminate_breakpoint(), delete_trace_command(), map_breakpoint_number_range(), pop_dummy_frame(), remove_inferior_breakpoints(), 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(), svr4_update_solib_event_breakpoints(), and update_breakpoints_after_exec().
tracepoint_range all_tracepoints | ( | ) |
Definition at line 720 of file breakpoint.c.
References breakpoint_chain.
Referenced by delete_trace_command(), download_tracepoint_locations(), find_matching_tracepoint_location(), get_tracepoint(), get_tracepoint_by_number(), get_tracepoint_by_number_on_target(), process_tracepoint_on_disconnect(), start_tracing(), stop_tracing(), trace_pass_command(), and tstatus_command().
|
extern |
Definition at line 10811 of file breakpoint.c.
References watch_command_1().
Referenced by bppy_init(), gdbscm_register_breakpoint_x(), and mi_cmd_break_watch().
const char * bpdisp_text | ( | enum bpdisp | disp | ) |
Definition at line 505 of file breakpoint.c.
Referenced by ada_catchpoint::print_it(), exec_catchpoint::print_it(), fork_catchpoint::print_it(), solib_catchpoint::print_it(), syscall_catchpoint::print_it(), exception_catchpoint::print_it(), ordinary_breakpoint::print_it(), ranged_breakpoint::print_it(), and print_one_breakpoint_location().
|
extern |
Definition at line 6201 of file breakpoint.c.
References bpstat::next, and bpstat::stop.
Referenced by bpstat_stop_status(), handle_inferior_event(), and handle_syscall_event().
|
extern |
Definition at line 4537 of file breakpoint.c.
References bpstat::next.
Referenced by clear_proceed_status_thread(), clear_thread_inferior_resources(), discard_infcall_control_state(), handle_signal_stop(), and restore_infcall_control_state().
|
extern |
Definition at line 4706 of file breakpoint.c.
References bpstat::commands, thread_info::control, inferior_ptid, inferior_thread(), bpstat::next, bpstat::old_val, and thread_control_state::stop_bpstat.
Referenced by bpstat_do_actions(), execute_command(), and fetch_inferior_event().
Definition at line 4571 of file breakpoint.c.
References bpstat::next.
Referenced by save_infcall_control_state().
|
extern |
Definition at line 4902 of file breakpoint.c.
References bpstat_clear_actions(), bpstat_do_actions_1(), thread_info::control, get_bpstat_thread(), and thread_control_state::stop_bpstat.
Referenced by catch_command_errors(), command_handler(), inferior_event_handler(), and mi_execute_command().
|
extern |
Definition at line 4614 of file breakpoint.c.
References bpstat::breakpoint_at, breakpoint::explains_signal(), and bpstat::next.
Referenced by handle_signal_stop().
bpstat * bpstat_find_breakpoint | ( | bpstat * | bsp, |
struct breakpoint * | breakpoint ) |
Definition at line 4598 of file breakpoint.c.
References bpstat::breakpoint_at, and bpstat::next.
Referenced by until_break_fsm::should_stop(), and finish_command_fsm::should_stop().
|
extern |
Definition at line 4660 of file breakpoint.c.
References bp_location::address, bpstat::bp_location_at, bpstat::breakpoint_at, bp_location::gdbarch, breakpoint::has_multiple_locations(), loc, breakpoint::locations(), breakpoint::number, and paddress().
Referenced by bpstat_check_breakpoint_conditions(), bpstat_do_actions_1(), and print_num_locno().
|
extern |
Definition at line 4638 of file breakpoint.c.
References bpstat::next, and breakpoint::number.
Referenced by continue_command(), and info_program_command().
|
extern |
Definition at line 5082 of file breakpoint.c.
References bpstat::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().
|
extern |
Definition at line 6157 of file breakpoint.c.
References bp_gnu_ifunc_resolver, bp_gnu_ifunc_resolver_return, bp_jit_event, bpstat::bp_location_at, bpstat::breakpoint_at, gnu_ifunc_resolver_return_stop, gnu_ifunc_resolver_stop, handle_jit_event(), bpstat::next, and breakpoint::type.
Referenced by process_event_stop_test().
|
extern |
Definition at line 6187 of file breakpoint.c.
References all_breakpoints(), bp_watchpoint, breakpoint_enabled(), breakpoint::has_locations(), and breakpoint::type.
Referenced by currently_stepping(), and resume_1().
|
extern |
Definition at line 5824 of file breakpoint.c.
References breakpoint::after_condition_true(), bp_disabled, bp_shlib_event, bpstat_causes_stop(), bpstat_check_breakpoint_conditions(), bpstat::breakpoint_at, build_bpstat_chain(), breakpoint::check_status(), command_line_is_silent(), breakpoint::commands, bpstat::commands, disp_disable, breakpoint::disposition, breakpoint::enable_count, breakpoint::enable_state, handle_solib_event(), breakpoint::hit_count, is_hardware_watchpoint(), bpstat::next, notify_breakpoint_modified(), bpstat::print, bpstat::print_it, print_it_noop, breakpoint::silent, bpstat::stop, breakpoint::thread, breakpoint::type, UGLL_DONT_INSERT, UGLL_MAY_INSERT, update_global_location_list(), and update_watchpoint().
Referenced by bpstat_stop_status_nowatch(), and handle_signal_stop().
|
extern |
Definition at line 5935 of file breakpoint.c.
References bpstat_stop_status(), target_stopped_by_watchpoint(), breakpoint::thread, and watchpoints_triggered().
Referenced by handle_inferior_event(), and handle_syscall_event().
struct bpstat_what bpstat_what | ( | bpstat * | bs_head | ) |
Definition at line 5979 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_software_breakpoint, 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_marker_tracepoint, 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, bpstat_what::is_longjmp, bpstat_what::main_action, STOP_NONE, STOP_STACK_DUMMY, and STOP_STD_TERMINATE.
Referenced by process_event_stop_test().
|
extern |
Definition at line 9493 of file breakpoint.c.
References break_command_1().
Referenced by mi_cmd_break_commands(), and rbreak_command().
|
extern |
Definition at line 7299 of file breakpoint.c.
References gdbarch_has_global_breakpoints(), and target_gdbarch().
Referenced by bp_location_inserted_here_p(), code_breakpoint::breakpoint_hit(), breakpoint_location_address_match(), breakpoint_locations_match(), one_breakpoint_xfer_memory(), and stepping_past_instruction_at().
|
extern |
Definition at line 11170 of file breakpoint.c.
References all_breakpoints_safe(), bpstat::breakpoint_at, delete_breakpoint(), disp_del, disp_del_at_next_stop, breakpoint::disposition, bpstat::next, and bpstat::stop.
Referenced by normal_stop(), and run_inferior_call().
|
extern |
Definition at line 494 of file breakpoint.c.
References breakpoint::commands.
Referenced by bppy_get_commands(), remote_target::download_tracepoint(), encode_actions(), gdbscm_breakpoint_commands(), and tdump_command().
|
extern |
Definition at line 14675 of file breakpoint.c.
References all_bp_locations(), and loc.
Referenced by objfile::~objfile().
|
extern |
Definition at line 13978 of file breakpoint.c.
References regcache::aspace(), bp, breakpoint_location_address_match(), and loc.
Referenced by single_step_breakpoint_inserted_here_p(), and thread_has_single_step_breakpoint_here().
|
extern |
Definition at line 4352 of file breakpoint.c.
References all_bp_locations(), program_space::aspace, bp_loc_hardware_breakpoint, bp_loc_software_breakpoint, breakpoint_enabled(), breakpoint_location_address_match(), no_breakpoint_here, ordinary_breakpoint_here, overlay_debugging, permanent_breakpoint_here, section_is_mapped(), and section_is_overlay().
Referenced by crisv32_single_step_through_delay(), mips_single_step_through_delay(), proceed(), resume_1(), and thread_still_needs_step_over_bp().
|
extern |
Definition at line 4384 of file breakpoint.c.
References all_bp_locations(), program_space::aspace, bp_loc_hardware_breakpoint, bp_loc_software_breakpoint, breakpoint_enabled(), breakpoint_location_address_range_overlap(), overlay_debugging, section_is_mapped(), and section_is_overlay().
Referenced by displaced_step_buffers::prepare().
|
extern |
Definition at line 4240 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, breakpoint::clear_locations(), current_program_space, decref_bp_location(), delete_breakpoint(), watchpoint::exp_valid_block, breakpoint::first_loc(), gdbarch_has_global_breakpoints(), breakpoint::has_locations(), inf_starting, mark_breakpoints_out(), moribund_locations, bp_location::pspace, target_gdbarch(), breakpoint::type, watchpoint::val, and watchpoint::val_valid.
Referenced by detach_command(), follow_exec(), generic_mourn_inferior(), and init_wait_for_inferior().
|
extern |
Definition at line 4446 of file breakpoint.c.
References all_bp_locations_at_addr(), program_space::aspace, bp_loc_hardware_breakpoint, bp_loc_software_breakpoint, and bp_location_inserted_here_p().
Referenced by darwin_nat_target::cancel_breakpoint(), fbsd_nat_target::detach(), do_target_wait_1(), handle_inferior_event(), record_check_stopped_by_breakpoint(), resume_1(), resume_stopped_resumed_lwps(), and status_callback().
|
extern |
Definition at line 9198 of file breakpoint.c.
References breakpoint_ops_for_location_spec_type(), code_breakpoint_ops, is_tracepoint(), and location_spec::type().
Referenced by bppy_init(), break_command_1(), gdbscm_register_breakpoint_x(), mi_cmd_break_insert_1(), and trace_command().
|
extern |
Definition at line 3141 of file breakpoint.c.
References all_bp_locations(), all_breakpoints_safe(), delete_breakpoint(), loc, breakpoint::pspace, UGLL_DONT_INSERT, and update_global_location_list().
Referenced by program_space::~program_space().
|
extern |
Definition at line 13229 of file breakpoint.c.
References all_breakpoints_safe(), breakpoint_re_set_one(), create_exception_master_breakpoint(), create_longjmp_master_breakpoint(), create_overlay_event_breakpoint(), create_std_terminate_master_breakpoint(), exception_fprintf(), gdb_stderr, input_radix, jit_breakpoint_re_set(), language_mode_manual, breakpoint::number, 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(), solib_add(), and symbol_file_command().
|
extern |
Definition at line 13285 of file breakpoint.c.
References current_program_space, breakpoint::first_loc(), thread_info::global_num, inferior_thread(), bp_location::pspace, and breakpoint::thread.
Referenced by follow_inferior_reset_breakpoints().
|
extern |
Definition at line 11744 of file breakpoint.c.
References decref_bp_location(), loc, and moribund_locations.
Referenced by handle_inferior_event().
|
extern |
Definition at line 1519 of file breakpoint.c.
References breakpoint::commands, notify_breakpoint_modified(), and validate_commands_for_breakpoint().
Referenced by actions_command(), bppy_set_commands(), create_tracepoint_from_upload(), mi_cmd_break_commands(), and update_dprintf_command_list().
|
extern |
Definition at line 1564 of file breakpoint.c.
References breakpoint::inferior, notify_breakpoint_modified(), breakpoint::task, and breakpoint::thread.
Referenced by bppy_set_inferior().
|
extern |
Definition at line 1533 of file breakpoint.c.
References notify_breakpoint_modified(), and breakpoint::silent.
Referenced by bppy_set_silent(), and gdbscm_set_breakpoint_silent_x().
|
extern |
Definition at line 1583 of file breakpoint.c.
References breakpoint::inferior, notify_breakpoint_modified(), breakpoint::task, and breakpoint::thread.
Referenced by bppy_set_task(), and gdbscm_set_breakpoint_task_x().
|
extern |
Definition at line 1545 of file breakpoint.c.
References breakpoint::inferior, notify_breakpoint_modified(), breakpoint::task, and breakpoint::thread.
Referenced by bppy_set_thread(), and gdbscm_set_breakpoint_thread_x().
|
extern |
Definition at line 1818 of file breakpoint.c.
References bp_location::address, bp_location_has_shadow(), bp_locations, 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, and breakpoint::type.
Referenced by memory_xfer_partial().
|
extern |
Definition at line 598 of file breakpoint.c.
References all_inferiors(), all_non_exited_threads(), always_inserted_mode, gdbarch_has_global_breakpoints(), target_gdbarch(), and threads_are_executing().
Referenced by maybe_remove_breakpoints(), remote_target::start_remote(), and update_global_location_list().
|
extern |
Definition at line 5748 of file breakpoint.c.
References all_breakpoints(), bp_hardware_watchpoint, bp_watchpoint_scope, bpstat_check_location(), breakpoint_enabled(), breakpoint_location_address_match(), breakpoint::first_loc(), loc, breakpoint::locations(), moribund_locations, need_moribund_for_location_type(), bpstat::print, bpstat::print_it, print_it_noop, breakpoint::related_breakpoint, bpstat::stop, target_supports_stopped_by_hw_breakpoint(), target_supports_stopped_by_sw_breakpoint(), breakpoint::type, watch_triggered_yes, and watchpoint::watchpoint_triggered.
Referenced by bpstat_stop_status(), and handle_signal_stop().
|
extern |
Definition at line 415 of file break-catch-throw.c.
References ep_parse_optional_if_clause(), EX_EVENT_CATCH, EX_EVENT_RETHROW, EX_EVENT_THROW, extract_exception_regexp(), and handle_gnu_v3_exceptions().
Referenced by catch_catch_command(), catch_rethrow_command(), catch_throw_command(), and mi_cmd_catch_exception_event().
|
extern |
Definition at line 469 of file break-catch-syscall.c.
References current_inferior(), get_catch_syscall_inferior_data(), and catch_syscall_inferior_data::total_syscalls_count.
Referenced by handle_syscall_event(), linux_handle_syscall_trap(), i386_linux_nat_target::low_resume(), nbsd_resume(), inf_ptrace_target::resume(), nbsd_nat_target::wait(), and fbsd_nat_target::wait_1().
|
extern |
Definition at line 502 of file break-catch-syscall.c.
References all_breakpoints(), and catching_syscall_number_1().
Referenced by handle_syscall_event(), linux_handle_syscall_trap(), nbsd_nat_target::wait(), and fbsd_nat_target::wait_1().
|
extern |
Definition at line 7761 of file breakpoint.c.
References all_breakpoints(), bp_call_dummy, bp_longjmp_call_dummy, delete_breakpoint(), dummy_frame_discard(), frame_find_by_id(), breakpoint::frame_id, get_current_frame(), get_frame_unwind_stop_reason(), get_prev_frame(), thread_info::global_num, breakpoint::inferior, breakpoint::related_breakpoint, breakpoint::thread, and breakpoint::type.
Referenced by process_event_stop_test().
|
extern |
Definition at line 876 of file breakpoint.c.
References all_breakpoints().
Referenced by run_command_1().
|
extern |
Definition at line 2023 of file printcmd.c.
References all_displays.
Referenced by clear_symtab_users(), and undisplay_command().
|
extern |
Definition at line 8361 of file breakpoint.c.
References momentary_breakpoint_from_master(), breakpoint::thread, and breakpoint::type.
Referenced by follow_fork().
|
extern |
Definition at line 1684 of file breakpoint.c.
References commands_command_1(), and simple_control.
Referenced by execute_control_command_1().
|
extern |
Definition at line 7971 of file breakpoint.c.
References create_solib_event_breakpoint_1(), delete_breakpoint(), breakpoint::first_loc(), bp_location::inserted, and UGLL_INSERT.
|
extern |
Definition at line 9210 of file breakpoint.c.
References AUTO_BOOLEAN_AUTO, AUTO_BOOLEAN_FALSE, block_for_pc(), bp_breakpoint, bp_disabled, bp_dprintf, bp_enabled, bp_fast_tracepoint, bp_hardware_breakpoint, bptype_string(), breakpoint_count, breakpoint_sals_to_pc(), check_fast_tracepoint_sals(), breakpoint_ops::create_breakpoints_sal, breakpoint_ops::create_sals_from_location_spec, current_program_space, disp_del, disp_donttouch, exception_print(), find_condition_and_thread_for_sals(), flags, gdb_stderr, install_breakpoint(), linespec_result::locspec, linespec_result::lsals, new_breakpoint_from_type(), nquery(), parse_exp_1(), pending_break_support, prev_breakpoint_count, linespec_sals::sals, UGLL_MAY_INSERT, and update_global_location_list().
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(), strace_command(), and trace_command().
|
extern |
Definition at line 7911 of file breakpoint.c.
References bp_jit_event, and create_internal_breakpoint().
Referenced by jit_breakpoint_re_set_internal().
|
extern |
Definition at line 7963 of file breakpoint.c.
References create_solib_event_breakpoint_1(), and UGLL_MAY_INSERT.
Referenced by darwin_solib_create_inferior_hook(), enable_break(), enable_break(), enable_break2(), svr4_create_probe_breakpoints(), and svr4_create_solib_event_breakpoints().
|
extern |
Definition at line 7887 of file breakpoint.c.
References bp_location::address, bp_enabled, bp_thread_event, create_internal_breakpoint(), breakpoint::enable_state, breakpoint::first_loc(), breakpoint::locspec, new_address_location_spec(), UGLL_MAY_INSERT, and update_global_location_list_nothrow().
Referenced by pd_enable().
|
extern |
Definition at line 12586 of file breakpoint.c.
References bp_none, bp_watchpoint_scope, bpstat_remove_breakpoint_callback(), breakpoint_chain, breakpoint::clear_locations(), iterate_over_threads(), notify_breakpoint_deleted(), breakpoint::number, breakpoint::related_breakpoint, breakpoint::type, UGLL_DONT_INSERT, update_global_location_list(), and watchpoint_del_at_next_stop().
Referenced by amd_dbgapi_remove_breakpoint_callback(), bpfinishpy_detect_out_scope_cb(), 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(), detach_amd_dbgapi(), elf_gnu_ifunc_resolver_return_stop(), gdbscm_delete_breakpoint_x(), jit_breakpoint_re_set_internal(), breakpoint_deleter::operator()(), pop_dummy_frame_bpt(), internal_breakpoint::re_set(), code_breakpoint::re_set(), remove_inferior_breakpoints(), remove_jit_event_breakpoints(), remove_solib_event_breakpoints(), remove_threaded_breakpoints(), update_breakpoints_after_exec(), and jiter_objfile_data::~jiter_objfile_data().
|
extern |
Definition at line 7692 of file breakpoint.c.
References all_breakpoints_safe(), bp_exception, bp_longjmp, delete_breakpoint(), breakpoint::inferior, breakpoint::thread, and breakpoint::type.
Referenced by until_break_fsm::clean_up(), step_command_fsm::clean_up(), until_next_fsm::clean_up(), and finish_command_fsm::clean_up().
|
extern |
Definition at line 7706 of file breakpoint.c.
References all_breakpoints_safe(), bp_exception, bp_longjmp, disp_del_at_next_stop, breakpoint::disposition, breakpoint::inferior, breakpoint::thread, and breakpoint::type.
Referenced by clear_thread_inferior_resources().
|
extern |
Definition at line 7879 of file breakpoint.c.
References all_breakpoints_safe(), bp_std_terminate, delete_breakpoint(), and breakpoint::type.
Referenced by call_function_by_hand_dummy().
|
extern |
Definition at line 7189 of file breakpoint.c.
References address_style, all_breakpoints(), bp_call_disabled, bp_disabled, breakpoint_has_pc(), current_uiout, breakpoint::enable_state, find_thread_global_id(), gdb_printf(), breakpoint::number, paddress(), print_thread_id(), cli_style_option::style(), styled_string(), breakpoint::task, breakpoint::thread, and user_breakpoint_p().
Referenced by code_breakpoint::code_breakpoint().
|
extern |
Definition at line 4017 of file breakpoint.c.
References all_bp_locations(), bp_loc_other, bp_loc_software_watchpoint, current_inferior(), DETACH_BREAKPOINT, inferior_ptid, and remove_breakpoint_1().
Referenced by handle_inferior_event(), and linux_handle_extended_wait().
|
extern |
Definition at line 13669 of file breakpoint.c.
References bp_disabled, bp_watchpoint_scope, current_trace_status(), breakpoint::enable_state, is_tracepoint(), breakpoint::locations(), mark_breakpoint_modified(), 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(), svr4_update_solib_event_breakpoint(), and watchpoint_del_at_next_stop().
|
extern |
Definition at line 8271 of file breakpoint.c.
References current_program_space, program_space::executing_startup, UGLL_DONT_INSERT, and update_global_location_list().
|
extern |
Definition at line 7990 of file breakpoint.c.
References all_bp_locations(), bp_breakpoint, bp_hardware_breakpoint, bp_jit_event, current_program_space, is_tracepoint(), loc, solib_name_from_address(), and breakpoint::type.
Referenced by clear_solib(), and windows_nat_target::do_initial_windows_stuff().
|
extern |
Definition at line 2274 of file printcmd.c.
References current_display_number, disable_display(), gdb_printf(), and gdb_stderr.
Referenced by normal_stop().
|
extern |
Definition at line 2262 of file printcmd.c.
References all_displays, and gdb_printf().
Referenced by disable_current_display().
|
extern |
Definition at line 7852 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().
|
extern |
Definition at line 8249 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().
|
extern |
Definition at line 2252 of file printcmd.c.
References all_displays, and do_one_display().
Referenced by display_command(), print_stop_event(), and tfind_1().
|
extern |
Definition at line 13821 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().
|
extern |
Definition at line 8278 of file breakpoint.c.
References breakpoint_re_set(), current_program_space, and program_space::executing_startup.
|
extern |
Definition at line 13616 of file breakpoint.c.
References current_trace_status(), enable, find_loc_num_by_location(), is_tracepoint(), loc, mark_breakpoint_location_modified(), notify_breakpoint_modified(), target_disable_tracepoint(), target_supports_enable_disable_tracepoint(), UGLL_DONT_INSERT, and update_global_location_list().
Referenced by bplocpy_set_enabled().
|
extern |
Definition at line 7840 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().
|
extern |
Definition at line 8260 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().
|
extern |
Definition at line 164 of file break-catch-exec.c.
Referenced by catch_exception_event(), catch_exec_command_1(), and catch_fork_command_1().
|
extern |
Definition at line 887 of file breakpoint.c.
References all_breakpoints().
Referenced by bpscm_breakpoint_deleted(), find_location_by_number(), gdbpy_breakpoint_deleted(), gdbpy_breakpoint_modified(), and mi_cmd_break_commands().
|
extern |
Definition at line 7653 of file breakpoint.c.
References objfile::arch(), symtab::compunit(), obj_section::objfile, compunit_symtab::objfile(), symtab_and_line::section, and symtab_and_line::symtab.
Referenced by code_breakpoint::add_location(), check_fast_tracepoint_sals(), and code_breakpoint::code_breakpoint().
|
extern |
Definition at line 14342 of file breakpoint.c.
References all_tracepoints().
Referenced by create_tracepoint_from_upload(), get_traceframe_location(), mi_cmd_break_passcount(), tfind_tracepoint_command(), tfile_target::trace_find(), and tracefile_fetch_registers().
|
extern |
Definition at line 14375 of file breakpoint.c.
References all_tracepoints(), number_or_range_parser::finished(), gdb_printf(), number_or_range_parser::get_number(), get_number(), and tracepoint_count.
Referenced by actions_command(), and trace_pass_command().
|
extern |
Definition at line 14356 of file breakpoint.c.
References all_tracepoints(), and tracepoint::number_on_target.
Referenced by tfile_get_traceframe_address(), and tfind_1().
|
extern |
Definition at line 4482 of file breakpoint.c.
References all_bp_locations_at_addr(), program_space::aspace, bp_loc_hardware_breakpoint, and bp_location_inserted_here_p().
Referenced by record_check_stopped_by_breakpoint(), save_stop_reason(), and save_waitstatus().
|
extern |
Definition at line 4498 of file breakpoint.c.
References all_breakpoints(), program_space::aspace, bp_access_watchpoint, bp_hardware_watchpoint, breakpoint_enabled(), and loc.
Referenced by record_full_exec_insn().
|
extern |
Definition at line 3167 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(), go32_nat_target::create_inferior(), gdbsim_target::create_inferior(), finish_step_over(), follow_exec(), follow_inferior_reset_breakpoints(), handle_inferior_event(), handle_vfork_done(), keep_going_pass_signal(), linux_fork_context(), resume_1(), scoped_switch_fork_info::scoped_switch_fork_info(), remote_target::start_remote(), and scoped_switch_fork_info::~scoped_switch_fork_info().
|
extern |
Definition at line 13918 of file breakpoint.c.
References add_to_breakpoint_chain(), bp_single_step, thread_info::control, current_program_space, symtab_and_line::explicit_pc, find_pc_line(), find_pc_overlay(), thread_info::global_num, inferior_thread(), null_frame_id, 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().
|
extern |
Definition at line 13954 of file breakpoint.c.
References regcache::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_wait_1(), and record_full_target::resume().
|
extern |
Definition at line 8165 of file breakpoint.c.
References add_to_breakpoint_chain(), breakpoint_count, is_tracepoint(), mention(), notify_breakpoint_created(), set_breakpoint_number(), set_tracepoint_count(), UGLL_MAY_INSERT, and update_global_location_list().
Referenced by add_solib_catchpoint(), amd_dbgapi_insert_breakpoint_callback(), break_range_command(), 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().
|
extern |
Definition at line 1905 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(), disable_breakpoints_in_freed_objfile(), force_breakpoint_reinsertion(), insert_bp_location(), mark_breakpoint_location_modified(), print_breakpoint_location(), print_one_breakpoint_location(), set_breakpoint_condition(), set_condition_evaluation_mode(), update_global_location_list(), and update_inserted_breakpoint_locations().
|
extern |
Definition at line 4528 of file breakpoint.c.
References bp_catchpoint, and breakpoint::type.
Referenced by print_one_breakpoint(), print_one_breakpoint_location(), and print_solib_event().
|
extern |
Definition at line 115 of file break-catch-throw.c.
References bp.
Referenced by print_one_breakpoint(), and print_one_breakpoint_location().
|
extern |
Definition at line 1379 of file breakpoint.c.
References is_tracepoint_type(), and breakpoint::type.
Referenced by breakpoint_locations_match(), breakpoint_ops_for_location_spec(), breakpoint_ops_for_location_spec_type(), commands_command_1(), 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_location(), enable_disable_bp_num_loc(), info_tracepoints_command(), install_breakpoint(), mi_cmd_break_commands(), tracepoint_filter::operator()(), 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().
|
extern |
Definition at line 1925 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(), 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().
|
extern |
Definition at line 4220 of file breakpoint.c.
References all_bp_locations(), and current_program_space.
Referenced by breakpoint_init_inferior(), follow_exec(), and generic_mourn_inferior().
|
extern |
Definition at line 4940 of file breakpoint.c.
References ui_out::field_string(), inferior_thread(), ui_out::is_mi_like_p(), name, print_thread_id(), show_thread_that_caused_stop(), ui_out::text(), and thread_name().
Referenced by exec_catchpoint::print_it(), fork_catchpoint::print_it(), solib_catchpoint::print_it(), signal_catchpoint::print_it(), syscall_catchpoint::print_it(), exception_catchpoint::print_it(), ordinary_breakpoint::print_it(), ranged_breakpoint::print_it(), masked_watchpoint::print_it(), and watchpoint::print_it().
|
extern |
Definition at line 4416 of file breakpoint.c.
References program_space::aspace, breakpoint_location_address_match(), loc, and moribund_locations.
Referenced by adjust_pc_after_break().
|
extern |
Definition at line 1083 of file breakpoint.c.
References gdb::observers::breakpoint_modified, and interps_notify_breakpoint_modified().
Referenced by bpstat_check_breakpoint_conditions(), bpstat_stop_status(), breakpoint_set_commands(), breakpoint_set_inferior(), breakpoint_set_silent(), breakpoint_set_task(), breakpoint_set_thread(), commands_command_1(), disable_breakpoint(), disable_breakpoints_in_freed_objfile(), disable_breakpoints_in_unloaded_shlib(), download_tracepoint_locations(), enable_breakpoint_disp(), enable_disable_bp_location(), enable_disable_bp_num_loc(), insert_bp_location(), merge_uploaded_tracepoints(), mi_cmd_break_passcount(), set_breakpoint_condition(), set_ignore_count(), start_tracing(), trace_pass_set_count(), and update_breakpoint_locations().
|
extern |
Definition at line 14653 of file breakpoint.c.
References all_breakpoints(), bpstat_check_location(), is_non_inline_function(), and breakpoint::locations().
Referenced by handle_signal_stop().
|
extern |
Definition at line 6951 of file breakpoint.c.
References breakpoint::has_locations().
Referenced by bppy_get_pending().
|
extern |
Definition at line 6933 of file breakpoint.c.
References print_one_breakpoint().
Referenced by breakpoint_notify(), and mi_print_breakpoint_for_event().
Definition at line 4687 of file breakpoint.c.
References bpstat_locno(), bpstat::breakpoint_at, ui_out::field_signed(), ui_out::message(), breakpoint::number, signed_field(), and ui_out::text().
Referenced by ada_catchpoint::print_it(), syscall_catchpoint::print_it(), exception_catchpoint::print_it(), ordinary_breakpoint::print_it(), and ranged_breakpoint::print_it().
|
extern |
Definition at line 5011 of file breakpoint.c.
References program_space::added_solibs, async_reason_lookup(), current_program_space, current_uiout, program_space::deleted_solibs, EXEC_ASYNC_SOLIB_EVENT, is_catchpoint(), and name.
Referenced by bpstat_print(), solib_catchpoint::print_it(), and internal_breakpoint::print_it().
|
extern |
Definition at line 3352 of file breakpoint.c.
References all_bp_locations(), is_tracepoint(), and remove_breakpoint().
Referenced by gdbsim_target::create_inferior(), linux_fork_context(), maybe_remove_breakpoints(), gdbsim_target::mourn_inferior(), scoped_switch_fork_info::scoped_switch_fork_info(), target_disconnect(), and scoped_switch_fork_info::~scoped_switch_fork_info().
|
extern |
Definition at line 3409 of file breakpoint.c.
References all_bp_locations(), breakpoint_debug_printf, and remove_breakpoint().
Referenced by fbsd_nat_target::detach(), linux_nat_target::detach(), amd_dbgapi_target::detach(), follow_fork_inferior(), and remote_target::remote_detach_1().
|
extern |
Definition at line 7919 of file breakpoint.c.
References all_breakpoints_safe(), bp_jit_event, current_program_space, delete_breakpoint(), breakpoint::first_loc(), bp_location::pspace, and breakpoint::type.
|
extern |
Definition at line 7928 of file breakpoint.c.
References all_breakpoints_safe(), bp_shlib_event, current_program_space, delete_breakpoint(), breakpoint::first_loc(), bp_location::pspace, and breakpoint::type.
Referenced by enable_break2(), and reload_shared_libraries().
|
extern |
Definition at line 7939 of file breakpoint.c.
References all_breakpoints_safe(), bp_shlib_event, current_program_space, disp_del_at_next_stop, breakpoint::disposition, breakpoint::first_loc(), bp_location::pspace, and breakpoint::type.
|
extern |
Definition at line 10799 of file breakpoint.c.
References watch_command_1().
Referenced by bppy_init(), gdbscm_register_breakpoint_x(), and mi_cmd_break_watch().
|
extern |
Definition at line 1187 of file breakpoint.c.
References all_breakpoints(), ext_lang_capitalized_name(), EXT_LANG_NONE, get_breakpoint_cond_ext_lang(), is_breakpoint(), breakpoint::number, set_breakpoint_condition(), UGLL_MAY_INSERT, and update_global_location_list().
|
extern |
Definition at line 1090 of file breakpoint.c.
References innermost_block_tracker::block(), block_for_pc(), watchpoint::cond_exp, watchpoint::cond_exp_valid_block, breakpoint::cond_string, breakpoint::condition_not_parsed, gdb_printf(), is_watchpoint(), breakpoint::last_loc(), loc, breakpoint::locations(), mark_breakpoint_modified(), notify_breakpoint_modified(), breakpoint::number, parse_exp_1(), and set_breakpoint_location_condition().
Referenced by bppy_set_condition(), condition_command(), gdbscm_set_breakpoint_condition_x(), mi_cmd_break_condition(), and set_breakpoint_condition().
|
extern |
Definition at line 13304 of file breakpoint.c.
References all_breakpoints(), gdb_printf(), breakpoint::ignore_count, is_tracepoint(), notify_breakpoint_modified(), and breakpoint::number.
Referenced by bppy_set_ignore_count(), continue_command(), gdbscm_set_breakpoint_ignore_count_x(), and ignore_command().
|
extern |
Definition at line 7668 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(), breakpoint::pspace, and breakpoint::type.
Referenced by finish_forward(), step_command_fsm_prepare(), until_break_command(), and until_next_command().
|
extern |
Definition at line 7725 of file breakpoint.c.
References all_breakpoints(), bp_longjmp_call_dummy, bp_longjmp_master, current_program_space, thread_info::global_num, inferior_thread(), momentary_breakpoint_from_master(), breakpoint::pspace, breakpoint::related_breakpoint, breakpoint::thread, and breakpoint::type.
Referenced by call_function_by_hand_dummy().
|
extern |
|
extern |
Definition at line 8372 of file breakpoint.c.
References symtab_and_line::explicit_pc, find_pc_line(), find_pc_overlay(), null_frame_id, symtab_and_line::pc, symtab_and_line::section, and set_momentary_breakpoint().
Referenced by insert_exception_resume_breakpoint(), insert_exception_resume_from_probe(), and insert_longjmp_resume_breakpoint().
|
extern |
Definition at line 7866 of file breakpoint.c.
References all_breakpoints_safe(), bp_std_terminate, bp_std_terminate_master, current_program_space, inferior_thread(), momentary_breakpoint_from_master(), breakpoint::pspace, and breakpoint::type.
Referenced by call_function_by_hand_dummy().
|
extern |
Definition at line 13994 of file breakpoint.c.
References all_breakpoints(), regcache::aspace(), bp_single_step, and breakpoint_has_location_inserted_here().
Referenced by handle_signal_stop().
|
extern |
Definition at line 4464 of file breakpoint.c.
References all_bp_locations_at_addr(), program_space::aspace, bp_loc_software_breakpoint, and bp_location_inserted_here_p().
Referenced by adjust_pc_after_break(), save_stop_reason(), and save_waitstatus().
|
extern |
Definition at line 1499 of file breakpoint.c.
References all_breakpoints(), bp_static_marker_tracepoint, bp_static_tracepoint, loc, breakpoint::locations(), and breakpoint::type.
Referenced by print_one_static_tracepoint_marker().
|
extern |
Definition at line 9499 of file breakpoint.c.
References BP_TEMPFLAG, and break_command_1().
Referenced by run_command_1().
|
extern |
Definition at line 10887 of file breakpoint.c.
References bp_until, clear_proceed_status(), command_interp(), current_language, decode_line_1(), DECODE_LINE_FUNFIRSTLINE, 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(), null_frame_id, symtab_and_line::pc, proceed(), resolve_sal_pc(), set_longjmp_breakpoint(), set_momentary_breakpoint(), thread_info::set_thread_fsm(), and string_to_location_spec().
Referenced by advance_command(), and until_command().
|
extern |
Definition at line 12969 of file breakpoint.c.
References code_breakpoint::add_location(), all_locations_are_pending(), ambiguous_names_p(), block_for_pc(), bp_disabled, breakpoint_locations_match(), bp_location::cond, breakpoint::cond_string, bp_location::disabled_by_cond, breakpoint::enable_state, find_breakpoint_range_end(), gdb_printf(), gdb_stderr, bp_location::length, breakpoint::locations(), locations_are_equal(), notify_breakpoint_modified(), breakpoint::number, parse_exp_1(), breakpoint::steal_locations(), and switch_to_program_space_and_thread().
Referenced by elf_gnu_ifunc_resolver_return_stop(), ada_catchpoint::re_set(), exception_catchpoint::re_set(), and code_breakpoint::re_set_default().
|
extern |
Definition at line 3898 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_location_spec_empty_p(), current_program_space, delete_breakpoint(), breakpoint::pspace, and breakpoint::type.
Referenced by follow_exec().
|
extern |
Definition at line 6943 of file breakpoint.c.
References breakpoint::number.
Referenced by bppy_get_visibility(), breakpoint_1(), clear_command(), delete_command(), delete_trace_command(), describe_other_breakpoints(), enable_disable_command(), gdbpy_breakpoint_created(), remove_inferior_breakpoints(), remove_threaded_breakpoints(), save_breakpoints(), should_be_inserted(), and stopped_by_user_bp_inline_frame().
|
extern |
Definition at line 10717 of file breakpoint.c.
References watch_command_1().
Referenced by bppy_init(), gdbscm_register_breakpoint_x(), and mi_cmd_break_watch().
int watchpoints_triggered | ( | const target_waitstatus & | ws | ) |
Definition at line 5151 of file breakpoint.c.
References all_breakpoints(), current_inferior(), watchpoint::hw_wp_mask, is_hardware_watchpoint(), is_masked_watchpoint(), loc, breakpoint::locations(), 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 bpstat_stop_status_nowatch(), and handle_signal_stop().
|
extern |
Definition at line 290 of file breakpoint.c.
Referenced by bpfinishpy_init(), breakpoint_ops_for_location_spec(), breakpoint_ops_for_location_spec_type(), create_tracepoint_from_upload(), dprintf_command(), ftrace_command(), mi_cmd_break_insert_1(), and strace_command().
|
extern |
Definition at line 14688 of file breakpoint.c.
Referenced by process_next_line().
|
extern |
Definition at line 6464 of file breakpoint.c.
Referenced by mi_cmd_fix_breakpoint_script_output(), and print_one_breakpoint_location().
|
extern |
Definition at line 6847 of file breakpoint.c.
Referenced by mi_cmd_fix_multi_location_breakpoint_output(), and print_one_breakpoint().
|
extern |
Definition at line 695 of file breakpoint.c.
Referenced by _initialize_rs6000_tdep(), can_use_hardware_watchpoint(), and update_watchpoint().