GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
target_ops Struct Referenceabstract

#include "target.h"

Inheritance diagram for target_ops:
aix_thread_target amd_dbgapi_target bsd_uthread_target debug_target dummy_target exec_target process_stratum_target ravenscar_thread_target record_btrace_target record_full_base_target sol_thread_target target_bfd thread_db_target

Public Member Functions

virtual strata stratum () const =0
 
target_opsbeneath () const
 
virtual ~target_ops ()
 
virtual const target_infoinfo () const =0
 
const char * shortname () const
 
const char * longname () const
 
virtual void close ()
 
virtual bool can_attach ()
 
virtual void attach (const char *, int)
 
virtual void post_attach (int) TARGET_DEFAULT_IGNORE()
 
virtual void detach (inferior *, int) TARGET_DEFAULT_IGNORE()
 
virtual void disconnect (const char *, int) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void resume (ptid_t, int TARGET_DEBUG_PRINTER(target_debug_print_step), enum gdb_signal) TARGET_DEFAULT_NORETURN(noprocess())
 
virtual void commit_resumed () TARGET_DEFAULT_IGNORE()
 
virtual ptid_t wait (ptid_t, struct target_waitstatus *, target_wait_flags options) TARGET_DEFAULT_FUNC(default_target_wait)
 
virtual void fetch_registers (struct regcache *, int) TARGET_DEFAULT_IGNORE()
 
virtual void store_registers (struct regcache *, int) TARGET_DEFAULT_NORETURN(noprocess())
 
virtual void prepare_to_store (struct regcache *) TARGET_DEFAULT_NORETURN(noprocess())
 
virtual void files_info () TARGET_DEFAULT_IGNORE()
 
virtual int insert_breakpoint (struct gdbarch *, struct bp_target_info *) TARGET_DEFAULT_NORETURN(noprocess())
 
virtual int remove_breakpoint (struct gdbarch *, struct bp_target_info *, enum remove_bp_reason) TARGET_DEFAULT_NORETURN(noprocess())
 
virtual bool stopped_by_sw_breakpoint () TARGET_DEFAULT_RETURN(false)
 
virtual bool supports_stopped_by_sw_breakpoint () TARGET_DEFAULT_RETURN(false)
 
virtual bool stopped_by_hw_breakpoint () TARGET_DEFAULT_RETURN(false)
 
virtual bool supports_stopped_by_hw_breakpoint () TARGET_DEFAULT_RETURN(false)
 
virtual int can_use_hw_breakpoint (enum bptype, int, int) TARGET_DEFAULT_RETURN(0)
 
virtual int ranged_break_num_registers () TARGET_DEFAULT_RETURN(-1)
 
virtual int insert_hw_breakpoint (struct gdbarch *, struct bp_target_info *) TARGET_DEFAULT_RETURN(-1)
 
virtual int remove_hw_breakpoint (struct gdbarch *, struct bp_target_info *) TARGET_DEFAULT_RETURN(-1)
 
virtual int remove_watchpoint (CORE_ADDR, int, enum target_hw_bp_type, struct expression *) TARGET_DEFAULT_RETURN(-1)
 
virtual int insert_watchpoint (CORE_ADDR, int, enum target_hw_bp_type, struct expression *) TARGET_DEFAULT_RETURN(-1)
 
virtual int insert_mask_watchpoint (CORE_ADDR, CORE_ADDR, enum target_hw_bp_type) TARGET_DEFAULT_RETURN(1)
 
virtual int remove_mask_watchpoint (CORE_ADDR, CORE_ADDR, enum target_hw_bp_type) TARGET_DEFAULT_RETURN(1)
 
virtual bool stopped_by_watchpoint () TARGET_DEFAULT_RETURN(false)
 
virtual bool have_steppable_watchpoint () TARGET_DEFAULT_RETURN(false)
 
virtual bool stopped_data_address (CORE_ADDR *) TARGET_DEFAULT_RETURN(false)
 
virtual bool watchpoint_addr_within_range (CORE_ADDR, CORE_ADDR, int) TARGET_DEFAULT_FUNC(default_watchpoint_addr_within_range)
 
virtual int region_ok_for_hw_watchpoint (CORE_ADDR, int) TARGET_DEFAULT_FUNC(default_region_ok_for_hw_watchpoint)
 
virtual bool can_accel_watchpoint_condition (CORE_ADDR, int, int, struct expression *) TARGET_DEFAULT_RETURN(false)
 
virtual int masked_watch_num_registers (CORE_ADDR, CORE_ADDR) TARGET_DEFAULT_RETURN(-1)
 
virtual int can_do_single_step () TARGET_DEFAULT_RETURN(-1)
 
virtual bool supports_terminal_ours () TARGET_DEFAULT_RETURN(false)
 
virtual void terminal_init () TARGET_DEFAULT_IGNORE()
 
virtual void terminal_inferior () TARGET_DEFAULT_IGNORE()
 
virtual void terminal_save_inferior () TARGET_DEFAULT_IGNORE()
 
virtual void terminal_ours_for_output () TARGET_DEFAULT_IGNORE()
 
virtual void terminal_ours () TARGET_DEFAULT_IGNORE()
 
virtual void terminal_info (const char *, int) TARGET_DEFAULT_FUNC(default_terminal_info)
 
virtual void kill () TARGET_DEFAULT_NORETURN(noprocess())
 
virtual void load (const char *, int) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual bool can_create_inferior ()
 
virtual void create_inferior (const char *, const std::string &, char **, int)
 
virtual int insert_fork_catchpoint (int) TARGET_DEFAULT_RETURN(1)
 
virtual int remove_fork_catchpoint (int) TARGET_DEFAULT_RETURN(1)
 
virtual int insert_vfork_catchpoint (int) TARGET_DEFAULT_RETURN(1)
 
virtual int remove_vfork_catchpoint (int) TARGET_DEFAULT_RETURN(1)
 
virtual void follow_fork (inferior *, ptid_t, target_waitkind, bool, bool) TARGET_DEFAULT_FUNC(default_follow_fork)
 
virtual int insert_exec_catchpoint (int) TARGET_DEFAULT_RETURN(1)
 
virtual int remove_exec_catchpoint (int) TARGET_DEFAULT_RETURN(1)
 
virtual void follow_exec (inferior *, ptid_t, const char *) TARGET_DEFAULT_IGNORE()
 
virtual int set_syscall_catchpoint (int, bool, int, gdb::array_view< const int >) TARGET_DEFAULT_RETURN(1)
 
virtual void mourn_inferior () TARGET_DEFAULT_FUNC(default_mourn_inferior)
 
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 bool thread_alive (ptid_t ptid) TARGET_DEFAULT_RETURN(false)
 
virtual void update_thread_list () TARGET_DEFAULT_IGNORE()
 
virtual std::string pid_to_str (ptid_t) TARGET_DEFAULT_FUNC(default_pid_to_str)
 
virtual const char * extra_thread_info (thread_info *) TARGET_DEFAULT_RETURN(NULL)
 
virtual const char * thread_name (thread_info *) TARGET_DEFAULT_RETURN(NULL)
 
virtual thread_infothread_handle_to_thread_info (const gdb_byte *, int, inferior *inf) TARGET_DEFAULT_RETURN(NULL)
 
virtual void interrupt () TARGET_DEFAULT_IGNORE()
 
virtual void pass_ctrlc () TARGET_DEFAULT_FUNC(default_target_pass_ctrlc)
 
virtual void rcmd (const char *command, struct ui_file *output) TARGET_DEFAULT_FUNC(default_rcmd)
 
virtual const char * pid_to_exec_file (int pid) TARGET_DEFAULT_RETURN(NULL)
 
virtual void log_command (const char *) TARGET_DEFAULT_IGNORE()
 
virtual const target_section_tableget_section_table () TARGET_DEFAULT_RETURN(default_get_section_table())
 
virtual bool has_all_memory ()
 
virtual bool has_memory ()
 
virtual bool has_stack ()
 
virtual bool has_registers ()
 
virtual bool has_execution (inferior *inf)
 
virtual thread_control_capabilities get_thread_control_capabilities () TARGET_DEFAULT_RETURN(tc_none)
 
virtual bool attach_no_wait () TARGET_DEFAULT_RETURN(0)
 
virtual bool can_async_p () TARGET_DEFAULT_RETURN(false)
 
virtual bool is_async_p () TARGET_DEFAULT_RETURN(false)
 
virtual void async (bool) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual int async_wait_fd () TARGET_DEFAULT_NORETURN(noprocess())
 
virtual bool has_pending_events () TARGET_DEFAULT_RETURN(false)
 
virtual void thread_events (int) TARGET_DEFAULT_IGNORE()
 
virtual bool supports_non_stop () TARGET_DEFAULT_RETURN(false)
 
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 CORE_ADDR get_thread_local_address (ptid_t ptid, CORE_ADDR load_module_addr, CORE_ADDR offset) TARGET_DEFAULT_NORETURN(generic_tls_error())
 
