GDB (xrefs)
|
Public Member Functions | |
remote_target ()=default | |
~remote_target () override | |
const target_info & | info () const override |
const char * | connection_string () override |
thread_control_capabilities | get_thread_control_capabilities () override |
void | close () override |
void | detach (inferior *, int) override |
void | disconnect (const char *, int) override |
void | commit_resumed () override |
void | resume (ptid_t, int, enum gdb_signal) override |
ptid_t | wait (ptid_t, struct target_waitstatus *, target_wait_flags) override |
bool | has_pending_events () override |
void | fetch_registers (struct regcache *, int) override |
void | store_registers (struct regcache *, int) override |
void | prepare_to_store (struct regcache *) override |
int | insert_breakpoint (struct gdbarch *, struct bp_target_info *) override |
int | remove_breakpoint (struct gdbarch *, struct bp_target_info *, enum remove_bp_reason) 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 |
bool | stopped_by_watchpoint () override |
bool | stopped_data_address (CORE_ADDR *) override |
bool | watchpoint_addr_within_range (CORE_ADDR, CORE_ADDR, int) override |
int | can_use_hw_breakpoint (enum bptype, int, int) override |
int | insert_hw_breakpoint (struct gdbarch *, struct bp_target_info *) override |
int | remove_hw_breakpoint (struct gdbarch *, struct bp_target_info *) override |
int | region_ok_for_hw_watchpoint (CORE_ADDR, int) override |
int | insert_watchpoint (CORE_ADDR, int, enum target_hw_bp_type, struct expression *) override |
int | remove_watchpoint (CORE_ADDR, int, enum target_hw_bp_type, struct expression *) override |
void | kill () override |
void | load (const char *, int) override |
void | mourn_inferior () override |
void | pass_signals (gdb::array_view< const unsigned char >) override |
int | set_syscall_catchpoint (int, bool, int, gdb::array_view< const int >) override |
void | program_signals (gdb::array_view< const unsigned char >) override |
bool | thread_alive (ptid_t ptid) override |
const char * | thread_name (struct thread_info *) override |
void | update_thread_list () override |
std::string | pid_to_str (ptid_t) override |
const char * | extra_thread_info (struct thread_info *) override |
ptid_t | get_ada_task_ptid (long lwp, ULONGEST thread) override |
thread_info * | thread_handle_to_thread_info (const gdb_byte *thread_handle, int handle_len, inferior *inf) override |
gdb::array_view< const gdb_byte > | thread_info_to_thread_handle (struct thread_info *tp) override |
void | stop (ptid_t) override |
void | interrupt () override |
void | pass_ctrlc () 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 |
ULONGEST | get_memory_xfer_limit () override |
void | rcmd (const char *command, struct ui_file *output) override |
const char * | pid_to_exec_file (int pid) override |
void | log_command (const char *cmd) override |
CORE_ADDR | get_thread_local_address (ptid_t ptid, CORE_ADDR load_module_addr, CORE_ADDR offset) override |
bool | can_execute_reverse () override |
std::vector< mem_region > | memory_map () override |
void | flash_erase (ULONGEST address, LONGEST length) override |
void | flash_done () override |
const struct target_desc * | read_description () override |
int | search_memory (CORE_ADDR start_addr, ULONGEST search_space_len, const gdb_byte *pattern, ULONGEST pattern_len, CORE_ADDR *found_addrp) override |
bool | can_async_p () override |
bool | is_async_p () override |
void | async (bool) override |
int | async_wait_fd () override |
void | thread_events (int) override |
int | can_do_single_step () override |
void | terminal_inferior () override |
void | terminal_ours () override |
bool | supports_non_stop () override |
bool | supports_multi_process () override |
bool | supports_disable_randomization () 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 |
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 |
int | fileio_unlink (struct inferior *inf, const char *filename, fileio_error *target_errno) override |
gdb::optional< std::string > | fileio_readlink (struct inferior *inf, const char *filename, fileio_error *target_errno) override |
bool | supports_enable_disable_tracepoint () override |
bool | supports_string_tracing () override |
int | remote_supports_cond_tracepoints () |
bool | supports_evaluation_of_breakpoint_conditions () override |
int | remote_supports_fast_tracepoints () |
int | remote_supports_static_tracepoints () |
int | remote_supports_install_in_trace () |
bool | can_run_breakpoint_commands () override |
void | trace_init () override |
void | download_tracepoint (struct bp_location *location) override |
bool | can_download_tracepoint () override |
void | download_trace_state_variable (const trace_state_variable &tsv) override |
void | enable_tracepoint (struct bp_location *location) override |
void | disable_tracepoint (struct bp_location *location) override |
void | trace_set_readonly_regions () override |
void | trace_start () override |
int | get_trace_status (struct trace_status *ts) override |
void | get_tracepoint_status (tracepoint *tp, struct uploaded_tp *utp) override |
void | trace_stop () override |
int | trace_find (enum trace_find_type type, int num, CORE_ADDR addr1, CORE_ADDR addr2, int *tpp) override |
bool | get_trace_state_variable_value (int tsv, LONGEST *val) override |
int | save_trace_data (const char *filename) override |
int | upload_tracepoints (struct uploaded_tp **utpp) override |
int | upload_trace_state_variables (struct uploaded_tsv **utsvp) override |
LONGEST | get_raw_trace_data (gdb_byte *buf, ULONGEST offset, LONGEST len) override |
int | get_min_fast_tracepoint_insn_len () override |
void | set_disconnected_tracing (int val) override |
void | set_circular_trace_buffer (int val) override |
void | set_trace_buffer_size (LONGEST val) override |
bool | set_trace_notes (const char *user, const char *notes, const char *stopnotes) override |
int | core_of_thread (ptid_t ptid) override |
int | verify_memory (const gdb_byte *data, CORE_ADDR memaddr, ULONGEST size) override |
bool | get_tib_address (ptid_t ptid, CORE_ADDR *addr) override |
void | set_permissions () override |
bool | static_tracepoint_marker_at (CORE_ADDR, struct static_tracepoint_marker *marker) override |
std::vector< static_tracepoint_marker > | static_tracepoint_markers_by_strid (const char *id) override |
traceframe_info_up | traceframe_info () override |
bool | use_agent (bool use) override |
bool | can_use_agent () override |
struct btrace_target_info * | enable_btrace (thread_info *tp, const struct btrace_config *conf) override |
void | disable_btrace (struct btrace_target_info *tinfo) override |
void | teardown_btrace (struct btrace_target_info *tinfo) override |
enum btrace_error | read_btrace (struct btrace_data *data, struct btrace_target_info *btinfo, enum btrace_read_type type) override |
const struct btrace_config * | btrace_conf (const struct btrace_target_info *) override |
bool | augmented_libraries_svr4_read () override |
void | follow_fork (inferior *, ptid_t, target_waitkind, bool, bool) override |
void | follow_exec (inferior *, ptid_t, const char *) 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 |
enum exec_direction_kind | execution_direction () override |
bool | supports_memory_tagging () override |
bool | fetch_memtags (CORE_ADDR address, size_t len, gdb::byte_vector &tags, int type) override |
bool | store_memtags (CORE_ADDR address, size_t len, const gdb::byte_vector &tags, int type) override |
void | remote_download_command_source (int num, ULONGEST addr, struct command_line *cmds) |
void | remote_file_put (const char *local_file, const char *remote_file, int from_tty) |
void | remote_file_get (const char *remote_file, const char *local_file, int from_tty) |
void | remote_file_delete (const char *remote_file, int from_tty) |
int | remote_hostio_pread (int fd, gdb_byte *read_buf, int len, ULONGEST offset, fileio_error *remote_errno) |
int | remote_hostio_pwrite (int fd, const gdb_byte *write_buf, int len, ULONGEST offset, fileio_error *remote_errno) |
int | remote_hostio_pread_vFile (int fd, gdb_byte *read_buf, int len, ULONGEST offset, fileio_error *remote_errno) |
int | remote_hostio_send_command (int command_bytes, int which_packet, fileio_error *remote_errno, const char **attachment, int *attachment_len) |
int | remote_hostio_set_filesystem (struct inferior *inf, fileio_error *remote_errno) |
int | remote_hostio_open (struct inferior *inf, const char *filename, int flags, int mode, int warn_if_slow, fileio_error *remote_errno) |
int | remote_hostio_close (int fd, fileio_error *remote_errno) |
int | remote_hostio_unlink (inferior *inf, const char *filename, fileio_error *remote_errno) |
struct remote_state * | get_remote_state () |
long | get_remote_packet_size (void) |
long | get_memory_packet_size (struct memory_packet_config *config) |
long | get_memory_write_packet_size () |
long | get_memory_read_packet_size () |
char * | append_pending_thread_resumptions (char *p, char *endp, ptid_t ptid) |
void | start_remote (int from_tty, int extended_p) |
void | remote_detach_1 (struct inferior *inf, int from_tty) |
char * | append_resumption (char *p, char *endp, ptid_t ptid, int step, gdb_signal siggnal) |
int | remote_resume_with_vcont (ptid_t scope_ptid, int step, gdb_signal siggnal) |
thread_info * | add_current_inferior_and_thread (const char *wait_status) |
ptid_t | wait_ns (ptid_t ptid, struct target_waitstatus *status, target_wait_flags options) |
ptid_t | wait_as (ptid_t ptid, target_waitstatus *status, target_wait_flags options) |
ptid_t | process_stop_reply (struct stop_reply *stop_reply, target_waitstatus *status) |
ptid_t | select_thread_for_ambiguous_stop_reply (const struct target_waitstatus &status) |
void | remote_notice_new_inferior (ptid_t currthread, bool executing) |
void | print_one_stopped_thread (thread_info *thread) |
void | process_initial_stop_replies (int from_tty) |
thread_info * | remote_add_thread (ptid_t ptid, bool running, bool executing, bool silent_p) |
void | btrace_sync_conf (const btrace_config *conf) |
void | remote_btrace_maybe_reopen () |
void | remove_new_fork_children (threads_listing_context *context) |
void | kill_new_fork_children (inferior *inf) |
void | discard_pending_stop_replies (struct inferior *inf) |
int | stop_reply_queue_length () |
void | check_pending_events_prevent_wildcard_vcont (bool *may_global_wildcard_vcont) |
void | discard_pending_stop_replies_in_queue () |
struct stop_reply * | remote_notif_remove_queued_reply (ptid_t ptid) |
struct stop_reply * | queued_stop_reply (ptid_t ptid) |
int | peek_stop_reply (ptid_t ptid) |
void | remote_parse_stop_reply (const char *buf, stop_reply *event) |
void | remote_stop_ns (ptid_t ptid) |
void | remote_interrupt_as () |
void | remote_interrupt_ns () |
char * | remote_get_noisy_reply () |
int | remote_query_attached (int pid) |
inferior * | remote_add_inferior (bool fake_pid_p, int pid, int attached, int try_open_exec) |
ptid_t | remote_current_thread (ptid_t oldpid) |
ptid_t | get_current_thread (const char *wait_status) |
void | set_thread (ptid_t ptid, int gen) |
void | set_general_thread (ptid_t ptid) |
void | set_continue_thread (ptid_t ptid) |
void | set_general_process () |
char * | write_ptid (char *buf, const char *endbuf, ptid_t ptid) |
int | remote_unpack_thread_info_response (const char *pkt, threadref *expectedref, gdb_ext_thread_info *info) |
int | remote_get_threadinfo (threadref *threadid, int fieldset, gdb_ext_thread_info *info) |
int | parse_threadlist_response (const char *pkt, int result_limit, threadref *original_echo, threadref *resultlist, int *doneflag) |
int | remote_get_threadlist (int startflag, threadref *nextthread, int result_limit, int *done, int *result_count, threadref *threadlist) |
int | remote_threadlist_iterator (rmt_thread_action stepfunction, void *context, int looplimit) |
int | remote_get_threads_with_ql (threads_listing_context *context) |
int | remote_get_threads_with_qxfer (threads_listing_context *context) |
int | remote_get_threads_with_qthreadinfo (threads_listing_context *context) |
void | extended_remote_restart () |
void | get_offsets () |
void | remote_check_symbols () |
void | remote_supported_packet (const struct protocol_feature *feature, enum packet_support support, const char *argument) |
void | remote_query_supported () |
void | remote_packet_size (const protocol_feature *feature, packet_support support, const char *value) |
void | remote_serial_quit_handler () |
void | remote_detach_pid (int pid) |
void | remote_vcont_probe () |
void | remote_resume_with_hc (ptid_t ptid, int step, gdb_signal siggnal) |
void | send_interrupt_sequence () |
void | interrupt_query () |
void | remote_notif_get_pending_events (const notif_client *nc) |
int | fetch_register_using_p (struct regcache *regcache, packet_reg *reg) |
int | send_g_packet () |
void | process_g_packet (struct regcache *regcache) |
void | fetch_registers_using_g (struct regcache *regcache) |
int | store_register_using_P (const struct regcache *regcache, packet_reg *reg) |
void | store_registers_using_G (const struct regcache *regcache) |
void | set_remote_traceframe () |
void | check_binary_download (CORE_ADDR addr) |
target_xfer_status | remote_write_bytes_aux (const char *header, CORE_ADDR memaddr, const gdb_byte *myaddr, ULONGEST len_units, int unit_size, ULONGEST *xfered_len_units, char packet_format, int use_length) |
target_xfer_status | remote_write_bytes (CORE_ADDR memaddr, const gdb_byte *myaddr, ULONGEST len, int unit_size, ULONGEST *xfered_len) |
target_xfer_status | remote_read_bytes_1 (CORE_ADDR memaddr, gdb_byte *myaddr, ULONGEST len_units, int unit_size, ULONGEST *xfered_len_units) |
target_xfer_status | remote_xfer_live_readonly_partial (gdb_byte *readbuf, ULONGEST memaddr, ULONGEST len, int unit_size, ULONGEST *xfered_len) |
target_xfer_status | remote_read_bytes (CORE_ADDR memaddr, gdb_byte *myaddr, ULONGEST len, int unit_size, ULONGEST *xfered_len) |
packet_result | remote_send_printf (const char *format,...) ATTRIBUTE_PRINTF(2 |
packet_result target_xfer_status | remote_flash_write (ULONGEST address, ULONGEST length, ULONGEST *xfered_len, const gdb_byte *data) |
int | readchar (int timeout) |
void | remote_serial_write (const char *str, int len) |
int | putpkt (const char *buf) |
int | putpkt_binary (const char *buf, int cnt) |
int | putpkt (const gdb::char_vector &buf) |
void | skip_frame () |
long | read_frame (gdb::char_vector *buf_p) |
int | getpkt (gdb::char_vector *buf, bool forever=false, bool *is_notif=nullptr) |
int | remote_vkill (int pid) |
void | remote_kill_k () |
void | extended_remote_disable_randomization (int val) |
int | extended_remote_run (const std::string &args) |
void | send_environment_packet (const char *action, const char *packet, const char *value) |
void | extended_remote_environment_support () |
void | extended_remote_set_inferior_cwd () |
target_xfer_status | remote_write_qxfer (const char *object_name, const char *annex, const gdb_byte *writebuf, ULONGEST offset, LONGEST len, ULONGEST *xfered_len, const unsigned int which_packet) |
target_xfer_status | remote_read_qxfer (const char *object_name, const char *annex, gdb_byte *readbuf, ULONGEST offset, LONGEST len, ULONGEST *xfered_len, const unsigned int which_packet) |
void | push_stop_reply (struct stop_reply *new_event) |
bool | vcont_r_supported () |
![]() | |
~process_stratum_target () override=0 | |
strata | stratum () const final 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 | 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 bool | can_attach () |
virtual void | attach (const char *, int) |
virtual void | post_attach (int) TARGET_DEFAULT_IGNORE() |
virtual void | resume (ptid_t, int TARGET_DEBUG_PRINTER(target_debug_print_step), enum gdb_signal) TARGET_DEFAULT_NORETURN(noprocess()) |
virtual void | files_info () TARGET_DEFAULT_IGNORE() |
virtual int | ranged_break_num_registers () 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 | 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 bool | supports_terminal_ours () TARGET_DEFAULT_RETURN(false) |
virtual void | terminal_init () TARGET_DEFAULT_IGNORE() |
virtual void | terminal_save_inferior () TARGET_DEFAULT_IGNORE() |
virtual void | terminal_ours_for_output () TARGET_DEFAULT_IGNORE() |
virtual void | terminal_info (const char *, int) TARGET_DEFAULT_FUNC(default_terminal_info) |
virtual bool | can_create_inferior () |
virtual void | create_inferior (const char *, const std::string &, char **, int) |
virtual bool | can_run () |
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 target_section_table * | get_section_table () TARGET_DEFAULT_RETURN(default_get_section_table()) |
virtual bool | attach_no_wait () TARGET_DEFAULT_RETURN(0) |
virtual bool | always_non_stop_p () 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 int | auxv_parse (const gdb_byte **readptr, const gdb_byte *endptr, CORE_ADDR *typep, CORE_ADDR *valp) TARGET_DEFAULT_FUNC(default_auxv_parse) |
virtual bool | supports_dumpcore () TARGET_DEFAULT_RETURN(false) |
virtual void | dumpcore (const char *filename) TARGET_DEFAULT_IGNORE() |
virtual bool | info_proc (const char *, enum info_proc_what) |
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 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 x86_xsave_layout | fetch_x86_xsave_layout () TARGET_DEFAULT_RETURN(x86_xsave_layout()) |
Static Public Member Functions | |
static void | open (const char *, int) |
static void | open_1 (const char *name, int from_tty, int extended_p) |
Public Attributes | |
remote_features | m_features |
![]() | |
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() |
Private Member Functions | |
bool | start_remote_1 (int from_tty, int extended_p) |
Private Attributes | |
remote_state | m_remote_state |
|
default |
Referenced by open_1().
thread_info * remote_target::add_current_inferior_and_thread | ( | const char * | wait_status | ) |
Definition at line 4644 of file remote.c.
References add_thread_silent(), get_current_thread(), m_features, magic_null_ptid(), remote_add_inferior(), remote_features::remote_multi_process_p(), switch_to_no_thread(), and switch_to_thread_no_regs().
Referenced by extended_remote_target::create_inferior(), and start_remote_1().
char * remote_target::append_pending_thread_resumptions | ( | char * | p, |
char * | endp, | ||
ptid_t | ptid ) |
Definition at line 6560 of file remote.c.
References all_non_exited_threads(), append_resumption(), inferior_ptid, and resume_clear_thread_private_info().
Referenced by remote_resume_with_vcont().
char * remote_target::append_resumption | ( | char * | p, |
char * | endp, | ||
ptid_t | ptid, | ||
int | step, | ||
gdb_signal | siggnal ) |
Definition at line 6473 of file remote.c.
References thread_info::control, process_stratum_target::find_thread(), gdbarch_addr_bit(), get_remote_state(), m_features, magic_null_ptid(), thread_control_state::may_range_step, vCont_action_support::r, remote_features::remote_multi_process_p(), thread_control_state::step_range_end, thread_control_state::step_range_start, remote_state::supports_vCont, target_gdbarch(), use_range_stepping, and write_ptid().
Referenced by append_pending_thread_resumptions(), vcont_builder::push_action(), and remote_resume_with_vcont().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 14874 of file remote.c.
References clear_async_event_handler(), enable, remote_notif_state::get_pending_events_token, get_remote_state(), mark_async_event_handler(), remote_state::notif_state, remote_state::remote_async_inferior_event_token, remote_async_serial_handler, remote_state::remote_desc, serial_async(), remote_state::stop_reply_queue, and target_is_non_stop_p().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 14867 of file remote.c.
References serial::fd, get_remote_state(), and remote_state::remote_desc.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 14717 of file remote.c.
References m_features, PACKET_augmented_libraries_svr4_read_feature, PACKET_ENABLE, and remote_features::packet_support().
|
overridevirtual |
Reimplemented from target_ops.
void remote_target::btrace_sync_conf | ( | const btrace_config * | conf | ) |
Definition at line 14434 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), getpkt(), m_features, name, PACKET_ENABLE, PACKET_ERROR, remote_features::packet_ok(), PACKET_Qbtrace_conf_bts_size, PACKET_Qbtrace_conf_pt_size, remote_features::packet_support(), packets_descriptions, and putpkt().
Referenced by enable_btrace().
|
overridevirtual |
Reimplemented from process_stratum_target.
Definition at line 14828 of file remote.c.
References get_remote_state(), remote_state::remote_desc, serial_can_async_p(), and target_async_permitted.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 14766 of file remote.c.
References get_remote_state(), m_features, PACKET_ENABLE, remote_features::packet_support(), PACKET_vContSupported, vCont_action_support::s, vCont_action_support::S, and remote_state::supports_vCont.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 13478 of file remote.c.
References current_trace_status(), get_remote_state(), get_trace_status(), remote_supports_install_in_trace(), trace_status::running, trace_status::running_known, remote_state::starting_up, and status.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 13118 of file remote.c.
References m_features, PACKET_bc, PACKET_bs, PACKET_ENABLE, and remote_features::packet_support().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 13192 of file remote.c.
References m_features, PACKET_BreakpointCommands, PACKET_ENABLE, and remote_features::packet_support().
Referenced by insert_breakpoint(), and insert_hw_breakpoint().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 14101 of file remote.c.
References m_features, PACKET_DISABLE, PACKET_QAgent, and remote_features::packet_support().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 10914 of file remote.c.
References bp_hardware_breakpoint, remote_hw_breakpoint_limit, and remote_hw_watchpoint_limit.
void remote_target::check_binary_download | ( | CORE_ADDR | addr | ) |
Definition at line 9052 of file remote.c.
References remote_state::buf, get_remote_state(), getpkt(), hexnumstr(), m_features, remote_features::m_protocol_packets, PACKET_DISABLE, PACKET_ENABLE, remote_features::packet_support(), PACKET_SUPPORT_UNKNOWN, PACKET_X, putpkt_binary(), remote_debug_printf, and packet_config::support.
Referenced by remote_write_bytes().
void remote_target::check_pending_events_prevent_wildcard_vcont | ( | bool * | may_global_wildcard_vcont | ) |
Definition at line 7492 of file remote.c.
References find_inferior_ptid(), get_remote_inferior(), get_remote_state(), remote_inferior::may_wildcard_vcont, notif_client_stop, remote_notif_get_pending_events(), remote_state::stop_reply_queue, TARGET_WAITKIND_FORKED, TARGET_WAITKIND_NO_HISTORY, TARGET_WAITKIND_NO_RESUMED, and TARGET_WAITKIND_VFORKED.
Referenced by commit_resumed().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 4365 of file remote.c.
References terminal_ours(), and trace_reset_local_state().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 6894 of file remote.c.
References all_non_exited_inferiors(), all_non_exited_threads(), check_pending_events_prevent_wildcard_vcont(), EXEC_REVERSE, execution_direction(), vcont_builder::flush(), get_remote_inferior(), get_remote_state(), get_remote_thread_info(), remote_thread_info::get_resume_state(), info(), remote_inferior::may_wildcard_vcont, NOT_RESUMED, inf::pid, stop_reply::ptid, vcont_builder::push_action(), RESUMED_PENDING_VCONT, remote_thread_info::resumed_pending_vcont_info(), remote_thread_info::set_resumed(), remote_state::stop_reply_queue, target_is_non_stop_p(), thread_is_in_step_over_chain(), and thread_pending_fork_status().
Referenced by remote_stop_ns().
|
overridevirtual |
Reimplemented from process_stratum_target.
Definition at line 5248 of file remote.c.
References get_remote_state(), serial::name, and remote_state::remote_desc.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 13929 of file remote.c.
References remote_thread_info::core, process_stratum_target::find_thread(), get_remote_thread_info(), and info().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 6215 of file remote.c.
References remote_detach_1().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 14629 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), getpkt(), m_features, name, PACKET_ENABLE, PACKET_ERROR, remote_features::packet_ok(), PACKET_Qbtrace_off, remote_features::packet_support(), packets_descriptions, putpkt(), set_general_thread(), and target_pid_to_str().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 13545 of file remote.c.
References bp_location::address, remote_state::buf, get_remote_packet_size(), get_remote_state(), breakpoint::number, bp_location::owner, putpkt(), and remote_get_noisy_reply().
void remote_target::discard_pending_stop_replies | ( | struct inferior * | inf | ) |
Definition at line 7524 of file remote.c.
References get_remote_state(), notif_client::id, notif_client_stop, remote_state::notif_state, remote_notif_state::pending_event, inf::pid, stop_reply::ptid, remote_debug_printf, remote_state::remote_desc, target_waitstatus::set_ignore(), remote_state::stop_reply_queue, target_waitstatus::to_string(), and stop_reply::ws.
Referenced by mourn_inferior().
void remote_target::discard_pending_stop_replies_in_queue | ( | ) |
Definition at line 7569 of file remote.c.
References get_remote_state(), and remote_state::stop_reply_queue.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 6280 of file remote.c.
References gdb_puts(), and remote_unpush_target().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 13506 of file remote.c.
References remote_state::buf, trace_state_variable::builtin, get_remote_packet_size(), get_remote_state(), trace_state_variable::initial_value, trace_state_variable::name, trace_state_variable::number, putpkt(), and remote_get_noisy_reply().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 13249 of file remote.c.
References bp_enabled, bp_fast_tracepoint, bp_static_marker_tracepoint, bp_static_tracepoint, breakpoint_commands(), remote_state::buf, breakpoint::commands, breakpoint::cond_string, default_collect, breakpoint::enable_state, encode_actions_rsp(), encode_source_string(), gdb_insn_length(), gdbarch_fast_tracepoint_valid_at(), gen_eval_for_expr(), get_remote_packet_size(), get_remote_state(), loc, breakpoint::locspec, m_features, breakpoint::number, PACKET_ENABLE, remote_features::packet_support(), PACKET_TracepointSource, tracepoint::pass_count, putpkt(), QUIT, remote_download_command_source(), remote_get_noisy_reply(), remote_supports_cond_tracepoints(), remote_supports_fast_tracepoints(), remote_supports_static_tracepoints(), tracepoint::step_count, target_static_tracepoint_marker_at(), and breakpoint::type.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 14563 of file remote.c.
References btrace_read_config(), btrace_sync_conf(), remote_state::buf, err, get_remote_packet_size(), get_remote_state(), getpkt(), m_features, remote_features::m_protocol_packets, name, packet_config_support(), PACKET_ENABLE, PACKET_ERROR, remote_features::packet_ok(), PACKET_Qbtrace_bts, PACKET_Qbtrace_pt, packets_descriptions, thread_info::ptid, putpkt(), set_general_thread(), and target_pid_to_str().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 13529 of file remote.c.
References bp_location::address, remote_state::buf, get_remote_packet_size(), get_remote_state(), breakpoint::number, bp_location::owner, putpkt(), and remote_get_noisy_reply().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 14787 of file remote.c.
References get_remote_state(), and remote_state::last_resume_exec_dir.
Referenced by commit_resumed(), remote_resume_with_hc(), remote_resume_with_vcont(), and resume().
void remote_target::extended_remote_disable_randomization | ( | int | val | ) |
Definition at line 10398 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), putpkt(), and remote_get_noisy_reply().
Referenced by extended_remote_target::create_inferior().
void remote_target::extended_remote_environment_support | ( | ) |
Definition at line 10502 of file remote.c.
References remote_state::buf, current_inferior(), inferior::environment, get_remote_state(), getpkt(), m_features, PACKET_DISABLE, PACKET_QEnvironmentHexEncoded, PACKET_QEnvironmentReset, PACKET_QEnvironmentUnset, remote_features::packet_support(), putpkt(), and send_environment_packet().
Referenced by extended_remote_target::create_inferior().
void remote_target::extended_remote_restart | ( | ) |
Definition at line 4350 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), putpkt(), and remote_fileio_reset().
Referenced by extended_remote_target::create_inferior().
int remote_target::extended_remote_run | ( | const std::string & | args | ) |
Definition at line 10414 of file remote.c.
References remote_state::buf, get_remote_exec_file(), get_remote_packet_size(), get_remote_state(), getpkt(), m_features, PACKET_DISABLE, PACKET_ERROR, PACKET_OK, remote_features::packet_ok(), remote_features::packet_support(), PACKET_UNKNOWN, PACKET_vRun, and putpkt().
Referenced by extended_remote_target::create_inferior().
void remote_target::extended_remote_set_inferior_cwd | ( | ) |
Definition at line 10534 of file remote.c.
References remote_state::buf, current_inferior(), inferior::cwd(), get_remote_packet_size(), get_remote_state(), getpkt(), m_features, PACKET_DISABLE, PACKET_OK, remote_features::packet_ok(), PACKET_QSetWorkingDir, remote_features::packet_support(), and putpkt().
Referenced by extended_remote_target::create_inferior().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 4199 of file remote.c.
References gdb_ext_thread_info::active, remote_state::buf, gdb_ext_thread_info::display, remote_thread_info::extra, get_remote_packet_size(), get_remote_state(), get_remote_thread_info(), getpkt(), int_to_threadref(), m_features, magic_null_ptid(), gdb_ext_thread_info::more_display, PACKET_ENABLE, PACKET_qXfer_threads, remote_features::packet_support(), thread_info::ptid, putpkt(), remote_state::remote_desc, remote_get_threadinfo(), gdb_ext_thread_info::shortname, TAG_DISPLAY, TAG_EXISTS, TAG_MOREDISPLAY, TAG_THREADID, TAG_THREADNAME, remote_state::use_threadextra_query, and write_ptid().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 15196 of file remote.c.
References remote_state::buf, create_fetch_memtags_request(), get_remote_state(), getpkt(), m_features, parse_fetch_memtags_reply(), putpkt(), and remote_features::remote_memory_tagging_p().
int remote_target::fetch_register_using_p | ( | struct regcache * | regcache, |
packet_reg * | reg ) |
Definition at line 8543 of file remote.c.
References reg_buffer::arch(), remote_state::buf, gdbarch_register_name(), get_remote_state(), getpkt(), hexnumstr(), m_features, PACKET_DISABLE, PACKET_ERROR, PACKET_OK, remote_features::packet_ok(), PACKET_p, remote_features::packet_support(), PACKET_UNKNOWN, packet_reg::pnum, putpkt(), reg_buffer::raw_supply(), register_size(), and packet_reg::regnum.
Referenced by fetch_registers().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 8773 of file remote.c.
References reg_buffer::arch(), fetch_register_using_p(), fetch_registers_using_g(), gdbarch_num_regs(), remote_state::get_remote_arch_state(), get_remote_state(), packet_reg::in_g_packet, packet_reg_from_regnum(), regcache::ptid(), reg_buffer::raw_supply(), regnum, packet_reg::regnum, remote_arch_state::regs, set_general_thread(), and set_remote_traceframe().
void remote_target::fetch_registers_using_g | ( | struct regcache * | regcache | ) |
Definition at line 8743 of file remote.c.
References process_g_packet(), and send_g_packet().
Referenced by fetch_registers().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 12655 of file remote.c.
References remote_hostio_close().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 12730 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), PACKET_vFile_fstat, remote_buffer_add_int(), remote_buffer_add_string(), remote_fileio_to_host_stat(), and remote_hostio_send_command().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 12481 of file remote.c.
References flags, and remote_hostio_open().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 12629 of file remote.c.
References remote_hostio_pread().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 12519 of file remote.c.
References remote_hostio_pwrite().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 12692 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), PACKET_vFile_readlink, remote_buffer_add_bytes(), remote_buffer_add_string(), remote_hostio_send_command(), and remote_hostio_set_filesystem().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 12683 of file remote.c.
References remote_hostio_unlink().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 12788 of file remote.c.
References gdb_sysroot, m_features, PACKET_DISABLE, remote_features::packet_support(), PACKET_SUPPORT_UNKNOWN, PACKET_vFile_open, remote_hostio_close(), remote_hostio_open(), and TARGET_SYSROOT_PREFIX.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 9569 of file remote.c.
References PACKET_ERROR, PACKET_UNKNOWN, remote_flash_timeout, remote_send_printf(), and remote_timeout.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 9536 of file remote.c.
References gdbarch_addr_bit(), PACKET_ERROR, PACKET_UNKNOWN, remote_flash_timeout, remote_send_printf(), remote_timeout, and target_gdbarch().
|
overridevirtual |
Reimplemented from process_stratum_target.
Definition at line 6264 of file remote.c.
References process_stratum_target::follow_exec(), is_target_filename(), inferior::pspace, set_pspace_remote_exec_file(), and TARGET_SYSROOT_PREFIX.
|
overridevirtual |
Reimplemented from process_stratum_target.
Definition at line 6234 of file remote.c.
References detach_fork, process_stratum_target::follow_fork(), m_features, remote_detach_pid(), remote_features::remote_fork_event_p(), remote_features::remote_vfork_event_p(), TARGET_WAITKIND_FORKED, and TARGET_WAITKIND_VFORKED.
|
overridevirtual |
ptid_t remote_target::get_current_thread | ( | const char * | wait_status | ) |
Definition at line 4615 of file remote.c.
References inferior_ptid, remote_current_thread(), and stop_reply_extract_thread().
Referenced by add_current_inferior_and_thread(), and start_remote_1().
long remote_target::get_memory_packet_size | ( | struct memory_packet_config * | config | ) |
Definition at line 1975 of file remote.c.
References remote_arch_state::actual_register_packet_size, remote_state::buf, remote_state::explicit_packet_size, memory_packet_config::fixed_p, get_fixed_memory_packet_size(), remote_state::get_remote_arch_state(), get_remote_packet_size(), get_remote_state(), MIN_MEMORY_PACKET_SIZE, memory_packet_config::size, and target_gdbarch().
Referenced by get_memory_read_packet_size(), get_memory_write_packet_size(), and show_memory_packet_size().
long remote_target::get_memory_read_packet_size | ( | ) |
Definition at line 2225 of file remote.c.
References get_memory_packet_size(), get_remote_packet_size(), m_features, remote_features::m_memory_read_packet_config, and size.
Referenced by remote_read_bytes_1().
long remote_target::get_memory_write_packet_size | ( | ) |
Definition at line 2185 of file remote.c.
References get_memory_packet_size(), m_features, and remote_features::m_memory_write_packet_config.
Referenced by get_memory_xfer_limit(), remote_write_bytes_aux(), remote_write_qxfer(), and search_memory().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 11552 of file remote.c.
References get_memory_write_packet_size().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 13974 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), putpkt(), remote_get_noisy_reply(), set_general_process(), and target_has_execution().
void remote_target::get_offsets | ( | ) |
Definition at line 4399 of file remote.c.
References remote_state::buf, current_program_space, get_remote_state(), get_symfile_segment_data(), getpkt(), objfile::obfd, objfile_relocate(), putpkt(), SECT_OFF_BSS, SECT_OFF_DATA, SECT_OFF_TEXT, objfile::section_offsets, symfile_map_offsets_to_segments(), and program_space::symfile_object_file.
Referenced by extended_remote_target::create_inferior(), extended_remote_target::post_attach(), and start_remote_1().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 13868 of file remote.c.
References remote_state::buf, get_remote_state(), hexnumstr(), putpkt(), and remote_get_noisy_reply().
long remote_target::get_remote_packet_size | ( | void | ) |
Definition at line 1823 of file remote.c.
References remote_state::explicit_packet_size, remote_state::get_remote_arch_state(), get_remote_state(), remote_arch_state::remote_packet_size, and target_gdbarch().
Referenced by extended_remote_target::attach(), btrace_sync_conf(), extended_remote_target::create_inferior(), disable_btrace(), disable_tracepoint(), download_trace_state_variable(), download_tracepoint(), enable_btrace(), enable_tracepoint(), extended_remote_disable_randomization(), extended_remote_restart(), extended_remote_run(), extended_remote_set_inferior_cwd(), extra_thread_info(), fileio_fstat(), fileio_readlink(), get_memory_packet_size(), get_memory_read_packet_size(), get_min_fast_tracepoint_insn_len(), get_thread_local_address(), get_tib_address(), get_trace_state_variable_value(), get_tracepoint_status(), insert_breakpoint(), insert_hw_breakpoint(), insert_watchpoint(), rcmd(), remote_check_symbols(), remote_detach_pid(), remote_file_get(), remote_file_put(), remote_get_threadlist(), remote_hostio_close(), remote_hostio_open(), remote_hostio_pread(), remote_hostio_pread_vFile(), remote_hostio_pwrite(), remote_hostio_set_filesystem(), remote_hostio_unlink(), remote_interrupt_ns(), remote_query_attached(), remote_read_qxfer(), remote_resume_with_vcont(), remote_send_printf(), remote_stop_ns(), remote_vkill(), remove_breakpoint(), remove_hw_breakpoint(), remove_watchpoint(), vcont_builder::restart(), save_trace_data(), send_environment_packet(), send_g_packet(), set_circular_trace_buffer(), set_disconnected_tracing(), set_permissions(), set_syscall_catchpoint(), set_thread(), set_trace_buffer_size(), set_trace_notes(), static_tracepoint_marker_at(), store_register_using_P(), thread_alive(), thread_events(), trace_find(), use_agent(), verify_memory(), and xfer_partial().
remote_state * remote_target::get_remote_state | ( | ) |
Definition at line 1653 of file remote.c.
References remote_state::get_remote_arch_state(), m_remote_state, and target_gdbarch().
Referenced by append_resumption(), async(), async_wait_fd(), extended_remote_target::attach(), btrace_sync_conf(), can_async_p(), can_do_single_step(), can_download_tracepoint(), check_binary_download(), check_pending_events_prevent_wildcard_vcont(), commit_resumed(), connection_string(), extended_remote_target::create_inferior(), disable_btrace(), disable_tracepoint(), discard_pending_stop_replies(), discard_pending_stop_replies_in_queue(), download_trace_state_variable(), download_tracepoint(), enable_btrace(), enable_tracepoint(), execution_direction(), extended_remote_disable_randomization(), extended_remote_environment_support(), extended_remote_restart(), extended_remote_run(), extended_remote_set_inferior_cwd(), extra_thread_info(), fetch_memtags(), fetch_register_using_p(), fetch_registers(), fileio_fstat(), fileio_readlink(), vcont_builder::flush(), get_memory_packet_size(), get_min_fast_tracepoint_insn_len(), get_offsets(), get_raw_trace_data(), get_remote_packet_size(), get_thread_local_address(), get_tib_address(), get_trace_state_variable_value(), get_trace_status(), get_tracepoint_status(), getpkt(), has_pending_events(), insert_breakpoint(), insert_hw_breakpoint(), insert_watchpoint(), interrupt_query(), is_async_p(), kill_new_fork_children(), mourn_inferior(), open_1(), parse_threadlist_response(), pass_ctrlc(), pass_signals(), peek_stop_reply(), prepare_to_store(), process_g_packet(), program_signals(), push_stop_reply(), putpkt_binary(), queued_stop_reply(), rcmd(), read_frame(), readchar(), remote_add_thread(), remote_btrace_maybe_reopen(), remote_current_thread(), remote_detach_1(), remote_detach_pid(), remote_download_command_source(), remote_get_noisy_reply(), remote_get_threadinfo(), remote_get_threadlist(), remote_get_threads_with_qthreadinfo(), remote_hostio_close(), remote_hostio_open(), remote_hostio_pread(), remote_hostio_pread_vFile(), remote_hostio_pwrite(), remote_hostio_send_command(), remote_hostio_set_filesystem(), remote_hostio_unlink(), remote_interrupt_as(), remote_interrupt_ns(), remote_notice_new_inferior(), remote_notif_get_pending_events(), remote_notif_remove_queued_reply(), remote_notif_stop_can_get_pending_events(), remote_packet_size(), remote_parse_stop_reply(), remote_query_attached(), remote_query_supported(), remote_read_bytes_1(), remote_read_qxfer(), remote_resume_with_hc(), remote_resume_with_vcont(), remote_send_printf(), remote_serial_quit_handler(), remote_serial_write(), remote_stop_ns(), remote_threadlist_iterator(), remote_unpack_thread_info_response(), remote_vcont_probe(), remote_vkill(), remote_write_bytes_aux(), remote_write_qxfer(), remove_breakpoint(), remove_hw_breakpoint(), remove_new_fork_children(), remove_watchpoint(), vcont_builder::restart(), resume(), save_trace_data(), search_memory(), send_environment_packet(), send_g_packet(), send_interrupt_sequence(), send_remote_packet(), set_circular_trace_buffer(), set_disconnected_tracing(), set_general_process(), set_permissions(), set_remote_traceframe(), scoped_mark_target_starting::set_starting_up_flag(), set_syscall_catchpoint(), set_thread(), set_trace_buffer_size(), set_trace_notes(), start_remote_1(), static_tracepoint_marker_at(), static_tracepoint_markers_by_strid(), stop_reply_queue_length(), store_memtags(), store_register_using_P(), store_registers(), store_registers_using_G(), thread_alive(), thread_events(), trace_find(), trace_init(), trace_set_readonly_regions(), trace_start(), trace_stop(), upload_trace_state_variables(), upload_tracepoints(), use_agent(), vcont_r_supported(), verify_memory(), wait(), wait_as(), wait_ns(), and xfer_partial().
|
inlineoverridevirtual |
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 12011 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), getpkt(), hexnumstr(), m_features, PACKET_DISABLE, PACKET_OK, remote_features::packet_ok(), PACKET_qGetTLSAddr, remote_features::packet_support(), PACKET_UNKNOWN, putpkt(), and write_ptid().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 12058 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), getpkt(), m_features, PACKET_DISABLE, PACKET_OK, remote_features::packet_ok(), PACKET_qGetTIBAddr, remote_features::packet_support(), PACKET_UNKNOWN, putpkt(), and write_ptid().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 13816 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), putpkt(), remote_get_noisy_reply(), and set_remote_traceframe().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 13626 of file remote.c.
References remote_state::buf, exception_fprintf(), trace_status::filename, gdb_stderr, remote_state::get_remote_arch_state(), get_remote_state(), m_features, PACKET_DISABLE, remote_features::packet_ok(), PACKET_qTStatus, remote_features::packet_support(), PACKET_UNKNOWN, parse_trace_status(), putpkt(), remote_get_noisy_reply(), trace_status::running, remote_arch_state::sizeof_g_packet, target_gdbarch(), and trace_regblock_size.
Referenced by can_download_tracepoint(), and start_remote_1().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 13676 of file remote.c.
References uploaded_tp::addr, remote_state::buf, get_remote_packet_size(), get_remote_state(), breakpoint::hit_count, uploaded_tp::hit_count, loc, breakpoint::locations(), uploaded_tp::number, tracepoint::number_on_target, parse_tracepoint_status(), putpkt(), remote_get_noisy_reply(), size, tracepoint::traceframe_usage, and uploaded_tp::traceframe_usage.
int remote_target::getpkt | ( | gdb::char_vector * | buf, |
bool | forever = false, | ||
bool * | is_notif = nullptr ) |
Definition at line 10054 of file remote.c.
References escape_buffer(), gdb_printf(), get_remote_state(), handle_notification(), MAX_TRIES, remote_state::noack_mode, remote_state::notif_state, read_frame(), readchar(), remote_debug, remote_debug_printf, remote_debug_printf_nofunc, remote_packet_max_chars, remote_serial_write(), remote_timeout, remote_unpush_target(), SERIAL_TIMEOUT, and watchdog.
Referenced by extended_remote_target::attach(), btrace_sync_conf(), check_binary_download(), extended_remote_target::create_inferior(), disable_btrace(), enable_btrace(), extended_remote_environment_support(), extended_remote_run(), extended_remote_set_inferior_cwd(), extra_thread_info(), fetch_memtags(), fetch_register_using_p(), vcont_builder::flush(), get_offsets(), get_thread_local_address(), get_tib_address(), insert_breakpoint(), insert_hw_breakpoint(), insert_watchpoint(), pass_signals(), program_signals(), rcmd(), remote_check_symbols(), remote_current_thread(), remote_detach_pid(), remote_get_noisy_reply(), remote_get_threadinfo(), remote_get_threadlist(), remote_get_threads_with_qthreadinfo(), remote_hostio_send_command(), remote_interrupt_ns(), remote_notif_get_pending_events(), remote_query_attached(), remote_query_supported(), remote_read_bytes_1(), remote_read_qxfer(), remote_resume_with_vcont(), remote_send_printf(), remote_stop_ns(), remote_vcont_probe(), remote_vkill(), remote_write_bytes_aux(), remote_write_qxfer(), remove_breakpoint(), remove_hw_breakpoint(), remove_watchpoint(), search_memory(), send_environment_packet(), send_g_packet(), send_remote_packet(), set_permissions(), set_syscall_catchpoint(), set_thread(), start_remote_1(), static_tracepoint_marker_at(), static_tracepoint_markers_by_strid(), store_memtags(), store_register_using_P(), store_registers_using_G(), thread_alive(), thread_events(), trace_set_readonly_regions(), upload_trace_state_variables(), upload_tracepoints(), use_agent(), verify_memory(), wait_as(), wait_ns(), and xfer_partial().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 7081 of file remote.c.
References async_event_handler_marked(), serial::bufcnt, get_remote_state(), remote_state::remote_async_inferior_event_token, remote_state::remote_desc, and target_can_async_p().
|
inlineoverridevirtual |
Implements target_ops.
Definition at line 700 of file remote.c.
References remote_target_info.
Referenced by commit_resumed(), core_of_thread(), remote_get_threadinfo(), remote_stop_ns(), remote_unpack_thread_info_response(), thread_name(), and update_thread_list().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 10694 of file remote.c.
References remote_state::buf, can_run_breakpoint_commands(), gdbarch_has_global_breakpoints(), get_remote_packet_size(), get_remote_state(), getpkt(), hexnumstr(), bp_target_info::kind, m_features, memory_insert_breakpoint(), PACKET_DISABLE, PACKET_ERROR, PACKET_OK, remote_features::packet_ok(), remote_features::packet_support(), PACKET_UNKNOWN, PACKET_Z0, putpkt(), remote_add_target_side_commands(), remote_add_target_side_condition(), remote_address_masked(), bp_target_info::reqstd_address, set_general_process(), supports_evaluation_of_breakpoint_conditions(), target_gdbarch(), and bp_target_info::tcommands.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 2587 of file remote.c.
References m_features, and remote_features::remote_exec_event_p().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 2551 of file remote.c.
References m_features, and remote_features::remote_fork_event_p().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 11009 of file remote.c.
References remote_state::buf, can_run_breakpoint_commands(), gdbarch_has_global_breakpoints(), get_remote_packet_size(), get_remote_state(), getpkt(), hexnumstr(), bp_target_info::kind, m_features, PACKET_DISABLE, PACKET_ERROR, PACKET_OK, remote_features::packet_ok(), remote_features::packet_support(), PACKET_UNKNOWN, PACKET_Z1, putpkt(), remote_add_target_side_commands(), remote_add_target_side_condition(), remote_address_masked(), bp_target_info::reqstd_address, set_general_process(), supports_evaluation_of_breakpoint_conditions(), and target_gdbarch().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 2569 of file remote.c.
References m_features, and remote_features::remote_vfork_event_p().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 10808 of file remote.c.
References remote_state::buf, gdbarch_has_global_breakpoints(), get_remote_packet_size(), get_remote_state(), getpkt(), hexnumstr(), m_features, PACKET_DISABLE, PACKET_ERROR, PACKET_OK, remote_features::packet_ok(), remote_features::packet_support(), PACKET_UNKNOWN, PACKET_Z0, putpkt(), remote_address_masked(), set_general_process(), target_gdbarch(), and watchpoint_to_Z_packet().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 7288 of file remote.c.
References remote_interrupt_as(), remote_interrupt_ns(), REMOTE_SCOPED_DEBUG_ENTER_EXIT, and target_is_non_stop_p().
void remote_target::interrupt_query | ( | ) |
Definition at line 7321 of file remote.c.
References remote_state::ctrlc_pending_p, get_remote_state(), query(), quit(), remote_unpush_target(), and remote_state::waiting_for_stop_reply.
Referenced by pass_ctrlc(), putpkt_binary(), and remote_serial_quit_handler().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 14839 of file remote.c.
References get_remote_state(), remote_state::remote_desc, and serial_is_async_p().
Referenced by process_initial_stop_replies().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 10239 of file remote.c.
References find_inferior_pid(), inferior_ptid, kill_new_fork_children(), m_features, number_of_live_inferiors(), PACKET_DISABLE, remote_features::packet_support(), PACKET_vKill, inf::pid, remote_kill_k(), remote_features::remote_multi_process_p(), remote_vkill(), and target_mourn_inferior().
void remote_target::kill_new_fork_children | ( | inferior * | inf | ) |
Definition at line 10195 of file remote.c.
References target_waitstatus::child_ptid, get_remote_state(), is_fork_status(), notif_client_stop, inf::pid, remote_notif_get_pending_events(), remote_vkill(), remote_state::stop_reply_queue, and thread_pending_fork_status().
Referenced by kill().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 14727 of file remote.c.
References generic_load(), and name.
|
inlineoverridevirtual |
Reimplemented from target_ops.
Definition at line 809 of file remote.c.
References serial_log_command().
|
override |
Definition at line 11723 of file remote.c.
References current_inferior(), parse_memory_map(), TARGET_OBJECT_MEMORY_MAP, and target_read_stralloc().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 10342 of file remote.c.
References current_inferior(), discard_pending_stop_replies(), remote_state::extended, generic_mourn_inferior(), get_remote_state(), number_of_live_inferiors(), record_currthread(), remote_unpush_target(), and remote_state::waiting_for_stop_reply.
|
static |
|
static |
Definition at line 5918 of file remote.c.
References baud_rate, remote_state::continue_thread, create_async_event_handler(), remote_state::ctrlc_pending_p, current_inferior(), EXEC_FORWARD, remote_state::explicit_packet_size, remote_state::extended, gdb_puts(), remote_state::general_thread, get_current_remote_target(), get_remote_state(), remote_state::got_ctrlc_during_io, readahead_cache::invalidate(), remote_state::last_resume_exec_dir, m_features, name, no_shared_libraries(), remote_state::noack_mode, not_sent_ptid(), remote_state::notif_state, inferior::push_target(), query(), remote_state::readahead_cache, remote_async_inferior_event_handler(), remote_state::remote_async_inferior_event_token, remote_btrace_reset(), remote_state::remote_desc, remote_fileio_reset(), remote_notif_state_allocate(), remote_serial_open(), remote_target(), remote_state::remote_traceframe_number, remote_unpush_target(), reopen_exec_file(), reread_symbols(), remote_features::reset_all_packet_configs_support(), serial_close(), serial_flush_input(), serial_parity, serial_raw(), serial_setbaudrate(), serial_setparity(), start_remote(), target_async_permitted, target_has_execution(), target_preopen(), remote_state::use_threadextra_query, remote_state::use_threadinfo_query, remote_state::wait_forever_enabled_p, and remote_state::waiting_for_stop_reply.
Referenced by open(), and extended_remote_target::open().
int remote_target::parse_threadlist_response | ( | const char * | pkt, |
int | result_limit, | ||
threadref * | original_echo, | ||
threadref * | resultlist, | ||
int * | doneflag ) |
Definition at line 3692 of file remote.c.
References remote_state::buf, BUF_THREAD_ID_SIZE, get_remote_state(), unpack_byte(), unpack_nibble(), and unpack_threadid().
Referenced by remote_get_threadlist().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 7301 of file remote.c.
References remote_state::ctrlc_pending_p, get_remote_state(), interrupt_query(), quit(), REMOTE_SCOPED_DEBUG_ENTER_EXIT, remote_state::starting_up, and target_interrupt().
|
override |
Definition at line 2890 of file remote.c.
References remote_state::buf, get_remote_state(), getpkt(), remote_state::last_pass_packet, m_features, PACKET_DISABLE, remote_features::packet_ok(), PACKET_QPassSignals, remote_features::packet_support(), pass_signals(), putpkt(), xfree(), and xmalloc().
Referenced by pass_signals(), and start_remote_1().
int remote_target::peek_stop_reply | ( | ptid_t | ptid | ) |
Definition at line 7662 of file remote.c.
References get_remote_state(), remote_state::stop_reply_queue, and TARGET_WAITKIND_STOPPED.
Referenced by remote_stop_ns().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 14737 of file remote.c.
References current_inferior(), find_inferior_pid(), m_features, PACKET_ENABLE, PACKET_qXfer_exec_file, remote_features::packet_support(), pid, TARGET_OBJECT_EXEC_FILE, and target_read_stralloc().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 11970 of file remote.c.
References m_features, magic_null_ptid(), normal_pid_to_str(), and remote_features::remote_multi_process_p().
Referenced by select_thread_for_ambiguous_stop_reply().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 8825 of file remote.c.
References reg_buffer::arch(), gdbarch_num_regs(), remote_state::get_remote_arch_state(), get_remote_state(), m_features, PACKET_DISABLE, PACKET_ENABLE, PACKET_P, remote_features::packet_support(), PACKET_SUPPORT_UNKNOWN, regcache::raw_update(), and remote_arch_state::regs.
void remote_target::print_one_stopped_thread | ( | thread_info * | thread | ) |
Definition at line 4684 of file remote.c.
References thread_info::clear_pending_waitstatus(), get_current_frame(), get_frame_pc(), thread_info::has_pending_waitstatus(), target_waitstatus::kind(), notify_normal_stop(), notify_signal_received(), thread_info::pending_waitstatus(), thread_info::ptid, set_current_sal_from_frame(), set_last_target_status(), thread_info::set_stop_pc(), target_waitstatus::set_stopped(), target_waitstatus::sig, signal_print_state(), switch_to_thread(), and TARGET_WAITKIND_STOPPED.
Referenced by process_initial_stop_replies().
void remote_target::process_g_packet | ( | struct regcache * | regcache | ) |
Definition at line 8639 of file remote.c.
References remote_arch_state::actual_register_packet_size, reg_buffer::arch(), remote_state::buf, gdbarch_num_regs(), remote_state::get_remote_arch_state(), get_remote_state(), packet_reg::in_g_packet, packet_reg::offset, reg_buffer::raw_supply(), register_size(), packet_reg::regnum, remote_arch_state::regs, and remote_arch_state::sizeof_g_packet.
Referenced by fetch_registers_using_g().
void remote_target::process_initial_stop_replies | ( | int | from_tty | ) |
Definition at line 4726 of file remote.c.
References all_non_exited_inferiors(), all_non_exited_threads(), any_live_thread_of_inferior(), process_stratum_target::find_thread(), get_remote_thread_info(), thread_info::has_pending_waitstatus(), thread_info::inf, is_async_p(), target_waitstatus::kind(), non_stop, notice_new_inferior(), inferior::num, thread_info::per_inf_num, print_one_stopped_thread(), print_target_wait_results(), remote_debug, remote_debug_printf, set_executing(), remote_thread_info::set_not_resumed(), thread_info::set_pending_waitstatus(), thread_info::set_running(), set_running(), thread_info::set_stop_signal(), target_waitstatus::set_stopped(), setup_inferior(), target_waitstatus::sig, thread_info::state, stop_all_threads(), stop_reply_queue_length(), switch_to_thread_no_regs(), target_async(), target_is_non_stop_p(), target_wait(), TARGET_WAITKIND_EXITED, TARGET_WAITKIND_IGNORE, TARGET_WAITKIND_NO_RESUMED, TARGET_WAITKIND_SIGNALLED, TARGET_WAITKIND_STOPPED, TARGET_WNOHANG, THREAD_RUNNING, and THREAD_STOPPED.
Referenced by start_remote_1().
ptid_t remote_target::process_stop_reply | ( | struct stop_reply * | stop_reply, |
target_waitstatus * | status ) |
Definition at line 8225 of file remote.c.
References all_non_exited_threads(), stop_reply::arch, stop_reply::core, remote_thread_info::core, get_remote_thread_info(), get_thread_arch_regcache(), stop_reply::ptid, reg_buffer::raw_supply(), stop_reply::regcache, remote_notice_new_inferior(), select_thread_for_ambiguous_stop_reply(), remote_thread_info::set_not_resumed(), status, stop_reply::stop_reason, remote_thread_info::stop_reason, target_is_non_stop_p(), TARGET_WAITKIND_EXITED, TARGET_WAITKIND_NO_RESUMED, TARGET_WAITKIND_SIGNALLED, stop_reply::watch_data_address, remote_thread_info::watch_data_address, stop_reply::ws, and xfree().
|
override |
Definition at line 3010 of file remote.c.
References remote_state::buf, get_remote_state(), getpkt(), remote_state::last_program_signals_packet, m_features, PACKET_DISABLE, remote_features::packet_ok(), PACKET_QProgramSignals, remote_features::packet_support(), putpkt(), signal_pass_state(), xfree(), and xmalloc().
void remote_target::push_stop_reply | ( | struct stop_reply * | new_event | ) |
Definition at line 7640 of file remote.c.
References gdb_printf(), gdb_stdlog, get_remote_state(), mark_async_event_handler(), notif_debug, stop_reply::ptid, remote_state::remote_async_inferior_event_token, remote_state::stop_reply_queue, and target_is_async_p().
Referenced by extended_remote_target::attach(), remote_notif_stop_ack(), remote_stop_ns(), and start_remote_1().
int remote_target::putpkt | ( | const char * | buf | ) |
Definition at line 9694 of file remote.c.
References putpkt_binary().
Referenced by extended_remote_target::attach(), btrace_sync_conf(), extended_remote_target::create_inferior(), disable_btrace(), disable_tracepoint(), download_trace_state_variable(), download_tracepoint(), enable_btrace(), enable_tracepoint(), extended_remote_disable_randomization(), extended_remote_environment_support(), extended_remote_restart(), extended_remote_run(), extended_remote_set_inferior_cwd(), extra_thread_info(), fetch_memtags(), fetch_register_using_p(), vcont_builder::flush(), get_min_fast_tracepoint_insn_len(), get_offsets(), get_raw_trace_data(), get_thread_local_address(), get_tib_address(), get_trace_state_variable_value(), get_trace_status(), get_tracepoint_status(), insert_breakpoint(), insert_hw_breakpoint(), insert_watchpoint(), pass_signals(), program_signals(), putpkt(), putpkt(), rcmd(), remote_check_symbols(), remote_current_thread(), remote_detach_pid(), remote_download_command_source(), remote_get_noisy_reply(), remote_get_threadinfo(), remote_get_threadlist(), remote_get_threads_with_qthreadinfo(), remote_interrupt_ns(), remote_kill_k(), remote_query_attached(), remote_query_supported(), remote_read_bytes_1(), remote_read_qxfer(), remote_resume_with_hc(), remote_resume_with_vcont(), remote_send_printf(), remote_stop_ns(), remote_vcont_probe(), remote_vkill(), remove_breakpoint(), remove_hw_breakpoint(), remove_watchpoint(), save_trace_data(), send_environment_packet(), send_g_packet(), set_circular_trace_buffer(), set_disconnected_tracing(), set_permissions(), set_syscall_catchpoint(), set_thread(), set_trace_buffer_size(), set_trace_notes(), start_remote_1(), static_tracepoint_marker_at(), static_tracepoint_markers_by_strid(), store_memtags(), store_register_using_P(), store_registers_using_G(), thread_alive(), thread_events(), trace_find(), trace_init(), trace_set_readonly_regions(), trace_start(), trace_stop(), upload_trace_state_variables(), upload_tracepoints(), use_agent(), verify_memory(), wait_as(), and xfer_partial().
|
inline |
int remote_target::putpkt_binary | ( | const char * | buf, |
int | cnt ) |
Definition at line 9715 of file remote.c.
References remote_state::buf, escape_buffer(), get_remote_state(), handle_notification(), interrupt_query(), remote_state::noack_mode, remote_state::notif_state, quit_flag, read_frame(), readchar(), remote_debug, remote_debug_printf, remote_debug_printf_nofunc, remote_packet_max_chars, remote_serial_write(), remote_timeout, SERIAL_TIMEOUT, skip_frame(), target_is_async_p(), target_is_non_stop_p(), and remote_state::waiting_for_stop_reply.
Referenced by check_binary_download(), putpkt(), remote_hostio_send_command(), remote_write_bytes_aux(), remote_write_qxfer(), search_memory(), and send_remote_packet().
struct stop_reply * remote_target::queued_stop_reply | ( | ptid_t | ptid | ) |
Definition at line 7621 of file remote.c.
References get_remote_state(), mark_async_event_handler(), remote_state::remote_async_inferior_event_token, remote_notif_remove_queued_reply(), remote_state::stop_reply_queue, and target_can_async_p().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 11654 of file remote.c.
References remote_state::buf, gdb_putc(), get_remote_packet_size(), get_remote_state(), getpkt(), putpkt(), QUIT, remote_console_output(), and remote_state::remote_desc.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 14670 of file remote.c.
References current_inferior(), m_features, PACKET_ENABLE, PACKET_qXfer_btrace, remote_features::packet_support(), parse_xml_btrace(), TARGET_OBJECT_BTRACE, and target_read_stralloc().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 12158 of file remote.c.
References target_ops::beneath(), get_g_packet_data(), inferior_ptid, target_ops::read_description(), send_g_packet(), target_gdbarch(), and target_has_execution().
long remote_target::read_frame | ( | gdb::char_vector * | buf_p | ) |
Definition at line 9918 of file remote.c.
References escape_buffer(), gdb_printf(), get_remote_state(), remote_state::noack_mode, readchar(), remote_debug_printf, remote_timeout, and SERIAL_TIMEOUT.
Referenced by getpkt(), and putpkt_binary().
int remote_target::readchar | ( | int | timeout | ) |
Definition at line 9615 of file remote.c.
References curr_quit_handler_target, get_remote_state(), remote_state::got_ctrlc_during_io, quit_handler, remote_state::remote_desc, remote_serial_quit_handler(), remote_unpush_target(), SERIAL_EOF, SERIAL_ERROR, serial_readchar(), SERIAL_TIMEOUT, set_quit_flag(), and unpush_and_perror().
Referenced by getpkt(), putpkt_binary(), read_frame(), and skip_frame().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 10901 of file remote.c.
References remote_hw_watchpoint_length_limit.
inferior * remote_target::remote_add_inferior | ( | bool | fake_pid_p, |
int | pid, | ||
int | attached, | ||
int | try_open_exec ) |
Definition at line 2657 of file remote.c.
References add_inferior(), add_inferior_with_spaces(), all_inferiors(), current_inferior(), current_program_space, exec_file_locate_attach(), gdbarch_has_global_solist(), get_exec_file(), inferior_appeared(), maybe_new_address_space(), inf::pid, pid, remote_query_attached(), switch_to_inferior_no_thread(), target_gdbarch(), and validate_exec_file().
Referenced by add_current_inferior_and_thread(), extended_remote_target::attach(), and remote_notice_new_inferior().
thread_info * remote_target::remote_add_thread | ( | ptid_t | ptid, |
bool | running, | ||
bool | executing, | ||
bool | silent_p ) |
Definition at line 2734 of file remote.c.
References add_thread(), add_thread_silent(), get_remote_state(), get_remote_thread_info(), set_executing(), remote_thread_info::set_resumed(), set_running(), and remote_state::starting_up.
Referenced by extended_remote_target::attach(), and remote_notice_new_inferior().
void remote_target::remote_btrace_maybe_reopen | ( | ) |
Definition at line 14509 of file remote.c.
References all_non_exited_threads(), btrace_read_config(), gdb_printf(), get_remote_state(), m_features, PACKET_ENABLE, PACKET_qXfer_btrace_conf, remote_features::packet_support(), and record_btrace_push_target().
Referenced by start_remote_1().
void remote_target::remote_check_symbols | ( | ) |
Definition at line 5302 of file remote.c.
References current_inferior(), gdbarch_addr_bit(), gdbarch_convert_from_func_ptr_addr(), get_remote_packet_size(), getpkt(), lookup_minimal_symbol(), m_features, bound_minimal_symbol::minsym, PACKET_DISABLE, remote_features::packet_ok(), PACKET_qSymbol, remote_features::packet_support(), putpkt(), set_general_process(), target_gdbarch(), target_has_execution(), and bound_minimal_symbol::value_address().
Referenced by extended_remote_target::post_attach(), remote_objfile_changed_check_symbols(), and start_remote_1().
ptid_t remote_target::remote_current_thread | ( | ptid_t | oldpid | ) |
Definition at line 3920 of file remote.c.
References remote_state::buf, get_remote_state(), getpkt(), putpkt(), read_ptid(), and remote_debug_printf.
Referenced by extended_remote_target::attach(), and get_current_thread().
void remote_target::remote_detach_1 | ( | struct inferior * | inf, |
int | from_tty ) |
Definition at line 6133 of file remote.c.
References target_waitstatus::child_ptid, current_inferior(), detach_inferior(), remote_state::extended, process_stratum_target::find_thread(), gdb_printf(), gdb_puts(), gdbarch_has_global_breakpoints(), get_remote_state(), inferior_ptid, is_fork_status(), target_waitstatus::kind(), notif_client_stop, number_of_live_inferiors(), thread_info::pending_follow, pid, print_inferior_events, remote_detach_pid(), remote_notif_get_pending_events(), remove_breakpoints_inf(), remote_state::stop_reply_queue, switch_to_no_thread(), target_announce_detach(), target_gdbarch(), target_has_execution(), target_mourn_inferior(), target_pid_to_str(), TARGET_WAITKIND_FORKED, and thread_pending_fork_status().
Referenced by detach(), and extended_remote_target::detach().
void remote_target::remote_detach_pid | ( | int | pid | ) |
Definition at line 6098 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), getpkt(), m_features, pid, putpkt(), remote_features::remote_multi_process_p(), and set_general_process().
Referenced by follow_fork(), and remote_detach_1().
void remote_target::remote_download_command_source | ( | int | num, |
ULONGEST | addr, | ||
struct command_line * | cmds ) |
Definition at line 13212 of file remote.c.
References command_line::body_list_0, remote_state::buf, command_line::control_type, encode_source_string(), get_remote_state(), command_line::line, command_line::next, putpkt(), QUIT, remote_download_command_source(), remote_get_noisy_reply(), while_control, and while_stepping_control.
Referenced by download_tracepoint(), and remote_download_command_source().
void remote_target::remote_file_delete | ( | const char * | remote_file, |
int | from_tty ) |
Definition at line 13065 of file remote.c.
References gdb_printf(), remote_hostio_error(), and remote_hostio_unlink().
Referenced by remote_file_delete().
void remote_target::remote_file_get | ( | const char * | remote_file, |
const char * | local_file, | ||
int | from_tty ) |
Definition at line 13005 of file remote.c.
References gdb_printf(), scoped_remote_fd::get(), get_remote_packet_size(), scoped_remote_fd::release(), remote_hostio_close(), remote_hostio_error(), remote_hostio_open(), and remote_hostio_pread().
Referenced by remote_file_get().
void remote_target::remote_file_put | ( | const char * | local_file, |
const char * | remote_file, | ||
int | from_tty ) |
Definition at line 12912 of file remote.c.
References gdb_printf(), scoped_remote_fd::get(), get_remote_packet_size(), scoped_remote_fd::release(), remote_hostio_close(), remote_hostio_error(), remote_hostio_open(), and remote_hostio_pwrite().
Referenced by remote_file_put().
target_xfer_status remote_target::remote_flash_write | ( | ULONGEST | address, |
ULONGEST | length, | ||
ULONGEST * | xfered_len, | ||
const gdb_byte * | data ) |
Definition at line 9558 of file remote.c.
References remote_flash_timeout, remote_timeout, and remote_write_bytes_aux().
Referenced by xfer_partial().
char * remote_target::remote_get_noisy_reply | ( | ) |
Definition at line 1552 of file remote.c.
References remote_state::buf, exception_fprintf(), gdb_stderr, gdbarch_relocate_instruction(), get_remote_state(), getpkt(), putpkt(), QUIT, remote_console_output(), target_gdbarch(), and trace_error().
Referenced by disable_tracepoint(), download_trace_state_variable(), download_tracepoint(), enable_tracepoint(), extended_remote_disable_randomization(), get_min_fast_tracepoint_insn_len(), get_raw_trace_data(), get_trace_state_variable_value(), get_trace_status(), get_tracepoint_status(), remote_download_command_source(), save_trace_data(), set_circular_trace_buffer(), set_disconnected_tracing(), set_trace_buffer_size(), set_trace_notes(), trace_find(), trace_init(), trace_start(), and trace_stop().
int remote_target::remote_get_threadinfo | ( | threadref * | threadid, |
int | fieldset, | ||
gdb_ext_thread_info * | info ) |
Definition at line 3655 of file remote.c.
References remote_state::buf, get_remote_state(), getpkt(), info(), pack_threadinfo_request(), putpkt(), and remote_unpack_thread_info_response().
Referenced by extra_thread_info().
int remote_target::remote_get_threadlist | ( | int | startflag, |
threadref * | nextthread, | ||
int | result_limit, | ||
int * | done, | ||
int * | result_count, | ||
threadref * | threadlist ) |
Definition at line 3723 of file remote.c.
References remote_state::buf, BUF_THREAD_ID_SIZE, remote_state::echo_nextthread, get_remote_packet_size(), get_remote_state(), getpkt(), pack_threadlist_request(), parse_threadlist_response(), putpkt(), and threadmatch().
Referenced by remote_threadlist_iterator().
int remote_target::remote_get_threads_with_ql | ( | threads_listing_context * | context | ) |
Definition at line 3944 of file remote.c.
References CRAZY_MAX_THREADS, remote_newthread_step(), and remote_threadlist_iterator().
Referenced by update_thread_list().
int remote_target::remote_get_threads_with_qthreadinfo | ( | threads_listing_context * | context | ) |
Definition at line 4050 of file remote.c.
References remote_state::buf, get_remote_state(), getpkt(), threads_listing_context::items, putpkt(), read_ptid(), and remote_state::use_threadinfo_query.
Referenced by update_thread_list().
int remote_target::remote_get_threads_with_qxfer | ( | threads_listing_context * | context | ) |
Definition at line 4026 of file remote.c.
References gdb_xml_parse_quick(), m_features, PACKET_ENABLE, PACKET_qXfer_threads, remote_features::packet_support(), TARGET_OBJECT_THREADS, and target_read_stralloc().
Referenced by update_thread_list().
int remote_target::remote_hostio_close | ( | int | fd, |
fileio_error * | remote_errno ) |
Definition at line 12638 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), readahead_cache::invalidate_fd(), PACKET_vFile_close, remote_state::readahead_cache, remote_buffer_add_int(), remote_buffer_add_string(), and remote_hostio_send_command().
Referenced by fileio_close(), filesystem_is_local(), remote_file_get(), and remote_file_put().
int remote_target::remote_hostio_open | ( | struct inferior * | inf, |
const char * | filename, | ||
int | flags, | ||
int | mode, | ||
int | warn_if_slow, | ||
fileio_error * | remote_errno ) |
Definition at line 12438 of file remote.c.
References remote_state::buf, flags, gdb_printf(), get_remote_packet_size(), get_remote_state(), PACKET_vFile_open, remote_buffer_add_bytes(), remote_buffer_add_int(), remote_buffer_add_string(), remote_hostio_send_command(), and remote_hostio_set_filesystem().
Referenced by fileio_open(), filesystem_is_local(), remote_file_get(), and remote_file_put().
int remote_target::remote_hostio_pread | ( | int | fd, |
gdb_byte * | read_buf, | ||
int | len, | ||
ULONGEST | offset, | ||
fileio_error * | remote_errno ) |
Definition at line 12589 of file remote.c.
References readahead_cache::buf, readahead_cache::fd, get_remote_packet_size(), get_remote_state(), readahead_cache::hit_count, readahead_cache::invalidate_fd(), readahead_cache::miss_count, readahead_cache::offset, readahead_cache::pread(), remote_state::readahead_cache, remote_debug_printf, and remote_hostio_pread_vFile().
Referenced by fileio_pread(), and remote_file_get().
int remote_target::remote_hostio_pread_vFile | ( | int | fd, |
gdb_byte * | read_buf, | ||
int | len, | ||
ULONGEST | offset, | ||
fileio_error * | remote_errno ) |
Definition at line 12529 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), PACKET_vFile_pread, remote_buffer_add_int(), remote_buffer_add_string(), and remote_hostio_send_command().
Referenced by remote_hostio_pread().
int remote_target::remote_hostio_pwrite | ( | int | fd, |
const gdb_byte * | write_buf, | ||
int | len, | ||
ULONGEST | offset, | ||
fileio_error * | remote_errno ) |
Definition at line 12492 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), readahead_cache::invalidate_fd(), PACKET_vFile_pwrite, remote_state::readahead_cache, remote_buffer_add_int(), remote_buffer_add_string(), and remote_hostio_send_command().
Referenced by fileio_pwrite(), and remote_file_put().
int remote_target::remote_hostio_send_command | ( | int | command_bytes, |
int | which_packet, | ||
fileio_error * | remote_errno, | ||
const char ** | attachment, | ||
int * | attachment_len ) |
Definition at line 12317 of file remote.c.
References remote_state::buf, get_remote_state(), getpkt(), m_features, PACKET_DISABLE, PACKET_ERROR, PACKET_OK, remote_features::packet_ok(), remote_features::packet_support(), PACKET_UNKNOWN, putpkt_binary(), and remote_hostio_parse_result().
Referenced by fileio_fstat(), fileio_readlink(), remote_hostio_close(), remote_hostio_open(), remote_hostio_pread_vFile(), remote_hostio_pwrite(), remote_hostio_set_filesystem(), and remote_hostio_unlink().
int remote_target::remote_hostio_set_filesystem | ( | struct inferior * | inf, |
fileio_error * | remote_errno ) |
Definition at line 12402 of file remote.c.
References remote_state::buf, remote_state::fs_pid, get_remote_packet_size(), get_remote_state(), m_features, PACKET_DISABLE, remote_features::packet_support(), PACKET_vFile_setfs, inf::pid, remote_buffer_add_string(), and remote_hostio_send_command().
Referenced by fileio_readlink(), remote_hostio_open(), and remote_hostio_unlink().
int remote_target::remote_hostio_unlink | ( | inferior * | inf, |
const char * | filename, | ||
fileio_error * | remote_errno ) |
Definition at line 12663 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), PACKET_vFile_unlink, remote_buffer_add_bytes(), remote_buffer_add_string(), remote_hostio_send_command(), and remote_hostio_set_filesystem().
Referenced by fileio_unlink(), and remote_file_delete().
void remote_target::remote_interrupt_as | ( | ) |
Definition at line 7222 of file remote.c.
References remote_state::ctrlc_pending_p, get_remote_state(), send_interrupt_sequence(), and stop_reply_queue_length().
Referenced by interrupt(), and stop().
void remote_target::remote_interrupt_ns | ( | ) |
Definition at line 7244 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), getpkt(), m_features, PACKET_ERROR, PACKET_OK, remote_features::packet_ok(), PACKET_UNKNOWN, PACKET_vCtrlC, and putpkt().
Referenced by interrupt().
void remote_target::remote_kill_k | ( | ) |
void remote_target::remote_notice_new_inferior | ( | ptid_t | currthread, |
bool | executing ) |
Definition at line 2769 of file remote.c.
References find_inferior_pid(), process_stratum_target::find_thread(), get_remote_state(), in_thread_list(), inferior_ptid, m_features, magic_null_ptid(), notice_new_inferior(), inf::pid, pid, remote_add_inferior(), remote_add_thread(), remote_features::remote_multi_process_p(), remote_state::starting_up, thread_info::state, switch_to_thread(), target_is_non_stop_p(), thread_change_ptid(), and THREAD_EXITED.
Referenced by process_stop_reply(), and update_thread_list().
void remote_target::remote_notif_get_pending_events | ( | const notif_client * | nc | ) |
Definition at line 8067 of file remote.c.
References notif_client::ack, remote_state::buf, gdb_printf(), gdb_stdlog, get_remote_state(), getpkt(), notif_client::id, notif_client::name, notif_debug, remote_state::notif_state, remote_notif_state::pending_event, and remote_notif_ack().
Referenced by check_pending_events_prevent_wildcard_vcont(), kill_new_fork_children(), remote_detach_1(), remote_notif_get_pending_events(), remove_new_fork_children(), start_remote_1(), and wait_ns().
struct stop_reply * remote_target::remote_notif_remove_queued_reply | ( | ptid_t | ptid | ) |
Definition at line 7588 of file remote.c.
References gdb_printf(), gdb_stdlog, get_remote_state(), notif_debug, and remote_state::stop_reply_queue.
Referenced by queued_stop_reply().
void remote_target::remote_packet_size | ( | const protocol_feature * | feature, |
packet_support | support, | ||
const char * | value ) |
Definition at line 5456 of file remote.c.
References remote_state::explicit_packet_size, get_remote_state(), protocol_feature::name, and PACKET_ENABLE.
Referenced by remote_packet_size().
void remote_target::remote_parse_stop_reply | ( | const char * | buf, |
stop_reply * | event ) |
Definition at line 7688 of file remote.c.
References stop_reply::arch, cached_reg_t::data, find_inferior_ptid(), get_remote_state(), target_waitstatus::kind(), m_features, cached_reg_t::num, PACKET_ENABLE, PACKET_hwbreak_feature, packet_reg_from_pnum(), remote_features::packet_support(), PACKET_swbreak_feature, pid, stop_reply::ptid, read_ptid(), register_size(), packet_reg::regnum, strprefix(), TARGET_STOPPED_BY_HW_BREAKPOINT, TARGET_STOPPED_BY_NO_REASON, TARGET_STOPPED_BY_SW_BREAKPOINT, TARGET_STOPPED_BY_WATCHPOINT, TARGET_WAITKIND_IGNORE, value, stop_reply::ws, and xmalloc().
Referenced by remote_notif_stop_parse().
int remote_target::remote_query_attached | ( | int | pid | ) |
Definition at line 2613 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), getpkt(), m_features, PACKET_DISABLE, PACKET_ERROR, PACKET_OK, remote_features::packet_ok(), PACKET_qAttached, remote_features::packet_support(), PACKET_UNKNOWN, pid, putpkt(), remote_features::remote_multi_process_p(), and size.
Referenced by remote_add_inferior().
void remote_target::remote_query_supported | ( | ) |
Definition at line 5645 of file remote.c.
References AUTO_BOOLEAN_FALSE, remote_state::buf, protocol_feature::default_support, remote_state::explicit_packet_size, protocol_feature::func, get_remote_state(), getpkt(), m_features, name, PACKET_DISABLE, PACKET_ENABLE, PACKET_ERROR, PACKET_exec_event_feature, PACKET_fork_event_feature, PACKET_hwbreak_feature, PACKET_memory_tagging_feature, PACKET_multiprocess_feature, PACKET_no_resumed, remote_features::packet_ok(), PACKET_qSupported, PACKET_QThreadEvents, PACKET_qXfer_features, remote_features::packet_set_cmd_state(), remote_features::packet_support(), PACKET_SUPPORT_UNKNOWN, PACKET_swbreak_feature, PACKET_vContSupported, PACKET_vfork_event_feature, putpkt(), remote_protocol_features, remote_query_supported_append(), remote_support_xml, and value.
Referenced by start_remote_1().
target_xfer_status remote_target::remote_read_bytes | ( | CORE_ADDR | memaddr, |
gdb_byte * | myaddr, | ||
ULONGEST | len, | ||
int | unit_size, | ||
ULONGEST * | xfered_len ) |
Definition at line 9441 of file remote.c.
References available, get_traceframe_number(), remote_read_bytes_1(), remote_xfer_live_readonly_partial(), TARGET_XFER_EOF, TARGET_XFER_OK, TARGET_XFER_UNAVAILABLE, and traceframe_available_memory().
Referenced by xfer_partial().
target_xfer_status remote_target::remote_read_bytes_1 | ( | CORE_ADDR | memaddr, |
gdb_byte * | myaddr, | ||
ULONGEST | len_units, | ||
int | unit_size, | ||
ULONGEST * | xfered_len_units ) |
Definition at line 9344 of file remote.c.
References remote_state::buf, get_memory_read_packet_size(), get_remote_state(), getpkt(), hexnumstr(), putpkt(), remote_address_masked(), TARGET_XFER_E_IO, TARGET_XFER_EOF, and TARGET_XFER_OK.
Referenced by remote_read_bytes(), and remote_xfer_live_readonly_partial().
target_xfer_status remote_target::remote_read_qxfer | ( | const char * | object_name, |
const char * | annex, | ||
gdb_byte * | readbuf, | ||
ULONGEST | offset, | ||
LONGEST | len, | ||
ULONGEST * | xfered_len, | ||
const unsigned int | which_packet ) |
Definition at line 11273 of file remote.c.
References remote_state::buf, remote_state::finished_annex, remote_state::finished_object, remote_state::finished_offset, get_remote_packet_size(), get_remote_state(), getpkt(), m_features, PACKET_DISABLE, PACKET_OK, remote_features::packet_ok(), remote_features::packet_support(), putpkt(), TARGET_XFER_E_IO, TARGET_XFER_EOF, TARGET_XFER_OK, and xfree().
Referenced by xfer_partial().
void remote_target::remote_resume_with_hc | ( | ptid_t | ptid, |
int | step, | ||
gdb_signal | siggnal ) |
Definition at line 6580 of file remote.c.
References all_non_exited_threads(), any_thread_ptid(), remote_state::buf, EXEC_REVERSE, execution_direction(), get_remote_state(), info_verbose, remote_state::last_sent_signal, remote_state::last_sent_step, m_features, PACKET_bc, PACKET_bs, PACKET_DISABLE, remote_features::packet_support(), putpkt(), resume_clear_thread_private_info(), and set_continue_thread().
Referenced by resume().
int remote_target::remote_resume_with_vcont | ( | ptid_t | scope_ptid, |
int | step, | ||
gdb_signal | siggnal ) |
Definition at line 6635 of file remote.c.
References append_pending_thread_resumptions(), append_resumption(), remote_state::buf, EXEC_REVERSE, execution_direction(), get_remote_packet_size(), get_remote_state(), getpkt(), inferior_ptid, m_features, magic_null_ptid(), PACKET_DISABLE, remote_features::packet_support(), PACKET_vCont, putpkt(), and target_is_non_stop_p().
Referenced by resume().
packet_result remote_target::remote_send_printf | ( | const char * | format, |
... ) |
Definition at line 9505 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), getpkt(), packet_check_result(), putpkt(), and size.
Referenced by flash_done(), and flash_erase().
void remote_target::remote_serial_quit_handler | ( | ) |
Definition at line 5844 of file remote.c.
References check_quit_flag(), remote_state::ctrlc_pending_p, get_remote_state(), remote_state::got_ctrlc_during_io, interrupt_query(), target_terminal::is_ours(), query(), quit(), remote_unpush_and_throw(), remote_state::starting_up, target_interrupt(), and remote_state::waiting_for_stop_reply.
Referenced by readchar(), remote_serial_quit_handler(), and remote_serial_write().
void remote_target::remote_serial_write | ( | const char * | str, |
int | len ) |
Definition at line 9660 of file remote.c.
References curr_quit_handler_target, get_remote_state(), remote_state::got_ctrlc_during_io, quit_handler, remote_state::remote_desc, remote_serial_quit_handler(), serial_write(), set_quit_flag(), and unpush_and_perror().
Referenced by getpkt(), putpkt_binary(), send_interrupt_sequence(), and start_remote_1().
void remote_target::remote_stop_ns | ( | ptid_t | ptid | ) |
Definition at line 7105 of file remote.c.
References all_non_exited_threads(), stop_reply::arch, remote_state::buf, commit_resumed(), stop_reply::core, get_remote_packet_size(), get_remote_state(), get_remote_thread_info(), remote_thread_info::get_resume_state(), getpkt(), info(), m_features, peek_stop_reply(), stop_reply::ptid, push_stop_reply(), putpkt(), remote_debug_printf, remote_features::remote_multi_process_p(), RESUMED_PENDING_VCONT, remote_thread_info::resumed_pending_vcont_info(), stop_reply::rs, remote_thread_info::set_resumed(), target_waitstatus::set_stopped(), stop_reply::stop_reason, remote_state::supports_vCont, vCont_action_support::t, target_pid_to_str(), TARGET_STOPPED_BY_NO_REASON, stop_reply::watch_data_address, write_ptid(), and stop_reply::ws.
Referenced by stop().
void remote_target::remote_supported_packet | ( | const struct protocol_feature * | feature, |
enum packet_support | support, | ||
const char * | argument ) |
int remote_target::remote_supports_cond_tracepoints | ( | ) |
Definition at line 13147 of file remote.c.
References m_features, PACKET_ConditionalTracepoints, PACKET_ENABLE, and remote_features::packet_support().
Referenced by download_tracepoint().
int remote_target::remote_supports_fast_tracepoints | ( | ) |
Definition at line 13161 of file remote.c.
References m_features, PACKET_ENABLE, PACKET_FastTracepoints, and remote_features::packet_support().
Referenced by download_tracepoint().
int remote_target::remote_supports_install_in_trace | ( | ) |
Definition at line 13173 of file remote.c.
References m_features, PACKET_ENABLE, PACKET_InstallInTrace, and remote_features::packet_support().
Referenced by can_download_tracepoint().
int remote_target::remote_supports_static_tracepoints | ( | ) |
Definition at line 13167 of file remote.c.
References m_features, PACKET_ENABLE, PACKET_StaticTracepoints, and remote_features::packet_support().
Referenced by download_tracepoint().
int remote_target::remote_threadlist_iterator | ( | rmt_thread_action | stepfunction, |
void * | context, | ||
int | looplimit ) |
Definition at line 3787 of file remote.c.
References copy_threadref(), get_remote_state(), MAXTHREADLISTRESULTS, remote_state::nextthread, remote_get_threadlist(), and remote_state::resultthreadlist.
Referenced by remote_get_threads_with_ql().
int remote_target::remote_unpack_thread_info_response | ( | const char * | pkt, |
threadref * | expectedref, | ||
gdb_ext_thread_info * | info ) |
Definition at line 3561 of file remote.c.
References remote_state::buf, copy_threadref(), get_remote_state(), info(), target_info::shortname, stub_unpack_int(), TAG_DISPLAY, TAG_EXISTS, TAG_MOREDISPLAY, TAG_THREADID, TAG_THREADNAME, threadmatch(), unpack_byte(), unpack_int(), unpack_string(), and unpack_threadid().
Referenced by remote_get_threadinfo().
void remote_target::remote_vcont_probe | ( | ) |
Definition at line 6413 of file remote.c.
References remote_state::buf, get_remote_state(), getpkt(), m_features, remote_features::packet_ok(), PACKET_vCont, putpkt(), vCont_action_support::r, vCont_action_support::s, vCont_action_support::S, remote_state::supports_vCont, and vCont_action_support::t.
Referenced by start_remote_1().
int remote_target::remote_vkill | ( | int | pid | ) |
Definition at line 10285 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), getpkt(), m_features, PACKET_DISABLE, PACKET_ERROR, PACKET_OK, remote_features::packet_ok(), remote_features::packet_support(), PACKET_UNKNOWN, PACKET_vKill, pid, and putpkt().
Referenced by kill(), and kill_new_fork_children().
target_xfer_status remote_target::remote_write_bytes | ( | CORE_ADDR | memaddr, |
const gdb_byte * | myaddr, | ||
ULONGEST | len, | ||
int | unit_size, | ||
ULONGEST * | xfered_len ) |
Definition at line 9301 of file remote.c.
References check_binary_download(), m_features, PACKET_DISABLE, PACKET_ENABLE, remote_features::packet_support(), PACKET_SUPPORT_UNKNOWN, PACKET_X, and remote_write_bytes_aux().
Referenced by xfer_partial().
target_xfer_status remote_target::remote_write_bytes_aux | ( | const char * | header, |
CORE_ADDR | memaddr, | ||
const gdb_byte * | myaddr, | ||
ULONGEST | len_units, | ||
int | unit_size, | ||
ULONGEST * | xfered_len_units, | ||
char | packet_format, | ||
int | use_length ) |
Definition at line 9138 of file remote.c.
References align_for_efficient_write(), remote_state::buf, get_memory_write_packet_size(), get_remote_state(), getpkt(), hexnumlen(), hexnumnstr(), hexnumstr(), putpkt_binary(), remote_address_masked(), REMOTE_ALIGN_WRITES, TARGET_XFER_E_IO, TARGET_XFER_EOF, and TARGET_XFER_OK.
Referenced by remote_flash_write(), and remote_write_bytes().
target_xfer_status remote_target::remote_write_qxfer | ( | const char * | object_name, |
const char * | annex, | ||
const gdb_byte * | writebuf, | ||
ULONGEST | offset, | ||
LONGEST | len, | ||
ULONGEST * | xfered_len, | ||
const unsigned int | which_packet ) |
Definition at line 11229 of file remote.c.
References remote_state::buf, get_memory_write_packet_size(), get_remote_state(), getpkt(), m_features, PACKET_DISABLE, PACKET_OK, remote_features::packet_ok(), remote_features::packet_support(), putpkt_binary(), TARGET_XFER_E_IO, TARGET_XFER_EOF, and TARGET_XFER_OK.
Referenced by xfer_partial().
target_xfer_status remote_target::remote_xfer_live_readonly_partial | ( | gdb_byte * | readbuf, |
ULONGEST | memaddr, | ||
ULONGEST | len, | ||
int | unit_size, | ||
ULONGEST * | xfered_len ) |
Definition at line 9392 of file remote.c.
References remote_read_bytes_1(), target_get_section_table(), target_section_by_addr(), TARGET_XFER_EOF, and target_section::the_bfd_section.
Referenced by remote_read_bytes().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 10754 of file remote.c.
References remote_state::buf, gdbarch_has_global_breakpoints(), get_remote_packet_size(), get_remote_state(), getpkt(), hexnumstr(), bp_target_info::kind, m_features, memory_remove_breakpoint(), PACKET_DISABLE, remote_features::packet_support(), PACKET_Z0, bp_target_info::placed_address, putpkt(), remote_address_masked(), set_general_process(), and target_gdbarch().
|
overridevirtual |
Reimplemented from target_ops.
|
overridevirtual |
Reimplemented from target_ops.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 11066 of file remote.c.
References remote_state::buf, gdbarch_has_global_breakpoints(), get_remote_packet_size(), get_remote_state(), getpkt(), hexnumstr(), bp_target_info::kind, m_features, PACKET_DISABLE, PACKET_ERROR, PACKET_OK, remote_features::packet_ok(), remote_features::packet_support(), PACKET_UNKNOWN, PACKET_Z1, bp_target_info::placed_address, putpkt(), remote_address_masked(), set_general_process(), and target_gdbarch().
void remote_target::remove_new_fork_children | ( | threads_listing_context * | context | ) |
Definition at line 7457 of file remote.c.
References all_non_exited_threads(), target_waitstatus::child_ptid, get_remote_state(), notif_client_stop, remote_notif_get_pending_events(), threads_listing_context::remove_thread(), remote_state::stop_reply_queue, TARGET_WAITKIND_FORKED, TARGET_WAITKIND_THREAD_EXITED, TARGET_WAITKIND_VFORKED, and thread_pending_fork_status().
Referenced by update_thread_list().
|
overridevirtual |
Reimplemented from target_ops.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 10858 of file remote.c.
References remote_state::buf, gdbarch_has_global_breakpoints(), get_remote_packet_size(), get_remote_state(), getpkt(), hexnumstr(), m_features, PACKET_DISABLE, PACKET_ERROR, PACKET_OK, remote_features::packet_ok(), remote_features::packet_support(), PACKET_UNKNOWN, PACKET_Z0, putpkt(), remote_address_masked(), set_general_process(), target_gdbarch(), and watchpoint_to_Z_packet().
|
override |
Definition at line 6711 of file remote.c.
References all_non_exited_threads(), EXEC_REVERSE, execution_direction(), get_remote_state(), get_remote_thread_info(), remote_thread_info::get_resume_state(), inferior_ptid, inferior_thread(), remote_state::last_resume_exec_dir, NOT_RESUMED, notif_client_stop, remote_state::notif_state, remote_notif_process(), remote_resume_with_hc(), remote_resume_with_vcont(), remote_thread_info::set_resumed(), remote_thread_info::set_resumed_pending_vcont(), target_is_non_stop_p(), and remote_state::waiting_for_stop_reply.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 13840 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), putpkt(), and remote_get_noisy_reply().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 11558 of file remote.c.
References remote_state::buf, gdbarch_addr_bit(), get_memory_write_packet_size(), get_remote_state(), getpkt(), m_features, PACKET_DISABLE, PACKET_OK, remote_features::packet_ok(), PACKET_qSearch_memory, remote_features::packet_support(), putpkt_binary(), read_memory(), set_general_process(), target_gdbarch(), TARGET_OBJECT_MEMORY, and target_read().
ptid_t remote_target::select_thread_for_ambiguous_stop_reply | ( | const struct target_waitstatus & | status | ) |
Definition at line 8143 of file remote.c.
References all_non_exited_threads(), get_remote_thread_info(), remote_thread_info::get_resume_state(), pid_to_str(), thread_info::ptid, remote_debug_printf, REMOTE_SCOPED_DEBUG_ENTER_EXIT, RESUMED, status, TARGET_WAITKIND_EXITED, and TARGET_WAITKIND_SIGNALLED.
Referenced by process_stop_reply().
void remote_target::send_environment_packet | ( | const char * | action, |
const char * | packet, | ||
const char * | value ) |
Definition at line 10478 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), getpkt(), and putpkt().
Referenced by extended_remote_environment_support().
int remote_target::send_g_packet | ( | ) |
Definition at line 8605 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), getpkt(), packet_check_result(), PACKET_ERROR, putpkt(), and remote_debug_printf.
Referenced by fetch_registers_using_g(), and read_description().
void remote_target::send_interrupt_sequence | ( | ) |
Definition at line 4552 of file remote.c.
References get_remote_state(), interrupt_sequence_break, interrupt_sequence_break_g, interrupt_sequence_control_c, interrupt_sequence_mode, remote_state::remote_desc, remote_serial_write(), and serial_send_break().
Referenced by remote_interrupt_as(), and start_remote_1().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 13940 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), putpkt(), and remote_get_noisy_reply().
void remote_target::set_continue_thread | ( | ptid_t | ptid | ) |
Definition at line 3096 of file remote.c.
References set_thread().
Referenced by remote_resume_with_hc(), and start_remote_1().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 13906 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), m_features, PACKET_DisconnectedTracing_feature, PACKET_ENABLE, remote_features::packet_support(), putpkt(), and remote_get_noisy_reply().
void remote_target::set_general_process | ( | ) |
Definition at line 3111 of file remote.c.
References remote_state::general_thread, get_remote_state(), inferior_ptid, m_features, remote_features::remote_multi_process_p(), and set_general_thread().
Referenced by get_min_fast_tracepoint_insn_len(), insert_breakpoint(), insert_hw_breakpoint(), insert_watchpoint(), remote_check_symbols(), remote_detach_pid(), remove_breakpoint(), remove_hw_breakpoint(), remove_watchpoint(), search_memory(), and verify_memory().
void remote_target::set_general_thread | ( | ptid_t | ptid | ) |
Definition at line 3090 of file remote.c.
References set_thread().
Referenced by disable_btrace(), enable_btrace(), fetch_registers(), set_general_process(), store_registers(), and xfer_partial().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 5391 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), getpkt(), may_insert_breakpoints, may_insert_fast_tracepoints, may_insert_tracepoints, may_stop, may_write_memory, may_write_registers, and putpkt().
Referenced by start_remote_1().
void remote_target::set_remote_traceframe | ( | ) |
Definition at line 8753 of file remote.c.
References get_remote_state(), get_traceframe_number(), remote_state::remote_traceframe_number, target_trace_find(), and tfind_number.
Referenced by fetch_registers(), get_trace_state_variable_value(), store_registers(), trace_find(), and xfer_partial().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 2939 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), getpkt(), m_features, PACKET_DISABLE, PACKET_OK, remote_features::packet_ok(), PACKET_QCatchSyscalls, remote_features::packet_support(), pid, putpkt(), and remote_debug_printf.
void remote_target::set_thread | ( | ptid_t | ptid, |
int | gen ) |
Definition at line 3061 of file remote.c.
References any_thread_ptid(), remote_state::buf, remote_state::continue_thread, remote_state::general_thread, get_remote_packet_size(), get_remote_state(), getpkt(), magic_null_ptid(), putpkt(), and write_ptid().
Referenced by set_continue_thread(), and set_general_thread().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 14003 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), hexnumstr(), m_features, PACKET_DISABLE, PACKET_OK, remote_features::packet_ok(), PACKET_QTBuffer_size, remote_features::packet_support(), putpkt(), and remote_get_noisy_reply().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 14033 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), putpkt(), and remote_get_noisy_reply().
void remote_target::skip_frame | ( | ) |
Definition at line 9876 of file remote.c.
References readchar(), remote_timeout, and SERIAL_TIMEOUT.
Referenced by putpkt_binary().
void remote_target::start_remote | ( | int | from_tty, |
int | extended_p ) |
Definition at line 5240 of file remote.c.
References breakpoints_should_be_inserted_now(), insert_breakpoints(), and start_remote_1().
Referenced by open_1(), and start_remote_1().
|
private |
Definition at line 4914 of file remote.c.
References add_current_inferior_and_thread(), all_inferiors(), all_non_exited_threads(), any_thread_of_inferior(), auto_solib_add, remote_state::buf, current_trace_status(), process_stratum_target::find_thread(), gdb_printf(), gdbarch_has_global_solist(), gdbarch_target_desc(), get_current_thread(), get_offsets(), get_remote_state(), get_remote_thread_info(), get_trace_status(), getpkt(), process_stratum_target::has_execution(), notif_client::id, init_wait_for_inferior(), interrupt_on_connect, m_features, remote_features::m_protocol_packets, merge_uploaded_trace_state_variables(), merge_uploaded_tracepoints(), remote_state::noack_mode, notif_client_stop, remote_state::notif_state, PACKET_DISABLE, PACKET_ENABLE, PACKET_OK, remote_features::packet_ok(), PACKET_QAllow, PACKET_QNonStop, PACKET_QStartNoAckMode, remote_features::packet_support(), PACKET_vFile_setfs, pass_signals(), remote_notif_state::pending_event, process_initial_stop_replies(), push_stop_reply(), putpkt(), QUIT, remote_btrace_maybe_reopen(), remote_check_symbols(), remote_debug_printf, remote_notif_get_pending_events(), remote_notif_parse(), remote_query_supported(), remote_read_description_p(), REMOTE_SCOPED_DEBUG_ENTER_EXIT, remote_serial_write(), remote_vcont_probe(), send_interrupt_sequence(), set_continue_thread(), set_permissions(), remote_thread_info::set_resumed(), solib_add(), start_remote(), packet_config::support, switch_to_thread(), target_async(), target_can_async_p(), target_clear_description(), target_find_description(), target_gdbarch(), target_is_non_stop_p(), target_update_thread_list(), thread_count(), update_address_spaces(), update_signals_program_target(), update_thread_list(), upload_trace_state_variables(), and upload_tracepoints().
Referenced by start_remote().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 4277 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), getpkt(), hexnumstr(), parse_static_tracepoint_marker_definition(), and putpkt().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 4303 of file remote.c.
References remote_state::buf, get_remote_state(), getpkt(), parse_static_tracepoint_marker_definition(), putpkt(), and static_tracepoint_marker::str_id.
|
override |
Definition at line 7271 of file remote.c.
References remote_interrupt_as(), REMOTE_SCOPED_DEBUG_ENTER_EXIT, remote_stop_ns(), and target_is_non_stop_p().
int remote_target::stop_reply_queue_length | ( | ) |
Definition at line 7380 of file remote.c.
References get_remote_state(), and remote_state::stop_reply_queue.
Referenced by process_initial_stop_replies(), and remote_interrupt_as().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 10963 of file remote.c.
References get_remote_thread_info(), inferior_thread(), thread_info::priv, and TARGET_STOPPED_BY_HW_BREAKPOINT.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 10942 of file remote.c.
References get_remote_thread_info(), inferior_thread(), thread_info::priv, and TARGET_STOPPED_BY_SW_BREAKPOINT.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 10982 of file remote.c.
References get_remote_thread_info(), inferior_thread(), thread_info::priv, and TARGET_STOPPED_BY_WATCHPOINT.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 10992 of file remote.c.
References get_remote_thread_info(), inferior_thread(), thread_info::priv, TARGET_STOPPED_BY_WATCHPOINT, and remote_thread_info::watch_data_address.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 15216 of file remote.c.
References remote_state::buf, create_store_memtags_request(), get_remote_state(), getpkt(), m_features, packet_check_result(), PACKET_OK, putpkt(), and remote_features::remote_memory_tagging_p().
int remote_target::store_register_using_P | ( | const struct regcache * | regcache, |
packet_reg * | reg ) |
Definition at line 8850 of file remote.c.
References reg_buffer::arch(), remote_state::buf, gdbarch_register_name(), get_remote_packet_size(), get_remote_state(), getpkt(), m_features, PACKET_DISABLE, PACKET_ERROR, PACKET_OK, remote_features::packet_ok(), PACKET_P, remote_features::packet_support(), PACKET_UNKNOWN, packet_reg::pnum, putpkt(), reg_buffer::raw_collect(), register_size(), and packet_reg::regnum.
Referenced by store_registers().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 8930 of file remote.c.
References reg_buffer::arch(), gdbarch_num_regs(), remote_state::get_remote_arch_state(), get_remote_state(), packet_reg::in_g_packet, packet_reg_from_regnum(), regcache::ptid(), regnum, remote_arch_state::regs, set_general_thread(), set_remote_traceframe(), store_register_using_P(), and store_registers_using_G().
void remote_target::store_registers_using_G | ( | const struct regcache * | regcache | ) |
Definition at line 8891 of file remote.c.
References reg_buffer::arch(), remote_state::buf, gdbarch_num_regs(), remote_state::get_remote_arch_state(), get_remote_state(), getpkt(), packet_reg::in_g_packet, packet_reg::offset, packet_check_result(), PACKET_ERROR, putpkt(), reg_buffer::raw_collect(), packet_reg::regnum, remote_arch_state::regs, and remote_arch_state::sizeof_g_packet.
Referenced by store_registers().
|
overridevirtual |
Reimplemented from process_stratum_target.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 13179 of file remote.c.
References m_features, PACKET_ENABLE, PACKET_EnableDisableTracepoints_feature, and remote_features::packet_support().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 13154 of file remote.c.
References m_features, PACKET_ConditionalBreakpoints, PACKET_ENABLE, and remote_features::packet_support().
Referenced by insert_breakpoint(), and insert_hw_breakpoint().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 15132 of file remote.c.
References m_features, and remote_features::remote_memory_tagging_p().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 13141 of file remote.c.
References m_features, and remote_features::remote_multi_process_p().
|
overridevirtual |
Reimplemented from process_stratum_target.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 10976 of file remote.c.
References m_features, PACKET_ENABLE, PACKET_hwbreak_feature, and remote_features::packet_support().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 10955 of file remote.c.
References m_features, PACKET_ENABLE, remote_features::packet_support(), and PACKET_swbreak_feature.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 13186 of file remote.c.
References m_features, PACKET_ENABLE, remote_features::packet_support(), and PACKET_tracenz_feature.
|
overridevirtual |
Reimplemented from target_ops.
|
overridevirtual |
Reimplemented from target_ops.
|
overridevirtual |
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 3149 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), getpkt(), putpkt(), remote_thread_always_alive(), and write_ptid().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 14909 of file remote.c.
References remote_state::buf, enable, get_remote_packet_size(), get_remote_state(), getpkt(), m_features, PACKET_DISABLE, PACKET_ERROR, PACKET_OK, remote_features::packet_ok(), PACKET_QThreadEvents, remote_features::packet_support(), PACKET_UNKNOWN, putpkt(), and size.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 14798 of file remote.c.
References all_non_exited_threads(), get_remote_thread_info(), and remote_thread_info::thread_handle.
|
override |
Definition at line 14821 of file remote.c.
References get_remote_thread_info(), and remote_thread_info::thread_handle.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 3174 of file remote.c.
References get_remote_thread_info(), info(), name, and remote_thread_info::name.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 13734 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), putpkt(), remote_get_noisy_reply(), remote_state::remote_traceframe_number, set_remote_traceframe(), tfind_number, tfind_outside, tfind_pc, tfind_range, and tfind_tp.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 13198 of file remote.c.
References remote_state::buf, get_remote_state(), putpkt(), and remote_get_noisy_reply().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 13561 of file remote.c.
References remote_state::buf, current_program_space, program_space::exec_bfd(), get_remote_state(), getpkt(), m_features, PACKET_ENABLE, PACKET_qXfer_traceframe_info, remote_features::packet_support(), putpkt(), and size.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 13613 of file remote.c.
References remote_state::buf, get_remote_state(), putpkt(), and remote_get_noisy_reply().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 13721 of file remote.c.
References remote_state::buf, get_remote_state(), putpkt(), and remote_get_noisy_reply().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 13956 of file remote.c.
References current_inferior(), parse_traceframe_info(), TARGET_OBJECT_TRACEFRAME_INFO, and target_read_stralloc().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 4103 of file remote.c.
References all_threads_safe(), threads_listing_context::contains_thread(), thread_item::core, delete_thread(), thread_item::extra, process_stratum_target::find_thread(), get_remote_thread_info(), has_single_non_exited_thread(), inferior_ptid, info(), threads_listing_context::items, thread_item::name, prune_threads(), thread_item::ptid, remote_get_threads_with_ql(), remote_get_threads_with_qthreadinfo(), remote_get_threads_with_qxfer(), remote_notice_new_inferior(), remote_thread_always_alive(), remove_new_fork_children(), target_is_non_stop_p(), and thread_item::thread_handle.
Referenced by extended_remote_target::attach(), and start_remote_1().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 15053 of file remote.c.
References remote_state::buf, get_remote_state(), getpkt(), parse_tsv_definition(), and putpkt().
Referenced by start_remote_1().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 15032 of file remote.c.
References remote_state::buf, get_remote_state(), getpkt(), parse_tracepoint_definition(), and putpkt().
Referenced by start_remote_1().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 14079 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), getpkt(), m_features, PACKET_DISABLE, PACKET_QAgent, remote_features::packet_support(), putpkt(), and use_agent().
Referenced by use_agent().
bool remote_target::vcont_r_supported | ( | ) |
Definition at line 15089 of file remote.c.
References get_remote_state(), m_features, PACKET_ENABLE, remote_features::packet_support(), and PACKET_vCont.
Referenced by set_range_stepping().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 11107 of file remote.c.
References remote_state::buf, get_remote_packet_size(), get_remote_state(), getpkt(), m_features, PACKET_DISABLE, PACKET_ERROR, PACKET_OK, remote_features::packet_ok(), PACKET_qCRC, remote_features::packet_support(), putpkt(), set_general_process(), simple_verify_memory(), size, and target_has_execution().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 8505 of file remote.c.
References async_event_handler_marked(), clear_async_event_handler(), get_remote_state(), notif_client::id, mark_async_event_handler(), notif_client_stop, remote_state::notif_state, remote_notif_state::pending_event, remote_state::remote_async_inferior_event_token, REMOTE_SCOPED_DEBUG_ENTER_EXIT, status, remote_state::stop_reply_queue, target_is_async_p(), target_is_non_stop_p(), wait_as(), and wait_ns().
ptid_t remote_target::wait_as | ( | ptid_t | ptid, |
target_waitstatus * | status, | ||
target_wait_flags | options ) |
Definition at line 8353 of file remote.c.
References remote_state::buf, remote_state::ctrlc_pending_p, first_remote_resumed_thread(), gdb_printf(), get_remote_state(), getpkt(), target_terminal::inferior(), remote_state::last_sent_signal, remote_state::last_sent_step, magic_null_ptid(), notif_client_stop, target_terminal::ours_for_output(), process_stop_reply(), putpkt(), queued_stop_reply(), record_currthread(), remote_console_output(), remote_fileio_request(), remote_notif_parse(), status, TARGET_WAITKIND_EXITED, TARGET_WAITKIND_IGNORE, TARGET_WAITKIND_NO_RESUMED, TARGET_WAITKIND_SIGNALLED, TARGET_WNOHANG, remote_state::wait_forever_enabled_p, and remote_state::waiting_for_stop_reply.
Referenced by wait().
ptid_t remote_target::wait_ns | ( | ptid_t | ptid, |
struct target_waitstatus * | status, | ||
target_wait_flags | options ) |
Definition at line 8284 of file remote.c.
References remote_state::buf, get_remote_state(), getpkt(), notif_client::id, notif_client_stop, remote_state::notif_state, remote_notif_state::pending_event, process_stop_reply(), queued_stop_reply(), remote_console_output(), remote_notif_get_pending_events(), status, and TARGET_WNOHANG.
Referenced by wait().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 10848 of file remote.c.
References remote_address_masked().
char * remote_target::write_ptid | ( | char * | buf, |
const char * | endbuf, | ||
ptid_t | ptid ) |
Definition at line 3265 of file remote.c.
References m_features, pid, and remote_features::remote_multi_process_p().
Referenced by append_resumption(), extra_thread_info(), get_thread_local_address(), get_tib_address(), remote_stop_ns(), set_thread(), and thread_alive().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 11357 of file remote.c.
References remote_state::buf, gdbarch_addressable_memory_unit_size(), get_remote_packet_size(), get_remote_state(), getpkt(), inferior_ptid, PACKET_qXfer_auxv, PACKET_qXfer_btrace, PACKET_qXfer_btrace_conf, PACKET_qXfer_exec_file, PACKET_qXfer_fdpic, PACKET_qXfer_features, PACKET_qXfer_libraries, PACKET_qXfer_libraries_svr4, PACKET_qXfer_memory_map, PACKET_qXfer_osdata, PACKET_qXfer_siginfo_read, PACKET_qXfer_siginfo_write, PACKET_qXfer_statictrace_read, PACKET_qXfer_threads, PACKET_qXfer_traceframe_info, PACKET_qXfer_uib, putpkt(), remote_state::remote_desc, remote_flash_write(), remote_read_bytes(), remote_read_qxfer(), remote_write_bytes(), remote_write_qxfer(), set_general_thread(), set_remote_traceframe(), target_gdbarch(), target_has_execution(), TARGET_OBJECT_AUXV, TARGET_OBJECT_AVAILABLE_FEATURES, TARGET_OBJECT_AVR, TARGET_OBJECT_BTRACE, TARGET_OBJECT_BTRACE_CONF, TARGET_OBJECT_EXEC_FILE, TARGET_OBJECT_FDPIC, TARGET_OBJECT_FLASH, TARGET_OBJECT_LIBRARIES, TARGET_OBJECT_LIBRARIES_SVR4, TARGET_OBJECT_MEMORY, TARGET_OBJECT_MEMORY_MAP, TARGET_OBJECT_OPENVMS_UIB, TARGET_OBJECT_OSDATA, TARGET_OBJECT_SIGNAL_INFO, TARGET_OBJECT_STATIC_TRACE_DATA, TARGET_OBJECT_THREADS, TARGET_OBJECT_TRACEFRAME_INFO, TARGET_XFER_E_IO, TARGET_XFER_EOF, and TARGET_XFER_OK.
remote_features remote_target::m_features |
Definition at line 1249 of file remote.c.
Referenced by add_current_inferior_and_thread(), append_resumption(), extended_remote_target::attach(), augmented_libraries_svr4_read(), btrace_sync_conf(), can_do_single_step(), can_execute_reverse(), can_run_breakpoint_commands(), can_use_agent(), check_binary_download(), extended_remote_target::create_inferior(), disable_btrace(), download_tracepoint(), enable_btrace(), extended_remote_environment_support(), extended_remote_run(), extended_remote_set_inferior_cwd(), extra_thread_info(), fetch_memtags(), fetch_register_using_p(), filesystem_is_local(), follow_fork(), get_memory_read_packet_size(), get_memory_write_packet_size(), get_thread_local_address(), get_tib_address(), get_trace_status(), insert_breakpoint(), insert_exec_catchpoint(), insert_fork_catchpoint(), insert_hw_breakpoint(), insert_vfork_catchpoint(), insert_watchpoint(), kill(), open_1(), pass_signals(), pid_to_exec_file(), pid_to_str(), prepare_to_store(), program_signals(), read_btrace(), remote_btrace_maybe_reopen(), remote_check_symbols(), remote_detach_pid(), remote_get_threads_with_qxfer(), remote_hostio_send_command(), remote_hostio_set_filesystem(), remote_interrupt_ns(), remote_notice_new_inferior(), remote_parse_stop_reply(), remote_query_attached(), remote_query_supported(), remote_read_qxfer(), remote_resume_with_hc(), remote_resume_with_vcont(), remote_stop_ns(), remote_supported_packet(), remote_supports_cond_tracepoints(), remote_supports_fast_tracepoints(), remote_supports_install_in_trace(), remote_supports_static_tracepoints(), remote_vcont_probe(), remote_vkill(), remote_write_bytes(), remote_write_qxfer(), remove_breakpoint(), remove_hw_breakpoint(), remove_watchpoint(), search_memory(), set_disconnected_tracing(), set_general_process(), set_memory_read_packet_size(), set_memory_write_packet_size(), set_remote_protocol_packet_cmd(), set_remote_protocol_Z_packet_cmd(), set_syscall_catchpoint(), set_trace_buffer_size(), show_memory_read_packet_size(), show_memory_write_packet_size(), show_packet_config_cmd(), start_remote_1(), store_memtags(), store_register_using_P(), extended_remote_target::supports_disable_randomization(), supports_enable_disable_tracepoint(), supports_evaluation_of_breakpoint_conditions(), supports_memory_tagging(), supports_multi_process(), supports_stopped_by_hw_breakpoint(), supports_stopped_by_sw_breakpoint(), supports_string_tracing(), thread_events(), trace_set_readonly_regions(), use_agent(), vcont_r_supported(), verify_memory(), and write_ptid().
|
private |
Definition at line 1257 of file remote.c.
Referenced by get_remote_state().