GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Macros | Functions | Variables
/tmp/gdb-13.1/gdb/target.c File Reference
#include "defs.h"
#include "target.h"
#include "target-dcache.h"
#include "gdbcmd.h"
#include "symtab.h"
#include "inferior.h"
#include "infrun.h"
#include "observable.h"
#include "bfd.h"
#include "symfile.h"
#include "objfiles.h"
#include "dcache.h"
#include <signal.h>
#include "regcache.h"
#include "gdbcore.h"
#include "target-descriptions.h"
#include "gdbthread.h"
#include "solib.h"
#include "exec.h"
#include "inline-frame.h"
#include "tracepoint.h"
#include "gdbsupport/fileio.h"
#include "gdbsupport/agent.h"
#include "auxv.h"
#include "target-debug.h"
#include "top.h"
#include "event-top.h"
#include <algorithm>
#include "gdbsupport/byte-vector.h"
#include "gdbsupport/search.h"
#include "terminal.h"
#include <unordered_map>
#include "target-connection.h"
#include "valprint.h"
#include "cli/cli-decode.h"
#include "target-delegates.c"

Go to the source code of this file.

Classes

struct  fileio_fh_t
 
class  scoped_target_fd
 

Macros

#define CASE(X)   case X: return #X
 
#define DO_TARG_OPTION(OPT)    do_option (&target_options, &ret, OPT, #OPT)
 

Functions

static void generic_tls_error (void)
 