virtual 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) TARGET_DEFAULT_RETURN(TARGET_XFER_E_IO)
 
virtual ULONGEST get_memory_xfer_limit () TARGET_DEFAULT_RETURN(ULONGEST_MAX)
 
virtual std::vector< mem_region > virtual memory_map() TARGET_DEFAULT_RETURN(std void flash_erase (ULONGEST address, LONGEST length) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void flash_done () TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual const struct target_descread_description () TARGET_DEFAULT_RETURN(NULL)
 
virtual ptid_t get_ada_task_ptid (long lwp, ULONGEST thread) TARGET_DEFAULT_FUNC(default_get_ada_task_ptid)
 
virtual int auxv_parse (const gdb_byte **readptr, const gdb_byte *endptr, CORE_ADDR *typep, CORE_ADDR *valp) TARGET_DEFAULT_FUNC(default_auxv_parse)
 
virtual int search_memory (CORE_ADDR start_addr, ULONGEST search_space_len, const gdb_byte *pattern, ULONGEST pattern_len, CORE_ADDR *found_addrp) TARGET_DEFAULT_FUNC(default_search_memory)
 
virtual bool can_execute_reverse () TARGET_DEFAULT_RETURN(false)
 
virtual enum exec_direction_kind execution_direction () TARGET_DEFAULT_FUNC(default_execution_direction)
 
virtual bool supports_multi_process () TARGET_DEFAULT_RETURN(false)
 
virtual bool supports_enable_disable_tracepoint () TARGET_DEFAULT_RETURN(false)
 
virtual bool supports_disable_randomization () TARGET_DEFAULT_FUNC(find_default_supports_disable_randomization)
 
virtual bool supports_string_tracing () TARGET_DEFAULT_RETURN(false)
 
virtual bool supports_evaluation_of_breakpoint_conditions () TARGET_DEFAULT_RETURN(false)
 
virtual bool supports_dumpcore () TARGET_DEFAULT_RETURN(false)
 
virtual void dumpcore (const char *filename) TARGET_DEFAULT_IGNORE()
 
virtual bool can_run_breakpoint_commands () TARGET_DEFAULT_RETURN(false)
 
virtual struct gdbarchthread_architecture (ptid_t) TARGET_DEFAULT_RETURN(NULL)
 
virtual struct address_spacethread_address_space (ptid_t) TARGET_DEFAULT_RETURN(NULL)
 
virtual bool filesystem_is_local () TARGET_DEFAULT_RETURN(true)
 
virtual int fileio_open (struct inferior *inf, const char *filename, int flags, int mode, int warn_if_slow, fileio_error *target_errno)
 
virtual int fileio_pwrite (int fd, const gdb_byte *write_buf, int len, ULONGEST offset, fileio_error *target_errno)
 
virtual int fileio_pread (int fd, gdb_byte *read_buf, int len, ULONGEST offset, fileio_error *target_errno)
 
virtual int fileio_fstat (int fd, struct stat *sb, fileio_error *target_errno)
 
virtual int fileio_close (int fd, fileio_error *target_errno)
 
virtual int fileio_unlink (struct inferior *inf, const char *filename, fileio_error *target_errno)
 
virtual gdb::optional< std::string > fileio_readlink (struct inferior *inf, const char *filename, fileio_error *target_errno)
 
virtual bool info_proc (const char *, enum info_proc_what)
 
virtual void trace_init () TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void download_tracepoint (struct bp_location *location) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual bool can_download_tracepoint () TARGET_DEFAULT_RETURN(false)
 
virtual void download_trace_state_variable (const trace_state_variable &tsv) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void enable_tracepoint (struct bp_location *location) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void disable_tracepoint (struct bp_location *location) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void trace_set_readonly_regions () TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void trace_start () TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual int get_trace_status (struct trace_status *ts) TARGET_DEFAULT_RETURN(-1)
 
virtual void get_tracepoint_status (tracepoint *tp, struct uploaded_tp *utp) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void trace_stop () TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual int trace_find (enum trace_find_type type, int num, CORE_ADDR addr1, CORE_ADDR addr2, int *tpp) TARGET_DEFAULT_RETURN(-1)
 
virtual bool get_trace_state_variable_value (int tsv, LONGEST *val) TARGET_DEFAULT_RETURN(false)
 
virtual int save_trace_data (const char *filename) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual int upload_tracepoints (struct uploaded_tp **utpp) TARGET_DEFAULT_RETURN(0)
 
virtual int upload_trace_state_variables (struct uploaded_tsv **utsvp) TARGET_DEFAULT_RETURN(0)
 
virtual LONGEST get_raw_trace_data (gdb_byte *buf, ULONGEST offset, LONGEST len) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual int get_min_fast_tracepoint_insn_len () TARGET_DEFAULT_RETURN(-1)
 
virtual void set_disconnected_tracing (int val) TARGET_DEFAULT_IGNORE()
 
virtual void set_circular_trace_buffer (int val) TARGET_DEFAULT_IGNORE()
 
virtual void set_trace_buffer_size (LONGEST val) TARGET_DEFAULT_IGNORE()
 
virtual bool set_trace_notes (const char *user, const char *notes, const char *stopnotes) TARGET_DEFAULT_RETURN(false)
 
virtual int core_of_thread (ptid_t ptid) TARGET_DEFAULT_RETURN(-1)
 
virtual int verify_memory (const gdb_byte *data, CORE_ADDR memaddr, ULONGEST size) TARGET_DEFAULT_FUNC(default_verify_memory)
 
virtual bool get_tib_address (ptid_t ptid, CORE_ADDR *addr) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void set_permissions () TARGET_DEFAULT_IGNORE()
 
virtual bool static_tracepoint_marker_at (CORE_ADDR, static_tracepoint_marker *marker) TARGET_DEFAULT_RETURN(false)
 
virtual std::vector< static_tracepoint_markerstatic_tracepoint_markers_by_strid (const char *id) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual traceframe_info_up traceframe_info () TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual bool use_agent (bool use) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual bool can_use_agent () TARGET_DEFAULT_RETURN(false)
 
virtual struct btrace_target_info * enable_btrace (thread_info *tp, const struct btrace_config *conf) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void disable_btrace (struct btrace_target_info *tinfo) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void teardown_btrace (struct btrace_target_info *tinfo) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual enum btrace_error read_btrace (struct btrace_data *data, struct btrace_target_info *btinfo, enum btrace_read_type type) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual const struct btrace_config * btrace_conf (const struct btrace_target_info *) TARGET_DEFAULT_RETURN(NULL)
 
virtual enum record_method record_method (ptid_t ptid) TARGET_DEFAULT_RETURN(RECORD_METHOD_NONE)
 
virtual void stop_recording () TARGET_DEFAULT_IGNORE()
 
virtual void info_record () TARGET_DEFAULT_IGNORE()
 
virtual void save_record (const char *filename) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual bool supports_delete_record () TARGET_DEFAULT_RETURN(false)
 
virtual void delete_record () TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual bool record_is_replaying (ptid_t ptid) TARGET_DEFAULT_RETURN(false)
 
virtual bool record_will_replay (ptid_t ptid, int dir) TARGET_DEFAULT_RETURN(false)
 
virtual void record_stop_replaying () TARGET_DEFAULT_IGNORE()
 
virtual void goto_record_begin () TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void goto_record_end () TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void goto_record (ULONGEST insn) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void insn_history (int size, gdb_disassembly_flags flags) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void insn_history_from (ULONGEST from, int size, gdb_disassembly_flags flags) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void insn_history_range (ULONGEST begin, ULONGEST end, gdb_disassembly_flags flags) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void call_history (int size, record_print_flags flags) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void call_history_from (ULONGEST begin, int size, record_print_flags flags) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void call_history_range (ULONGEST begin, ULONGEST end, record_print_flags flags) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual bool augmented_libraries_svr4_read () TARGET_DEFAULT_RETURN(false)
 
virtual const struct frame_unwindget_unwinder () TARGET_DEFAULT_RETURN(NULL)
 
virtual const struct frame_unwindget_tailcall_unwinder () TARGET_DEFAULT_RETURN(NULL)
 
virtual void prepare_to_generate_core () TARGET_DEFAULT_IGNORE()
 
virtual void done_generating_core () TARGET_DEFAULT_IGNORE()
 
virtual bool supports_memory_tagging () TARGET_DEFAULT_RETURN(false)
 
virtual bool fetch_memtags (CORE_ADDR address, size_t len, gdb::byte_vector &tags, int type) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual bool store_memtags (CORE_ADDR address, size_t len, const gdb::byte_vector &tags, int type) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual x86_xsave_layout fetch_x86_xsave_layout () TARGET_DEFAULT_RETURN(x86_xsave_layout())
 

Public Attributes

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()
 

Detailed Description

Definition at line 436 of file target.h.

Constructor & Destructor Documentation

◆ ~target_ops()

virtual target_ops::~target_ops ( )
inlinevirtual

Definition at line 449 of file target.h.

Member Function Documentation

◆ always_non_stop_p()

bool target_ops::always_non_stop_p ( )
virtual

◆ async()

void target_ops::async ( bool arg0)
virtual

◆ async_wait_fd()

int target_ops::async_wait_fd ( )
virtual

◆ attach()

void target_ops::attach ( const char * ,
int  )
virtual

◆ attach_no_wait()

bool target_ops::attach_no_wait ( )
virtual

◆ augmented_libraries_svr4_read()

bool target_ops::augmented_libraries_svr4_read ( )
virtual

◆ auxv_parse()

int target_ops::auxv_parse ( const gdb_byte ** readptr,
const gdb_byte * endptr,
CORE_ADDR * typep,
CORE_ADDR * valp )
virtual

◆ beneath()

target_ops * target_ops::beneath ( ) const

Definition at line 3041 of file target.c.

References current_inferior(), and inferior::find_target_beneath().

Referenced by ravenscar_thread_target::add_active_thread(), debug_target::always_non_stop_p(), always_non_stop_p(), debug_target::async(), amd_dbgapi_target::async(), record_btrace_target::async(), record_full_base_target::async(), async(), debug_target::async_wait_fd(), async_wait_fd(), debug_target::attach_no_wait(), attach_no_wait(), debug_target::augmented_libraries_svr4_read(), augmented_libraries_svr4_read(), debug_target::auxv_parse(), auxv_parse(), btrace_conf(), debug_target::btrace_conf(), debug_target::call_history(), call_history(), debug_target::call_history_from(), call_history_from(), debug_target::call_history_range(), call_history_range(), debug_target::can_accel_watchpoint_condition(), can_accel_watchpoint_condition(), debug_target::can_async_p(), can_async_p(), debug_target::can_do_single_step(), can_do_single_step(), debug_target::can_download_tracepoint(), can_download_tracepoint(), debug_target::can_execute_reverse(), can_execute_reverse(), debug_target::can_run_breakpoint_commands(), can_run_breakpoint_commands(), debug_target::can_use_agent(), can_use_agent(), debug_target::can_use_hw_breakpoint(), can_use_hw_breakpoint(), amd_dbgapi_target::commit_resumed(), debug_target::commit_resumed(), commit_resumed(), debug_target::core_of_thread(), ravenscar_thread_target::core_of_thread(), core_of_thread(), debug_target::delete_record(), delete_record(), aix_thread_target::detach(), thread_db_target::detach(), sol_thread_target::detach(), detach(), debug_target::detach(), amd_dbgapi_target::detach(), debug_target::disable_btrace(), disable_btrace(), debug_target::disable_tracepoint(), disable_tracepoint(), record_btrace_target::disconnect(), disconnect(), debug_target::disconnect(), debug_target::done_generating_core(), done_generating_core(), debug_target::download_trace_state_variable(), download_trace_state_variable(), debug_target::download_tracepoint(), download_tracepoint(), debug_target::dumpcore(), dumpcore(), debug_target::enable_btrace(), ravenscar_thread_target::enable_btrace(), enable_btrace(), debug_target::enable_tracepoint(), enable_tracepoint(), debug_target::execution_direction(), execution_direction(), extra_thread_info(), debug_target::extra_thread_info(), amd_dbgapi_target::extra_thread_info(), fetch_memtags(), debug_target::fetch_memtags(), aix_thread_target::fetch_registers(), amd_dbgapi_target::fetch_registers(), bsd_uthread_target::fetch_registers(), ravenscar_thread_target::fetch_registers(), record_btrace_target::fetch_registers(), sol_thread_target::fetch_registers(), fetch_registers(), debug_target::fetch_registers(), debug_target::fetch_x86_xsave_layout(), fetch_x86_xsave_layout(), debug_target::files_info(), files_info(), debug_target::filesystem_is_local(), filesystem_is_local(), debug_target::find_memory_regions(), find_memory_regions(), debug_target::flash_done(), flash_done(), flash_erase(), debug_target::flash_erase(), thread_db_target::follow_exec(), follow_exec(), debug_target::follow_exec(), follow_fork(), debug_target::follow_fork(), debug_target::get_ada_task_ptid(), get_ada_task_ptid(), get_bookmark(), debug_target::get_bookmark(), debug_target::get_memory_xfer_limit(), get_memory_xfer_limit(), debug_target::get_min_fast_tracepoint_insn_len(), get_min_fast_tracepoint_insn_len(), debug_target::get_raw_trace_data(), get_raw_trace_data(), debug_target::get_section_table(), get_section_table(), debug_target::get_tailcall_unwinder(), get_tailcall_unwinder(), debug_target::get_thread_control_capabilities(), get_thread_control_capabilities(), debug_target::get_thread_local_address(), thread_db_target::get_thread_local_address(), get_thread_local_address(), debug_target::get_tib_address(), get_tib_address(), debug_target::get_trace_state_variable_value(), get_trace_state_variable_value(), debug_target::get_trace_status(), get_trace_status(), debug_target::get_tracepoint_status(), get_tracepoint_status(), debug_target::get_unwinder(), get_unwinder(), goto_bookmark(), debug_target::goto_bookmark(), debug_target::goto_record(), goto_record(), debug_target::goto_record_begin(), goto_record_begin(), debug_target::goto_record_end(), goto_record_end(), amd_dbgapi_target::has_pending_events(), debug_target::has_pending_events(), has_pending_events(), debug_target::have_steppable_watchpoint(), have_steppable_watchpoint(), debug_target::info(), debug_target::info_record(), info_record(), record_btrace_target::insert_breakpoint(), record_full_target::insert_breakpoint(), insert_breakpoint(), debug_target::insert_breakpoint(), debug_target::insert_exec_catchpoint(), insert_exec_catchpoint(), debug_target::insert_fork_catchpoint(), insert_fork_catchpoint(), insert_hw_breakpoint(), debug_target::insert_hw_breakpoint(), debug_target::insert_mask_watchpoint(), insert_mask_watchpoint(), debug_target::insert_vfork_catchpoint(), insert_vfork_catchpoint(), debug_target::insert_watchpoint(), insert_watchpoint(), debug_target::insn_history(), insn_history(), debug_target::insn_history_from(), insn_history_from(), debug_target::insn_history_range(), insn_history_range(), debug_target::interrupt(), interrupt(), debug_target::is_async_p(), is_async_p(), debug_target::kill(), kill(), load(), debug_target::load(), log_command(), debug_target::log_command(), make_corefile_notes(), debug_target::make_corefile_notes(), debug_target::masked_watch_num_registers(), masked_watch_num_registers(), debug_target::memory_map(), aix_thread_target::mourn_inferior(), amd_dbgapi_target::mourn_inferior(), bsd_uthread_target::mourn_inferior(), thread_db_target::mourn_inferior(), ravenscar_thread_target::mourn_inferior(), sol_thread_target::mourn_inferior(), debug_target::mourn_inferior(), mourn_inferior(), debug_target::pass_ctrlc(), pass_ctrlc(), debug_target::pass_signals(), pass_signals(), debug_target::pid_to_exec_file(), pid_to_exec_file(), debug_target::pid_to_str(), amd_dbgapi_target::pid_to_str(), aix_thread_target::pid_to_str(), thread_db_target::pid_to_str(), ravenscar_thread_target::pid_to_str(), pid_to_str(), debug_target::post_attach(), post_attach(), debug_target::prepare_to_generate_core(), prepare_to_generate_core(), ravenscar_thread_target::prepare_to_store(), record_btrace_target::prepare_to_store(), prepare_to_store(), debug_target::prepare_to_store(), debug_target::program_signals(), program_signals(), debug_target::ranged_break_num_registers(), ranged_break_num_registers(), raw_memory_xfer_partial(), debug_target::rcmd(), rcmd(), debug_target::read_btrace(), read_btrace(), aarch64_fbsd_nat_target::read_description(), aarch64_linux_nat_target::read_description(), amd64_fbsd_nat_target::read_description(), arm_fbsd_nat_target::read_description(), arm_linux_nat_target::read_description(), core_target::read_description(), i386_fbsd_nat_target::read_description(), ppc_linux_nat_target::read_description(), remote_target::read_description(), riscv_linux_nat_target::read_description(), s390_linux_nat_target::read_description(), debug_target::read_description(), x86_linux_nat_target::read_description(), read_description(), record_full_wait_1(), debug_target::record_is_replaying(), record_is_replaying(), debug_target::record_method(), record_method(), debug_target::record_stop_replaying(), record_stop_replaying(), debug_target::record_will_replay(), record_will_replay(), debug_target::region_ok_for_hw_watchpoint(), region_ok_for_hw_watchpoint(), record_btrace_target::remove_breakpoint(), record_full_target::remove_breakpoint(), remove_breakpoint(), debug_target::remove_breakpoint(), debug_target::remove_exec_catchpoint(), remove_exec_catchpoint(), debug_target::remove_fork_catchpoint(), remove_fork_catchpoint(), remove_hw_breakpoint(), debug_target::remove_hw_breakpoint(), debug_target::remove_mask_watchpoint(), remove_mask_watchpoint(), debug_target::remove_vfork_catchpoint(), remove_vfork_catchpoint(), debug_target::remove_watchpoint(), remove_watchpoint(), debug_target::resume(), resume(), aix_thread_target::resume(), amd_dbgapi_target::resume(), bsd_uthread_target::resume(), thread_db_target::resume(), ravenscar_thread_target::resume(), record_btrace_target::resume(), record_full_target::resume(), sol_thread_target::resume(), debug_target::save_record(), save_record(), debug_target::save_trace_data(), save_trace_data(), debug_target::search_memory(), search_memory(), ravenscar_thread_target::set_base_thread_from_ravenscar_task(), debug_target::set_circular_trace_buffer(), set_circular_trace_buffer(), debug_target::set_disconnected_tracing(), set_disconnected_tracing(), debug_target::set_permissions(), set_permissions(), debug_target::set_syscall_catchpoint(), set_syscall_catchpoint(), debug_target::set_trace_buffer_size(), set_trace_buffer_size(), debug_target::set_trace_notes(), set_trace_notes(), debug_target::static_tracepoint_marker_at(), static_tracepoint_marker_at(), debug_target::static_tracepoint_markers_by_strid(), static_tracepoint_markers_by_strid(), debug_target::stop(), amd_dbgapi_target::stop(), record_btrace_target::stop(), debug_target::stop_recording(), stop_recording(), amd_dbgapi_target::stopped_by_hw_breakpoint(), ravenscar_thread_target::stopped_by_hw_breakpoint(), record_btrace_target::stopped_by_hw_breakpoint(), debug_target::stopped_by_hw_breakpoint(), stopped_by_hw_breakpoint(), amd_dbgapi_target::stopped_by_sw_breakpoint(), ravenscar_thread_target::stopped_by_sw_breakpoint(), record_btrace_target::stopped_by_sw_breakpoint(), debug_target::stopped_by_sw_breakpoint(), stopped_by_sw_breakpoint(), amd_dbgapi_target::stopped_by_watchpoint(), ravenscar_thread_target::stopped_by_watchpoint(), record_full_base_target::stopped_by_watchpoint(), debug_target::stopped_by_watchpoint(), stopped_by_watchpoint(), ravenscar_thread_target::stopped_data_address(), record_full_base_target::stopped_data_address(), stopped_data_address(), debug_target::stopped_data_address(), store_memtags(), debug_target::store_memtags(), aix_thread_target::store_registers(), amd_dbgapi_target::store_registers(), bsd_uthread_target::store_registers(), ravenscar_thread_target::store_registers(), record_btrace_target::store_registers(), record_full_target::store_registers(), sol_thread_target::store_registers(), store_registers(), debug_target::store_registers(), debug_target::supports_delete_record(), supports_delete_record(), debug_target::supports_disable_randomization(), supports_disable_randomization(), debug_target::supports_dumpcore(), supports_dumpcore(), debug_target::supports_enable_disable_tracepoint(), supports_enable_disable_tracepoint(), debug_target::supports_evaluation_of_breakpoint_conditions(), supports_evaluation_of_breakpoint_conditions(), debug_target::supports_memory_tagging(), supports_memory_tagging(), debug_target::supports_multi_process(), supports_multi_process(), debug_target::supports_non_stop(), supports_non_stop(), record_btrace_target::supports_stopped_by_hw_breakpoint(), debug_target::supports_stopped_by_hw_breakpoint(), supports_stopped_by_hw_breakpoint(), record_btrace_target::supports_stopped_by_sw_breakpoint(), debug_target::supports_stopped_by_sw_breakpoint(), supports_stopped_by_sw_breakpoint(), debug_target::supports_string_tracing(), supports_string_tracing(), debug_target::supports_terminal_ours(), supports_terminal_ours(), target_fileio_open(), target_fileio_readlink(), target_fileio_unlink(), target_info_proc(), debug_target::teardown_btrace(), teardown_btrace(), debug_target::terminal_inferior(), terminal_inferior(), terminal_info(), debug_target::terminal_info(), debug_target::terminal_init(), terminal_init(), debug_target::terminal_ours(), terminal_ours(), debug_target::terminal_ours_for_output(), terminal_ours_for_output(), debug_target::terminal_save_inferior(), terminal_save_inferior(), debug_target::thread_address_space(), thread_address_space(), debug_target::thread_alive(), aix_thread_target::thread_alive(), amd_dbgapi_target::thread_alive(), bsd_uthread_target::thread_alive(), record_btrace_target::thread_alive(), sol_thread_target::thread_alive(), thread_alive(), debug_target::thread_architecture(), amd_dbgapi_target::thread_architecture(), thread_architecture(), debug_target::thread_events(), amd_dbgapi_target::thread_events(), thread_events(), thread_handle_to_thread_info(), debug_target::thread_handle_to_thread_info(), debug_target::thread_info_to_thread_handle(), thread_name(), debug_target::thread_name(), amd_dbgapi_target::thread_name(), debug_target::trace_find(), trace_find(), debug_target::trace_init(), trace_init(), debug_target::trace_set_readonly_regions(), trace_set_readonly_regions(), debug_target::trace_start(), trace_start(), debug_target::trace_stop(), trace_stop(), debug_target::traceframe_info(), traceframe_info(), amd_dbgapi_target::update_thread_list(), bsd_uthread_target::update_thread_list(), thread_db_target::update_thread_list(), record_btrace_target::update_thread_list(), sol_thread_target::update_thread_list(), debug_target::update_thread_list(), update_thread_list(), debug_target::upload_trace_state_variables(), upload_trace_state_variables(), debug_target::upload_tracepoints(), upload_tracepoints(), debug_target::use_agent(), use_agent(), debug_target::verify_memory(), verify_memory(), debug_target::wait(), wait(), aix_thread_target::wait(), amd_dbgapi_target::wait(), bsd_uthread_target::wait(), thread_db_target::wait(), ravenscar_thread_target::wait(), record_btrace_target::wait(), sol_thread_target::wait(), debug_target::watchpoint_addr_within_range(), watchpoint_addr_within_range(), core_target::xfer_memory_via_mappings(), debug_target::xfer_partial(), aix_thread_target::xfer_partial(), amd_dbgapi_target::xfer_partial(), core_target::xfer_partial(), go32_nat_target::xfer_partial(), nto_procfs_target::xfer_partial(), procfs_target::xfer_partial(), ravenscar_thread_target::xfer_partial(), record_btrace_target::xfer_partial(), record_full_target::xfer_partial(), record_full_core_target::xfer_partial(), sol_thread_target::xfer_partial(), windows_nat_target::xfer_partial(), and xfer_partial().

◆ btrace_conf()

const struct btrace_config * target_ops::btrace_conf ( const struct btrace_target_info * arg0)
virtual

◆ call_history()

void target_ops::call_history ( int size,
record_print_flags flags )
virtual

◆ call_history_from()

void target_ops::call_history_from ( ULONGEST begin,
int size,
record_print_flags flags )
virtual

◆ call_history_range()

void target_ops::call_history_range ( ULONGEST begin,
ULONGEST end,
record_print_flags flags )
virtual

◆ can_accel_watchpoint_condition()

bool target_ops::can_accel_watchpoint_condition ( CORE_ADDR arg0,
int arg1,
int arg2,
struct expression * arg3 )
virtual

◆ can_async_p()

bool target_ops::can_async_p ( )
virtual

◆ can_attach()

bool target_ops::can_attach ( )
virtual

Reimplemented in inf_child_target, and extended_remote_target.

Definition at line 3052 of file target.c.

◆ can_create_inferior()

bool target_ops::can_create_inferior ( )
virtual

Reimplemented in inf_child_target, gdbsim_target, and extended_remote_target.

Definition at line 3064 of file target.c.

◆ can_do_single_step()

int target_ops::can_do_single_step ( )
virtual

◆ can_download_tracepoint()

bool target_ops::can_download_tracepoint ( )
virtual

◆ can_execute_reverse()

bool target_ops::can_execute_reverse ( )
virtual

◆ can_run()

bool target_ops::can_run ( )
virtual

Reimplemented in inf_child_target.

Definition at line 3077 of file target.c.

◆ can_run_breakpoint_commands()

bool target_ops::can_run_breakpoint_commands ( )
virtual

◆ can_use_agent()

bool target_ops::can_use_agent ( )
virtual

◆ can_use_hw_breakpoint()

int target_ops::can_use_hw_breakpoint ( enum bptype arg0,
int arg1,
int arg2 )
virtual

◆ close()

void target_ops::close ( )
virtual

◆ commit_resumed()

void target_ops::commit_resumed ( )
virtual

◆ core_of_thread()

int target_ops::core_of_thread ( ptid_t ptid)
virtual

◆ create_inferior()

void target_ops::create_inferior ( const char * ,
const std::string & ,
char ** ,
int  )
virtual

◆ delete_record()

void target_ops::delete_record ( )
virtual

◆ detach()

void target_ops::detach ( inferior * arg0,
int arg1 )
virtual

◆ disable_btrace()

void target_ops::disable_btrace ( struct btrace_target_info * tinfo)
virtual

◆ disable_tracepoint()

void target_ops::disable_tracepoint ( struct bp_location * location)
virtual

◆ disconnect()

void target_ops::disconnect ( const char * arg0,
int arg1 )
virtual

◆ done_generating_core()

void target_ops::done_generating_core ( )
virtual

◆ download_trace_state_variable()

void target_ops::download_trace_state_variable ( const trace_state_variable & tsv)
virtual

◆ download_tracepoint()

void target_ops::download_tracepoint ( struct bp_location * location)
virtual

◆ dumpcore()

void target_ops::dumpcore ( const char * filename)
virtual

Reimplemented in dummy_target, debug_target, and nbsd_nat_target.

Definition at line 2894 of file target-delegates.c.

References beneath(), and dumpcore().

Referenced by debug_target::dumpcore(), dumpcore(), and target_dumpcore().

◆ enable_btrace()

struct btrace_target_info * target_ops::enable_btrace ( thread_info * tp,
const struct btrace_config * conf )
virtual

◆ enable_tracepoint()

void target_ops::enable_tracepoint ( struct bp_location * location)
virtual

◆ execution_direction()

enum exec_direction_kind target_ops::execution_direction ( )
virtual

◆ extra_thread_info()

const char * target_ops::extra_thread_info ( thread_info * arg0)
virtual

◆ fetch_memtags()

bool target_ops::fetch_memtags ( CORE_ADDR address,
size_t len,
gdb::byte_vector & tags,
int type )
virtual

◆ fetch_registers()

void target_ops::fetch_registers ( struct regcache * arg0,
int arg1 )
virtual

Reimplemented in aarch64_fbsd_nat_target, aarch64_linux_nat_target, aix_thread_target, alpha_bsd_nat_target, amd_dbgapi_target, amd64_fbsd_nat_target, amd64_linux_nat_target, arc_linux_nat_target, arm_fbsd_nat_target, arm_linux_nat_target, arm_netbsd_nat_target, bsd_kvm_target, bsd_uthread_target, core_target, go32_nat_target, hppa_linux_nat_target, hppa_nbsd_nat_target, hppa_obsd_nat_target, i386_darwin_nat_target, i386_fbsd_nat_target, i386_gnu_nat_target, i386_linux_nat_target, ia64_linux_nat_target, linux_nat_trad_target, loongarch_linux_nat_target, m32r_linux_nat_target, m68k_bsd_nat_target, m68k_linux_nat_target, mips_fbsd_nat_target, mips_linux_nat_target, mips_nbsd_nat_target, mips64_obsd_nat_target, nto_procfs_target, ppc_fbsd_nat_target, ppc_linux_nat_target, ppc_nbsd_nat_target, ppc_obsd_nat_target, procfs_target, ravenscar_thread_target, record_btrace_target, gdbsim_target, remote_target, riscv_fbsd_nat_target, rs6000_nat_target, s390_linux_nat_target, sh_nbsd_nat_target, sol_thread_target, tilegx_linux_nat_target, tfile_target, vax_bsd_nat_target, windows_nat_target, xtensa_linux_nat_target, inf_child_target, dummy_target, debug_target, record_full_core_target, or1k_linux_nat_target, riscv_linux_nat_target, sparc_linux_nat_target, and sparc64_linux_nat_target.

Definition at line 522 of file target-delegates.c.

References beneath(), and fetch_registers().

Referenced by aix_thread_target::fetch_registers(), amd_dbgapi_target::fetch_registers(), bsd_uthread_target::fetch_registers(), ravenscar_thread_target::fetch_registers(), record_btrace_target::fetch_registers(), sol_thread_target::fetch_registers(), fetch_registers(), debug_target::fetch_registers(), and target_fetch_registers().

◆ fetch_x86_xsave_layout()

x86_xsave_layout target_ops::fetch_x86_xsave_layout ( )
virtual

◆ fileio_close()

int target_ops::fileio_close ( int fd,
fileio_error * target_errno )
virtual

Reimplemented in inf_child_target, and remote_target.

Definition at line 3235 of file target.c.

Referenced by target_fileio_close().

◆ fileio_fstat()

int target_ops::fileio_fstat ( int fd,
struct stat * sb,
fileio_error * target_errno )
virtual

Reimplemented in inf_child_target, and remote_target.

Definition at line 3228 of file target.c.

Referenced by target_fileio_fstat().

◆ fileio_open()

int target_ops::fileio_open ( struct inferior * inf,
const char * filename,
int flags,
int mode,
int warn_if_slow,
fileio_error * target_errno )
virtual

Reimplemented in inf_child_target, linux_nat_target, and remote_target.

Definition at line 3203 of file target.c.

◆ fileio_pread()

int target_ops::fileio_pread ( int fd,
gdb_byte * read_buf,
int len,
ULONGEST offset,
fileio_error * target_errno )
virtual

Reimplemented in inf_child_target, and remote_target.

Definition at line 3220 of file target.c.

Referenced by target_fileio_pread().

◆ fileio_pwrite()

int target_ops::fileio_pwrite ( int fd,
const gdb_byte * write_buf,
int len,
ULONGEST offset,
fileio_error * target_errno )
virtual

Reimplemented in inf_child_target, and remote_target.

Definition at line 3212 of file target.c.

Referenced by target_fileio_pwrite().

◆ fileio_readlink()

gdb::optional< std::string > target_ops::fileio_readlink ( struct inferior * inf,
const char * filename,
fileio_error * target_errno )
virtual

Reimplemented in inf_child_target, linux_nat_target, and remote_target.

Definition at line 3250 of file target.c.

◆ fileio_unlink()

int target_ops::fileio_unlink ( struct inferior * inf,
const char * filename,
fileio_error * target_errno )
virtual

Reimplemented in inf_child_target, linux_nat_target, and remote_target.

Definition at line 3242 of file target.c.

◆ files_info()

void target_ops::files_info ( )
virtual

◆ filesystem_is_local()

bool target_ops::filesystem_is_local ( )
virtual

◆ find_memory_regions()

int target_ops::find_memory_regions ( find_memory_region_ftype func,
void * data )
virtual

◆ flash_done()

void target_ops::flash_done ( )
virtual

Reimplemented in remote_target, dummy_target, and debug_target.

Definition at line 2554 of file target-delegates.c.

References beneath(), and flash_done().

Referenced by debug_target::flash_done(), flash_done(), and target_flash_done().

◆ flash_erase()

void target_ops::flash_erase ( ULONGEST address,
LONGEST length )
virtual

Reimplemented in remote_target, dummy_target, and debug_target.

Definition at line 2530 of file target-delegates.c.

References beneath(), and flash_erase().

Referenced by flash_erase(), debug_target::flash_erase(), and target_flash_erase().

◆ follow_exec()

void target_ops::follow_exec ( inferior * arg0,
ptid_t arg1,
const char * arg2 )
virtual

◆ follow_fork()

void target_ops::follow_fork ( inferior * arg0,
ptid_t arg1,
target_waitkind arg2,
bool arg3,
bool arg4 )
virtual

◆ get_ada_task_ptid()

ptid_t target_ops::get_ada_task_ptid ( long lwp,
ULONGEST thread )
virtual

◆ get_bookmark()

gdb_byte * target_ops::get_bookmark ( const char * arg0,
int arg1 )
virtual

◆ get_memory_xfer_limit()

ULONGEST target_ops::get_memory_xfer_limit ( )
virtual

◆ get_min_fast_tracepoint_insn_len()

int target_ops::get_min_fast_tracepoint_insn_len ( )
virtual

◆ get_raw_trace_data()

LONGEST target_ops::get_raw_trace_data ( gdb_byte * buf,
ULONGEST offset,
LONGEST len )
virtual

◆ get_section_table()

const target_section_table * target_ops::get_section_table ( )
virtual

◆ get_tailcall_unwinder()

const struct frame_unwind * target_ops::get_tailcall_unwinder ( )
virtual

◆ get_thread_control_capabilities()

thread_control_capabilities target_ops::get_thread_control_capabilities ( )
virtual

◆ get_thread_local_address()

CORE_ADDR target_ops::get_thread_local_address ( ptid_t ptid,
CORE_ADDR load_module_addr,
CORE_ADDR offset )
virtual

◆ get_tib_address()

bool target_ops::get_tib_address ( ptid_t ptid,
CORE_ADDR * addr )
virtual

◆ get_trace_state_variable_value()

bool target_ops::get_trace_state_variable_value ( int tsv,
LONGEST * val )
virtual

◆ get_trace_status()

int target_ops::get_trace_status ( struct trace_status * ts)
virtual

◆ get_tracepoint_status()

void target_ops::get_tracepoint_status ( tracepoint * tp,
struct uploaded_tp * utp )
virtual

◆ get_unwinder()

const struct frame_unwind * target_ops::get_unwinder ( )
virtual

◆ goto_bookmark()

void target_ops::goto_bookmark ( const gdb_byte * arg0,
int arg1 )
virtual

◆ goto_record()

void target_ops::goto_record ( ULONGEST insn)
virtual

◆ goto_record_begin()

void target_ops::goto_record_begin ( )
virtual

◆ goto_record_end()

void target_ops::goto_record_end ( )
virtual

◆ has_all_memory()

virtual bool target_ops::has_all_memory ( )
inlinevirtual

Reimplemented in core_target, process_stratum_target, gdbsim_target, and tracefile_target.

Definition at line 705 of file target.h.

Referenced by raw_memory_xfer_partial().

◆ has_execution()

virtual bool target_ops::has_execution ( inferior * inf)
inlinevirtual

Reimplemented in core_target, process_stratum_target, record_full_core_target, and tracefile_target.

Definition at line 709 of file target.h.

◆ has_memory()

virtual bool target_ops::has_memory ( )
inlinevirtual

Reimplemented in bsd_kvm_target, core_target, exec_target, process_stratum_target, gdbsim_target, and tracefile_target.

Definition at line 706 of file target.h.

Referenced by gdbsim_xfer_memory().

◆ has_pending_events()

bool target_ops::has_pending_events ( )
virtual

◆ has_registers()

virtual bool target_ops::has_registers ( )
inlinevirtual

Reimplemented in bsd_kvm_target, core_target, process_stratum_target, and tracefile_target.

Definition at line 708 of file target.h.

◆ has_stack()

virtual bool target_ops::has_stack ( )
inlinevirtual

Reimplemented in bsd_kvm_target, core_target, process_stratum_target, and tracefile_target.

Definition at line 707 of file target.h.

◆ have_steppable_watchpoint()

bool target_ops::have_steppable_watchpoint ( )
virtual

◆ info()

virtual const target_info & target_ops::info ( ) const
pure virtual

◆ info_proc()

bool target_ops::info_proc ( const char * args,
enum info_proc_what what )
virtual

Reimplemented in core_target, fbsd_nat_target, nbsd_nat_target, and procfs_target.

Definition at line 2946 of file target.c.

Referenced by target_info_proc().

◆ info_record()

void target_ops::info_record ( )
virtual

◆ insert_breakpoint()

int target_ops::insert_breakpoint ( struct gdbarch * arg0,
struct bp_target_info * arg1 )
virtual

◆ insert_exec_catchpoint()

int target_ops::insert_exec_catchpoint ( int arg0)
virtual

◆ insert_fork_catchpoint()

int target_ops::insert_fork_catchpoint ( int arg0)
virtual

◆ insert_hw_breakpoint()

int target_ops::insert_hw_breakpoint ( struct gdbarch * arg0,
struct bp_target_info * arg1 )
virtual

◆ insert_mask_watchpoint()

int target_ops::insert_mask_watchpoint ( CORE_ADDR arg0,
CORE_ADDR arg1,
enum target_hw_bp_type arg2 )
virtual

◆ insert_vfork_catchpoint()

int target_ops::insert_vfork_catchpoint ( int arg0)
virtual

◆ insert_watchpoint()

int target_ops::insert_watchpoint ( CORE_ADDR arg0,
int arg1,
enum target_hw_bp_type arg2,
struct expression * arg3 )
virtual

◆ insn_history()

void target_ops::insn_history ( int size,
gdb_disassembly_flags flags )
virtual

◆ insn_history_from()

void target_ops::insn_history_from ( ULONGEST from,
int size,
gdb_disassembly_flags flags )
virtual

◆ insn_history_range()

void target_ops::insn_history_range ( ULONGEST begin,
ULONGEST end,
gdb_disassembly_flags flags )
virtual

◆ interrupt()

void target_ops::interrupt ( )
virtual

◆ is_async_p()

bool target_ops::is_async_p ( )
virtual

◆ kill()

void target_ops::kill ( )
virtual

◆ load()

void target_ops::load ( const char * arg0,
int arg1 )
virtual

Reimplemented in gdbsim_target, remote_target, dummy_target, and debug_target.

Definition at line 1393 of file target-delegates.c.

References beneath(), and load().

Referenced by load(), debug_target::load(), and target_load().

◆ log_command()

void target_ops::log_command ( const char * arg0)
virtual

Reimplemented in dummy_target, debug_target, and remote_target.

Definition at line 2015 of file target-delegates.c.

References beneath(), and log_command().

Referenced by log_command(), debug_target::log_command(), and target_log_command().

◆ longname()

const char * target_ops::longname ( ) const
inline

Definition at line 459 of file target.h.

References info(), and target_info::longname.

Referenced by connpy_get_description(), print_connection(), and set_native_target().

◆ make_corefile_notes()

gdb::unique_xmalloc_ptr< char > target_ops::make_corefile_notes ( bfd * arg0,
int * arg1 )
virtual

◆ masked_watch_num_registers()

int target_ops::masked_watch_num_registers ( CORE_ADDR arg0,
CORE_ADDR arg1 )
virtual

◆ mourn_inferior()

void target_ops::mourn_inferior ( )
virtual

◆ pass_ctrlc()

void target_ops::pass_ctrlc ( )
virtual

◆ pass_signals()

void target_ops::pass_signals ( gdb::array_view< const unsigned char > TARGET_DEBUG_PRINTERtarget_debug_print_signals)
virtual

Definition at line 1681 of file target-delegates.c.

References beneath(), and pass_signals().

Referenced by debug_target::pass_signals(), pass_signals(), and target_pass_signals().

◆ pid_to_exec_file()

const char * target_ops::pid_to_exec_file ( int pid)
virtual

◆ pid_to_str()

std::string target_ops::pid_to_str ( ptid_t arg0)
virtual

◆ post_attach()

void target_ops::post_attach ( int arg0)
virtual

◆ prepare_to_generate_core()

void target_ops::prepare_to_generate_core ( )
virtual

◆ prepare_to_store()

void target_ops::prepare_to_store ( struct regcache * arg0)
virtual

◆ program_signals()

void target_ops::program_signals ( gdb::array_view< const unsigned char > TARGET_DEBUG_PRINTERtarget_debug_print_signals)
virtual

◆ ranged_break_num_registers()

int target_ops::ranged_break_num_registers ( )
virtual

◆ rcmd()

void target_ops::rcmd ( const char * command,
struct ui_file * output )
virtual

Reimplemented in dummy_target, debug_target, and remote_target.

Definition at line 1965 of file target-delegates.c.

References beneath(), and rcmd().

Referenced by debug_target::rcmd(), rcmd(), and target_rcmd().

◆ read_btrace()

enum btrace_error target_ops::read_btrace ( struct btrace_data * data,
struct btrace_target_info * btinfo,
enum btrace_read_type type )
virtual

◆ read_description()

const struct target_desc * target_ops::read_description ( )
virtual

◆ record_is_replaying()

bool target_ops::record_is_replaying ( ptid_t ptid)
virtual

◆ record_method()

enum record_method target_ops::record_method ( ptid_t ptid)
virtual

◆ record_stop_replaying()

void target_ops::record_stop_replaying ( )
virtual

◆ record_will_replay()

bool target_ops::record_will_replay ( ptid_t ptid,
int dir )
virtual

◆ region_ok_for_hw_watchpoint()

int target_ops::region_ok_for_hw_watchpoint ( CORE_ADDR arg0,
int arg1 )
virtual

◆ remove_breakpoint()

int target_ops::remove_breakpoint ( struct gdbarch * arg0,
struct bp_target_info * arg1,
enum remove_bp_reason arg2 )
virtual

◆ remove_exec_catchpoint()

int target_ops::remove_exec_catchpoint ( int arg0)
virtual

◆ remove_fork_catchpoint()

int target_ops::remove_fork_catchpoint ( int arg0)
virtual

◆ remove_hw_breakpoint()

int target_ops::remove_hw_breakpoint ( struct gdbarch * arg0,
struct bp_target_info * arg1 )
virtual

◆ remove_mask_watchpoint()

int target_ops::remove_mask_watchpoint ( CORE_ADDR arg0,
CORE_ADDR arg1,
enum target_hw_bp_type arg2 )
virtual

◆ remove_vfork_catchpoint()

int target_ops::remove_vfork_catchpoint ( int arg0)
virtual

◆ remove_watchpoint()

int target_ops::remove_watchpoint ( CORE_ADDR arg0,
int arg1,
enum target_hw_bp_type arg2,
struct expression * arg3 )
virtual

◆ resume()

void target_ops::resume ( ptid_t ,
int TARGET_DEBUG_PRINTERtarget_debug_print_step,
enum gdb_signal )
virtual

◆ save_record()

void target_ops::save_record ( const char * filename)
virtual

Reimplemented in dummy_target, debug_target, and record_full_base_target.

Definition at line 3980 of file target-delegates.c.

References beneath(), and save_record().

Referenced by debug_target::save_record(), save_record(), and target_save_record().

◆ save_trace_data()

int target_ops::save_trace_data ( const char * filename)
virtual

◆ search_memory()

int target_ops::search_memory ( CORE_ADDR start_addr,
ULONGEST search_space_len,
const gdb_byte * pattern,
ULONGEST pattern_len,
CORE_ADDR * found_addrp )
virtual

Reimplemented in dummy_target, debug_target, and remote_target.

Definition at line 2660 of file target-delegates.c.

References beneath(), and search_memory().

Referenced by debug_target::search_memory(), search_memory(), and target_search_memory().

◆ set_circular_trace_buffer()

void target_ops::set_circular_trace_buffer ( int val)
virtual

◆ set_disconnected_tracing()

void target_ops::set_disconnected_tracing ( int val)
virtual

◆ set_permissions()

void target_ops::set_permissions ( )
virtual

◆ set_syscall_catchpoint()

int target_ops::set_syscall_catchpoint ( int arg0,
bool arg1,
int arg2,
gdb::array_view< const int > arg3 )
virtual

◆ set_trace_buffer_size()

void target_ops::set_trace_buffer_size ( LONGEST val)
virtual

◆ set_trace_notes()

bool target_ops::set_trace_notes ( const char * user,
const char * notes,
const char * stopnotes )
virtual

◆ shortname()

const char * target_ops::shortname ( ) const
inline

Definition at line 456 of file target.h.

References info(), and target_info::shortname.

Referenced by add_thread_silent(), debug_target::always_non_stop_p(), debug_target::async(), debug_target::async_wait_fd(), debug_target::attach_no_wait(), debug_target::augmented_libraries_svr4_read(), debug_target::auxv_parse(), debug_target::btrace_conf(), debug_target::call_history(), debug_target::call_history_from(), debug_target::call_history_range(), debug_target::can_accel_watchpoint_condition(), debug_target::can_async_p(), debug_target::can_do_single_step(), debug_target::can_download_tracepoint(), debug_target::can_execute_reverse(), debug_target::can_run_breakpoint_commands(), debug_target::can_use_agent(), debug_target::can_use_hw_breakpoint(), debug_target::commit_resumed(), connpy_get_connection_type(), debug_target::core_of_thread(), debug_target::delete_record(), debug_target::detach(), debug_target::disable_btrace(), debug_target::disable_tracepoint(), debug_target::disconnect(), debug_target::done_generating_core(), debug_target::download_trace_state_variable(), debug_target::download_tracepoint(), debug_target::dumpcore(), debug_target::enable_btrace(), debug_target::enable_tracepoint(), debug_target::execution_direction(), debug_target::extra_thread_info(), debug_target::fetch_memtags(), debug_target::fetch_registers(), debug_target::fetch_x86_xsave_layout(), debug_target::files_info(), debug_target::filesystem_is_local(), debug_target::find_memory_regions(), debug_target::flash_done(), debug_target::flash_erase(), debug_target::follow_exec(), debug_target::follow_fork(), debug_target::get_ada_task_ptid(), debug_target::get_bookmark(), debug_target::get_memory_xfer_limit(), debug_target::get_min_fast_tracepoint_insn_len(), debug_target::get_raw_trace_data(), debug_target::get_section_table(), debug_target::get_tailcall_unwinder(), debug_target::get_thread_control_capabilities(), debug_target::get_thread_local_address(), debug_target::get_tib_address(), debug_target::get_trace_state_variable_value(), debug_target::get_trace_status(), debug_target::get_tracepoint_status(), debug_target::get_unwinder(), debug_target::goto_bookmark(), debug_target::goto_record(), debug_target::goto_record_begin(), debug_target::goto_record_end(), debug_target::has_pending_events(), debug_target::have_steppable_watchpoint(), debug_target::info_record(), info_record_command(), debug_target::insert_breakpoint(), debug_target::insert_exec_catchpoint(), debug_target::insert_fork_catchpoint(), debug_target::insert_hw_breakpoint(), debug_target::insert_mask_watchpoint(), debug_target::insert_vfork_catchpoint(), debug_target::insert_watchpoint(), debug_target::insn_history(), debug_target::insn_history_from(), debug_target::insn_history_range(), debug_target::interrupt(), debug_target::is_async_p(), debug_target::kill(), debug_target::load(), debug_target::log_command(), debug_target::make_corefile_notes(), make_target_connection_string(), debug_target::masked_watch_num_registers(), maybe_call_commit_resumed_all_targets(), maybe_set_commit_resumed_all_targets(), debug_target::memory_map(), mi_cmd_add_inferior(), debug_target::mourn_inferior(), debug_target::pass_ctrlc(), debug_target::pass_signals(), debug_target::pid_to_exec_file(), debug_target::pid_to_str(), debug_target::post_attach(), debug_target::prepare_to_generate_core(), debug_target::prepare_to_store(), debug_target::program_signals(), debug_target::ranged_break_num_registers(), debug_target::rcmd(), debug_target::read_btrace(), debug_target::read_description(), record_detach(), record_disconnect(), debug_target::record_is_replaying(), record_kill(), debug_target::record_method(), record_mourn_inferior(), record_stop(), debug_target::record_stop_replaying(), record_unpush(), debug_target::record_will_replay(), debug_target::region_ok_for_hw_watchpoint(), debug_target::remove_breakpoint(), debug_target::remove_exec_catchpoint(), debug_target::remove_fork_catchpoint(), debug_target::remove_hw_breakpoint(), debug_target::remove_mask_watchpoint(), debug_target::remove_vfork_catchpoint(), debug_target::remove_watchpoint(), debug_target::resume(), debug_target::save_record(), debug_target::save_trace_data(), debug_target::search_memory(), debug_target::set_circular_trace_buffer(), debug_target::set_disconnected_tracing(), debug_target::set_permissions(), debug_target::set_syscall_catchpoint(), debug_target::set_trace_buffer_size(), debug_target::set_trace_notes(), debug_target::static_tracepoint_marker_at(), debug_target::static_tracepoint_markers_by_strid(), debug_target::stop(), debug_target::stop_recording(), debug_target::stopped_by_hw_breakpoint(), debug_target::stopped_by_sw_breakpoint(), debug_target::stopped_by_watchpoint(), debug_target::stopped_data_address(), debug_target::store_memtags(), debug_target::store_registers(), debug_target::supports_delete_record(), debug_target::supports_disable_randomization(), debug_target::supports_dumpcore(), debug_target::supports_enable_disable_tracepoint(), debug_target::supports_evaluation_of_breakpoint_conditions(), debug_target::supports_memory_tagging(), debug_target::supports_multi_process(), debug_target::supports_non_stop(), debug_target::supports_stopped_by_hw_breakpoint(), debug_target::supports_stopped_by_sw_breakpoint(), debug_target::supports_string_tracing(), debug_target::supports_terminal_ours(), target_shortname(), target_xfer_partial(), debug_target::teardown_btrace(), debug_target::terminal_inferior(), debug_target::terminal_info(), debug_target::terminal_init(), debug_target::terminal_ours(), debug_target::terminal_ours_for_output(), debug_target::terminal_save_inferior(), debug_target::thread_address_space(), debug_target::thread_alive(), debug_target::thread_architecture(), debug_target::thread_events(), debug_target::thread_handle_to_thread_info(), debug_target::thread_info_to_thread_handle(), debug_target::thread_name(), debug_target::trace_find(), debug_target::trace_init(), debug_target::trace_set_readonly_regions(), debug_target::trace_start(), debug_target::trace_stop(), debug_target::traceframe_info(), inferior::unpush_target_and_assert(), debug_target::update_thread_list(), debug_target::upload_trace_state_variables(), debug_target::upload_tracepoints(), debug_target::use_agent(), debug_target::verify_memory(), debug_target::wait(), debug_target::watchpoint_addr_within_range(), and debug_target::xfer_partial().

◆ static_tracepoint_marker_at()

bool target_ops::static_tracepoint_marker_at ( CORE_ADDR arg0,
static_tracepoint_marker * marker )
virtual

◆ static_tracepoint_markers_by_strid()

std::vector< static_tracepoint_marker > target_ops::static_tracepoint_markers_by_strid ( const char * id)
virtual

◆ stop_recording()

void target_ops::stop_recording ( )
virtual

◆ stopped_by_hw_breakpoint()

bool target_ops::stopped_by_hw_breakpoint ( )
virtual

◆ stopped_by_sw_breakpoint()

bool target_ops::stopped_by_sw_breakpoint ( )
virtual

◆ stopped_by_watchpoint()

bool target_ops::stopped_by_watchpoint ( )
virtual

◆ stopped_data_address()

bool target_ops::stopped_data_address ( CORE_ADDR * arg0)
virtual

◆ store_memtags()

bool target_ops::store_memtags ( CORE_ADDR address,
size_t len,
const gdb::byte_vector & tags,
int type )
virtual

◆ store_registers()

void target_ops::store_registers ( struct regcache * arg0,
int arg1 )
virtual

Reimplemented in aarch64_fbsd_nat_target, aarch64_linux_nat_target, aix_thread_target, alpha_bsd_nat_target, amd_dbgapi_target, amd64_fbsd_nat_target, amd64_linux_nat_target, arc_linux_nat_target, arm_fbsd_nat_target, arm_linux_nat_target, arm_netbsd_nat_target, bsd_uthread_target, go32_nat_target, hppa_linux_nat_target, hppa_nbsd_nat_target, hppa_obsd_nat_target, i386_darwin_nat_target, i386_fbsd_nat_target, i386_gnu_nat_target, i386_linux_nat_target, ia64_linux_nat_target, linux_nat_trad_target, loongarch_linux_nat_target, m32r_linux_nat_target, m68k_bsd_nat_target, m68k_linux_nat_target, mips_fbsd_nat_target, mips_linux_nat_target, mips_nbsd_nat_target, mips64_obsd_nat_target, nto_procfs_target, ppc_fbsd_nat_target, ppc_linux_nat_target, ppc_nbsd_nat_target, ppc_obsd_nat_target, procfs_target, ravenscar_thread_target, record_btrace_target, record_full_target, record_full_core_target, gdbsim_target, remote_target, riscv_fbsd_nat_target, rs6000_nat_target, s390_linux_nat_target, sh_nbsd_nat_target, sol_thread_target, tilegx_linux_nat_target, vax_bsd_nat_target, windows_nat_target, xtensa_linux_nat_target, inf_child_target, dummy_target, debug_target, or1k_linux_nat_target, riscv_linux_nat_target, sparc_linux_nat_target, and sparc64_linux_nat_target.

Definition at line 545 of file target-delegates.c.

References beneath(), and store_registers().

Referenced by aix_thread_target::store_registers(), amd_dbgapi_target::store_registers(), bsd_uthread_target::store_registers(), ravenscar_thread_target::store_registers(), record_btrace_target::store_registers(), record_full_target::store_registers(), sol_thread_target::store_registers(), store_registers(), debug_target::store_registers(), and target_store_registers().

◆ stratum()

virtual strata target_ops::stratum ( ) const
pure virtual

◆ supports_delete_record()

bool target_ops::supports_delete_record ( )
virtual

◆ supports_disable_randomization()

bool target_ops::supports_disable_randomization ( )
virtual

◆ supports_dumpcore()

bool target_ops::supports_dumpcore ( )
virtual

◆ supports_enable_disable_tracepoint()

bool target_ops::supports_enable_disable_tracepoint ( )
virtual

◆ supports_evaluation_of_breakpoint_conditions()

bool target_ops::supports_evaluation_of_breakpoint_conditions ( )
virtual

◆ supports_memory_tagging()

bool target_ops::supports_memory_tagging ( )
virtual

◆ supports_multi_process()

bool target_ops::supports_multi_process ( )
virtual

◆ supports_non_stop()

bool target_ops::supports_non_stop ( )
virtual

◆ supports_stopped_by_hw_breakpoint()

bool target_ops::supports_stopped_by_hw_breakpoint ( )
virtual

◆ supports_stopped_by_sw_breakpoint()

bool target_ops::supports_stopped_by_sw_breakpoint ( )
virtual

◆ supports_string_tracing()

bool target_ops::supports_string_tracing ( )
virtual

◆ supports_terminal_ours()

bool target_ops::supports_terminal_ours ( )
virtual

◆ teardown_btrace()

void target_ops::teardown_btrace ( struct btrace_target_info * tinfo)
virtual

◆ terminal_inferior()

void target_ops::terminal_inferior ( )
virtual

◆ terminal_info()

void target_ops::terminal_info ( const char * arg0,
int arg1 )
virtual

◆ terminal_init()

void target_ops::terminal_init ( )
virtual

◆ terminal_ours()

void target_ops::terminal_ours ( )
virtual

◆ terminal_ours_for_output()

void target_ops::terminal_ours_for_output ( )
virtual

◆ terminal_save_inferior()

void target_ops::terminal_save_inferior ( )
virtual

◆ thread_address_space()

struct address_space * target_ops::thread_address_space ( ptid_t arg0)
virtual

◆ thread_alive()

bool target_ops::thread_alive ( ptid_t ptid)
virtual

◆ thread_architecture()

struct gdbarch * target_ops::thread_architecture ( ptid_t arg0)
virtual

◆ thread_events()

void target_ops::thread_events ( int arg0)
virtual

◆ thread_handle_to_thread_info()

thread_info * target_ops::thread_handle_to_thread_info ( const gdb_byte * arg0,
int arg1,
inferior * inf )
virtual

◆ thread_name()

const char * target_ops::thread_name ( thread_info * arg0)
virtual

◆ trace_find()

int target_ops::trace_find ( enum trace_find_type type,
int num,
CORE_ADDR addr1,
CORE_ADDR addr2,
int * tpp )
virtual

Reimplemented in dummy_target, debug_target, remote_target, and tfile_target.

Definition at line 3264 of file target-delegates.c.

References beneath(), and trace_find().

Referenced by target_trace_find(), debug_target::trace_find(), and trace_find().

◆ trace_init()

void target_ops::trace_init ( )
virtual

Reimplemented in remote_target, dummy_target, and debug_target.

Definition at line 3017 of file target-delegates.c.

References beneath(), and trace_init().

Referenced by target_trace_init(), debug_target::trace_init(), and trace_init().

◆ trace_set_readonly_regions()

void target_ops::trace_set_readonly_regions ( )
virtual

◆ trace_start()

void target_ops::trace_start ( )
virtual

Reimplemented in remote_target, dummy_target, and debug_target.

Definition at line 3172 of file target-delegates.c.

References beneath(), and trace_start().

Referenced by target_trace_start(), debug_target::trace_start(), and trace_start().

◆ trace_stop()

void target_ops::trace_stop ( )
virtual

Reimplemented in remote_target, dummy_target, and debug_target.

Definition at line 3243 of file target-delegates.c.

References beneath(), and trace_stop().

Referenced by target_trace_stop(), debug_target::trace_stop(), and trace_stop().

◆ traceframe_info()

traceframe_info_up target_ops::traceframe_info ( )
virtual

◆ update_thread_list()

void target_ops::update_thread_list ( )
virtual

◆ upload_trace_state_variables()

int target_ops::upload_trace_state_variables ( struct uploaded_tsv ** utsvp)
virtual

◆ upload_tracepoints()

int target_ops::upload_tracepoints ( struct uploaded_tp ** utpp)
virtual

◆ use_agent()

bool target_ops::use_agent ( bool use)
virtual

Reimplemented in dummy_target, debug_target, inf_child_target, and remote_target.

Definition at line 3735 of file target-delegates.c.

References beneath(), and use_agent().

Referenced by target_use_agent(), debug_target::use_agent(), and use_agent().

◆ verify_memory()

int target_ops::verify_memory ( const gdb_byte * data,
CORE_ADDR memaddr,
ULONGEST size )
virtual

Reimplemented in dummy_target, debug_target, and remote_target.

Definition at line 3578 of file target-delegates.c.

References beneath(), and verify_memory().

Referenced by target_verify_memory(), debug_target::verify_memory(), and verify_memory().

◆ wait()

ptid_t target_ops::wait ( ptid_t arg0,
struct target_waitstatus * arg1,
target_wait_flags options )
virtual

◆ watchpoint_addr_within_range()

bool target_ops::watchpoint_addr_within_range ( CORE_ADDR arg0,
CORE_ADDR arg1,
int arg2 )
virtual

◆ xfer_partial()

enum target_xfer_status target_ops::xfer_partial ( enum target_object object,
const char * annex,
gdb_byte * readbuf,
const gdb_byte * writebuf,
ULONGEST offset,
ULONGEST len,
ULONGEST * xfered_len )
virtual

Member Data Documentation

◆ stop

void target_ops::stop

The documentation for this struct was generated from the following files: