GDB (xrefs)
|
#include "linux-nat.h"
Public Member Functions | |
linux_nat_target () | |
~linux_nat_target () override=0 | |
thread_control_capabilities | get_thread_control_capabilities () override |
void | create_inferior (const char *, const std::string &, char **, int) override |
void | attach (const char *, int) override |
void | detach (inferior *, int) override |
void | resume (ptid_t, int, enum gdb_signal) override |
ptid_t | wait (ptid_t, struct target_waitstatus *, target_wait_flags) override |
void | pass_signals (gdb::array_view< const unsigned char >) override |
enum target_xfer_status | xfer_partial (enum target_object object, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len) override |
void | kill () override |
void | mourn_inferior () override |
bool | thread_alive (ptid_t ptid) override |
void | update_thread_list () override |
std::string | pid_to_str (ptid_t) override |
const char * | thread_name (struct thread_info *) override |
struct address_space * | thread_address_space (ptid_t) override |
bool | stopped_by_watchpoint () override |
bool | stopped_data_address (CORE_ADDR *) override |
bool | stopped_by_sw_breakpoint () override |
bool | supports_stopped_by_sw_breakpoint () override |
bool | stopped_by_hw_breakpoint () override |
bool | supports_stopped_by_hw_breakpoint () override |
void | thread_events (int) override |
bool | can_async_p () override |
bool | supports_non_stop () override |
bool | always_non_stop_p () override |
void | async (bool) override |
void | stop (ptid_t) override |
bool | supports_multi_process () override |
bool | supports_disable_randomization () override |
int | core_of_thread (ptid_t ptid) override |
bool | filesystem_is_local () override |
int | fileio_open (struct inferior *inf, const char *filename, int flags, int mode, int warn_if_slow, fileio_error *target_errno) override |
gdb::optional< std::string > | fileio_readlink (struct inferior *inf, const char *filename, fileio_error *target_errno) override |
int | fileio_unlink (struct inferior *inf, const char *filename, fileio_error *target_errno) override |
int | insert_fork_catchpoint (int) override |
int | remove_fork_catchpoint (int) override |
int | insert_vfork_catchpoint (int) override |
int | remove_vfork_catchpoint (int) override |
int | insert_exec_catchpoint (int) override |
int | remove_exec_catchpoint (int) override |
int | set_syscall_catchpoint (int pid, bool needed, int any_count, gdb::array_view< const int > syscall_counts) override |
const char * | pid_to_exec_file (int pid) override |
void | post_attach (int) override |
void | follow_fork (inferior *, ptid_t, target_waitkind, bool, bool) override |
std::vector< static_tracepoint_marker > | static_tracepoint_markers_by_strid (const char *id) override |
virtual void | low_resume (ptid_t ptid, int step, enum gdb_signal sig) |
virtual bool | low_stopped_by_watchpoint () |
virtual bool | low_stopped_data_address (CORE_ADDR *addr_p) |
virtual void | low_new_thread (struct lwp_info *) |
virtual void | low_delete_thread (struct arch_lwp_info *lp) |
virtual void | low_new_fork (struct lwp_info *parent, pid_t child_pid) |
virtual void | low_new_clone (struct lwp_info *parent, pid_t child_lwp) |
virtual void | low_forget_process (pid_t pid) |
virtual void | low_prepare_to_resume (struct lwp_info *) |
virtual bool | low_siginfo_fixup (siginfo_t *ptrace, gdb_byte *inf, int direction) |
virtual bool | low_status_is_event (int status) |
![]() | |
~inf_ptrace_target () override=0 | |
void | close () override |
void | resume (ptid_t, int, enum gdb_signal) override |
void | files_info () override |
bool | is_async_p () override |
int | async_wait_fd () override |
![]() | |
inf_child_target ()=default | |
~inf_child_target () override=0 | |
const target_info & | info () const override |
void | disconnect (const char *, int) override |
void | fetch_registers (struct regcache *, int) override=0 |
void | store_registers (struct regcache *, int) override=0 |
void | prepare_to_store (struct regcache *) override |
bool | supports_terminal_ours () override |
void | terminal_init () override |
void | terminal_inferior () override |
void | terminal_save_inferior () override |
void | terminal_ours_for_output () override |
void | terminal_ours () override |
void | terminal_info (const char *, int) override |
void | interrupt () override |
void | pass_ctrlc () override |
void | follow_exec (inferior *follow_inf, ptid_t ptid, const char *execd_pathname) override |
bool | can_run () override |
bool | can_create_inferior () override |
bool | can_attach () override |
int | fileio_pwrite (int fd, const gdb_byte *write_buf, int len, ULONGEST offset, fileio_error *target_errno) override |
int | fileio_pread (int fd, gdb_byte *read_buf, int len, ULONGEST offset, fileio_error *target_errno) override |
int | fileio_fstat (int fd, struct stat *sb, fileio_error *target_errno) override |
int | fileio_close (int fd, fileio_error *target_errno) override |
bool | use_agent (bool use) override |
bool | can_use_agent () override |
![]() | |
int | insert_breakpoint (struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) override |
int | remove_breakpoint (struct gdbarch *gdbarch, struct bp_target_info *bp_tgt, enum remove_bp_reason reason) override |
![]() | |
~process_stratum_target () override=0 | |
strata | stratum () const final override |
virtual const char * | connection_string () |
bool | can_async_p () override |
bool | supports_non_stop () override |
bool | supports_disable_randomization () override |
struct address_space * | thread_address_space (ptid_t ptid) override |
struct gdbarch * | thread_architecture (ptid_t ptid) override |
bool | has_all_memory () override |
bool | has_memory () override |
bool | has_stack () override |
bool | has_registers () override |
bool | has_execution (inferior *inf) override |
void | follow_exec (inferior *follow_inf, ptid_t ptid, const char *execd_pathname) override |
void | follow_fork (inferior *child_inf, ptid_t child_ptid, target_waitkind fork_kind, bool follow_child, bool detach_on_fork) override |
void | maybe_add_resumed_with_pending_wait_status (thread_info *thread) |
void | maybe_remove_resumed_with_pending_wait_status (thread_info *thread) |
bool | has_resumed_with_pending_wait_status () const |
thread_info * | random_resumed_with_pending_wait_status (inferior *inf, ptid_t filter_ptid) |
thread_info * | find_thread (ptid_t ptid) |
![]() | |
target_ops * | beneath () const |
virtual | ~target_ops () |
const char * | shortname () const |
const char * | longname () const |
virtual void | resume (ptid_t, int TARGET_DEBUG_PRINTER(target_debug_print_step), enum gdb_signal) TARGET_DEFAULT_NORETURN(noprocess()) |
virtual void | commit_resumed () TARGET_DEFAULT_IGNORE() |
virtual int | can_use_hw_breakpoint (enum bptype, int, int) TARGET_DEFAULT_RETURN(0) |
virtual int | ranged_break_num_registers () TARGET_DEFAULT_RETURN(-1) |
virtual int | insert_hw_breakpoint (struct gdbarch *, struct bp_target_info *) TARGET_DEFAULT_RETURN(-1) |
virtual int | remove_hw_breakpoint (struct gdbarch *, struct bp_target_info *) TARGET_DEFAULT_RETURN(-1) |
virtual int | remove_watchpoint (CORE_ADDR, int, enum target_hw_bp_type, struct expression *) TARGET_DEFAULT_RETURN(-1) |
virtual int | insert_watchpoint (CORE_ADDR, int, enum target_hw_bp_type, struct expression *) TARGET_DEFAULT_RETURN(-1) |
virtual int | insert_mask_watchpoint (CORE_ADDR, CORE_ADDR, enum target_hw_bp_type) TARGET_DEFAULT_RETURN(1) |
virtual int | remove_mask_watchpoint (CORE_ADDR, CORE_ADDR, enum target_hw_bp_type) TARGET_DEFAULT_RETURN(1) |
virtual bool | have_steppable_watchpoint () TARGET_DEFAULT_RETURN(false) |
virtual bool | watchpoint_addr_within_range (CORE_ADDR, CORE_ADDR, int) TARGET_DEFAULT_FUNC(default_watchpoint_addr_within_range) |
virtual int | region_ok_for_hw_watchpoint (CORE_ADDR, int) TARGET_DEFAULT_FUNC(default_region_ok_for_hw_watchpoint) |
virtual bool | can_accel_watchpoint_condition (CORE_ADDR, int, int, struct expression *) TARGET_DEFAULT_RETURN(false) |
virtual int | masked_watch_num_registers (CORE_ADDR, CORE_ADDR) TARGET_DEFAULT_RETURN(-1) |
virtual int | can_do_single_step () TARGET_DEFAULT_RETURN(-1) |
virtual void | load (const char *, int) TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual void | pass_signals (gdb::array_view< const unsigned char > TARGET_DEBUG_PRINTER(target_debug_print_signals)) TARGET_DEFAULT_IGNORE() |
virtual void | program_signals (gdb::array_view< const unsigned char > TARGET_DEBUG_PRINTER(target_debug_print_signals)) TARGET_DEFAULT_IGNORE() |
virtual const char * | extra_thread_info (thread_info *) TARGET_DEFAULT_RETURN(NULL) |
virtual thread_info * | thread_handle_to_thread_info (const gdb_byte *, int, inferior *inf) TARGET_DEFAULT_RETURN(NULL) |
virtual void | rcmd (const char *command, struct ui_file *output) TARGET_DEFAULT_FUNC(default_rcmd) |
virtual void | log_command (const char *) TARGET_DEFAULT_IGNORE() |
virtual const target_section_table * | get_section_table () TARGET_DEFAULT_RETURN(default_get_section_table()) |
virtual bool | attach_no_wait () TARGET_DEFAULT_RETURN(0) |
virtual bool | has_pending_events () TARGET_DEFAULT_RETURN(false) |
virtual int | find_memory_regions (find_memory_region_ftype func, void *data) TARGET_DEFAULT_FUNC(dummy_find_memory_regions) |
virtual gdb::unique_xmalloc_ptr< char > | make_corefile_notes (bfd *, int *) TARGET_DEFAULT_FUNC(dummy_make_corefile_notes) |
virtual gdb_byte * | get_bookmark (const char *, int) TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual void | goto_bookmark (const gdb_byte *, int) TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual CORE_ADDR | get_thread_local_address (ptid_t ptid, CORE_ADDR load_module_addr, CORE_ADDR offset) TARGET_DEFAULT_NORETURN(generic_tls_error()) |
virtual ULONGEST | get_memory_xfer_limit () TARGET_DEFAULT_RETURN(ULONGEST_MAX) |
virtual std::vector< mem_region > virtual memory_map() TARGET_DEFAULT_RETURN(std void | flash_erase (ULONGEST address, LONGEST length) TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual void | flash_done () TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual const struct target_desc * | read_description () TARGET_DEFAULT_RETURN(NULL) |
virtual ptid_t | get_ada_task_ptid (long lwp, ULONGEST thread) TARGET_DEFAULT_FUNC(default_get_ada_task_ptid) |
virtual int | auxv_parse (const gdb_byte **readptr, const gdb_byte *endptr, CORE_ADDR *typep, CORE_ADDR *valp) TARGET_DEFAULT_FUNC(default_auxv_parse) |
virtual int | search_memory (CORE_ADDR start_addr, ULONGEST search_space_len, const gdb_byte *pattern, ULONGEST pattern_len, CORE_ADDR *found_addrp) TARGET_DEFAULT_FUNC(default_search_memory) |
virtual bool | can_execute_reverse () TARGET_DEFAULT_RETURN(false) |
virtual enum exec_direction_kind | execution_direction () TARGET_DEFAULT_FUNC(default_execution_direction) |
virtual bool | supports_enable_disable_tracepoint () TARGET_DEFAULT_RETURN(false) |
virtual bool | supports_string_tracing () TARGET_DEFAULT_RETURN(false) |
virtual bool | supports_evaluation_of_breakpoint_conditions () TARGET_DEFAULT_RETURN(false) |
virtual bool | supports_dumpcore () TARGET_DEFAULT_RETURN(false) |
virtual void | dumpcore (const char *filename) TARGET_DEFAULT_IGNORE() |
virtual bool | can_run_breakpoint_commands () TARGET_DEFAULT_RETURN(false) |
virtual bool | info_proc (const char *, enum info_proc_what) |
virtual void | trace_init () TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual void | download_tracepoint (struct bp_location *location) TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual bool | can_download_tracepoint () TARGET_DEFAULT_RETURN(false) |
virtual void | download_trace_state_variable (const trace_state_variable &tsv) TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual void | enable_tracepoint (struct bp_location *location) TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual void | disable_tracepoint (struct bp_location *location) TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual void | trace_set_readonly_regions () TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual void | trace_start () TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual int | get_trace_status (struct trace_status *ts) TARGET_DEFAULT_RETURN(-1) |
virtual void | get_tracepoint_status (tracepoint *tp, struct uploaded_tp *utp) TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual void | trace_stop () TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual int | trace_find (enum trace_find_type type, int num, CORE_ADDR addr1, CORE_ADDR addr2, int *tpp) TARGET_DEFAULT_RETURN(-1) |
virtual bool | get_trace_state_variable_value (int tsv, LONGEST *val) TARGET_DEFAULT_RETURN(false) |
virtual int | save_trace_data (const char *filename) TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual int | upload_tracepoints (struct uploaded_tp **utpp) TARGET_DEFAULT_RETURN(0) |
virtual int | upload_trace_state_variables (struct uploaded_tsv **utsvp) TARGET_DEFAULT_RETURN(0) |
virtual LONGEST | get_raw_trace_data (gdb_byte *buf, ULONGEST offset, LONGEST len) TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual int | get_min_fast_tracepoint_insn_len () TARGET_DEFAULT_RETURN(-1) |
virtual void | set_disconnected_tracing (int val) TARGET_DEFAULT_IGNORE() |
virtual void | set_circular_trace_buffer (int val) TARGET_DEFAULT_IGNORE() |
virtual void | set_trace_buffer_size (LONGEST val) TARGET_DEFAULT_IGNORE() |
virtual bool | set_trace_notes (const char *user, const char *notes, const char *stopnotes) TARGET_DEFAULT_RETURN(false) |
virtual int | verify_memory (const gdb_byte *data, CORE_ADDR memaddr, ULONGEST size) TARGET_DEFAULT_FUNC(default_verify_memory) |
virtual bool | get_tib_address (ptid_t ptid, CORE_ADDR *addr) TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual void | set_permissions () TARGET_DEFAULT_IGNORE() |
virtual bool | static_tracepoint_marker_at (CORE_ADDR, static_tracepoint_marker *marker) TARGET_DEFAULT_RETURN(false) |
virtual traceframe_info_up | traceframe_info () TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual struct btrace_target_info * | enable_btrace (thread_info *tp, const struct btrace_config *conf) TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual void | disable_btrace (struct btrace_target_info *tinfo) TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual void | teardown_btrace (struct btrace_target_info *tinfo) TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual enum btrace_error | read_btrace (struct btrace_data *data, struct btrace_target_info *btinfo, enum btrace_read_type type) TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual const struct btrace_config * | btrace_conf (const struct btrace_target_info *) TARGET_DEFAULT_RETURN(NULL) |
virtual enum record_method | record_method (ptid_t ptid) TARGET_DEFAULT_RETURN(RECORD_METHOD_NONE) |
virtual void | stop_recording () TARGET_DEFAULT_IGNORE() |
virtual void | info_record () TARGET_DEFAULT_IGNORE() |
virtual void | save_record (const char *filename) TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual bool | supports_delete_record () TARGET_DEFAULT_RETURN(false) |
virtual void | delete_record () TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual bool | record_is_replaying (ptid_t ptid) TARGET_DEFAULT_RETURN(false) |
virtual bool | record_will_replay (ptid_t ptid, int dir) TARGET_DEFAULT_RETURN(false) |
virtual void | record_stop_replaying () TARGET_DEFAULT_IGNORE() |
virtual void | goto_record_begin () TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual void | goto_record_end () TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual void | goto_record (ULONGEST insn) TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual void | insn_history (int size, gdb_disassembly_flags flags) TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual void | insn_history_from (ULONGEST from, int size, gdb_disassembly_flags flags) TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual void | insn_history_range (ULONGEST begin, ULONGEST end, gdb_disassembly_flags flags) TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual void | call_history (int size, record_print_flags flags) TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual void | call_history_from (ULONGEST begin, int size, record_print_flags flags) TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual void | call_history_range (ULONGEST begin, ULONGEST end, record_print_flags flags) TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual bool | augmented_libraries_svr4_read () TARGET_DEFAULT_RETURN(false) |
virtual const struct frame_unwind * | get_unwinder () TARGET_DEFAULT_RETURN(NULL) |
virtual const struct frame_unwind * | get_tailcall_unwinder () TARGET_DEFAULT_RETURN(NULL) |
virtual void | prepare_to_generate_core () TARGET_DEFAULT_IGNORE() |
virtual void | done_generating_core () TARGET_DEFAULT_IGNORE() |
virtual bool | supports_memory_tagging () TARGET_DEFAULT_RETURN(false) |
virtual bool | fetch_memtags (CORE_ADDR address, size_t len, gdb::byte_vector &tags, int type) TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual bool | store_memtags (CORE_ADDR address, size_t len, const gdb::byte_vector &tags, int type) TARGET_DEFAULT_NORETURN(tcomplain()) |
virtual x86_xsave_layout | fetch_x86_xsave_layout () TARGET_DEFAULT_RETURN(x86_xsave_layout()) |
Protected Member Functions | |
void | post_startup_inferior (ptid_t) override |
![]() | |
bool | async_file_open () |
void | async_file_close () |
void | async_file_flush () |
void | async_file_mark () |
void | detach_success (inferior *inf) |
![]() | |
void | maybe_unpush_target () |
Additional Inherited Members | |
![]() | |
static void | async_file_mark_if_open () |
![]() | |
bool | threads_executing = false |
int | connection_number = 0 |
bool | commit_resumed_state = false |
![]() | |
virtual gdb::array_view< const_gdb_byte > virtual thread_info_to_thread_handle(struct thread_info *) TARGET_DEFAULT_RETURN(gdb voi | stop )(ptid_t) TARGET_DEFAULT_IGNORE() |
Definition at line 31 of file linux-nat.h.
linux_nat_target::linux_nat_target | ( | ) |
Definition at line 4467 of file linux-nat.c.
|
overridepure virtual |
Definition at line 390 of file linux-nat.c.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 4199 of file linux-nat.c.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 4249 of file linux-nat.c.
References inf_ptrace_target::async_file_close(), inf_ptrace_target::async_file_mark(), inf_ptrace_target::async_file_open(), inf_ptrace_target::async_wait_fd(), enable, handle_target_event(), and inf_ptrace_target::is_async_p().
|
overridevirtual |
Reimplemented from inf_ptrace_target.
Definition at line 1063 of file linux-nat.c.
References add_initial_lwp(), inf_ptrace_target::attach(), attach_proc_task_lwp_callback(), inferior_ptid, linux_nat_debug_printf, linux_nat_post_attach_wait(), linux_proc_attach_tgid_threads(), linux_ptrace_attach_fail_reason(), linux_target, open_proc_mem_file(), target_terminal::ours(), parse_pid_to_attach(), pass_signals(), pid, lwp_info::ptid, lwp_info::resumed, lwp_info::signalled, status, lwp_info::status, status_to_str(), lwp_info::stopped, target_mourn_inferior(), and thread_change_ptid().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 4181 of file linux-nat.c.
References target_async_permitted.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 4358 of file linux-nat.c.
References find_lwp_pid(), and inf_child_target::info().
|
overridevirtual |
Reimplemented from inf_ptrace_target.
Definition at line 972 of file linux-nat.c.
References inf_ptrace_target::create_inferior(), disable_randomization, inferior_ptid, open_proc_mem_file(), and pass_signals().
|
overridevirtual |
Reimplemented from inf_ptrace_target.
Definition at line 1399 of file linux-nat.c.
References close_proc_mem_file(), current_inferior(), detach_callback(), detach_one_lwp(), inf_ptrace_target::detach_success(), find_lwp_pid(), forks_exist_p(), get_detach_signal(), iterate_over_lwps(), linux_fork_detach(), LINUX_NAT_SCOPED_DEBUG_ENTER_EXIT, num_lwps(), inf::pid, pid, remove_breakpoints_inf(), stop_callback(), stop_wait_callback(), and target_announce_detach().
|
overridevirtual |
Reimplemented from inf_child_target.
Definition at line 4400 of file linux-nat.c.
References flags, linux_mntns_open_cloexec(), and linux_nat_fileio_pid_of().
|
overridevirtual |
Reimplemented from inf_child_target.
Definition at line 4426 of file linux-nat.c.
References linux_mntns_readlink(), and linux_nat_fileio_pid_of().
|
overridevirtual |
Reimplemented from inf_child_target.
Definition at line 4446 of file linux-nat.c.
References linux_mntns_unlink(), and linux_nat_fileio_pid_of().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 4370 of file linux-nat.c.
References current_inferior(), LINUX_NS_MNT, linux_ns_same(), and inf::pid.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 438 of file linux-nat.c.
References add_lwp(), close_proc_mem_file(), detach_fork, find_lwp_pid(), process_stratum_target::follow_fork(), gdbarch_software_single_step_p(), inferior_ptid, lwp_info::last_resume_kind, linux_disable_event_reporting(), linux_nat_debug_printf, linux_target, low_prepare_to_resume(), my_waitpid(), ptrace, resume_stop, signal_pass_state(), status, lwp_info::stopped, target_thread_architecture(), and TARGET_WAITKIND_VFORKED.
|
inlineoverridevirtual |
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 557 of file linux-nat.c.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 533 of file linux-nat.c.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 545 of file linux-nat.c.
|
overridevirtual |
Reimplemented from inf_ptrace_target.
Definition at line 3566 of file linux-nat.c.
References current_inferior(), forks_exist_p(), inferior_ptid, iterate_over_lwps(), kill_callback(), kill_unfollowed_fork_children(), kill_wait_callback(), linux_fork_killall(), stop_callback(), stop_wait_callback(), and target_mourn_inferior().
|
inlinevirtual |
Reimplemented in ppc_linux_nat_target, aarch64_linux_nat_target, arm_linux_nat_target, s390_linux_nat_target, and x86_linux_nat_target.
Definition at line 152 of file linux-nat.h.
Referenced by lwp_info::~lwp_info().
|
inlinevirtual |
Reimplemented in aarch64_linux_nat_target, arm_linux_nat_target, ppc_linux_nat_target, s390_linux_nat_target, sparc64_linux_nat_target, and x86_linux_nat_target.
Definition at line 167 of file linux-nat.h.
Referenced by delete_fork(), kill_unfollowed_fork_children(), and mourn_inferior().
|
inlinevirtual |
Reimplemented in ppc_linux_nat_target.
Definition at line 162 of file linux-nat.h.
Referenced by linux_handle_extended_wait().
|
inlinevirtual |
Reimplemented in ppc_linux_nat_target, aarch64_linux_nat_target, arm_linux_nat_target, s390_linux_nat_target, and x86_linux_nat_target.
Definition at line 158 of file linux-nat.h.
Referenced by linux_handle_extended_wait().
|
inlinevirtual |
Reimplemented in aarch64_linux_nat_target, arm_linux_nat_target, ia64_linux_nat_target, mips_linux_nat_target, ppc_linux_nat_target, s390_linux_nat_target, and x86_linux_nat_target.
Definition at line 148 of file linux-nat.h.
Referenced by add_lwp().
|
inlinevirtual |
Reimplemented in ppc_linux_nat_target, aarch64_linux_nat_target, arc_linux_nat_target, arm_linux_nat_target, s390_linux_nat_target, and x86_linux_nat_target.
Definition at line 171 of file linux-nat.h.
Referenced by detach_one_lwp(), follow_fork(), and linux_resume_one_lwp_throw().
|
inlinevirtual |
Reimplemented in i386_linux_nat_target.
Definition at line 138 of file linux-nat.h.
References inf_ptrace_target::resume().
Referenced by linux_resume_one_lwp_throw().
|
inlinevirtual |
Reimplemented in aarch64_linux_nat_target, and amd64_linux_nat_target.
Definition at line 179 of file linux-nat.h.
Referenced by siginfo_fixup().
|
virtual |
Reimplemented in ia64_linux_nat_target.
Definition at line 2344 of file linux-nat.c.
References status.
Referenced by linux_nat_wait_1(), and save_stop_reason().
|
inlinevirtual |
Reimplemented in ppc_linux_nat_target, and x86_linux_nat_target.
Definition at line 141 of file linux-nat.h.
Referenced by check_stopped_by_watchpoint().
|
inlinevirtual |
Reimplemented in ppc_linux_nat_target, and x86_linux_nat_target.
Definition at line 144 of file linux-nat.h.
Referenced by check_stopped_by_watchpoint().
|
overridevirtual |
Reimplemented from inf_ptrace_target.
Definition at line 3597 of file linux-nat.c.
References close_proc_mem_file(), forks_exist_p(), inferior_ptid, linux_fork_mourn_inferior(), LINUX_NAT_SCOPED_DEBUG_ENTER_EXIT, linux_target, low_forget_process(), inf_ptrace_target::mourn_inferior(), pid, and purge_lwp_list().
|
override |
Definition at line 708 of file linux-nat.c.
References pass_mask, and pass_signals().
Referenced by attach(), create_inferior(), and pass_signals().
|
overridevirtual |
Reimplemented from inf_child_target.
Definition at line 3800 of file linux-nat.c.
References linux_proc_pid_to_exec_file(), and pid.
|
overridevirtual |
Reimplemented from inf_ptrace_target.
Definition at line 3780 of file linux-nat.c.
References normal_pid_to_str(), and num_lwps().
|
overridevirtual |
Reimplemented from inf_child_target.
Definition at line 394 of file linux-nat.c.
References linux_init_ptrace_procfs(), and pid.
Referenced by aarch64_linux_nat_target::post_attach().
|
overrideprotectedvirtual |
Implements inf_ptrace_target.
Reimplemented in x86_linux_nat_target.
Definition at line 402 of file linux-nat.c.
References linux_init_ptrace_procfs().
Referenced by aarch64_linux_nat_target::post_startup_inferior(), and x86_linux_nat_target::post_startup_inferior().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 563 of file linux-nat.c.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 539 of file linux-nat.c.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 551 of file linux-nat.c.
|
override |
Definition at line 1616 of file linux-nat.c.
References inf_ptrace_target::async_file_mark(), find_lwp_pid(), inferior_ptid, inf_child_target::info(), iterate_over_lwps(), lwp_info::last_resume_kind, linux_nat_debug_printf, linux_nat_resume_callback(), linux_resume_one_lwp(), lwp_status_pending_p(), pass_mask, pending_status_str(), lwp_info::ptid, resume_continue, resume_set_callback(), resume_step, lwp_info::status, lwp_info::step, target_async(), and target_can_async_p().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 569 of file linux-nat.c.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 4141 of file linux-nat.c.
References inferior_ptid, parse_static_tracepoint_marker_definition(), pid, static_tracepoint_marker::str_id, target_continue_no_signal(), and target_stop().
|
override |
Definition at line 4317 of file linux-nat.c.
References iterate_over_lwps(), LINUX_NAT_SCOPED_DEBUG_ENTER_EXIT, and linux_nat_stop_lwp().
|
overridevirtual |
Reimplemented from target_ops.
Reimplemented in x86_nat_target< linux_nat_target >.
Definition at line 2677 of file linux-nat.c.
References find_lwp_pid(), inferior_ptid, lwp_info::stop_reason, and TARGET_STOPPED_BY_HW_BREAKPOINT.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 2656 of file linux-nat.c.
References find_lwp_pid(), inferior_ptid, lwp_info::stop_reason, and TARGET_STOPPED_BY_SW_BREAKPOINT.
|
overridevirtual |
Reimplemented from target_ops.
Reimplemented in mips_linux_nat_target, s390_linux_nat_target, x86_linux_nat_target, and x86_nat_target< linux_nat_target >.
Definition at line 2320 of file linux-nat.c.
References find_lwp_pid(), inferior_ptid, lwp_info::stop_reason, and TARGET_STOPPED_BY_WATCHPOINT.
Referenced by x86_linux_nat_target::stopped_by_watchpoint().
|
overridevirtual |
Reimplemented from target_ops.
Reimplemented in mips_linux_nat_target, x86_linux_nat_target, and x86_nat_target< linux_nat_target >.
Definition at line 2330 of file linux-nat.c.
References find_lwp_pid(), inferior_ptid, lwp_info::stopped_data_address, and lwp_info::stopped_data_address_p.
Referenced by x86_linux_nat_target::stopped_data_address().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 4211 of file linux-nat.c.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 4205 of file linux-nat.c.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 4191 of file linux-nat.c.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 2689 of file linux-nat.c.
References USE_SIGTRAP_SIGINFO.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 2668 of file linux-nat.c.
References USE_SIGTRAP_SIGINFO.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 4331 of file linux-nat.c.
References find_inferior_pid(), find_lwp_pid(), pid, and lwp_info::ptid.
|
overridevirtual |
Reimplemented from inf_ptrace_target.
Definition at line 3750 of file linux-nat.c.
References find_lwp_pid().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 4462 of file linux-nat.c.
References enable, and report_thread_events.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 3791 of file linux-nat.c.
References linux_proc_tid_get_name(), and thread_info::ptid.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 3760 of file linux-nat.c.
References all_lwps(), delete_exited_threads(), and linux_common_core_of_thread().
|
overridevirtual |
Reimplemented from inf_ptrace_target.
Definition at line 3415 of file linux-nat.c.
References inf_ptrace_target::async_file_flush(), inf_ptrace_target::async_file_mark(), inf_child_target::info(), iterate_over_lwps(), target_waitstatus::kind(), linux_nat_debug_printf, LINUX_NAT_SCOPED_DEBUG_ENTER_EXIT, linux_nat_wait_1(), resume_stopped_resumed_lwps(), target_is_async_p(), target_is_non_stop_p(), target_options_to_string(), TARGET_WAITKIND_IGNORE, and TARGET_WAITKIND_NO_RESUMED.
|
overridevirtual |
Reimplemented from inf_ptrace_target.
Definition at line 3698 of file linux-nat.c.
References gdbarch_addr_bit(), inferior_ptid, linux_nat_xfer_osdata(), linux_proc_xfer_memory_partial(), linux_xfer_siginfo(), memory_xfer_auxv, proc_mem_file_is_writable(), target_gdbarch(), TARGET_OBJECT_AUXV, TARGET_OBJECT_MEMORY, TARGET_OBJECT_OSDATA, TARGET_OBJECT_SIGNAL_INFO, TARGET_XFER_EOF, and inf_ptrace_target::xfer_partial().
Referenced by ia64_linux_nat_target::xfer_partial().