GDB (xrefs)
|
Public Member Functions | |
syscall_catchpoint (struct gdbarch *gdbarch, bool tempflag, std::vector< int > &&calls) | |
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 |
![]() | |
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 bool | explains_signal (enum gdb_signal) |
virtual void | after_condition_true (struct bpstat *bs) |
Public Attributes | |
std::vector< int > | syscalls_to_be_caught |
![]() | |
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 38 of file break-catch-syscall.c.
|
inline |
Definition at line 40 of file break-catch-syscall.c.
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 158 of file break-catch-syscall.c.
References target_waitstatus::kind(), target_waitstatus::syscall_number, syscalls_to_be_caught, TARGET_WAITKIND_SYSCALL_ENTRY, and TARGET_WAITKIND_SYSCALL_RETURN.
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 100 of file break-catch-syscall.c.
References catch_syscall_inferior_data::any_syscall_count, current_inferior(), get_catch_syscall_inferior_data(), inferior_ptid, catch_syscall_inferior_data::syscalls_counts, syscalls_to_be_caught, target_set_syscall_catchpoint(), and catch_syscall_inferior_data::total_syscalls_count.
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 190 of file break-catch-syscall.c.
References annotate_catchpoint(), async_reason_lookup(), bpdisp_text(), current_uiout, disp_del, breakpoint::disposition, EXEC_ASYNC_SYSCALL_ENTRY, EXEC_ASYNC_SYSCALL_RETURN, ui_out::field_signed(), ui_out::field_string(), get_last_target_status(), get_syscall_by_number(), ui_out::is_mi_like_p(), target_waitstatus::kind(), maybe_print_thread_hit_breakpoint(), syscall::name, breakpoint::number, print_num_locno(), PRINT_SRC_AND_LOC, target_waitstatus::syscall_number, TARGET_WAITKIND_SYSCALL_ENTRY, and ui_out::text().
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 291 of file break-catch-syscall.c.
References gdb_printf(), get_syscall_by_number(), syscall::name, breakpoint::number, syscall::number, and syscalls_to_be_caught.
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 239 of file break-catch-syscall.c.
References annotate_field(), current_uiout, ui_out::field_skip(), ui_out::field_string(), get_syscall_by_number(), get_user_print_options(), ui_out::is_mi_like_p(), metadata_style, syscall::name, cli_style_option::style(), syscalls_to_be_caught, and ui_out::text().
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 319 of file break-catch-syscall.c.
References gdb_printf(), get_syscall_by_number(), syscall::name, syscall::number, breakpoint::print_recreate_thread(), and syscalls_to_be_caught.
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 128 of file break-catch-syscall.c.
References catch_syscall_inferior_data::any_syscall_count, current_inferior(), get_catch_syscall_inferior_data(), inferior_ptid, catch_syscall_inferior_data::syscalls_counts, syscalls_to_be_caught, target_set_syscall_catchpoint(), and catch_syscall_inferior_data::total_syscalls_count.
std::vector<int> syscall_catchpoint::syscalls_to_be_caught |
Definition at line 62 of file break-catch-syscall.c.
Referenced by breakpoint_hit(), catching_syscall_number_1(), insert_location(), print_mention(), print_one(), print_recreate(), and remove_location().