|
GDB (xrefs)
|
Public Member Functions | |
| fork_catchpoint (struct gdbarch *gdbarch, bool temp, const char *cond_string, bool is_vfork_) | |
| 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 |
Public Member Functions inherited from catchpoint | |
| catchpoint (struct gdbarch *gdbarch, bool temp, const char *cond_string) | |
| ~catchpoint () override=0 | |
Public Member Functions inherited from breakpoint | |
| 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 | |
| bool | is_vfork |
| ptid_t | forked_inferior_pid = null_ptid |
Public Attributes inherited from breakpoint | |
| 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 | |
Protected Member Functions inherited from breakpoint | |
| void | print_recreate_thread (struct ui_file *fp) const |
Protected Attributes inherited from breakpoint | |
| bp_location_list | m_locations |
Definition at line 35 of file break-catch-fork.c.
|
inline |
Definition at line 37 of file break-catch-fork.c.
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 91 of file break-catch-fork.c.
References target_waitstatus::child_ptid, forked_inferior_pid, is_vfork, target_waitstatus::kind(), TARGET_WAITKIND_FORKED, and TARGET_WAITKIND_VFORKED.
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 68 of file break-catch-fork.c.
References inferior_ptid, is_vfork, target_insert_fork_catchpoint(), and target_insert_vfork_catchpoint().
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 108 of file break-catch-fork.c.
References annotate_catchpoint(), async_reason_lookup(), bpdisp_text(), current_uiout, disp_del, breakpoint::disposition, EXEC_ASYNC_FORK, EXEC_ASYNC_VFORK, ui_out::field_signed(), ui_out::field_string(), forked_inferior_pid, ui_out::is_mi_like_p(), is_vfork, maybe_print_thread_hit_breakpoint(), breakpoint::number, PRINT_SRC_AND_LOC, and ui_out::text().
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 170 of file break-catch-fork.c.
References gdb_printf(), is_vfork, and breakpoint::number.
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 139 of file break-catch-fork.c.
References annotate_field(), current_uiout, ui_out::field_signed(), ui_out::field_skip(), ui_out::field_string(), forked_inferior_pid, get_user_print_options(), ui_out::is_mi_like_p(), is_vfork, name, ui_out::spaces(), and ui_out::text().
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 179 of file break-catch-fork.c.
References gdb_printf(), is_vfork, and breakpoint::print_recreate_thread().
|
overridevirtual |
Reimplemented from breakpoint.
Definition at line 79 of file break-catch-fork.c.
References inferior_ptid, is_vfork, target_remove_fork_catchpoint(), and target_remove_vfork_catchpoint().
| ptid_t fork_catchpoint::forked_inferior_pid = null_ptid |
Definition at line 62 of file break-catch-fork.c.
Referenced by breakpoint_hit(), print_it(), and print_one().
| bool fork_catchpoint::is_vfork |
Definition at line 57 of file break-catch-fork.c.
Referenced by breakpoint_hit(), insert_location(), print_it(), print_mention(), print_one(), print_recreate(), and remove_location().