GDB (xrefs)
|
Public Member Functions | |
signal_catchpoint (struct gdbarch *gdbarch, bool temp, std::vector< gdb_signal > &&sigs, bool catch_all_) | |
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 |
enum print_stop_action | print_it (const bpstat *bs) const override |
bool | print_one (const bp_location **) const override |
void | print_mention () const override |
void | print_recreate (struct ui_file *fp) const override |
bool | explains_signal (enum gdb_signal) override |
![]() | |
catchpoint (struct gdbarch *gdbarch, bool temp, const char *cond_string) | |
~catchpoint () override=0 | |
![]() | |
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 void | re_set () |
virtual void | check_status (struct bpstat *bs) |
virtual int | resources_needed (const struct bp_location *) |
virtual void | print_one_detail (struct ui_out *) const |
virtual void | after_condition_true (struct bpstat *bs) |
Public Attributes | |
std::vector< gdb_signal > | signals_to_be_caught |
bool | catch_all |
![]() | |
bptype | type = bp_none |
enum enable_state | enable_state = bp_enabled |
bpdisp | disposition = disp_del |
int | number = 0 |
bool | silent = false |
bool | display_canonical = false |
int | ignore_count = 0 |
int | enable_count = 0 |
counted_command_line | commands |
struct frame_id | frame_id = null_frame_id |
program_space * | pspace = NULL |
location_spec_up | locspec |
gdb::unique_xmalloc_ptr< char > | filter |
location_spec_up | locspec_range_end |
struct gdbarch * | gdbarch |
enum language | language |
int | input_radix |
gdb::unique_xmalloc_ptr< char > | cond_string |
gdb::unique_xmalloc_ptr< char > | extra_string |
breakpoint * | related_breakpoint |
int | thread = -1 |
int | inferior = -1 |
int | task = -1 |
int | hit_count = 0 |
int | condition_not_parsed = 0 |
gdbpy_breakpoint_object * | py_bp_object = NULL |
gdbscm_breakpoint_object * | scm_bp_object = NULL |
Additional Inherited Members | |
![]() | |
void | print_recreate_thread (struct ui_file *fp) const |
![]() | |
bp_location_list | m_locations |
Definition at line 41 of file break-catch-sig.c.
|
inline |
Definition at line 43 of file break-catch-sig.c.
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 165 of file break-catch-sig.c.
References catch_all, INTERNAL_SIGNAL, target_waitstatus::kind(), bp_location::owner, target_waitstatus::sig, signals_to_be_caught, and TARGET_WAITKIND_STOPPED.
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 312 of file break-catch-sig.c.
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 104 of file break-catch-sig.c.
References catch_all, INTERNAL_SIGNAL, bp_location::owner, signal_catch_counts, signal_catch_update(), and signals_to_be_caught.
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 197 of file break-catch-sig.c.
References annotate_catchpoint(), current_uiout, gdb_printf(), get_last_target_status(), maybe_print_thread_hit_breakpoint(), breakpoint::number, PRINT_SRC_AND_LOC, target_waitstatus::sig, and signal_to_name_or_int().
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 269 of file break-catch-sig.c.
References catch_all, gdb_printf(), name, breakpoint::number, signal_to_name_or_int(), and signals_to_be_caught.
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 218 of file break-catch-sig.c.
References annotate_field(), catch_all, current_uiout, ui_out::field_skip(), ui_out::field_string(), get_user_print_options(), ui_out::is_mi_like_p(), metadata_style, name, signal_to_name_or_int(), signals_to_be_caught, cli_style_option::style(), and ui_out::text().
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 295 of file break-catch-sig.c.
References catch_all, gdb_printf(), gdb_putc(), signal_to_name_or_int(), and signals_to_be_caught.
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 131 of file break-catch-sig.c.
References catch_all, INTERNAL_SIGNAL, bp_location::owner, signal_catch_counts, signal_catch_update(), and signals_to_be_caught.
bool signal_catchpoint::catch_all |
Definition at line 76 of file break-catch-sig.c.
Referenced by breakpoint_hit(), insert_location(), print_mention(), print_one(), print_recreate(), and remove_location().
std::vector<gdb_signal> signal_catchpoint::signals_to_be_caught |
Definition at line 69 of file break-catch-sig.c.
Referenced by breakpoint_hit(), insert_location(), print_mention(), print_one(), print_recreate(), and remove_location().