static void show_targetdebug (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
int target_has_memory ()
 
int target_has_stack ()
 
int target_has_registers ()
 
bool target_has_execution (inferior *inf)
 
const char * target_shortname ()
 
bool target_attach_no_wait ()
 
void target_post_attach (int pid)
 
void target_prepare_to_store (regcache *regcache)
 
bool target_supports_enable_disable_tracepoint ()
 
bool target_supports_string_tracing ()
 
bool target_supports_evaluation_of_breakpoint_conditions ()
 
bool target_supports_dumpcore ()
 
void target_dumpcore (const char *filename)
 
bool target_can_run_breakpoint_commands ()
 
void target_files_info ()
 
int target_insert_fork_catchpoint (int pid)
 
int target_remove_fork_catchpoint (int pid)
 
int target_insert_vfork_catchpoint (int pid)
 
int target_remove_vfork_catchpoint (int pid)
 
int target_insert_exec_catchpoint (int pid)
 
int target_remove_exec_catchpoint (int pid)
 
int target_set_syscall_catchpoint (int pid, bool needed, int any_count, gdb::array_view< const int > syscall_counts)
 
void target_rcmd (const char *command, struct ui_file *outbuf)
 
bool target_can_lock_scheduler ()
 
bool target_can_async_p ()
 
bool target_can_async_p (struct target_ops *target)
 
bool target_is_async_p ()
 
exec_direction_kind target_execution_direction ()
 
const char * target_extra_thread_info (thread_info *tp)
 
const char * target_pid_to_exec_file (int pid)
 
gdbarchtarget_thread_architecture (ptid_t ptid)
 
int target_find_memory_regions (find_memory_region_ftype func, void *data)
 
gdb::unique_xmalloc_ptr< char > target_make_corefile_notes (bfd *bfd, int *size_p)
 
gdb_byte * target_get_bookmark (const char *args, int from_tty)
 
void target_goto_bookmark (const gdb_byte *arg, int from_tty)
 
bool target_stopped_by_watchpoint ()
 
bool target_stopped_by_sw_breakpoint ()
 
bool target_supports_stopped_by_sw_breakpoint ()
 
bool target_stopped_by_hw_breakpoint ()
 
bool target_supports_stopped_by_hw_breakpoint ()
 
bool target_have_steppable_watchpoint ()
 
int target_can_use_hardware_watchpoint (bptype type, int cnt, int othertype)
 
int target_region_ok_for_hw_watchpoint (CORE_ADDR addr, int len)
 
int target_can_do_single_step ()
 
int target_insert_watchpoint (CORE_ADDR addr, int len, target_hw_bp_type type, expression *cond)
 
int target_remove_watchpoint (CORE_ADDR addr, int len, target_hw_bp_type type, expression *cond)
 
int target_insert_hw_breakpoint (gdbarch *gdbarch, bp_target_info *bp_tgt)
 
int target_remove_hw_breakpoint (gdbarch *gdbarch, bp_target_info *bp_tgt)
 
bool target_can_accel_watchpoint_condition (CORE_ADDR addr, int len, int type, expression *cond)
 
bool target_can_execute_reverse ()
 
ptid_t target_get_ada_task_ptid (long lwp, ULONGEST tid)
 
bool target_filesystem_is_local ()
 
void target_trace_init ()
 
void target_download_tracepoint (bp_location *location)
 
bool target_can_download_tracepoint ()
 
void target_download_trace_state_variable (const trace_state_variable &tsv)
 
void target_enable_tracepoint (bp_location *loc)
 
void target_disable_tracepoint (bp_location *loc)
 
void target_trace_start ()
 
void target_trace_set_readonly_regions ()
 
int target_get_trace_status (trace_status *ts)
 
void target_get_tracepoint_status (breakpoint *tp, uploaded_tp *utp)
 
void target_trace_stop ()
 
int target_trace_find (trace_find_type type, int num, CORE_ADDR addr1, CORE_ADDR addr2, int *tpp)
 
bool target_get_trace_state_variable_value (int tsv, LONGEST *val)
 
int target_save_trace_data (const char *filename)
 
int target_upload_tracepoints (uploaded_tp **utpp)
 
int target_upload_trace_state_variables (uploaded_tsv **utsvp)
 
LONGEST target_get_raw_trace_data (gdb_byte *buf, ULONGEST offset, LONGEST len)
 
int target_get_min_fast_tracepoint_insn_len ()
 
void target_set_disconnected_tracing (int val)
 
void target_set_circular_trace_buffer (int val)
 
void target_set_trace_buffer_size (LONGEST val)
 
bool target_set_trace_notes (const char *user, const char *notes, const char *stopnotes)
 
bool target_get_tib_address (ptid_t ptid, CORE_ADDR *addr)
 
void target_set_permissions ()
 
bool target_static_tracepoint_marker_at (CORE_ADDR addr, static_tracepoint_marker *marker)
 
std::vector< static_tracepoint_markertarget_static_tracepoint_markers_by_strid (const char *marker_id)
 
traceframe_info_up target_traceframe_info ()
 
bool target_use_agent (bool use)
 
bool target_can_use_agent ()
 
bool target_augmented_libraries_svr4_read ()
 
bool target_supports_memory_tagging ()
 
bool target_fetch_memtags (CORE_ADDR address, size_t len, gdb::byte_vector &tags, int type)
 
bool target_store_memtags (CORE_ADDR address, size_t len, const gdb::byte_vector &tags, int type)
 
void target_log_command (const char *p)
 
static void open_target (const char *args, int from_tty, struct cmd_list_element *command)
 
void add_target (const target_info &t, target_open_ftype *func, completer_ftype *completer)
 
void add_deprecated_target_alias (const target_info &tinfo, const char *alias)
 
void target_kill (void)
 
void target_load (const char *arg, int from_tty)
 
static void target_terminal_is_ours_kind (target_terminal_state desired_state)
 
bool target_supports_terminal_ours (void)
 
static void tcomplain (void)
 
void noprocess (void)
 
static void default_terminal_info (struct target_ops *self, const char *args, int from_tty)
 
static ptid_t default_get_ada_task_ptid (struct target_ops *self, long lwp, ULONGEST tid)
 
static enum exec_direction_kind default_execution_direction (struct target_ops *self)
 
CORE_ADDR target_translate_tls_address (struct objfile *objfile, CORE_ADDR offset)
 
const char * target_xfer_status_to_string (enum target_xfer_status status)
 
const target_section_tabletarget_get_section_table (struct target_ops *target)
 
const struct target_sectiontarget_section_by_addr (struct target_ops *target, CORE_ADDR addr)
 
const target_section_tabledefault_get_section_table ()
 
static int memory_xfer_check_region (gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST memaddr, ULONGEST len, ULONGEST *reg_len, struct mem_region **region_p)
 
enum target_xfer_status raw_memory_xfer_partial (struct target_ops *ops, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST memaddr, LONGEST len, ULONGEST *xfered_len)
 
static enum target_xfer_status memory_xfer_partial_1 (struct target_ops *ops, enum target_object object, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST memaddr, ULONGEST len, ULONGEST *xfered_len)
 
static enum target_xfer_status memory_xfer_partial (struct target_ops *ops, enum target_object object, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST memaddr, ULONGEST len, ULONGEST *xfered_len)
 
scoped_restore_tmpl< int > make_scoped_restore_show_memory_breakpoints (int show)
 
enum target_xfer_status target_xfer_partial (struct target_ops *ops, enum target_object object, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len)
 
int target_read_memory (CORE_ADDR memaddr, gdb_byte *myaddr, ssize_t len)
 
int target_read_uint32 (CORE_ADDR memaddr, uint32_t *result)
 
int target_read_raw_memory (CORE_ADDR memaddr, gdb_byte *myaddr, ssize_t len)
 
int target_read_stack (CORE_ADDR memaddr, gdb_byte *myaddr, ssize_t len)
 
int target_read_code (CORE_ADDR memaddr, gdb_byte *myaddr, ssize_t len)
 
int target_write_memory (CORE_ADDR memaddr, const gdb_byte *myaddr, ssize_t len)
 
int target_write_raw_memory (CORE_ADDR memaddr, const gdb_byte *myaddr, ssize_t len)
 
std::vector< mem_regiontarget_memory_map (void)
 
void target_flash_erase (ULONGEST address, LONGEST length)
 
void target_flash_done (void)
 
static void show_trust_readonly (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
static enum target_xfer_status target_read_partial (struct target_ops *ops, enum target_object object, const char *annex, gdb_byte *buf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len)
 
static enum target_xfer_status target_write_partial (struct target_ops *ops, enum target_object object, const char *annex, const gdb_byte *buf, ULONGEST offset, LONGEST len, ULONGEST *xfered_len)
 
LONGEST target_read (struct target_ops *ops, enum target_object object, const char *annex, gdb_byte *buf, ULONGEST offset, LONGEST len)
 
static void read_whatever_is_readable (struct target_ops *ops, const ULONGEST begin, const ULONGEST end, int unit_size, std::vector< memory_read_result > *result)
 
std::vector< memory_read_resultread_memory_robust (struct target_ops *ops, const ULONGEST offset, const LONGEST len)
 
LONGEST target_write_with_progress (struct target_ops *ops, enum target_object object, const char *annex, const gdb_byte *buf, ULONGEST offset, LONGEST len, void(*progress)(ULONGEST, void *), void *baton)
 
LONGEST target_write (struct target_ops *ops, enum target_object object, const char *annex, const gdb_byte *buf, ULONGEST offset, LONGEST len)
 
template<typename T >
gdb::optional< gdb::def_vector< T > > target_read_alloc_1 (struct target_ops *ops, enum target_object object, const char *annex)
 
gdb::optional< gdb::byte_vector > target_read_alloc (struct target_ops *ops, enum target_object object, const char *annex)
 
gdb::optional< gdb::char_vector > target_read_stralloc (struct target_ops *ops, enum target_object object, const char *annex)
 
void get_target_memory (struct target_ops *ops, CORE_ADDR addr, gdb_byte *buf, LONGEST len)
 
ULONGEST get_target_memory_unsigned (struct target_ops *ops, CORE_ADDR addr, int len, enum bfd_endian byte_order)
 
int target_insert_breakpoint (struct gdbarch *gdbarch, struct bp_target_info *bp_tgt)
 
int target_remove_breakpoint (struct gdbarch *gdbarch, struct bp_target_info *bp_tgt, enum remove_bp_reason reason)
 
static void info_target_command (const char *args, int from_tty)
 
void target_pre_inferior (int from_tty)
 
void target_preopen (int from_tty)
 
void target_detach (inferior *inf, int from_tty)
 
void target_disconnect (const char *args, int from_tty)
 
ptid_t target_wait (ptid_t ptid, struct target_waitstatus *status, target_wait_flags options)
 
ptid_t default_target_wait (struct target_ops *ops, ptid_t ptid, struct target_waitstatus *status, target_wait_flags options)
 
std::string target_pid_to_str (ptid_t ptid)
 
const char * target_thread_name (struct thread_info *info)
 
struct thread_infotarget_thread_handle_to_thread_info (const gdb_byte *thread_handle, int handle_len, struct inferior *inf)
 
gdb::byte_vector target_thread_info_to_thread_handle (struct thread_info *tip)
 
void target_resume (ptid_t scope_ptid, int step, enum gdb_signal signal)
 
void target_commit_resumed ()
 
bool target_has_pending_events ()
 
void target_pass_signals (gdb::array_view< const unsigned char > pass_signals)
 
void target_program_signals (gdb::array_view< const unsigned char > program_signals)
 
static void default_follow_fork (struct target_ops *self, inferior *child_inf, ptid_t child_ptid, target_waitkind fork_kind, bool follow_child, bool detach_fork)
 
void target_follow_fork (inferior *child_inf, ptid_t child_ptid, target_waitkind fork_kind, bool follow_child, bool detach_fork)
 
void target_follow_exec (inferior *follow_inf, ptid_t ptid, const char *execd_pathname)
 
static void default_mourn_inferior (struct target_ops *self)
 
void target_mourn_inferior (ptid_t ptid)
 
const struct target_desctarget_read_description (struct target_ops *target)
 
static int default_search_memory (struct target_ops *self, CORE_ADDR start_addr, ULONGEST search_space_len, const gdb_byte *pattern, ULONGEST pattern_len, CORE_ADDR *found_addrp)
 
int target_search_memory (CORE_ADDR start_addr, ULONGEST search_space_len, const gdb_byte *pattern, ULONGEST pattern_len, CORE_ADDR *found_addrp)
 
void target_require_runnable (void)
 
static void show_auto_connect_native_target (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
void set_native_target (target_ops *target)
 
target_opsget_native_target ()
 
static struct target_opsfind_default_run_target (const char *do_mesg)
 
struct target_opsfind_attach_target (void)
 
struct target_opsfind_run_target (void)
 
int target_info_proc (const char *args, enum info_proc_what what)
 
static int find_default_supports_disable_randomization (struct target_ops *self)
 
int target_supports_disable_randomization (void)
 
int target_supports_multi_process (void)
 
gdb::optional< gdb::char_vector > target_get_osdata (const char *type)
 
struct address_spacetarget_thread_address_space (ptid_t ptid)
 
int target_can_run ()
 
static struct target_opsdefault_fileio_target (void)
 
void fileio_handles_invalidate_target (target_ops *targ)
 
static int acquire_fileio_fd (target_ops *target, int target_fd)
 
static void release_fileio_fd (int fd, fileio_fh_t *fh)
 
static fileio_fh_tfileio_fd_to_fh (int fd)
 
int target_fileio_open (struct inferior *inf, const char *filename, int flags, int mode, bool warn_if_slow, fileio_error *target_errno)
 
int target_fileio_pwrite (int fd, const gdb_byte *write_buf, int len, ULONGEST offset, fileio_error *target_errno)
 
int target_fileio_pread (int fd, gdb_byte *read_buf, int len, ULONGEST offset, fileio_error *target_errno)
 
int target_fileio_fstat (int fd, struct stat *sb, fileio_error *target_errno)
 
int target_fileio_close (int fd, fileio_error *target_errno)
 
int target_fileio_unlink (struct inferior *inf, const char *filename, fileio_error *target_errno)
 
gdb::optional< std::string > target_fileio_readlink (struct inferior *inf, const char *filename, fileio_error *target_errno)
 
static LONGEST target_fileio_read_alloc_1 (struct inferior *inf, const char *filename, gdb_byte **buf_p, int padding)
 
LONGEST target_fileio_read_alloc (struct inferior *inf, const char *filename, gdb_byte **buf_p)
 
gdb::unique_xmalloc_ptr< char > target_fileio_read_stralloc (struct inferior *inf, const char *filename)
 
static int default_region_ok_for_hw_watchpoint (struct target_ops *self, CORE_ADDR addr, int len)
 
static int default_watchpoint_addr_within_range (struct target_ops *target, CORE_ADDR addr, CORE_ADDR start, int length)
 
struct target_opsfind_target_at (enum strata stratum)
 
void target_announce_detach (int from_tty)
 
void target_announce_attach (int from_tty, int pid)
 
void generic_mourn_inferior (void)
 
std::string normal_pid_to_str (ptid_t ptid)
 
static std::string default_pid_to_str (struct target_ops *ops, ptid_t ptid)
 
static int dummy_find_memory_regions (struct target_ops *self, find_memory_region_ftype ignore1, void *ignore2)
 
static gdb::unique_xmalloc_ptr< char > dummy_make_corefile_notes (struct target_ops *self, bfd *ignore1, int *ignore2)
 
target_opsget_dummy_target ()
 
void target_close (struct target_ops *targ)
 
int target_thread_alive (ptid_t ptid)
 
void target_update_thread_list (void)
 
void target_stop (ptid_t ptid)
 
void target_interrupt ()
 
void target_pass_ctrlc (void)
 
void default_target_pass_ctrlc (struct target_ops *ops)
 
void target_stop_and_wait (ptid_t ptid)
 
void target_continue_no_signal (ptid_t ptid)
 
void target_continue (ptid_t ptid, enum gdb_signal signal)
 
static void str_comma_list_concat_elem (std::string *list, const char *elem)
 
static void do_option (target_wait_flags *target_options, std::string *ret, target_wait_flag opt, const char *opt_str)
 
std::string target_options_to_string (target_wait_flags target_options)
 
void target_fetch_registers (struct regcache *regcache, int regno)
 
void target_store_registers (struct regcache *regcache, int regno)
 
int target_core_of_thread (ptid_t ptid)
 
int simple_verify_memory (struct target_ops *ops, const gdb_byte *data, CORE_ADDR lma, ULONGEST size)
 
static int default_verify_memory (struct target_ops *self, const gdb_byte *data, CORE_ADDR memaddr, ULONGEST size)
 
int target_verify_memory (const gdb_byte *data, CORE_ADDR memaddr, ULONGEST size)
 
int target_insert_mask_watchpoint (CORE_ADDR addr, CORE_ADDR mask, enum target_hw_bp_type rw)
 
int target_remove_mask_watchpoint (CORE_ADDR addr, CORE_ADDR mask, enum target_hw_bp_type rw)
 
int target_masked_watch_num_registers (CORE_ADDR addr, CORE_ADDR mask)
 
int target_ranged_break_num_registers (void)
 
struct btrace_target_infotarget_enable_btrace (thread_info *tp, const struct btrace_config *conf)
 
void target_disable_btrace (struct btrace_target_info *btinfo)
 
void target_teardown_btrace (struct btrace_target_info *btinfo)
 
enum btrace_error target_read_btrace (struct btrace_data *btrace, struct btrace_target_info *btinfo, enum btrace_read_type type)
 
const struct btrace_config * target_btrace_conf (const struct btrace_target_info *btinfo)
 
void target_stop_recording (void)
 
void target_save_record (const char *filename)
 
int target_supports_delete_record ()
 
void target_delete_record (void)
 
enum record_method target_record_method (ptid_t ptid)
 
int target_record_is_replaying (ptid_t ptid)
 
int target_record_will_replay (ptid_t ptid, int dir)
 
void target_record_stop_replaying (void)
 
void target_goto_record_begin (void)
 
void target_goto_record_end (void)
 
void target_goto_record (ULONGEST insn)
 
void target_insn_history (int size, gdb_disassembly_flags flags)
 
void target_insn_history_from (ULONGEST from, int size, gdb_disassembly_flags flags)
 
void target_insn_history_range (ULONGEST begin, ULONGEST end, gdb_disassembly_flags flags)
 
void target_call_history (int size, record_print_flags flags)
 
void target_call_history_from (ULONGEST begin, int size, record_print_flags flags)
 
void target_call_history_range (ULONGEST begin, ULONGEST end, record_print_flags flags)
 
const struct frame_unwindtarget_get_unwinder (void)
 
const struct frame_unwindtarget_get_tailcall_unwinder (void)
 
void target_prepare_to_generate_core (void)
 
void target_done_generating_core (void)
 
static void default_rcmd (struct target_ops *self, const char *command, struct ui_file *output)
 
static void do_monitor_command (const char *cmd, int from_tty)
 
void flash_erase_command (const char *cmd, int from_tty)
 
static void maintenance_print_target_stack (const char *cmd, int from_tty)
 
void target_async (bool enable)
 
void target_thread_events (int enable)
 
static void set_maint_target_async (bool permitted)
 
static bool get_maint_target_async ()
 
static void show_maint_target_async (ui_file *file, int from_tty, cmd_list_element *c, const char *value)
 
static int target_always_non_stop_p (void)
 
bool target_is_non_stop_p ()
 
bool exists_non_stop_target ()
 
static void set_maint_target_non_stop (auto_boolean enabled)
 
static auto_boolean get_maint_target_non_stop ()
 
static void show_maint_target_non_stop (ui_file *file, int from_tty, cmd_list_element *c, const char *value)
 
void update_target_permissions (void)
 
static void set_target_permissions (const char *args, int from_tty, struct cmd_list_element *c)
 
static void set_write_memory_permission (const char *args, int from_tty, struct cmd_list_element *c)
 
void _initialize_target ()
 

Variables

static bool auto_connect_native_target = true
 
static target_opsthe_native_target
 
static std::vector< fileio_fh_tfileio_fhandles
 
static int lowest_closed_fd
 
static dummy_target the_dummy_target
 
static const target_info dummy_target_info
 
static char targ_desc []
 
bool target_async_permitted = true
 
enum auto_boolean target_non_stop_enabled = AUTO_BOOLEAN_AUTO
 
static bool may_write_registers_1 = true
 
static bool may_write_memory_1 = true
 
static bool may_insert_breakpoints_1 = true
 
static bool may_insert_tracepoints_1 = true
 
static bool may_insert_fast_tracepoints_1 = true
 
static bool may_stop_1 = true
 

Macro Definition Documentation

◆ CASE

#define CASE (   X)    case X: return #X

◆ DO_TARG_OPTION

#define DO_TARG_OPTION (   OPT)     do_option (&target_options, &ret, OPT, #OPT)

Function Documentation

◆ _initialize_target()

void _initialize_target ( )

Definition at line 4512 of file target.c.

Referenced by initialize_all_files().

◆ acquire_fileio_fd()

static int acquire_fileio_fd ( target_ops target,
int  target_fd 
)
static

Definition at line 3133 of file target.c.

References fileio_fhandles, fileio_fh_t::is_closed(), and lowest_closed_fd.

Referenced by target_fileio_open().

◆ add_deprecated_target_alias()

void add_deprecated_target_alias ( const target_info tinfo,
const char *  alias 
)

◆ add_target()

void add_target ( const target_info t,
target_open_ftype func,
completer_ftype completer 
)

◆ default_execution_direction()

static enum exec_direction_kind default_execution_direction ( struct target_ops self)
static

◆ default_fileio_target()

static struct target_ops * default_fileio_target ( void  )
static

◆ default_follow_fork()

static void default_follow_fork ( struct target_ops self,
inferior child_inf,
ptid_t  child_ptid,
target_waitkind  fork_kind,
bool  follow_child,
bool  detach_fork 
)
static

Definition at line 2689 of file target.c.

Referenced by dummy_target::follow_fork().

◆ default_get_ada_task_ptid()

static ptid_t default_get_ada_task_ptid ( struct target_ops self,
long  lwp,
ULONGEST  tid 
)
static

Definition at line 1149 of file target.c.

References inferior_ptid.

Referenced by dummy_target::get_ada_task_ptid().

◆ default_get_section_table()

const target_section_table * default_get_section_table ( )

Definition at line 1397 of file target.c.

References current_program_space, and program_space::target_sections().

Referenced by dummy_target::get_section_table().

◆ default_mourn_inferior()

static void default_mourn_inferior ( struct target_ops self)
static

Definition at line 2731 of file target.c.

Referenced by dummy_target::mourn_inferior().

◆ default_pid_to_str()

static std::string default_pid_to_str ( struct target_ops ops,
ptid_t  ptid 
)
static

Definition at line 3678 of file target.c.

References normal_pid_to_str().

Referenced by dummy_target::pid_to_str().

◆ default_rcmd()

static void default_rcmd ( struct target_ops self,
const char *  command,
struct ui_file output 
)
static

Definition at line 4260 of file target.c.

Referenced by dummy_target::rcmd().

◆ default_region_ok_for_hw_watchpoint()

static int default_region_ok_for_hw_watchpoint ( struct target_ops self,
CORE_ADDR  addr,
int  len 
)
static

Definition at line 3561 of file target.c.

References gdbarch_ptr_bit(), and target_gdbarch().

Referenced by dummy_target::region_ok_for_hw_watchpoint().

◆ default_search_memory()

static int default_search_memory ( struct target_ops self,
CORE_ADDR  start_addr,
ULONGEST  search_space_len,
const gdb_byte *  pattern,
ULONGEST  pattern_len,
CORE_ADDR *  found_addrp 
)
static

Definition at line 2761 of file target.c.

References current_inferior(), read_memory(), TARGET_OBJECT_MEMORY, and target_read().

Referenced by dummy_target::search_memory().

◆ default_target_pass_ctrlc()

void default_target_pass_ctrlc ( struct target_ops ops)

Definition at line 3839 of file target.c.

References target_interrupt().

Referenced by dummy_target::pass_ctrlc().

◆ default_target_wait()

ptid_t default_target_wait ( struct target_ops ops,
ptid_t  ptid,
struct target_waitstatus status,
target_wait_flags  options 
)

Definition at line 2593 of file target.c.

References status.

Referenced by dummy_target::wait().

◆ default_terminal_info()

static void default_terminal_info ( struct target_ops self,
const char *  args,
int  from_tty 
)
static

Definition at line 1137 of file target.c.

References gdb_printf().

Referenced by dummy_target::terminal_info().

◆ default_verify_memory()

static int default_verify_memory ( struct target_ops self,
const gdb_byte *  data,
CORE_ADDR  memaddr,
ULONGEST  size 
)
static

Definition at line 3978 of file target.c.

References current_inferior(), simple_verify_memory(), and size.

Referenced by dummy_target::verify_memory().

◆ default_watchpoint_addr_within_range()

static int default_watchpoint_addr_within_range ( struct target_ops target,
CORE_ADDR  addr,
CORE_ADDR  start,
int  length 
)
static

Definition at line 3568 of file target.c.

Referenced by dummy_target::watchpoint_addr_within_range().

◆ do_monitor_command()

static void do_monitor_command ( const char *  cmd,
int  from_tty 
)
static

Definition at line 4267 of file target.c.

References gdb_stdtarg, and target_rcmd().

◆ do_option()

static void do_option ( target_wait_flags *  target_options,
std::string *  ret,
target_wait_flag  opt,
const char *  opt_str 
)
static

Definition at line 3892 of file target.c.

References str_comma_list_concat_elem().

◆ dummy_find_memory_regions()

static int dummy_find_memory_regions ( struct target_ops self,
find_memory_region_ftype  ignore1,
void *  ignore2 
)
static

Definition at line 3685 of file target.c.

Referenced by dummy_target::find_memory_regions().

◆ dummy_make_corefile_notes()

static gdb::unique_xmalloc_ptr< char > dummy_make_corefile_notes ( struct target_ops self,
bfd *  ignore1,
int *  ignore2 
)
static

Definition at line 3694 of file target.c.

Referenced by dummy_target::make_corefile_notes().

◆ exists_non_stop_target()

bool exists_non_stop_target ( )

◆ fileio_fd_to_fh()

static fileio_fh_t * fileio_fd_to_fh ( int  fd)
static

◆ fileio_handles_invalidate_target()

void fileio_handles_invalidate_target ( target_ops targ)

Definition at line 3123 of file target.c.

References fileio_fhandles.

Referenced by remote_unpush_target(), and target_close().

◆ find_attach_target()

struct target_ops * find_attach_target ( void  )

Definition at line 2891 of file target.c.

References current_inferior(), and find_default_run_target().

Referenced by attach_command().

◆ find_default_run_target()

static struct target_ops * find_default_run_target ( const char *  do_mesg)
static

◆ find_default_supports_disable_randomization()

static int find_default_supports_disable_randomization ( struct target_ops self)
static

◆ find_run_target()

struct target_ops * find_run_target ( void  )

Definition at line 2909 of file target.c.

References current_inferior(), and find_default_run_target().

Referenced by mi_cmd_exec_run(), run_command_1(), and run_one_inferior().

◆ find_target_at()

struct target_ops * find_target_at ( enum strata  stratum)

◆ flash_erase_command()

void flash_erase_command ( const char *  cmd,
int  from_tty 
)

◆ generic_mourn_inferior()

void generic_mourn_inferior ( void  )

◆ generic_tls_error()

static void generic_tls_error ( void  )
static

Definition at line 58 of file target.c.

Referenced by dummy_target::get_thread_local_address().

◆ get_dummy_target()

target_ops * get_dummy_target ( )

Definition at line 3711 of file target.c.

References the_dummy_target.

Referenced by inferior::inferior().

◆ get_maint_target_async()

static bool get_maint_target_async ( )
static

Definition at line 4361 of file target.c.

References target_async_permitted.

◆ get_maint_target_non_stop()

static auto_boolean get_maint_target_non_stop ( )
static

Definition at line 4434 of file target.c.

References target_non_stop_enabled.

◆ get_native_target()

target_ops * get_native_target ( )

Definition at line 2865 of file target.c.

References the_native_target.

Referenced by darwin_attach_pid(), and inf_child_open_target().

◆ get_target_memory()

void get_target_memory ( struct target_ops ops,
CORE_ADDR  addr,
gdb_byte *  buf,
LONGEST  len 
)

◆ get_target_memory_unsigned()

ULONGEST get_target_memory_unsigned ( struct target_ops ops,
CORE_ADDR  addr,
int  len,
enum bfd_endian  byte_order 
)

Definition at line 2349 of file target.c.

References extract_unsigned_integer(), and get_target_memory().

Referenced by frv_convert_from_func_ptr_addr().

◆ info_target_command()

static void info_target_command ( const char *  args,
int  from_tty 
)
static

◆ maintenance_print_target_stack()

static void maintenance_print_target_stack ( const char *  cmd,
int  from_tty 
)
static

Definition at line 4313 of file target.c.

References current_inferior(), debug_stratum, and gdb_printf().

◆ make_scoped_restore_show_memory_breakpoints()

scoped_restore_tmpl< int > make_scoped_restore_show_memory_breakpoints ( int  show)

◆ memory_xfer_check_region()

static int memory_xfer_check_region ( gdb_byte *  readbuf,
const gdb_byte *  writebuf,
ULONGEST  memaddr,
ULONGEST  len,
ULONGEST *  reg_len,
struct mem_region **  region_p 
)
static

◆ memory_xfer_partial()

static enum target_xfer_status memory_xfer_partial ( struct target_ops ops,
enum target_object  object,
gdb_byte *  readbuf,
const gdb_byte *  writebuf,
ULONGEST  memaddr,
ULONGEST  len,
ULONGEST *  xfered_len 
)
static

◆ memory_xfer_partial_1()

static enum target_xfer_status memory_xfer_partial_1 ( struct target_ops ops,
enum target_object  object,
gdb_byte *  readbuf,
const gdb_byte *  writebuf,
ULONGEST  memaddr,
ULONGEST  len,
ULONGEST *  xfered_len 
)
static

◆ noprocess()

void noprocess ( void  )

◆ normal_pid_to_str()

std::string normal_pid_to_str ( ptid_t  ptid)

◆ open_target()

static void open_target ( const char *  args,
int  from_tty,
struct cmd_list_element command 
)
static

Definition at line 844 of file target.c.

References cmd_list_element::context(), func, gdb_printf(), and gdb_stdlog.

Referenced by add_deprecated_target_alias(), and add_target().

◆ raw_memory_xfer_partial()

enum target_xfer_status raw_memory_xfer_partial ( struct target_ops ops,
gdb_byte *  readbuf,
const gdb_byte *  writebuf,
ULONGEST  memaddr,
LONGEST  len,
ULONGEST *  xfered_len 
)

◆ read_memory_robust()

std::vector< memory_read_result > read_memory_robust ( struct target_ops ops,
const ULONGEST  offset,
const LONGEST  len 
)

◆ read_whatever_is_readable()

static void read_whatever_is_readable ( struct target_ops ops,
const ULONGEST  begin,
const ULONGEST  end,
int  unit_size,
std::vector< memory_read_result > *  result 
)
static

◆ release_fileio_fd()

static void release_fileio_fd ( int  fd,
fileio_fh_t fh 
)
static

Definition at line 3161 of file target.c.

References lowest_closed_fd, and fileio_fh_t::target_fd.

Referenced by target_fileio_close().

◆ set_maint_target_async()

static void set_maint_target_async ( bool  permitted)
static

Definition at line 4352 of file target.c.

References have_live_inferiors(), and target_async_permitted.

◆ set_maint_target_non_stop()

static void set_maint_target_non_stop ( auto_boolean  enabled)
static

Definition at line 4423 of file target.c.

References have_live_inferiors(), and target_non_stop_enabled.

◆ set_native_target()

void set_native_target ( target_ops target)

Definition at line 2853 of file target.c.

References target_ops::longname(), and the_native_target.

Referenced by add_inf_child_target(), and init_procfs_targets().

◆ set_target_permissions()

static void set_target_permissions ( const char *  args,
int  from_tty,
struct cmd_list_element c 
)
static

◆ set_write_memory_permission()

static void set_write_memory_permission ( const char *  args,
int  from_tty,
struct cmd_list_element c 
)
static

Definition at line 4501 of file target.c.

References may_write_memory, may_write_memory_1, and update_observer_mode().

◆ show_auto_connect_native_target()

static void show_auto_connect_native_target ( struct ui_file file,
int  from_tty,
struct cmd_list_element c,
const char *  value 
)
static

Definition at line 2836 of file target.c.

References gdb_printf().

◆ show_maint_target_async()

static void show_maint_target_async ( ui_file file,
int  from_tty,
cmd_list_element c,
const char *  value 
)
static

Definition at line 4367 of file target.c.

References gdb_printf().

◆ show_maint_target_non_stop()

static void show_maint_target_non_stop ( ui_file file,
int  from_tty,
cmd_list_element c,
const char *  value 
)
static

◆ show_targetdebug()

static void show_targetdebug ( struct ui_file file,
int  from_tty,
struct cmd_list_element c,
const char *  value 
)
static

Definition at line 159 of file target.c.

References gdb_printf().

◆ show_trust_readonly()

static void show_trust_readonly ( struct ui_file file,
int  from_tty,
struct cmd_list_element c,
const char *  value 
)
static

Definition at line 1920 of file target.c.

References gdb_printf().

◆ simple_verify_memory()

int simple_verify_memory ( struct target_ops ops,
const gdb_byte *  data,
CORE_ADDR  lma,
ULONGEST  size 
)

◆ str_comma_list_concat_elem()

static void str_comma_list_concat_elem ( std::string *  list,
const char *  elem 
)
static

Definition at line 3879 of file target.c.

Referenced by do_option(), and target_options_to_string().

◆ target_always_non_stop_p()

static int target_always_non_stop_p ( void  )
static

◆ target_announce_attach()

void target_announce_attach ( int  from_tty,
int  pid 
)

◆ target_announce_detach()

void target_announce_detach ( int  from_tty)

◆ target_async()

void target_async ( bool  enable)

◆ target_attach_no_wait()

bool target_attach_no_wait ( )

Definition at line 225 of file target.c.

References target_ops::attach_no_wait(), current_inferior(), and inferior::top_target().

Referenced by attach_command().

◆ target_augmented_libraries_svr4_read()

bool target_augmented_libraries_svr4_read ( )

◆ target_btrace_conf()

const struct btrace_config * target_btrace_conf ( const struct btrace_target_info btinfo)

Definition at line 4077 of file target.c.

References target_ops::btrace_conf(), current_inferior(), and inferior::top_target().

Referenced by btrace_conf().

◆ target_call_history()

void target_call_history ( int  size,
record_print_flags  flags 
)

◆ target_call_history_from()

void target_call_history_from ( ULONGEST  begin,
int  size,
record_print_flags  flags 
)

◆ target_call_history_range()

void target_call_history_range ( ULONGEST  begin,
ULONGEST  end,
record_print_flags  flags 
)

◆ target_can_accel_watchpoint_condition()

bool target_can_accel_watchpoint_condition ( CORE_ADDR  addr,
int  len,
int  type,
expression cond 
)

◆ target_can_async_p() [1/2]

bool target_can_async_p ( )

◆ target_can_async_p() [2/2]

bool target_can_async_p ( struct target_ops target)

Definition at line 393 of file target.c.

References target_ops::can_async_p(), and target_async_permitted.

◆ target_can_do_single_step()

int target_can_do_single_step ( )

◆ target_can_download_tracepoint()

bool target_can_download_tracepoint ( )

◆ target_can_execute_reverse()

bool target_can_execute_reverse ( )

◆ target_can_lock_scheduler()

bool target_can_lock_scheduler ( )

◆ target_can_run()

int target_can_run ( )

Definition at line 3062 of file target.c.

References current_inferior().

Referenced by check_for_thread_db(), check_pid_namespace_match(), and thread_db_load().

◆ target_can_run_breakpoint_commands()

bool target_can_run_breakpoint_commands ( )

◆ target_can_use_agent()

bool target_can_use_agent ( )

Definition at line 804 of file target.c.

References target_ops::can_use_agent(), current_inferior(), and inferior::top_target().

◆ target_can_use_hardware_watchpoint()

int target_can_use_hardware_watchpoint ( bptype  type,
int  cnt,
int  othertype 
)

◆ target_close()

void target_close ( struct target_ops targ)

◆ target_commit_resumed()

void target_commit_resumed ( )

◆ target_continue()

void target_continue ( ptid_t  ptid,
enum gdb_signal  signal 
)

Definition at line 3871 of file target.c.

References target_resume().

Referenced by startup_inferior().

◆ target_continue_no_signal()

void target_continue_no_signal ( ptid_t  ptid)

◆ target_core_of_thread()

int target_core_of_thread ( ptid_t  ptid)

◆ target_delete_record()

void target_delete_record ( void  )

Definition at line 4109 of file target.c.

References current_inferior(), target_ops::delete_record(), and inferior::top_target().

Referenced by cmd_record_delete().

◆ target_detach()

void target_detach ( inferior inf,
int  from_tty 
)

◆ target_disable_btrace()

void target_disable_btrace ( struct btrace_target_info btinfo)

Definition at line 4049 of file target.c.

References current_inferior(), target_ops::disable_btrace(), and inferior::top_target().

Referenced by btrace_disable().

◆ target_disable_tracepoint()

void target_disable_tracepoint ( bp_location loc)

◆ target_disconnect()

void target_disconnect ( const char *  args,
int  from_tty 
)

◆ target_done_generating_core()

void target_done_generating_core ( void  )

◆ target_download_trace_state_variable()

void target_download_trace_state_variable ( const trace_state_variable tsv)

◆ target_download_tracepoint()

void target_download_tracepoint ( bp_location location)

◆ target_dumpcore()

void target_dumpcore ( const char *  filename)

Definition at line 283 of file target.c.

References current_inferior(), target_ops::dumpcore(), and inferior::top_target().

Referenced by gcore_command().

◆ target_enable_btrace()

struct btrace_target_info * target_enable_btrace ( thread_info tp,
const struct btrace_config *  conf 
)

◆ target_enable_tracepoint()

void target_enable_tracepoint ( bp_location loc)

◆ target_execution_direction()

exec_direction_kind target_execution_direction ( )

◆ target_extra_thread_info()

const char * target_extra_thread_info ( thread_info tp)

◆ target_fetch_memtags()

bool target_fetch_memtags ( CORE_ADDR  address,
size_t  len,
gdb::byte_vector &  tags,
int  type 
)

◆ target_fetch_registers()

void target_fetch_registers ( struct regcache regcache,
int  regno 
)

◆ target_fileio_close()

int target_fileio_close ( int  fd,
fileio_error *  target_errno 
)

◆ target_fileio_fstat()

int target_fileio_fstat ( int  fd,
struct stat *  sb,
fileio_error *  target_errno 
)

◆ target_fileio_open()

int target_fileio_open ( struct inferior inf,
const char *  filename,
int  flags,
int  mode,
bool  warn_if_slow,
fileio_error *  target_errno 
)

◆ target_fileio_pread()

int target_fileio_pread ( int  fd,
gdb_byte *  read_buf,
int  len,
ULONGEST  offset,
fileio_error *  target_errno 
)

◆ target_fileio_pwrite()

int target_fileio_pwrite ( int  fd,
const gdb_byte *  write_buf,
int  len,
ULONGEST  offset,
fileio_error *  target_errno 
)

◆ target_fileio_read_alloc()

LONGEST target_fileio_read_alloc ( struct inferior inf,
const char *  filename,
gdb_byte **  buf_p 
)

Definition at line 3520 of file target.c.

References target_fileio_read_alloc_1().

Referenced by linux_info_proc().

◆ target_fileio_read_alloc_1()

static LONGEST target_fileio_read_alloc_1 ( struct inferior inf,
const char *  filename,
gdb_byte **  buf_p,
int  padding 
)
static

◆ target_fileio_read_stralloc()

gdb::unique_xmalloc_ptr< char > target_fileio_read_stralloc ( struct inferior inf,
const char *  filename 
)

◆ target_fileio_readlink()

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

Definition at line 3400 of file target.c.

References target_ops::beneath(), default_fileio_target(), gdb_printf(), and gdb_stdlog.

Referenced by linux_info_proc().

◆ target_fileio_unlink()

int target_fileio_unlink ( struct inferior inf,
const char *  filename,
fileio_error *  target_errno 
)

Definition at line 3374 of file target.c.

References target_ops::beneath(), default_fileio_target(), gdb_printf(), and gdb_stdlog.

◆ target_files_info()

void target_files_info ( )

Definition at line 299 of file target.c.

References current_inferior(), target_ops::files_info(), and inferior::top_target().

Referenced by info_program_command().

◆ target_filesystem_is_local()

bool target_filesystem_is_local ( )

◆ target_find_memory_regions()

int target_find_memory_regions ( find_memory_region_ftype  func,
void *  data 
)

◆ target_flash_done()

void target_flash_done ( void  )

◆ target_flash_erase()

void target_flash_erase ( ULONGEST  address,
LONGEST  length 
)

◆ target_follow_exec()

void target_follow_exec ( inferior follow_inf,
ptid_t  ptid,
const char *  execd_pathname 
)

Definition at line 2723 of file target.c.

References current_inferior(), target_ops::follow_exec(), and inferior::top_target().

Referenced by follow_exec().

◆ target_follow_fork()

void target_follow_fork ( inferior child_inf,
ptid_t  child_ptid,
target_waitkind  fork_kind,
bool  follow_child,
bool  detach_fork 
)

◆ target_get_ada_task_ptid()

ptid_t target_get_ada_task_ptid ( long  lwp,
ULONGEST  tid 
)

◆ target_get_bookmark()

gdb_byte * target_get_bookmark ( const char *  args,
int  from_tty 
)

Definition at line 457 of file target.c.

References current_inferior(), target_ops::get_bookmark(), and inferior::top_target().

Referenced by save_bookmark_command().

◆ target_get_min_fast_tracepoint_insn_len()

int target_get_min_fast_tracepoint_insn_len ( )

◆ target_get_osdata()

gdb::optional< gdb::char_vector > target_get_osdata ( const char *  type)

◆ target_get_raw_trace_data()

LONGEST target_get_raw_trace_data ( gdb_byte *  buf,
ULONGEST  offset,
LONGEST  len 
)

Definition at line 720 of file target.c.

References current_inferior(), target_ops::get_raw_trace_data(), and inferior::top_target().

Referenced by trace_save().

◆ target_get_section_table()

const target_section_table * target_get_section_table ( struct target_ops target)

◆ target_get_tailcall_unwinder()

const struct frame_unwind * target_get_tailcall_unwinder ( void  )

◆ target_get_tib_address()

bool target_get_tib_address ( ptid_t  ptid,
CORE_ADDR *  addr 
)

◆ target_get_trace_state_variable_value()

bool target_get_trace_state_variable_value ( int  tsv,
LONGEST *  val 
)

◆ target_get_trace_status()

int target_get_trace_status ( trace_status ts)

◆ target_get_tracepoint_status()

void target_get_tracepoint_status ( breakpoint tp,
uploaded_tp utp 
)

◆ target_get_unwinder()

const struct frame_unwind * target_get_unwinder ( void  )

◆ target_goto_bookmark()

void target_goto_bookmark ( const gdb_byte *  arg,
int  from_tty 
)

Definition at line 463 of file target.c.

References current_inferior(), target_ops::goto_bookmark(), and inferior::top_target().

Referenced by goto_bookmark_command().

◆ target_goto_record()

void target_goto_record ( ULONGEST  insn)

Definition at line 4165 of file target.c.

References current_inferior(), target_ops::goto_record(), and inferior::top_target().

Referenced by record_goto(), and recpy_bt_goto().

◆ target_goto_record_begin()

void target_goto_record_begin ( void  )

◆ target_goto_record_end()

void target_goto_record_end ( void  )

◆ target_has_execution()

bool target_has_execution ( inferior inf)

Definition at line 202 of file target.c.

References current_inferior().

Referenced by add_thread_db_info(), adi_assign_command(), adi_examine_command(), attach_command(), call_function_by_hand_dummy(), check_multi_target_resumption(), check_thread_db_callback(), checkpoint_command(), compile_to_object(), darwin_solib_create_inferior_hook(), derive_heap_segment(), enable_break(), expression::evaluate(), exec_file_command(), fbsd_vdso_range(), find_function_in_inferior(), for_each_just_stopped_thread(), gcore_command(), get_bpstat_thread(), remote_target::get_min_fast_tracepoint_insn_len(), inferior::has_execution(), inferior_event_handler(), info_program_command(), insert_breakpoint_locations(), kill_if_already_running(), kill_or_detach(), linux_address_in_memtag_page(), linux_info_proc(), linux_vsyscall_range_raw(), lookup_child_selector(), lookup_objc_class(), maybe_remove_breakpoints(), normal_stop(), remote_target::open_1(), remote_target::read_description(), record_btrace_target_open(), record_full_open_1(), record_thread(), reload_shared_libraries(), remote_target::remote_check_symbols(), remote_target::remote_detach_1(), infcall_suspend_state::restore(), restore_command(), set_non_stop(), set_observer_mode(), set_target_permissions(), svr4_solib_create_inferior_hook(), target_preopen(), thread_db_find_new_threads_silently(), try_thread_db_load_1(), update_inserted_breakpoint_locations(), update_solib_list(), update_watchpoint(), value_allocate_space_in_inferior(), value_nsstring(), remote_target::verify_memory(), windows_solib_create_inferior_hook(), remote_target::xfer_partial(), and rs6000_nat_target::xfer_shared_libraries().

◆ target_has_memory()

int target_has_memory ( )

◆ target_has_pending_events()

bool target_has_pending_events ( )

◆ target_has_registers()

int target_has_registers ( )

◆ target_has_stack()

int target_has_stack ( )

◆ target_have_steppable_watchpoint()

bool target_have_steppable_watchpoint ( )

◆ target_info_proc()

int target_info_proc ( const char *  args,
enum info_proc_what  what 
)

◆ target_insert_breakpoint()

int target_insert_breakpoint ( struct gdbarch gdbarch,
struct bp_target_info bp_tgt 
)

◆ target_insert_exec_catchpoint()

int target_insert_exec_catchpoint ( int  pid)

◆ target_insert_fork_catchpoint()

int target_insert_fork_catchpoint ( int  pid)

◆ target_insert_hw_breakpoint()

int target_insert_hw_breakpoint ( gdbarch gdbarch,
bp_target_info bp_tgt 
)

◆ target_insert_mask_watchpoint()

int target_insert_mask_watchpoint ( CORE_ADDR  addr,
CORE_ADDR  mask,
enum target_hw_bp_type  rw 
)

◆ target_insert_vfork_catchpoint()

int target_insert_vfork_catchpoint ( int  pid)

◆ target_insert_watchpoint()

int target_insert_watchpoint ( CORE_ADDR  addr,
int  len,
target_hw_bp_type  type,
expression cond 
)

◆ target_insn_history()

void target_insn_history ( int  size,
gdb_disassembly_flags  flags 
)

◆ target_insn_history_from()

void target_insn_history_from ( ULONGEST  from,
int  size,
gdb_disassembly_flags  flags 
)

◆ target_insn_history_range()

void target_insn_history_range ( ULONGEST  begin,
ULONGEST  end,
gdb_disassembly_flags  flags 
)

◆ target_interrupt()

void target_interrupt ( )

◆ target_is_async_p()

bool target_is_async_p ( )

◆ target_is_non_stop_p()

bool target_is_non_stop_p ( )

◆ target_kill()

void target_kill ( void  )

◆ target_load()

void target_load ( const char *  arg,
int  from_tty 
)

◆ target_log_command()

void target_log_command ( const char *  p)

◆ target_make_corefile_notes()

gdb::unique_xmalloc_ptr< char > target_make_corefile_notes ( bfd *  bfd,
int *  size_p 
)

◆ target_masked_watch_num_registers()

int target_masked_watch_num_registers ( CORE_ADDR  addr,
CORE_ADDR  mask 
)

◆ target_memory_map()

std::vector< mem_region > target_memory_map ( void  )

◆ target_mourn_inferior()

void target_mourn_inferior ( ptid_t  ptid)

◆ target_options_to_string()

std::string target_options_to_string ( target_wait_flags  target_options)

◆ target_pass_ctrlc()

void target_pass_ctrlc ( void  )

◆ target_pass_signals()

void target_pass_signals ( gdb::array_view< const unsigned char >  pass_signals)

◆ target_pid_to_exec_file()

const char * target_pid_to_exec_file ( int  pid)

◆ target_pid_to_str()

std::string target_pid_to_str ( ptid_t  ptid)

Definition at line 2602 of file target.c.

References current_inferior(), target_ops::pid_to_str(), and inferior::top_target().

Referenced by add_inferior(), add_thread_with_info(), extended_remote_target::attach(), btrace_disable(), btrace_enable(), dcache_info_1(), delete_checkpoint_command(), windows_nat_target::delete_thread(), detach_checkpoint_command(), detach_inferior(), remote_target::disable_btrace(), display_one_tib(), remote_target::enable_btrace(), x86_linux_nat_target::enable_btrace(), exit_lwp(), i386_gnu_nat_target::fetch_registers(), procfs_target::fetch_registers(), inf_ptrace_target::files_info(), nto_procfs_target::files_info(), procfs_target::files_info(), windows_nat_target::files_info(), follow_exec(), follow_fork_inferior(), handle_vfork_child_exec_or_exit(), inferior_pid_to_str(), info_checkpoints_command(), record_btrace_target::info_record(), kill_command(), linux_fork_context(), linux_fork_detach(), linux_fork_mourn_inferior(), tui_locator_window::make_status_line(), normal_stop(), print_exited_reason(), print_inferior_quit_action(), print_program_space(), print_selected_thread_frame(), print_target_wait_results(), print_thread_info_1(), remote_target::remote_detach_1(), remote_target::remote_stop_ns(), fbsd_nat_target::resume(), gnu_nat_target::resume(), i386_gnu_nat_target::store_registers(), procfs_target::store_registers(), target_announce_attach(), target_announce_detach(), target_translate_tls_address(), process_stratum_target::thread_address_space(), thread_command(), thread_find_command(), thread_target_id_str(), fbsd_nat_target::wait(), nbsd_nat_target::wait(), procfs_target::wait(), fbsd_nat_target::wait_1(), and scoped_switch_fork_info::~scoped_switch_fork_info().

◆ target_post_attach()

void target_post_attach ( int  pid)

Definition at line 233 of file target.c.

References current_inferior(), pid, target_ops::post_attach(), and inferior::top_target().

Referenced by setup_inferior().

◆ target_pre_inferior()

void target_pre_inferior ( int  from_tty)

◆ target_preopen()

void target_preopen ( int  from_tty)

◆ target_prepare_to_generate_core()

void target_prepare_to_generate_core ( void  )

◆ target_prepare_to_store()

void target_prepare_to_store ( regcache regcache)

Definition at line 241 of file target.c.

References current_inferior(), target_ops::prepare_to_store(), and inferior::top_target().

Referenced by regcache::raw_write().

◆ target_program_signals()

void target_program_signals ( gdb::array_view< const unsigned char >  program_signals)

◆ target_ranged_break_num_registers()

int target_ranged_break_num_registers ( void  )

◆ target_rcmd()

void target_rcmd ( const char *  command,
struct ui_file outbuf 
)

Definition at line 367 of file target.c.

References current_inferior(), target_ops::rcmd(), and inferior::top_target().

Referenced by do_monitor_command(), and show_bdccsr_command().

◆ target_read()

LONGEST target_read ( struct target_ops ops,
enum target_object  object,
const char *  annex,
gdb_byte *  buf,
ULONGEST  offset,
LONGEST  len 
)

◆ target_read_alloc()

gdb::optional< gdb::byte_vector > target_read_alloc ( struct target_ops ops,
enum target_object  object,
const char *  annex 
)

◆ target_read_alloc_1()

template<typename T >
gdb::optional< gdb::def_vector< T > > target_read_alloc_1 ( struct target_ops ops,
enum target_object  object,
const char *  annex 
)

◆ target_read_btrace()

enum btrace_error target_read_btrace ( struct btrace_data *  btrace,
struct btrace_target_info btinfo,
enum btrace_read_type  type 
)

Definition at line 4065 of file target.c.

References current_inferior(), target_ops::read_btrace(), and inferior::top_target().

Referenced by btrace_fetch().

◆ target_read_code()

int target_read_code ( CORE_ADDR  memaddr,
gdb_byte *  myaddr,
ssize_t  len 
)

◆ target_read_description()

const struct target_desc * target_read_description ( struct target_ops target)

Definition at line 2752 of file target.c.

References target_ops::read_description().

Referenced by target_find_description().

◆ target_read_memory()

int target_read_memory ( CORE_ADDR  memaddr,
gdb_byte *  myaddr,
ssize_t  len 
)

Definition at line 1771 of file target.c.

References current_inferior(), TARGET_OBJECT_MEMORY, and target_read().

Referenced by aarch64_fbsd_sigframe_init(), aarch64_get_longjmp_target(), aarch64_linux_restore_vreg(), aarch64_linux_sigframe_init(), aarch64_process_record(), aarch64_program_breakpoint_here_p(), aarch64_stub_unwind_sniffer(), alpha_get_longjmp_target(), alpha_read_insn(), alpha_skip_prologue(), alphanbsd_sigtramp_offset(), amd64_get_longjmp_target(), amd64_skip_main_prologue(), amd64_stack_frame_destroyed_p(), amd64_windows_find_unwind_info(), amd64_windows_frame_decode_epilogue(), amd64_windows_frame_decode_insns(), amd64_windows_skip_prologue(), amd64_x32_analyze_stack_align(), arc_get_longjmp_target(), arm_breakpoint_kind_from_current_state(), arm_breakpoint_kind_from_pc(), arm_get_longjmp_target(), arm_skip_bx_reg(), arm_stub_unwind_sniffer(), BP_MANIPULATION(), call0_analyze_prologue(), call0_ret(), cp_print_value(), csky_check_long_branch(), csky_get_insn(), csky_pc_is_csky16(), csky_stub_unwind_sniffer(), darwin_current_sos(), darwin_load_image_infos(), darwin_read_exec_load_addr_at_init(), darwin_read_exec_load_addr_from_dyld(), darwin_validate_exec_header(), default_memory_insert_breakpoint(), default_program_breakpoint_here_p(), dsbt_current_sos(), dump_mapping_p(), elf_gnu_ifunc_resolve_by_got(), elf_locate_base(), enable_break2(), execute_code(), fbsd_get_thread_local_address(), fbsd_get_tls_index(), fbsd_read_integer_by_name(), fetch_instruction(), riscv_insn::fetch_instruction(), fetch_loadmap(), fetch_mips_16(), find_canonical_descriptor_in_load_object(), find_extant_func_descr(), frv_analyze_prologue(), frv_current_sos(), frv_linux_pc_in_sigtramp(), frv_linux_sigcontext_reg_addr(), frv_skip_main_prologue(), gcore_copy_callback(), gdb_bfd_scan_elf_dyntag(), gdbscm_memory_port_read(), hppa64_convert_code_addr_to_fptr(), hppa_linux_find_global_pointer(), hppa_match_insns(), hppa_stack_frame_destroyed_p(), hppabsd_find_global_pointer(), i386_darwin_sstep_at_sigreturn(), i386_get_longjmp_target(), i386_in_stack_tramp_p(), i386_stack_frame_destroyed_p(), ia64_breakpoint_from_pc(), ia64_convert_from_func_ptr_addr(), ia64_find_global_pointer_from_dynamic_section(), ia64_memory_insert_breakpoint(), ia64_memory_remove_breakpoint(), insns_match_pattern(), jit_read_code_entry(), jit_read_descriptor(), jit_reader_try_read_symtab(), jit_target_read_impl(), ld_so_xfer_auxv(), lm_base(), lm_info_read(), load_progress(), loongarch_fetch_instruction(), i386_linux_nat_target::low_resume(), m32c_analyze_prologue(), m32r_memory_insert_breakpoint(), m68hc11_pseudo_register_read(), m68k_get_longjmp_target(), mem_bfd_iovec_pread(), memory_validate_breakpoint(), mi_cmd_trace_frame_collected(), microblaze_linux_memory_remove_breakpoint(), mips64_fbsd_sigframe_init(), mips64_linux_get_longjmp_target(), mips_fbsd_sigframe_init(), mips_fetch_instruction(), mips_get_mips16_fn_stub_pc(), mips_linux_get_longjmp_target(), mips_skip_pic_trampoline_code(), mips_stub_frame_sniffer(), mipsnbsd_get_longjmp_target(), mn10300_analyze_prologue(), moxie_process_readu(), msp430_get_opcode_byte(), nds32_get_longjmp_target(), nios2_get_longjmp_target(), nios2_stub_frame_sniffer(), nto_read_auxv_from_initial_stack(), partial_memory_read(), pascal_object_print_value(), pdc_read_data(), ppc_linux_memory_remove_breakpoint(), displaced_step_buffers::prepare(), ps_xfer_memory(), read_aarch64_ctx(), read_memory_backward(), read_program_header(), record_linux_msghdr(), record_linux_sockaddr(), record_linux_system_call(), record_read_memory(), remote_fileio_func_open(), remote_fileio_func_rename(), remote_fileio_func_stat(), remote_fileio_func_system(), remote_fileio_func_unlink(), remote_fileio_func_write(), riscv_fbsd_sigframe_init(), rl78_get_opcode_byte(), rs6000_fetch_instruction(), rs6000_program_breakpoint_here_p(), rs6000_skip_main_prologue(), rw_common(), s390_process_record(), s390_readinstruction(), s390_sigtramp_frame_sniffer(), s390_stack_frame_destroyed_p(), safe_frame_unwind_memory(), safe_read_memory_integer(), safe_read_memory_unsigned_integer(), struct_field_searcher::search(), search_struct_method(), skip_prologue(), skip_prologue_hard_way(), sparc64_linux_get_longjmp_target(), sparc_fetch_instruction(), sparc_supply_rwindow(), stap_modify_semaphore(), target_read_memory_bfd(), target_read_uint32(), target_write_memory_blocks(), thumb2_copy_table_branch(), thumb_stack_frame_destroyed_p(), tic6x_get_longjmp_target(), tilegx_get_longjmp_target(), trad_frame_set_reg_regmap(), val_print_string(), bsd_uthread_target::wait(), windows_solib_create_inferior_hook(), xstormy16_find_jmp_table_entry(), and xtensa_scan_prologue().

◆ target_read_partial()

static enum target_xfer_status target_read_partial ( struct target_ops ops,
enum target_object  object,
const char *  annex,
gdb_byte *  buf,
ULONGEST  offset,
ULONGEST  len,
ULONGEST *  xfered_len 
)
static

Definition at line 1931 of file target.c.

References target_xfer_partial.

Referenced by read_whatever_is_readable(), target_read(), and target_read_alloc_1().

◆ target_read_raw_memory()

int target_read_raw_memory ( CORE_ADDR  memaddr,
gdb_byte *  myaddr,
ssize_t  len 
)

Definition at line 1802 of file target.c.

References current_inferior(), TARGET_OBJECT_RAW_MEMORY, and target_read().

Referenced by dcache_read_line().

◆ target_read_stack()

int target_read_stack ( CORE_ADDR  memaddr,
gdb_byte *  myaddr,
ssize_t  len 
)

Definition at line 1816 of file target.c.

References current_inferior(), TARGET_OBJECT_STACK_MEMORY, and target_read().

◆ target_read_stralloc()

gdb::optional< gdb::char_vector > target_read_stralloc ( struct target_ops ops,
enum target_object  object,
const char *  annex 
)

◆ target_read_uint32()

int target_read_uint32 ( CORE_ADDR  memaddr,
uint32_t *  result 
)

◆ target_record_is_replaying()

int target_record_is_replaying ( ptid_t  ptid)

◆ target_record_method()

enum record_method target_record_method ( ptid_t  ptid)

◆ target_record_stop_replaying()

void target_record_stop_replaying ( void  )

◆ target_record_will_replay()

int target_record_will_replay ( ptid_t  ptid,
int  dir 
)

◆ target_region_ok_for_hw_watchpoint()

int target_region_ok_for_hw_watchpoint ( CORE_ADDR  addr,
int  len 
)

◆ target_remove_breakpoint()

int target_remove_breakpoint ( struct gdbarch gdbarch,
struct bp_target_info bp_tgt,
enum remove_bp_reason  reason 
)

◆ target_remove_exec_catchpoint()

int target_remove_exec_catchpoint ( int  pid)

◆ target_remove_fork_catchpoint()

int target_remove_fork_catchpoint ( int  pid)

◆ target_remove_hw_breakpoint()

int target_remove_hw_breakpoint ( gdbarch gdbarch,
bp_target_info bp_tgt 
)

◆ target_remove_mask_watchpoint()

int target_remove_mask_watchpoint ( CORE_ADDR  addr,
CORE_ADDR  mask,
enum target_hw_bp_type  rw 
)

◆ target_remove_vfork_catchpoint()

int target_remove_vfork_catchpoint ( int  pid)

◆ target_remove_watchpoint()

int target_remove_watchpoint ( CORE_ADDR  addr,
int  len,
target_hw_bp_type  type,
expression cond 
)

◆ target_require_runnable()

void target_require_runnable ( void  )

Definition at line 2801 of file target.c.

References current_inferior(), and process_stratum.

Referenced by kill_if_already_running().

◆ target_resume()

void target_resume ( ptid_t  scope_ptid,
int  step,
enum gdb_signal  signal 
)

◆ target_save_record()

void target_save_record ( const char *  filename)

Definition at line 4093 of file target.c.

References current_inferior(), target_ops::save_record(), and inferior::top_target().

Referenced by cmd_record_save().

◆ target_save_trace_data()

int target_save_trace_data ( const char *  filename)

Definition at line 700 of file target.c.

References current_inferior(), target_ops::save_trace_data(), and inferior::top_target().

Referenced by tfile_target_save().

◆ target_search_memory()

int target_search_memory ( CORE_ADDR  start_addr,
ULONGEST  search_space_len,
const gdb_byte *  pattern,
ULONGEST  pattern_len,
CORE_ADDR *  found_addrp 
)

◆ target_section_by_addr()

const struct target_section * target_section_by_addr ( struct target_ops target,
CORE_ADDR  addr 
)

◆ target_set_circular_trace_buffer()

void target_set_circular_trace_buffer ( int  val)

◆ target_set_disconnected_tracing()

void target_set_disconnected_tracing ( int  val)

◆ target_set_permissions()

void target_set_permissions ( )

◆ target_set_syscall_catchpoint()

int target_set_syscall_catchpoint ( int  pid,
bool  needed,
int  any_count,
gdb::array_view< const int >  syscall_counts 
)

◆ target_set_trace_buffer_size()

void target_set_trace_buffer_size ( LONGEST  val)

◆ target_set_trace_notes()

bool target_set_trace_notes ( const char *  user,
const char *  notes,
const char *  stopnotes 
)

◆ target_shortname()

const char * target_shortname ( )

◆ target_static_tracepoint_marker_at()

bool target_static_tracepoint_marker_at ( CORE_ADDR  addr,
static_tracepoint_marker marker 
)

◆ target_static_tracepoint_markers_by_strid()

std::vector< static_tracepoint_marker > target_static_tracepoint_markers_by_strid ( const char *  marker_id)

◆ target_stop()

void target_stop ( ptid_t  ptid)

◆ target_stop_and_wait()

void target_stop_and_wait ( ptid_t  ptid)

Definition at line 3847 of file target.c.

References non_stop, status, target_stop(), and target_wait().

◆ target_stop_recording()

void target_stop_recording ( void  )

◆ target_stopped_by_hw_breakpoint()

bool target_stopped_by_hw_breakpoint ( )

◆ target_stopped_by_sw_breakpoint()

bool target_stopped_by_sw_breakpoint ( )

◆ target_stopped_by_watchpoint()

bool target_stopped_by_watchpoint ( )

◆ target_store_memtags()

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

◆ target_store_registers()

void target_store_registers ( struct regcache regcache,
int  regno 
)

◆ target_supports_delete_record()

int target_supports_delete_record ( void  )

◆ target_supports_disable_randomization()

int target_supports_disable_randomization ( void  )

◆ target_supports_dumpcore()

bool target_supports_dumpcore ( )

Definition at line 275 of file target.c.

References current_inferior(), target_ops::supports_dumpcore(), and inferior::top_target().

Referenced by gcore_command().

◆ target_supports_enable_disable_tracepoint()

bool target_supports_enable_disable_tracepoint ( )

◆ target_supports_evaluation_of_breakpoint_conditions()

bool target_supports_evaluation_of_breakpoint_conditions ( )

◆ target_supports_memory_tagging()

bool target_supports_memory_tagging ( )

◆ target_supports_multi_process()

int target_supports_multi_process ( void  )

◆ target_supports_stopped_by_hw_breakpoint()

bool target_supports_stopped_by_hw_breakpoint ( )

◆ target_supports_stopped_by_sw_breakpoint()

bool target_supports_stopped_by_sw_breakpoint ( )

◆ target_supports_string_tracing()

bool target_supports_string_tracing ( )

◆ target_supports_terminal_ours()

bool target_supports_terminal_ours ( void  )

◆ target_teardown_btrace()

void target_teardown_btrace ( struct btrace_target_info btinfo)

Definition at line 4057 of file target.c.

References current_inferior(), target_ops::teardown_btrace(), and inferior::top_target().

Referenced by btrace_teardown().

◆ target_terminal_is_ours_kind()

static void target_terminal_is_ours_kind ( target_terminal_state  desired_state)
static

◆ target_thread_address_space()

struct address_space * target_thread_address_space ( ptid_t  ptid)

◆ target_thread_alive()

int target_thread_alive ( ptid_t  ptid)

◆ target_thread_architecture()

gdbarch * target_thread_architecture ( ptid_t  ptid)

◆ target_thread_events()

void target_thread_events ( int  enable)

Definition at line 4342 of file target.c.

References current_inferior(), enable, target_ops::thread_events(), and inferior::top_target().

Referenced by stop_all_threads().

◆ target_thread_handle_to_thread_info()

struct thread_info * target_thread_handle_to_thread_info ( const gdb_byte *  thread_handle,
int  handle_len,
struct inferior inf 
)

◆ target_thread_info_to_thread_handle()

gdb::byte_vector target_thread_info_to_thread_handle ( struct thread_info tip)

Definition at line 2628 of file target.c.

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

Referenced by thpy_thread_handle().

◆ target_thread_name()

const char * target_thread_name ( struct thread_info info)

Definition at line 2608 of file target.c.

References current_inferior(), target_ops::thread_name(), and inferior::top_target().

Referenced by thread_find_command(), and thread_name().

◆ target_trace_find()

int target_trace_find ( trace_find_type  type,
int  num,
CORE_ADDR  addr1,
CORE_ADDR  addr2,
int *  tpp 
)

◆ target_trace_init()

void target_trace_init ( )

Definition at line 615 of file target.c.

References current_inferior(), inferior::top_target(), and target_ops::trace_init().

Referenced by start_tracing().

◆ target_trace_set_readonly_regions()

void target_trace_set_readonly_regions ( )

◆ target_trace_start()

void target_trace_start ( )

Definition at line 653 of file target.c.

References current_inferior(), inferior::top_target(), and target_ops::trace_start().

Referenced by start_tracing().

◆ target_trace_stop()

void target_trace_stop ( )

Definition at line 677 of file target.c.

References current_inferior(), inferior::top_target(), and target_ops::trace_stop().

Referenced by stop_tracing().

◆ target_traceframe_info()

traceframe_info_up target_traceframe_info ( )

Definition at line 792 of file target.c.

References current_inferior(), inferior::top_target(), and target_ops::traceframe_info().

Referenced by get_traceframe_info().

◆ target_translate_tls_address()

CORE_ADDR target_translate_tls_address ( struct objfile objfile,
CORE_ADDR  offset 
)

◆ target_update_thread_list()

void target_update_thread_list ( void  )

◆ target_upload_trace_state_variables()

int target_upload_trace_state_variables ( uploaded_tsv **  utsvp)

◆ target_upload_tracepoints()

int target_upload_tracepoints ( uploaded_tp **  utpp)

Definition at line 706 of file target.c.

References current_inferior(), inferior::top_target(), and target_ops::upload_tracepoints().

Referenced by trace_save().

◆ target_use_agent()

bool target_use_agent ( bool  use)

Definition at line 798 of file target.c.

References current_inferior(), inferior::top_target(), and target_ops::use_agent().

Referenced by set_can_use_agent().

◆ target_verify_memory()

int target_verify_memory ( const gdb_byte *  data,
CORE_ADDR  memaddr,
ULONGEST  size 
)

◆ target_wait()

ptid_t target_wait ( ptid_t  ptid,
struct target_waitstatus status,
target_wait_flags  options 
)

◆ target_write()

LONGEST target_write ( struct target_ops ops,
enum target_object  object,
const char *  annex,
const gdb_byte *  buf,
ULONGEST  offset,
LONGEST  len 
)

◆ target_write_memory()

int target_write_memory ( CORE_ADDR  memaddr,
const gdb_byte *  myaddr,
ssize_t  len 
)

◆ target_write_partial()

static enum target_xfer_status target_write_partial ( struct target_ops ops,
enum target_object  object,
const char *  annex,
const gdb_byte *  buf,
ULONGEST  offset,
LONGEST  len,
ULONGEST *  xfered_len 
)
static

Definition at line 1942 of file target.c.

References target_xfer_partial.

Referenced by target_write_with_progress().

◆ target_write_raw_memory()

int target_write_raw_memory ( CORE_ADDR  memaddr,
const gdb_byte *  myaddr,
ssize_t  len 
)

◆ target_write_with_progress()

LONGEST target_write_with_progress ( struct target_ops ops,
enum target_object  object,
const char *  annex,
const gdb_byte *  buf,
ULONGEST  offset,
LONGEST  len,
void(*)(ULONGEST, void *)  progress,
void *  baton 
)

◆ target_xfer_partial()

enum target_xfer_status target_xfer_partial ( struct target_ops ops,
enum target_object  object,
const char *  annex,
gdb_byte *  readbuf,
const gdb_byte *  writebuf,
ULONGEST  offset,
ULONGEST  len,
ULONGEST *  xfered_len 
)

◆ target_xfer_status_to_string()

const char * target_xfer_status_to_string ( enum target_xfer_status  status)

Definition at line 1356 of file target.c.

References CASE, status, TARGET_XFER_E_IO, and TARGET_XFER_UNAVAILABLE.

Referenced by memory_error_message().

◆ tcomplain()

static void tcomplain ( void  )
static

◆ update_target_permissions()

void update_target_permissions ( void  )

Variable Documentation

◆ auto_connect_native_target

bool auto_connect_native_target = true
static

Definition at line 2833 of file target.c.

Referenced by find_default_run_target().

◆ dummy_target_info

const target_info dummy_target_info
static
Initial value:
= {
"None",
N_("None"),
""
}

Definition at line 3716 of file target.c.

Referenced by dummy_target::info().

◆ fileio_fhandles

std::vector<fileio_fh_t> fileio_fhandles
static

Definition at line 3113 of file target.c.

Referenced by acquire_fileio_fd(), fileio_fd_to_fh(), and fileio_handles_invalidate_target().

◆ lowest_closed_fd

int lowest_closed_fd
static

Definition at line 3118 of file target.c.

Referenced by acquire_fileio_fd(), and release_fileio_fd().

◆ may_insert_breakpoints_1

bool may_insert_breakpoints_1 = true
static

Definition at line 4458 of file target.c.

Referenced by set_target_permissions(), and update_target_permissions().

◆ may_insert_fast_tracepoints_1

bool may_insert_fast_tracepoints_1 = true
static

Definition at line 4460 of file target.c.

Referenced by set_target_permissions(), and update_target_permissions().

◆ may_insert_tracepoints_1

bool may_insert_tracepoints_1 = true
static

Definition at line 4459 of file target.c.

Referenced by set_target_permissions(), and update_target_permissions().

◆ may_stop_1

bool may_stop_1 = true
static

Definition at line 4461 of file target.c.

Referenced by set_target_permissions(), and update_target_permissions().

◆ may_write_memory_1

bool may_write_memory_1 = true
static

Definition at line 4457 of file target.c.

Referenced by set_write_memory_permission(), and update_target_permissions().

◆ may_write_registers_1

bool may_write_registers_1 = true
static

Definition at line 4456 of file target.c.

Referenced by set_target_permissions(), and update_target_permissions().

◆ targ_desc

char targ_desc[]
static
Initial value:
=
"Names of targets and files being debugged.\nShows the entire \
stack of targets currently in use (including the exec-file,\n\
core-file, and process, if any), as well as the symbol file name."

Definition at line 4254 of file target.c.

◆ target_async_permitted

bool target_async_permitted = true

◆ target_non_stop_enabled

enum auto_boolean target_non_stop_enabled = AUTO_BOOLEAN_AUTO

◆ the_dummy_target

dummy_target the_dummy_target
static

Definition at line 3706 of file target.c.

Referenced by get_dummy_target().

◆ the_native_target

target_ops* the_native_target
static

Definition at line 2848 of file target.c.

Referenced by find_default_run_target(), get_native_target(), and set_native_target().