GDB (xrefs)
|
Public Member Functions | |
exception_catchpoint (struct gdbarch *gdbarch, bool temp, const char *cond_string_, enum exception_event_kind kind_, std::string &&except_rx) | |
void | re_set () 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 |
void | print_one_detail (struct ui_out *) const override |
void | check_status (struct bpstat *bs) override |
struct bp_location * | allocate_location () override |
![]() | |
code_breakpoint (struct gdbarch *gdbarch, bptype type, gdb::array_view< const symtab_and_line > sals, location_spec_up &&locspec, gdb::unique_xmalloc_ptr< char > filter, gdb::unique_xmalloc_ptr< char > cond_string, gdb::unique_xmalloc_ptr< char > extra_string, enum bpdisp disposition, int thread, int task, int inferior, int ignore_count, int from_tty, int enabled, unsigned flags, int display_canonical) | |
~code_breakpoint () override=0 | |
bp_location * | add_location (const symtab_and_line &sal) |
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 |
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 |
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 int | resources_needed (const struct bp_location *) |
virtual bool | explains_signal (enum gdb_signal) |
virtual void | after_condition_true (struct bpstat *bs) |
Public Attributes | |
enum exception_event_kind | kind |
std::string | exception_rx |
std::unique_ptr< compiled_regex > | pattern |
![]() | |
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 | |
![]() | |
virtual std::vector< symtab_and_line > | decode_location_spec (location_spec *locspec, struct program_space *search_pspace) |
void | re_set_default () |
std::vector< symtab_and_line > | location_spec_to_sals (location_spec *locspec, struct program_space *search_pspace, int *found) |
void | say_where () const |
![]() | |
void | print_recreate_thread (struct ui_file *fp) const |
![]() | |
bp_location_list | m_locations |
Definition at line 70 of file break-catch-throw.c.
|
inline |
Definition at line 72 of file break-catch-throw.c.
References current_program_space, breakpoint::pspace, and re_set().
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 354 of file break-catch-throw.c.
References bp_loc_software_breakpoint.
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 161 of file break-catch-throw.c.
References breakpoint::check_status(), cp_canonicalize_string(), cplus_typename_from_type_info(), exception_print(), fetch_probe_arguments(), gdb_stderr, name, pattern, and bpstat::stop.
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 237 of file break-catch-throw.c.
References annotate_catchpoint(), async_reason_lookup(), bpdisp_text(), current_uiout, disp_del, breakpoint::disposition, EX_EVENT_CATCH, EX_EVENT_THROW, EXEC_ASYNC_BREAKPOINT_HIT, ui_out::field_string(), ui_out::is_mi_like_p(), kind, maybe_print_thread_hit_breakpoint(), breakpoint::number, print_num_locno(), PRINT_SRC_AND_LOC, and ui_out::text().
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 311 of file break-catch-throw.c.
References current_uiout, disp_del, breakpoint::disposition, EX_EVENT_CATCH, EX_EVENT_THROW, kind, ui_out::message(), and breakpoint::number.
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 262 of file break-catch-throw.c.
References annotate_field(), current_uiout, EX_EVENT_CATCH, EX_EVENT_RETHROW, EX_EVENT_THROW, ui_out::field_skip(), ui_out::field_string(), get_user_print_options(), ui_out::is_mi_like_p(), and kind.
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 300 of file break-catch-throw.c.
References exception_rx, ui_out::field_string(), and ui_out::text().
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 329 of file break-catch-throw.c.
References disp_del, breakpoint::disposition, EX_EVENT_CATCH, EX_EVENT_RETHROW, EX_EVENT_THROW, gdb_printf(), kind, and breakpoint::print_recreate_thread().
|
overridevirtual |
Reimplemented from code_breakpoint.
Definition at line 201 of file break-catch-throw.c.
References current_program_space, code_breakpoint::decode_location_spec(), exception_functions, kind, breakpoint::locspec, new_explicit_location_spec_function(), new_probe_location_spec(), parse_probes(), and update_breakpoint_locations().
Referenced by exception_catchpoint().
std::string exception_catchpoint::exception_rx |
Definition at line 104 of file break-catch-throw.c.
Referenced by print_one_detail().
enum exception_event_kind exception_catchpoint::kind |
Definition at line 99 of file break-catch-throw.c.
Referenced by print_it(), print_mention(), print_one(), print_recreate(), and re_set().
std::unique_ptr<compiled_regex> exception_catchpoint::pattern |
Definition at line 109 of file break-catch-throw.c.
Referenced by check_status().