GDB (xrefs)
|
#include "breakpoint.h"
Public Member Functions | |
void | re_set () override |
int | insert_location (struct bp_location *) override |
int | remove_location (struct bp_location *, enum remove_bp_reason reason) override |
int | breakpoint_hit (const struct bp_location *bl, const address_space *aspace, CORE_ADDR bp_addr, const target_waitstatus &ws) override |
void | check_status (struct bpstat *bs) override |
int | resources_needed (const struct bp_location *) override |
virtual bool | works_in_software_mode () const |
enum print_stop_action | print_it (const bpstat *bs) const override |
void | print_mention () const override |
void | print_recreate (struct ui_file *fp) const override |
bool | explains_signal (enum gdb_signal) override |
~watchpoint () | |
breakpoint (struct gdbarch *gdbarch_, enum bptype bptype, bool temp=true, const char *cond_string=nullptr) | |
![]() | |
breakpoint (struct gdbarch *gdbarch_, enum bptype bptype, bool temp=true, const char *cond_string=nullptr) | |
DISABLE_COPY_AND_ASSIGN (breakpoint) | |
virtual | ~breakpoint ()=0 |
virtual struct bp_location * | allocate_location () |
bp_location_range | locations () const |
void | add_location (bp_location &loc) |
void | unadd_location (bp_location &loc) |
void | clear_locations () |
bp_location_list | steal_locations (program_space *pspace) |
bool | has_locations () const |
bool | has_single_location () const |
bool | has_multiple_locations () const |
bp_location & | first_loc () |
const bp_location & | first_loc () const |
const bp_location & | last_loc () const |
virtual bool | print_one (const bp_location **) const |
virtual void | print_one_detail (struct ui_out *) const |
virtual void | after_condition_true (struct bpstat *bs) |
Additional Inherited Members | |
![]() | |
void | print_recreate_thread (struct ui_file *fp) const |
![]() | |
bp_location_list | m_locations |
Definition at line 978 of file breakpoint.h.
watchpoint::~watchpoint | ( | ) |
Definition at line 9818 of file breakpoint.c.
References breakpoint::related_breakpoint.
breakpoint::breakpoint | ( | struct gdbarch * | gdbarch_, |
enum bptype bptype | , | ||
bool | temp = true, | ||
const char * | cond_string = nullptr ) |
Definition at line 624 of file breakpoint.c.
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 9898 of file breakpoint.c.
References is_hardware_watchpoint(), bp_location::owner, and watch_triggered_no.
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 9918 of file breakpoint.c.
References bpstat_check_watchpoint().
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 10091 of file breakpoint.c.
References bp_watchpoint.
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 9877 of file breakpoint.c.
References bp_location::address, cond_exp, exact, bp_location::length, target_insert_watchpoint(), and bp_location::watchpoint_type.
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 9945 of file breakpoint.c.
References annotate_watchpoint(), async_reason_lookup(), bp_access_watchpoint, bp_hardware_watchpoint, bpstat::bp_location_at, bp_read_watchpoint, bp_watchpoint, current_uiout, EXEC_ASYNC_ACCESS_WATCHPOINT_TRIGGER, EXEC_ASYNC_READ_WATCHPOINT_TRIGGER, EXEC_ASYNC_WATCHPOINT_TRIGGER, ui_out::field_stream(), ui_out::field_string(), ui_out::is_mi_like_p(), maybe_print_thread_hit_breakpoint(), mention(), breakpoint::number, bpstat::old_val, PRINT_UNKNOWN, ui_out::text(), val, and watchpoint_value_print().
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 10030 of file breakpoint.c.
References bp_access_watchpoint, bp_hardware_watchpoint, bp_read_watchpoint, bp_watchpoint, current_uiout, exp_string, ui_out::field_signed(), ui_out::field_string(), breakpoint::number, and ui_out::text().
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 10066 of file breakpoint.c.
References bp_access_watchpoint, bp_hardware_watchpoint, bp_read_watchpoint, bp_watchpoint, exp_string, gdb_printf(), and breakpoint::print_recreate_thread().
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 9844 of file breakpoint.c.
References update_watchpoint().
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 9888 of file breakpoint.c.
References bp_location::address, cond_exp, exact, bp_location::length, target_remove_watchpoint(), and bp_location::watchpoint_type.
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 9927 of file breakpoint.c.
References bp_location::address, exact, bp_location::length, and target_region_ok_for_hw_watchpoint().
|
virtual |
Reimplemented in masked_watchpoint.
Definition at line 9938 of file breakpoint.c.
References bp_hardware_watchpoint, and bp_watchpoint.
Referenced by update_watchpoint().
expression_up watchpoint::cond_exp |
Definition at line 1018 of file breakpoint.h.
Referenced by bpstat_check_breakpoint_conditions(), insert_location(), remove_location(), set_breakpoint_condition(), update_watchpoint(), and watchpoint_locations_match().
const struct block* watchpoint::cond_exp_valid_block |
Definition at line 1021 of file breakpoint.h.
Referenced by bpstat_check_breakpoint_conditions(), set_breakpoint_condition(), and update_watchpoint().
int watchpoint::exact |
Definition at line 1052 of file breakpoint.h.
Referenced by insert_location(), remove_location(), resources_needed(), and update_watchpoint().
expression_up watchpoint::exp |
Definition at line 1013 of file breakpoint.h.
Referenced by update_watchpoint(), and watchpoint_check().
gdb::unique_xmalloc_ptr<char> watchpoint::exp_string |
Definition at line 1008 of file breakpoint.h.
Referenced by bppy_get_expression(), gdbscm_breakpoint_expression(), masked_watchpoint::print_mention(), print_mention(), print_one_breakpoint_location(), masked_watchpoint::print_recreate(), print_recreate(), and update_watchpoint().
gdb::unique_xmalloc_ptr<char> watchpoint::exp_string_reparse |
Definition at line 1010 of file breakpoint.h.
Referenced by update_watchpoint().
const struct block* watchpoint::exp_valid_block |
Definition at line 1016 of file breakpoint.h.
Referenced by breakpoint_init_inferior(), update_watchpoint(), and watchpoint_check().
CORE_ADDR watchpoint::hw_wp_mask |
Definition at line 1055 of file breakpoint.h.
Referenced by masked_watchpoint::insert_location(), masked_watchpoint::print_one_detail(), masked_watchpoint::print_recreate(), masked_watchpoint::remove_location(), masked_watchpoint::resources_needed(), and watchpoints_triggered().
value_ref_ptr watchpoint::val |
Definition at line 1025 of file breakpoint.h.
Referenced by gdb-gdb.TypeFlagsPrinter::__str__(), gdb-gdb.StructMainTypePrettyPrinter::bound_img(), gdb-gdb.StructMainTypePrettyPrinter::bounds_img(), breakpoint_init_inferior(), gdb-gdb.StructMainTypePrettyPrinter::flags_to_string(), invalidate_bp_value_on_memory_change(), gdb-gdb.StructMainTypePrettyPrinter::owner_to_string(), print_it(), gdb-gdb.StructMainTypePrettyPrinter::struct_field_img(), gdb-gdb.StructTypePrettyPrinter::to_string(), gdb-gdb.StructMainTypePrettyPrinter::to_string(), gdb-gdb.StructMainTypePrettyPrinter::type_specific_img(), update_watchpoint(), and watchpoint_check().
int watchpoint::val_bitpos |
Definition at line 1033 of file breakpoint.h.
Referenced by extract_bitfield_from_watchpoint_value(), and update_watchpoint().
int watchpoint::val_bitsize |
Definition at line 1034 of file breakpoint.h.
Referenced by extract_bitfield_from_watchpoint_value(), update_watchpoint(), and watchpoint_check().
bool watchpoint::val_valid |
Definition at line 1029 of file breakpoint.h.
Referenced by breakpoint_init_inferior(), invalidate_bp_value_on_memory_change(), update_watchpoint(), and watchpoint_check().
struct frame_id watchpoint::watchpoint_frame |
Definition at line 1039 of file breakpoint.h.
Referenced by update_watchpoint(), and watchpoint_check().
ptid_t watchpoint::watchpoint_thread |
Definition at line 1044 of file breakpoint.h.
Referenced by watchpoint_in_thread_scope().
enum watchpoint_triggered watchpoint::watchpoint_triggered |
Definition at line 1048 of file breakpoint.h.
Referenced by bpstat_check_watchpoint(), build_bpstat_chain(), and watchpoints_triggered().