GDB (xrefs)
Classes | Macros | Typedefs | Enumerations | Functions | Variables
/tmp/gdb-8.1/gdb/target.h File Reference
#include "infrun.h"
#include "breakpoint.h"
#include "common/scoped_restore.h"
#include "target/target.h"
#include "target/resume.h"
#include "target/wait.h"
#include "target/waitstatus.h"
#include "bfd.h"
#include "symtab.h"
#include "memattr.h"
#include "vec.h"
#include "gdb_signals.h"
#include "btrace.h"
#include "record.h"
#include "command.h"
#include "disasm.h"
#include "tracepoint.h"
#include "break-common.h"

Go to the source code of this file.

Classes

struct  syscall
 
struct  memory_read_result
 
struct  target_ops
 
struct  memory_write_request
 
struct  target_section
 
struct  target_section_table
 

Macros

#define TARGET_DEBUG_PRINTER(FUNC)
 
#define TARGET_DEFAULT_IGNORE()
 
#define TARGET_DEFAULT_NORETURN(ARG)
 
#define TARGET_DEFAULT_RETURN(ARG)
 
#define TARGET_DEFAULT_FUNC(ARG)
 
#define OPS_MAGIC   3840
 
#define target_shortname   (current_target.to_shortname)
 
#define target_longname   (current_target.to_longname)
 
#define target_attach_no_wait   (current_target.to_attach_no_wait)
 
#define target_post_attach(pid)   (*current_target.to_post_attach) (&current_target, pid)
 
#define target_prepare_to_store(regcache)   (*current_target.to_prepare_to_store) (&current_target, regcache)
 
#define target_supports_enable_disable_tracepoint()   (*current_target.to_supports_enable_disable_tracepoint) (&current_target)
 
#define target_supports_string_tracing()   (*current_target.to_supports_string_tracing) (&current_target)
 
#define target_supports_evaluation_of_breakpoint_conditions()   (*current_target.to_supports_evaluation_of_breakpoint_conditions) (&current_target)
 
#define target_can_run_breakpoint_commands()   (*current_target.to_can_run_breakpoint_commands) (&current_target)
 
#define target_files_info()   (*current_target.to_files_info) (&current_target)
 
#define target_post_startup_inferior(ptid)   (*current_target.to_post_startup_inferior) (&current_target, ptid)
 
#define target_insert_fork_catchpoint(pid)   (*current_target.to_insert_fork_catchpoint) (&current_target, pid)
 
#define target_remove_fork_catchpoint(pid)   (*current_target.to_remove_fork_catchpoint) (&current_target, pid)
 
#define target_insert_vfork_catchpoint(pid)   (*current_target.to_insert_vfork_catchpoint) (&current_target, pid)
 
#define target_remove_vfork_catchpoint(pid)   (*current_target.to_remove_vfork_catchpoint) (&current_target, pid)
 
#define target_insert_exec_catchpoint(pid)   (*current_target.to_insert_exec_catchpoint) (&current_target, pid)
 
#define target_remove_exec_catchpoint(pid)   (*current_target.to_remove_exec_catchpoint) (&current_target, pid)
 
#define target_set_syscall_catchpoint(pid, needed, any_count, syscall_counts)
 
#define target_has_exited(pid, wait_status, exit_status)
 
#define target_can_run(t)   ((t)->to_can_run) (t)
 
#define target_rcmd(command, outbuf)   (*current_target.to_rcmd) (&current_target, command, outbuf)
 
#define target_has_all_memory   target_has_all_memory_1 ()
 
#define target_has_memory   target_has_memory_1 ()
 
#define target_has_stack   target_has_stack_1 ()
 
#define target_has_registers   target_has_registers_1 ()
 
#define target_has_execution   target_has_execution_current ()
 
#define target_can_lock_scheduler   (current_target.to_has_thread_control & tc_schedlock)
 
#define target_can_async_p()   (current_target.to_can_async_p (&current_target))
 
#define target_is_async_p()   (current_target.to_is_async_p (&current_target))
 
#define target_execution_direction()   (current_target.to_execution_direction (&current_target))
 
#define target_extra_thread_info(TP)   (current_target.to_extra_thread_info (&current_target, TP))
 
#define target_pid_to_exec_file(pid)   (current_target.to_pid_to_exec_file) (&current_target, pid)
 
#define target_thread_architecture(ptid)   (current_target.to_thread_architecture (&current_target, ptid))
 
#define target_find_memory_regions(FUNC, DATA)   (current_target.to_find_memory_regions) (&current_target, FUNC, DATA)
 
#define target_make_corefile_notes(BFD, SIZE_P)   (current_target.to_make_corefile_notes) (&current_target, BFD, SIZE_P)
 
#define target_get_bookmark(ARGS, FROM_TTY)   (current_target.to_get_bookmark) (&current_target, ARGS, FROM_TTY)
 
#define target_goto_bookmark(ARG, FROM_TTY)   (current_target.to_goto_bookmark) (&current_target, ARG, FROM_TTY)
 
#define target_stopped_by_watchpoint()   ((*current_target.to_stopped_by_watchpoint) (&current_target))
 
#define target_stopped_by_sw_breakpoint()   ((*current_target.to_stopped_by_sw_breakpoint) (&current_target))
 
#define target_supports_stopped_by_sw_breakpoint()   ((*current_target.to_supports_stopped_by_sw_breakpoint) (&current_target))
 
#define target_stopped_by_hw_breakpoint()   ((*current_target.to_stopped_by_hw_breakpoint) (&current_target))
 
#define target_supports_stopped_by_hw_breakpoint()   ((*current_target.to_supports_stopped_by_hw_breakpoint) (&current_target))
 
#define target_have_steppable_watchpoint   (current_target.to_have_steppable_watchpoint)
 
#define target_have_continuable_watchpoint   (current_target.to_have_continuable_watchpoint)
 
#define target_can_use_hardware_watchpoint(TYPE, CNT, OTHERTYPE)
 
#define target_region_ok_for_hw_watchpoint(addr, len)
 
#define target_can_do_single_step()   (*current_target.to_can_do_single_step) (&current_target)
 
#define target_insert_watchpoint(addr, len, type, cond)
 
#define target_remove_watchpoint(addr, len, type, cond)
 
#define target_insert_hw_breakpoint(gdbarch, bp_tgt)
 
#define target_remove_hw_breakpoint(gdbarch, bp_tgt)
 
#define target_stopped_data_address(target, addr_p)   (*(target)->to_stopped_data_address) (target, addr_p)
 
#define target_watchpoint_addr_within_range(target, addr, start, length)   (*(target)->to_watchpoint_addr_within_range) (target, addr, start, length)
 
#define target_can_accel_watchpoint_condition(addr, len, type, cond)
 
#define target_can_execute_reverse   current_target.to_can_execute_reverse (&current_target)
 
#define target_get_ada_task_ptid(lwp, tid)   (*current_target.to_get_ada_task_ptid) (&current_target, lwp,tid)
 
#define target_filesystem_is_local()   current_target.to_filesystem_is_local (&current_target)
 
#define target_trace_init()   (*current_target.to_trace_init) (&current_target)
 
#define target_download_tracepoint(t)   (*current_target.to_download_tracepoint) (&current_target, t)
 
#define target_can_download_tracepoint()   (*current_target.to_can_download_tracepoint) (&current_target)
 
#define target_download_trace_state_variable(tsv)   (*current_target.to_download_trace_state_variable) (&current_target, tsv)
 
#define target_enable_tracepoint(loc)   (*current_target.to_enable_tracepoint) (&current_target, loc)
 
#define target_disable_tracepoint(loc)   (*current_target.to_disable_tracepoint) (&current_target, loc)
 
#define target_trace_start()   (*current_target.to_trace_start) (&current_target)
 
#define target_trace_set_readonly_regions()   (*current_target.to_trace_set_readonly_regions) (&current_target)
 
#define target_get_trace_status(ts)   (*current_target.to_get_trace_status) (&current_target, ts)
 
#define target_get_tracepoint_status(tp, utp)   (*current_target.to_get_tracepoint_status) (&current_target, tp, utp)
 
#define target_trace_stop()   (*current_target.to_trace_stop) (&current_target)
 
#define target_trace_find(type, num, addr1, addr2, tpp)
 
#define target_get_trace_state_variable_value(tsv, val)
 
#define target_save_trace_data(filename)   (*current_target.to_save_trace_data) (&current_target, filename)
 
#define target_upload_tracepoints(utpp)   (*current_target.to_upload_tracepoints) (&current_target, utpp)
 
#define target_upload_trace_state_variables(utsvp)   (*current_target.to_upload_trace_state_variables) (&current_target, utsvp)
 
#define target_get_raw_trace_data(buf, offset, len)
 
#define target_get_min_fast_tracepoint_insn_len()   (*current_target.to_get_min_fast_tracepoint_insn_len) (&current_target)
 
#define target_set_disconnected_tracing(val)   (*current_target.to_set_disconnected_tracing) (&current_target, val)
 
#define target_set_circular_trace_buffer(val)   (*current_target.to_set_circular_trace_buffer) (&current_target, val)
 
#define target_set_trace_buffer_size(val)   (*current_target.to_set_trace_buffer_size) (&current_target, val)
 
#define target_set_trace_notes(user, notes, stopnotes)
 
#define target_get_tib_address(ptid, addr)   (*current_target.to_get_tib_address) (&current_target, (ptid), (addr))
 
#define target_set_permissions()   (*current_target.to_set_permissions) (&current_target)
 
#define target_static_tracepoint_marker_at(addr, marker)
 
#define target_static_tracepoint_markers_by_strid(marker_id)
 
#define target_traceframe_info()   (*current_target.to_traceframe_info) (&current_target)
 
#define target_use_agent(use)   (*current_target.to_use_agent) (&current_target, use)
 
#define target_can_use_agent()   (*current_target.to_can_use_agent) (&current_target)
 
#define target_augmented_libraries_svr4_read()   (*current_target.to_augmented_libraries_svr4_read) (&current_target)
 
#define target_log_command(p)   (*current_target.to_log_command) (&current_target, p)
 

Typedefs

typedef struct static_tracepoint_markerstatic_tracepoint_marker_p
 
typedef void async_callback_ftype(enum inferior_event_type event_type, void *context)
 
typedef struct memory_write_request memory_write_request_s
 

Enumerations

enum  strata {
  dummy_stratum, file_stratum, process_stratum, thread_stratum,
  record_stratum, arch_stratum
}
 
enum  thread_control_capabilities { tc_none = 0, tc_schedlock = 1 }
 
enum  inferior_event_type { INF_REG_EVENT, INF_EXEC_COMPLETE }
 
enum  target_object {
  TARGET_OBJECT_AVR, TARGET_OBJECT_SPU, TARGET_OBJECT_MEMORY, TARGET_OBJECT_RAW_MEMORY,
  TARGET_OBJECT_STACK_MEMORY, TARGET_OBJECT_CODE_MEMORY, TARGET_OBJECT_UNWIND_TABLE, TARGET_OBJECT_AUXV,
  TARGET_OBJECT_WCOOKIE, TARGET_OBJECT_MEMORY_MAP, TARGET_OBJECT_FLASH, TARGET_OBJECT_AVAILABLE_FEATURES,
  TARGET_OBJECT_LIBRARIES, TARGET_OBJECT_LIBRARIES_SVR4, TARGET_OBJECT_LIBRARIES_AIX, TARGET_OBJECT_OSDATA,
  TARGET_OBJECT_SIGNAL_INFO, TARGET_OBJECT_THREADS, TARGET_OBJECT_STATIC_TRACE_DATA, TARGET_OBJECT_TRACEFRAME_INFO,
  TARGET_OBJECT_FDPIC, TARGET_OBJECT_DARWIN_DYLD_INFO, TARGET_OBJECT_OPENVMS_UIB, TARGET_OBJECT_BTRACE,
  TARGET_OBJECT_BTRACE_CONF, TARGET_OBJECT_EXEC_FILE
}
 
enum  target_xfer_status { TARGET_XFER_OK = 1, TARGET_XFER_EOF = 0, TARGET_XFER_UNAVAILABLE = 2, TARGET_XFER_E_IO = -1 }
 
enum  flash_preserve_mode { flash_preserve, flash_discard }
 

Functions

char * target_options_to_string (int target_options)
 
const char * target_xfer_status_to_string (enum target_xfer_status status)
 
 DEF_VEC_P (static_tracepoint_marker_p)
 
enum target_xfer_status target_xfer_partial_ftype (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)
 
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)
 
LONGEST target_read (struct target_ops *ops, enum target_object object, const char *annex, gdb_byte *buf, ULONGEST offset, LONGEST len)
 
std::vector< memory_read_resultread_memory_robust (struct target_ops *ops, const ULONGEST offset, const LONGEST len)
 
LONGEST target_write (struct target_ops *ops, enum target_object object, const char *annex, const gdb_byte *buf, ULONGEST offset, 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_read_alloc (struct target_ops *ops, enum target_object object, const char *annex, gdb_byte **buf_p)
 
gdb::unique_xmalloc_ptr< char > 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)
 
void target_close (struct target_ops *targ)
 
struct target_opsfind_attach_target (void)
 
struct target_opsfind_run_target (void)
 
void target_announce_detach (int from_tty)
 
void target_detach (const char *, int)
 
void target_disconnect (const char *, int)
 
void target_resume (ptid_t ptid, int step, enum gdb_signal signal)
 
void target_commit_resume ()
 
scoped_restore_tmpl< int > make_scoped_defer_target_commit_resume ()
 
ptid_t default_target_wait (struct target_ops *ops, ptid_t ptid, struct target_waitstatus *status, int options)
 
void target_fetch_registers (struct regcache *regcache, int regno)
 
void target_store_registers (struct regcache *regcache, int regs)
 
struct address_spacetarget_thread_address_space (ptid_t)
 
int target_info_proc (const char *, enum info_proc_what)
 
int target_supports_disable_randomization (void)
 
int target_read_string (CORE_ADDR, char **, int, int *)
 
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_raw_memory (CORE_ADDR memaddr, const gdb_byte *myaddr, ssize_t len)
 
std::vector< mem_regiontarget_memory_map (void)
 
void flash_erase_command (const char *cmd, int from_tty)
 
void target_flash_erase (ULONGEST address, LONGEST length)
 
void target_flash_done (void)
 
 DEF_VEC_O (memory_write_request_s)
 
int target_write_memory_blocks (VEC(memory_write_request_s) *requests, enum flash_preserve_mode preserve_flash_p, void(*progress_cb)(ULONGEST, void *))
 
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)
 
int target_supports_terminal_ours (void)
 
void target_kill (void)
 
void target_load (const char *arg, int from_tty)
 
int target_follow_fork (int follow_child, int detach_fork)
 
void target_follow_exec (struct inferior *inf, char *execd_pathname)
 
void target_pass_signals (int nsig, unsigned char *pass_signals)
 
void target_program_signals (int nsig, unsigned char *program_signals)
 
int target_thread_alive (ptid_t ptid)
 
void target_update_thread_list (void)
 
void target_stop (ptid_t ptid)
 
void target_interrupt (ptid_t ptid)
 
void target_pass_ctrlc (void)
 
void default_target_pass_ctrlc (struct target_ops *ops)
 
int target_has_all_memory_1 (void)
 
int target_has_memory_1 (void)
 
int target_has_stack_1 (void)
 
int target_has_registers_1 (void)
 
int target_has_execution_1 (ptid_t)
 
int target_has_execution_current (void)
 
int default_child_has_all_memory (struct target_ops *ops)
 
int default_child_has_memory (struct target_ops *ops)
 
int default_child_has_stack (struct target_ops *ops)
 
int default_child_has_registers (struct target_ops *ops)
 
int default_child_has_execution (struct target_ops *ops, ptid_t the_ptid)
 
void target_async (int enable)
 
void target_thread_events (int enable)
 
int target_is_non_stop_p (void)
 
const char * target_pid_to_str (ptid_t ptid)
 
const char * normal_pid_to_str (ptid_t ptid)
 
const char * target_thread_name (struct thread_info *)
 
struct thread_infotarget_thread_handle_to_thread_info (const gdb_byte *thread_handle, int handle_len, struct inferior *inf)
 
int target_insert_mask_watchpoint (CORE_ADDR, CORE_ADDR, enum target_hw_bp_type)
 
int target_remove_mask_watchpoint (CORE_ADDR, CORE_ADDR, enum target_hw_bp_type)
 
int target_ranged_break_num_registers (void)
 
int target_masked_watch_num_registers (CORE_ADDR addr, CORE_ADDR mask)
 
const struct target_desctarget_read_description (struct target_ops *)
 
int simple_search_memory (struct target_ops *ops, 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)
 
int target_fileio_open (struct inferior *inf, const char *filename, int flags, int mode, int *target_errno)
 
int target_fileio_open_warn_if_slow (struct inferior *inf, const char *filename, int flags, int mode, int *target_errno)
 
int target_fileio_pwrite (int fd, const gdb_byte *write_buf, int len, ULONGEST offset, int *target_errno)
 
int target_fileio_pread (int fd, gdb_byte *read_buf, int len, ULONGEST offset, int *target_errno)
 
int target_fileio_fstat (int fd, struct stat *sb, int *target_errno)
 
int target_fileio_close (int fd, int *target_errno)
 
int target_fileio_unlink (struct inferior *inf, const char *filename, int *target_errno)
 
char * target_fileio_readlink (struct inferior *inf, const char *filename, int *target_errno)
 
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)
 
int target_core_of_thread (ptid_t ptid)
 
const struct frame_unwindtarget_get_unwinder (void)
 
const struct frame_unwindtarget_get_tailcall_unwinder (void)
 
int simple_verify_memory (struct target_ops *ops, const gdb_byte *data, CORE_ADDR memaddr, ULONGEST size)
 
int target_verify_memory (const gdb_byte *data, CORE_ADDR memaddr, ULONGEST size)
 
void add_target (struct target_ops *)
 
void add_target_with_completer (struct target_ops *t, completer_ftype *completer)
 
void complete_target_initialization (struct target_ops *t)
 
void add_deprecated_target_alias (struct target_ops *t, const char *alias)
 
void push_target (struct target_ops *)
 
int unpush_target (struct target_ops *)
 
void target_pre_inferior (int)
 
void target_preopen (int)
 
void pop_all_targets (void)
 
void pop_all_targets_at_and_above (enum strata stratum)
 
void pop_all_targets_above (enum strata above_stratum)
 
int target_is_pushed (struct target_ops *t)
 
CORE_ADDR target_translate_tls_address (struct objfile *objfile, CORE_ADDR offset)
 
struct target_sectiontarget_section_by_addr (struct target_ops *target, CORE_ADDR addr)
 
struct target_section_tabletarget_get_section_table (struct target_ops *target)
 
int memory_remove_breakpoint (struct target_ops *, struct gdbarch *, struct bp_target_info *, enum remove_bp_reason)
 
int memory_insert_breakpoint (struct target_ops *, struct gdbarch *, struct bp_target_info *)
 
int memory_validate_breakpoint (struct gdbarch *gdbarch, struct bp_target_info *bp_tgt)
 
int default_memory_remove_breakpoint (struct gdbarch *, struct bp_target_info *)
 
int default_memory_insert_breakpoint (struct gdbarch *, struct bp_target_info *)
 
void initialize_targets (void)
 
void noprocess (void) ATTRIBUTE_NORETURN
 
void target_require_runnable (void)
 
struct target_opsfind_target_beneath (struct target_ops *)
 
struct target_opsfind_target_at (enum strata stratum)
 
gdb::unique_xmalloc_ptr< char > target_get_osdata (const char *type)
 
scoped_restore_tmpl< int > make_scoped_restore_show_memory_breakpoints (int show)
 
void update_target_permissions (void)
 
int target_supports_btrace (enum btrace_format)
 
struct btrace_target_infotarget_enable_btrace (ptid_t ptid, const struct btrace_config *)
 
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 *, struct btrace_target_info *, enum btrace_read_type)
 
const struct btrace_configtarget_btrace_conf (const struct btrace_target_info *)
 
void target_stop_recording (void)
 
void target_save_record (const char *filename)
 
int target_supports_delete_record (void)
 
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, int flags)
 
void target_call_history_from (ULONGEST begin, int size, int flags)
 
void target_call_history_range (ULONGEST begin, ULONGEST end, int flags)
 
void target_prepare_to_generate_core (void)
 
void target_done_generating_core (void)
 

Variables

target_xfer_partial_ftype target_xfer_partial
 
struct target_ops current_target
 
int target_async_permitted
 
enum auto_boolean target_non_stop_enabled
 
int remote_debug
 
int baud_rate
 
int serial_parity
 
int remote_timeout
 
int may_write_registers
 
int may_write_memory
 
int may_insert_breakpoints
 
int may_insert_tracepoints
 
int may_insert_fast_tracepoints
 
int may_stop
 

Macro Definition Documentation

◆ OPS_MAGIC

#define OPS_MAGIC   3840

◆ target_attach_no_wait

#define target_attach_no_wait   (current_target.to_attach_no_wait)

Definition at line 1307 of file target.h.

Referenced by attach_command().

◆ target_augmented_libraries_svr4_read

#define target_augmented_libraries_svr4_read ( )    (*current_target.to_augmented_libraries_svr4_read) (&current_target)

Definition at line 2221 of file target.h.

Referenced by solist_update_incremental(), and svr4_current_sos_via_xfer_libraries().

◆ target_can_accel_watchpoint_condition

#define target_can_accel_watchpoint_condition (   addr,
  len,
  type,
  cond 
)
Value:
addr, len, type, cond)
struct target_ops current_target
Definition: gdbtypes.h:749
int(* to_can_accel_watchpoint_condition)(struct target_ops *, CORE_ADDR, int, int, struct expression *) TARGET_DEFAULT_RETURN(0)
Definition: target.h:547

Definition at line 2002 of file target.h.

Referenced by watchpoint_locations_match().

◆ target_can_async_p

#define target_can_async_p ( )    (current_target.to_can_async_p (&current_target))

◆ target_can_do_single_step

#define target_can_do_single_step ( )    (*current_target.to_can_do_single_step) (&current_target)

Definition at line 1930 of file target.h.

Referenced by arm_linux_software_single_step().

◆ target_can_download_tracepoint

#define target_can_download_tracepoint ( )    (*current_target.to_can_download_tracepoint) (&current_target)

Definition at line 2134 of file target.h.

Referenced by download_tracepoint_locations().

◆ target_can_execute_reverse

#define target_can_execute_reverse   current_target.to_can_execute_reverse (&current_target)

◆ target_can_lock_scheduler

#define target_can_lock_scheduler   (current_target.to_has_thread_control & tc_schedlock)

Definition at line 1771 of file target.h.

Referenced by set_schedlock_func().

◆ target_can_run

#define target_can_run (   t)    ((t)->to_can_run) (t)

◆ target_can_run_breakpoint_commands

#define target_can_run_breakpoint_commands ( )    (*current_target.to_can_run_breakpoint_commands) (&current_target)

◆ target_can_use_agent

#define target_can_use_agent ( )    (*current_target.to_can_use_agent) (&current_target)

Definition at line 2218 of file target.h.

◆ target_can_use_hardware_watchpoint

#define target_can_use_hardware_watchpoint (   TYPE,
  CNT,
  OTHERTYPE 
)
Value:
TYPE, CNT, OTHERTYPE)
int(* to_can_use_hw_breakpoint)(struct target_ops *, enum bptype, int, int) TARGET_DEFAULT_RETURN(0)
Definition: target.h:502
struct target_ops current_target

Definition at line 1918 of file target.h.

Referenced by break_range_command(), enable_breakpoint_disp(), init_breakpoint_sal(), and update_watchpoint().

◆ TARGET_DEBUG_PRINTER

#define TARGET_DEBUG_PRINTER (   FUNC)

Definition at line 386 of file target.h.

◆ TARGET_DEFAULT_FUNC

#define TARGET_DEFAULT_FUNC (   ARG)

Definition at line 410 of file target.h.

◆ TARGET_DEFAULT_IGNORE

#define TARGET_DEFAULT_IGNORE ( )

Definition at line 407 of file target.h.

◆ TARGET_DEFAULT_NORETURN

#define TARGET_DEFAULT_NORETURN (   ARG)

Definition at line 408 of file target.h.

◆ TARGET_DEFAULT_RETURN

#define TARGET_DEFAULT_RETURN (   ARG)

Definition at line 409 of file target.h.

◆ target_disable_tracepoint

#define target_disable_tracepoint (   loc)    (*current_target.to_disable_tracepoint) (&current_target, loc)

Definition at line 2143 of file target.h.

Referenced by disable_breakpoint(), and enable_disable_bp_num_loc().

◆ target_download_trace_state_variable

#define target_download_trace_state_variable (   tsv)    (*current_target.to_download_trace_state_variable) (&current_target, tsv)

Definition at line 2137 of file target.h.

Referenced by start_tracing().

◆ target_download_tracepoint

#define target_download_tracepoint (   t)    (*current_target.to_download_tracepoint) (&current_target, t)

Definition at line 2131 of file target.h.

Referenced by download_tracepoint_locations(), and start_tracing().

◆ target_enable_tracepoint

#define target_enable_tracepoint (   loc)    (*current_target.to_enable_tracepoint) (&current_target, loc)

Definition at line 2140 of file target.h.

Referenced by enable_breakpoint_disp().

◆ target_execution_direction

#define target_execution_direction ( )    (current_target.to_execution_direction (&current_target))

Definition at line 1798 of file target.h.

Referenced by fetch_inferior_event().

◆ target_extra_thread_info

#define target_extra_thread_info (   TP)    (current_target.to_extra_thread_info (&current_target, TP))

Definition at line 1813 of file target.h.

Referenced by print_thread_info_1(), and thread_find_command().

◆ target_files_info

#define target_files_info ( )    (*current_target.to_files_info) (&current_target)

Definition at line 1512 of file target.h.

Referenced by info_program_command().

◆ target_filesystem_is_local

#define target_filesystem_is_local ( )    current_target.to_filesystem_is_local (&current_target)

Definition at line 2040 of file target.h.

Referenced by exec_file_attach(), gdb_bfd_open(), and solib_find_1().

◆ target_find_memory_regions

#define target_find_memory_regions (   FUNC,
  DATA 
)    (current_target.to_find_memory_regions) (&current_target, FUNC, DATA)

Definition at line 1854 of file target.h.

Referenced by gcore_memory_sections().

◆ target_get_ada_task_ptid

#define target_get_ada_task_ptid (   lwp,
  tid 
)    (*current_target.to_get_ada_task_ptid) (&current_target, lwp,tid)

Definition at line 2018 of file target.h.

Referenced by ptid_from_atcb_common().

◆ target_get_bookmark

#define target_get_bookmark (   ARGS,
  FROM_TTY 
)    (current_target.to_get_bookmark) (&current_target, ARGS, FROM_TTY)

Definition at line 1865 of file target.h.

Referenced by save_bookmark_command().

◆ target_get_min_fast_tracepoint_insn_len

#define target_get_min_fast_tracepoint_insn_len ( )    (*current_target.to_get_min_fast_tracepoint_insn_len) (&current_target)

Definition at line 2182 of file target.h.

Referenced by i386_fast_tracepoint_valid_at().

◆ target_get_raw_trace_data

#define target_get_raw_trace_data (   buf,
  offset,
  len 
)
Value:
(buf), (offset), (len))
struct target_ops current_target
LONGEST(* to_get_raw_trace_data)(struct target_ops *, gdb_byte *buf, ULONGEST offset, LONGEST len) TARGET_DEFAULT_NORETURN(tcomplain())
Definition: target.h:1028
int offset
Definition: agent.c:65

Definition at line 2178 of file target.h.

Referenced by trace_save().

◆ target_get_tib_address

#define target_get_tib_address (   ptid,
  addr 
)    (*current_target.to_get_tib_address) (&current_target, (ptid), (addr))

Definition at line 2198 of file target.h.

Referenced by display_one_tib(), and tlb_value_read().

◆ target_get_trace_state_variable_value

#define target_get_trace_state_variable_value (   tsv,
  val 
)
Value:
(tsv), (val))
int(* to_get_trace_state_variable_value)(struct target_ops *, int tsv, LONGEST *val) TARGET_DEFAULT_RETURN(0)
Definition: target.h:1013
struct target_ops current_target

Definition at line 2165 of file target.h.

Referenced by mi_cmd_trace_frame_collected(), tvariables_info_1(), and value_of_internalvar().

◆ target_get_trace_status

#define target_get_trace_status (   ts)    (*current_target.to_get_trace_status) (&current_target, ts)

Definition at line 2152 of file target.h.

Referenced by query_if_trace_running(), trace_save(), trace_status_mi(), and tstatus_command().

◆ target_get_tracepoint_status

#define target_get_tracepoint_status (   tp,
  utp 
)    (*current_target.to_get_tracepoint_status) (&current_target, tp, utp)

Definition at line 2155 of file target.h.

Referenced by trace_save(), and tstatus_command().

◆ target_goto_bookmark

#define target_goto_bookmark (   ARG,
  FROM_TTY 
)    (current_target.to_goto_bookmark) (&current_target, ARG, FROM_TTY)

Definition at line 1868 of file target.h.

Referenced by goto_bookmark_command().

◆ target_has_all_memory

#define target_has_all_memory   target_has_all_memory_1 ()

Definition at line 1724 of file target.h.

◆ target_has_execution

#define target_has_execution   target_has_execution_current ()

◆ target_has_exited

#define target_has_exited (   pid,
  wait_status,
  exit_status 
)
Value:
pid,wait_status,exit_status)
mach_port_t mach_port_t name mach_port_t mach_port_t name kern_return_t int int rusage_t pid_t pid
Definition: gnu-nat.c:1824
int(* to_has_exited)(struct target_ops *, int, int, int *) TARGET_DEFAULT_RETURN(0)
Definition: target.h:604
struct target_ops current_target

Definition at line 1632 of file target.h.

◆ target_has_memory

#define target_has_memory   target_has_memory_1 ()

◆ target_has_registers

#define target_has_registers   target_has_registers_1 ()

◆ target_has_stack

#define target_has_stack   target_has_stack_1 ()

◆ target_have_continuable_watchpoint

#define target_have_continuable_watchpoint   (current_target.to_have_continuable_watchpoint)

Definition at line 1901 of file target.h.

◆ target_have_steppable_watchpoint

#define target_have_steppable_watchpoint   (current_target.to_have_steppable_watchpoint)

◆ target_insert_exec_catchpoint

#define target_insert_exec_catchpoint (   pid)    (*current_target.to_insert_exec_catchpoint) (&current_target, pid)

Definition at line 1602 of file target.h.

Referenced by insert_catch_exec().

◆ target_insert_fork_catchpoint

#define target_insert_fork_catchpoint (   pid)    (*current_target.to_insert_fork_catchpoint) (&current_target, pid)

Definition at line 1570 of file target.h.

Referenced by insert_catch_fork().

◆ target_insert_hw_breakpoint

#define target_insert_hw_breakpoint (   gdbarch,
  bp_tgt 
)
Value:
gdbarch, bp_tgt)
struct target_ops current_target
int(* to_insert_hw_breakpoint)(struct target_ops *, struct gdbarch *, struct bp_target_info *) TARGET_DEFAULT_RETURN(-1)
Definition: target.h:507

Definition at line 1968 of file target.h.

Referenced by bkpt_insert_location().

◆ target_insert_vfork_catchpoint

#define target_insert_vfork_catchpoint (   pid)    (*current_target.to_insert_vfork_catchpoint) (&current_target, pid)

Definition at line 1576 of file target.h.

Referenced by insert_catch_vfork().

◆ target_insert_watchpoint

#define target_insert_watchpoint (   addr,
  len,
  type,
  cond 
)
Value:
addr, len, type, cond)
struct target_ops current_target
Definition: gdbtypes.h:749
int(* to_insert_watchpoint)(struct target_ops *, CORE_ADDR, int, enum target_hw_bp_type, struct expression *) TARGET_DEFAULT_RETURN(-1)
Definition: target.h:519

Definition at line 1939 of file target.h.

Referenced by insert_watchpoint().

◆ target_is_async_p

#define target_is_async_p ( )    (current_target.to_is_async_p (&current_target))

◆ target_log_command

#define target_log_command (   p)    (*current_target.to_log_command) (&current_target, p)

Definition at line 2226 of file target.h.

Referenced by execute_command(), and mi_execute_command().

◆ target_longname

#define target_longname   (current_target.to_longname)

Definition at line 1280 of file target.h.

Referenced by kill_command().

◆ target_make_corefile_notes

#define target_make_corefile_notes (   BFD,
  SIZE_P 
)    (current_target.to_make_corefile_notes) (&current_target, BFD, SIZE_P)

Definition at line 1861 of file target.h.

Referenced by write_gcore_file_1().

◆ target_pid_to_exec_file

#define target_pid_to_exec_file (   pid)    (current_target.to_pid_to_exec_file) (&current_target, pid)

Definition at line 1839 of file target.h.

Referenced by exec_file_locate_attach().

◆ target_post_attach

#define target_post_attach (   pid)    (*current_target.to_post_attach) (&current_target, pid)

Definition at line 1315 of file target.h.

Referenced by linux_handle_extended_wait(), and setup_inferior().

◆ target_post_startup_inferior

#define target_post_startup_inferior (   ptid)    (*current_target.to_post_startup_inferior) (&current_target, ptid)

Definition at line 1562 of file target.h.

Referenced by inf_ptrace_create_inferior().

◆ target_prepare_to_store

#define target_prepare_to_store (   regcache)    (*current_target.to_prepare_to_store) (&current_target, regcache)

Definition at line 1398 of file target.h.

Referenced by regcache::raw_write().

◆ target_rcmd

#define target_rcmd (   command,
  outbuf 
)    (*current_target.to_rcmd) (&current_target, command, outbuf)

Definition at line 1715 of file target.h.

Referenced by do_monitor_command().

◆ target_region_ok_for_hw_watchpoint

#define target_region_ok_for_hw_watchpoint (   addr,
  len 
)
Value:
addr, len)
int(* to_region_ok_for_hw_watchpoint)(struct target_ops *, CORE_ADDR, int) TARGET_DEFAULT_FUNC(default_region_ok_for_hw_watchpoint)
Definition: target.h:543
struct target_ops current_target

Definition at line 1925 of file target.h.

Referenced by can_use_hardware_watchpoint(), and resources_needed_watchpoint().

◆ target_remove_exec_catchpoint

#define target_remove_exec_catchpoint (   pid)    (*current_target.to_remove_exec_catchpoint) (&current_target, pid)

Definition at line 1605 of file target.h.

Referenced by remove_catch_exec().

◆ target_remove_fork_catchpoint

#define target_remove_fork_catchpoint (   pid)    (*current_target.to_remove_fork_catchpoint) (&current_target, pid)

Definition at line 1573 of file target.h.

Referenced by remove_catch_fork().

◆ target_remove_hw_breakpoint

#define target_remove_hw_breakpoint (   gdbarch,
  bp_tgt 
)
Value:
gdbarch, bp_tgt)
struct target_ops current_target
int(* to_remove_hw_breakpoint)(struct target_ops *, struct gdbarch *, struct bp_target_info *) TARGET_DEFAULT_RETURN(-1)
Definition: target.h:510

Definition at line 1972 of file target.h.

Referenced by bkpt_remove_location(), and remove_breakpoint_1().

◆ target_remove_vfork_catchpoint

#define target_remove_vfork_catchpoint (   pid)    (*current_target.to_remove_vfork_catchpoint) (&current_target, pid)

Definition at line 1579 of file target.h.

Referenced by remove_catch_vfork().

◆ target_remove_watchpoint

#define target_remove_watchpoint (   addr,
  len,
  type,
  cond 
)
Value:
addr, len, type, cond)
int(* to_remove_watchpoint)(struct target_ops *, CORE_ADDR, int, enum target_hw_bp_type, struct expression *) TARGET_DEFAULT_RETURN(-1)
Definition: target.h:516
struct target_ops current_target
Definition: gdbtypes.h:749

Definition at line 1943 of file target.h.

Referenced by remove_watchpoint().

◆ target_save_trace_data

#define target_save_trace_data (   filename)    (*current_target.to_save_trace_data) (&current_target, filename)

Definition at line 2169 of file target.h.

Referenced by tfile_target_save().

◆ target_set_circular_trace_buffer

#define target_set_circular_trace_buffer (   val)    (*current_target.to_set_circular_trace_buffer) (&current_target, val)

Definition at line 2188 of file target.h.

Referenced by set_circular_trace_buffer(), and start_tracing().

◆ target_set_disconnected_tracing

#define target_set_disconnected_tracing (   val)    (*current_target.to_set_disconnected_tracing) (&current_target, val)

Definition at line 2185 of file target.h.

Referenced by set_disconnected_tracing(), and start_tracing().

◆ target_set_permissions

#define target_set_permissions ( )    (*current_target.to_set_permissions) (&current_target)

Definition at line 2201 of file target.h.

◆ target_set_syscall_catchpoint

#define target_set_syscall_catchpoint (   pid,
  needed,
  any_count,
  syscall_counts 
)
Value:
pid, needed, any_count, \
syscall_counts)
mach_port_t mach_port_t name mach_port_t mach_port_t name kern_return_t int int rusage_t pid_t pid
Definition: gnu-nat.c:1824
int(* to_set_syscall_catchpoint)(struct target_ops *, int, bool, int, gdb::array_view< const int >) TARGET_DEFAULT_RETURN(1)
Definition: target.h:600
struct target_ops current_target

Definition at line 1624 of file target.h.

◆ target_set_trace_buffer_size

#define target_set_trace_buffer_size (   val)    (*current_target.to_set_trace_buffer_size) (&current_target, val)

Definition at line 2191 of file target.h.

Referenced by set_trace_buffer_size(), and start_tracing().

◆ target_set_trace_notes

#define target_set_trace_notes (   user,
  notes,
  stopnotes 
)
Value:
(user), (notes), (stopnotes))
struct target_ops current_target
int(* to_set_trace_notes)(struct target_ops *, const char *user, const char *notes, const char *stopnotes) TARGET_DEFAULT_RETURN(0)
Definition: target.h:1051

Definition at line 2194 of file target.h.

Referenced by set_trace_notes(), set_trace_stop_notes(), set_trace_user(), start_tracing(), and stop_tracing().

◆ target_shortname

#define target_shortname   (current_target.to_shortname)

◆ target_static_tracepoint_marker_at

#define target_static_tracepoint_marker_at (   addr,
  marker 
)
Value:
addr, marker)
struct target_ops current_target
int(* to_static_tracepoint_marker_at)(struct target_ops *, CORE_ADDR, struct static_tracepoint_marker *marker) TARGET_DEFAULT_RETURN(0)
Definition: target.h:1086

Definition at line 2204 of file target.h.

Referenced by init_breakpoint_sal(), remote_download_tracepoint(), and update_static_tracepoint().

◆ target_static_tracepoint_markers_by_strid

#define target_static_tracepoint_markers_by_strid (   marker_id)
Value:
(*current_target.to_static_tracepoint_markers_by_strid) (&current_target, \
marker_id)
struct target_ops current_target

Definition at line 2208 of file target.h.

Referenced by decode_static_tracepoint_spec(), info_static_tracepoint_markers_command(), and update_static_tracepoint().

◆ target_stopped_by_hw_breakpoint

#define target_stopped_by_hw_breakpoint ( )    ((*current_target.to_stopped_by_hw_breakpoint) (&current_target))

Definition at line 1888 of file target.h.

Referenced by handle_signal_stop().

◆ target_stopped_by_sw_breakpoint

#define target_stopped_by_sw_breakpoint ( )    ((*current_target.to_stopped_by_sw_breakpoint) (&current_target))

Definition at line 1882 of file target.h.

Referenced by handle_signal_stop().

◆ target_stopped_by_watchpoint

#define target_stopped_by_watchpoint ( )    ((*current_target.to_stopped_by_watchpoint) (&current_target))

◆ target_stopped_data_address

#define target_stopped_data_address (   target,
  addr_p 
)    (*(target)->to_stopped_data_address) (target, addr_p)

Definition at line 1984 of file target.h.

Referenced by handle_signal_stop(), and watchpoints_triggered().

◆ target_supports_enable_disable_tracepoint

#define target_supports_enable_disable_tracepoint ( )    (*current_target.to_supports_enable_disable_tracepoint) (&current_target)

◆ target_supports_evaluation_of_breakpoint_conditions

#define target_supports_evaluation_of_breakpoint_conditions ( )    (*current_target.to_supports_evaluation_of_breakpoint_conditions) (&current_target)

◆ target_supports_stopped_by_hw_breakpoint

#define target_supports_stopped_by_hw_breakpoint ( )    ((*current_target.to_supports_stopped_by_hw_breakpoint) (&current_target))

Definition at line 1891 of file target.h.

Referenced by bpstat_stop_status(), need_moribund_for_location_type(), and save_waitstatus().

◆ target_supports_stopped_by_sw_breakpoint

#define target_supports_stopped_by_sw_breakpoint ( )    ((*current_target.to_supports_stopped_by_sw_breakpoint) (&current_target))

◆ target_supports_string_tracing

#define target_supports_string_tracing ( )    (*current_target.to_supports_string_tracing) (&current_target)

Definition at line 1422 of file target.h.

Referenced by decode_agent_options().

◆ target_thread_architecture

#define target_thread_architecture (   ptid)    (current_target.to_thread_architecture (&current_target, ptid))

◆ target_trace_find

#define target_trace_find (   type,
  num,
  addr1,
  addr2,
  tpp 
)
Value:
(type), (num), (addr1), (addr2), (tpp))
struct target_ops current_target
int(* to_trace_find)(struct target_ops *, enum trace_find_type type, int num, CORE_ADDR addr1, CORE_ADDR addr2, int *tpp) TARGET_DEFAULT_RETURN(-1)
Definition: target.h:1005
Definition: gdbtypes.h:749

Definition at line 2161 of file target.h.

Referenced by set_current_traceframe(), set_remote_traceframe(), and tfind_1().

◆ target_trace_init

#define target_trace_init ( )    (*current_target.to_trace_init) (&current_target)

Definition at line 2128 of file target.h.

Referenced by start_tracing().

◆ target_trace_set_readonly_regions

#define target_trace_set_readonly_regions ( )    (*current_target.to_trace_set_readonly_regions) (&current_target)

Definition at line 2149 of file target.h.

Referenced by start_tracing().

◆ target_trace_start

#define target_trace_start ( )    (*current_target.to_trace_start) (&current_target)

Definition at line 2146 of file target.h.

Referenced by start_tracing().

◆ target_trace_stop

#define target_trace_stop ( )    (*current_target.to_trace_stop) (&current_target)

Definition at line 2158 of file target.h.

Referenced by stop_tracing().

◆ target_traceframe_info

#define target_traceframe_info ( )    (*current_target.to_traceframe_info) (&current_target)

Definition at line 2212 of file target.h.

Referenced by get_traceframe_info().

◆ target_upload_trace_state_variables

#define target_upload_trace_state_variables (   utsvp)    (*current_target.to_upload_trace_state_variables) (&current_target, utsvp)

Definition at line 2175 of file target.h.

Referenced by trace_save().

◆ target_upload_tracepoints

#define target_upload_tracepoints (   utpp)    (*current_target.to_upload_tracepoints) (&current_target, utpp)

Definition at line 2172 of file target.h.

Referenced by trace_save().

◆ target_use_agent

#define target_use_agent (   use)    (*current_target.to_use_agent) (&current_target, use)

Definition at line 2215 of file target.h.

Referenced by set_can_use_agent().

◆ target_watchpoint_addr_within_range

#define target_watchpoint_addr_within_range (   target,
  addr,
  start,
  length 
)    (*(target)->to_watchpoint_addr_within_range) (target, addr, start, length)

Definition at line 1989 of file target.h.

Referenced by watchpoints_triggered().

Typedef Documentation

◆ async_callback_ftype

typedef void async_callback_ftype(enum inferior_event_type event_type, void *context)

Definition at line 375 of file target.h.

◆ memory_write_request_s

Definition at line 1479 of file target.h.

◆ static_tracepoint_marker_p

Definition at line 230 of file target.h.

Enumeration Type Documentation

◆ flash_preserve_mode

Enumerator
flash_preserve 
flash_discard 

Definition at line 1483 of file target.h.

◆ inferior_event_type

Enumerator
INF_REG_EVENT 
INF_EXEC_COMPLETE 

Definition at line 120 of file target.h.

◆ strata

enum strata
Enumerator
dummy_stratum 
file_stratum 
process_stratum 
thread_stratum 
record_stratum 
arch_stratum 

Definition at line 83 of file target.h.

◆ target_object

Enumerator
TARGET_OBJECT_AVR 
TARGET_OBJECT_SPU 
TARGET_OBJECT_MEMORY 
TARGET_OBJECT_RAW_MEMORY 
TARGET_OBJECT_STACK_MEMORY 
TARGET_OBJECT_CODE_MEMORY 
TARGET_OBJECT_UNWIND_TABLE 
TARGET_OBJECT_AUXV 
TARGET_OBJECT_WCOOKIE 
TARGET_OBJECT_MEMORY_MAP 
TARGET_OBJECT_FLASH 
TARGET_OBJECT_AVAILABLE_FEATURES 
TARGET_OBJECT_LIBRARIES 
TARGET_OBJECT_LIBRARIES_SVR4 
TARGET_OBJECT_LIBRARIES_AIX 
TARGET_OBJECT_OSDATA 
TARGET_OBJECT_SIGNAL_INFO 
TARGET_OBJECT_THREADS 
TARGET_OBJECT_STATIC_TRACE_DATA 
TARGET_OBJECT_TRACEFRAME_INFO 
TARGET_OBJECT_FDPIC 
TARGET_OBJECT_DARWIN_DYLD_INFO 
TARGET_OBJECT_OPENVMS_UIB 
TARGET_OBJECT_BTRACE 
TARGET_OBJECT_BTRACE_CONF 
TARGET_OBJECT_EXEC_FILE 

Definition at line 132 of file target.h.

◆ target_xfer_status

Enumerator
TARGET_XFER_OK 
TARGET_XFER_EOF 
TARGET_XFER_UNAVAILABLE 
TARGET_XFER_E_IO 

Definition at line 206 of file target.h.

◆ thread_control_capabilities

Enumerator
tc_none 
tc_schedlock 

Definition at line 93 of file target.h.

Function Documentation

◆ add_deprecated_target_alias()

void add_deprecated_target_alias ( struct target_ops t,
const char *  alias 
)

◆ add_target()

void add_target ( struct target_ops )

◆ add_target_with_completer()

void add_target_with_completer ( struct target_ops t,
completer_ftype completer 
)

◆ complete_target_initialization()

void complete_target_initialization ( struct target_ops t)

◆ DEF_VEC_O()

DEF_VEC_O ( memory_write_request_s  )

◆ DEF_VEC_P()

DEF_VEC_P ( static_tracepoint_marker_p  )

◆ default_child_has_all_memory()

int default_child_has_all_memory ( struct target_ops ops)

Definition at line 196 of file target.c.

References inferior_ptid, null_ptid, and ptid_equal().

Referenced by inf_child_target(), init_ravenscar_thread_ops(), and init_remote_ops().

◆ default_child_has_execution()

int default_child_has_execution ( struct target_ops ops,
ptid_t  the_ptid 
)

Definition at line 236 of file target.c.

References null_ptid, and ptid_equal().

Referenced by inf_child_target(), init_gdbsim_ops(), init_ravenscar_thread_ops(), and init_remote_ops().

◆ default_child_has_memory()

int default_child_has_memory ( struct target_ops ops)

Definition at line 206 of file target.c.

References inferior_ptid, null_ptid, and ptid_equal().

Referenced by inf_child_target(), init_ravenscar_thread_ops(), and init_remote_ops().

◆ default_child_has_registers()

int default_child_has_registers ( struct target_ops ops)

◆ default_child_has_stack()

int default_child_has_stack ( struct target_ops ops)

◆ default_memory_insert_breakpoint()

int default_memory_insert_breakpoint ( struct gdbarch ,
struct bp_target_info  
)

◆ default_memory_remove_breakpoint()

int default_memory_remove_breakpoint ( struct gdbarch ,
struct bp_target_info  
)

◆ default_target_pass_ctrlc()

void default_target_pass_ctrlc ( struct target_ops ops)

Definition at line 3350 of file target.c.

References inferior_ptid, and target_interrupt().

Referenced by install_dummy_methods().

◆ default_target_wait()

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

Definition at line 2185 of file target.c.

References minus_one_ptid, status, and TARGET_WAITKIND_IGNORE.

Referenced by install_dummy_methods().

◆ find_attach_target()

struct target_ops* find_attach_target ( void  )

◆ find_run_target()

struct target_ops* find_run_target ( void  )

◆ find_target_at()

struct target_ops* find_target_at ( enum strata  stratum)

◆ find_target_beneath()

struct target_ops* find_target_beneath ( struct target_ops )

◆ flash_erase_command()

void flash_erase_command ( const char *  cmd,
int  from_tty 
)

◆ 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 1974 of file target.c.

References extract_unsigned_integer(), gdb_assert, and get_target_memory().

Referenced by frv_convert_from_func_ptr_addr().

◆ initialize_targets()

void initialize_targets ( void  )

◆ make_scoped_defer_target_commit_resume()

scoped_restore_tmpl<int> make_scoped_defer_target_commit_resume ( )

Definition at line 2245 of file target.c.

References defer_target_commit_resume, and make_scoped_restore().

Referenced by proceed().

◆ make_scoped_restore_show_memory_breakpoints()

scoped_restore_tmpl<int> make_scoped_restore_show_memory_breakpoints ( int  show)

◆ memory_insert_breakpoint()

int memory_insert_breakpoint ( struct target_ops ,
struct gdbarch ,
struct bp_target_info  
)

◆ memory_remove_breakpoint()

int memory_remove_breakpoint ( struct target_ops ,
struct gdbarch ,
struct bp_target_info ,
enum  remove_bp_reason 
)

◆ memory_validate_breakpoint()

int memory_validate_breakpoint ( struct gdbarch gdbarch,
struct bp_target_info bp_tgt 
)

◆ noprocess()

void noprocess ( void  )

◆ normal_pid_to_str()

const char* normal_pid_to_str ( ptid_t  ptid)

◆ pop_all_targets()

void pop_all_targets ( void  )

Definition at line 759 of file target.c.

References dummy_stratum, and pop_all_targets_above().

Referenced by quit_force().

◆ pop_all_targets_above()

void pop_all_targets_above ( enum strata  above_stratum)

Definition at line 743 of file target.c.

References current_target, target_ops::to_stratum, and unpush_target_and_assert().

Referenced by pop_all_targets(), and target_preopen().

◆ pop_all_targets_at_and_above()

void pop_all_targets_at_and_above ( enum strata  stratum)

Definition at line 752 of file target.c.

References current_target, target_ops::to_stratum, and unpush_target_and_assert().

Referenced by remote_unpush_target().

◆ push_target()

void push_target ( struct target_ops )

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

◆ simple_search_memory()

int simple_search_memory ( struct target_ops ops,
CORE_ADDR  start_addr,
ULONGEST  search_space_len,
const gdb_byte pattern,
ULONGEST  pattern_len,
CORE_ADDR found_addrp 
)

◆ simple_verify_memory()

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

◆ target_announce_detach()

void target_announce_detach ( int  from_tty)

◆ target_async()

void target_async ( int  enable)

◆ target_btrace_conf()

const struct btrace_config* target_btrace_conf ( const struct btrace_target_info )

Definition at line 3595 of file target.c.

References current_target, and target_ops::to_btrace_conf.

Referenced by btrace_conf().

◆ target_call_history()

void target_call_history ( int  size,
int  flags 
)

Definition at line 3724 of file target.c.

References current_target, flags, size, and target_ops::to_call_history.

Referenced by cmd_record_call_history().

◆ target_call_history_from()

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

Definition at line 3732 of file target.c.

References current_target, flags, size, and target_ops::to_call_history_from.

Referenced by cmd_record_call_history().

◆ target_call_history_range()

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

Definition at line 3740 of file target.c.

References current_target, flags, and target_ops::to_call_history_range.

Referenced by cmd_record_call_history().

◆ target_close()

void target_close ( struct target_ops targ)

◆ target_commit_resume()

void target_commit_resume ( )

Definition at line 2234 of file target.c.

References current_target, defer_target_commit_resume, and target_ops::to_commit_resume.

Referenced by do_target_resume(), and proceed().

◆ target_core_of_thread()

int target_core_of_thread ( ptid_t  ptid)

◆ target_delete_record()

void target_delete_record ( void  )

Definition at line 3634 of file target.c.

References current_target, and target_ops::to_delete_record.

Referenced by cmd_record_delete().

◆ target_detach()

void target_detach ( const char *  ,
int   
)

◆ target_disable_btrace()

void target_disable_btrace ( struct btrace_target_info btinfo)

Definition at line 3569 of file target.c.

References current_target, and target_ops::to_disable_btrace.

Referenced by btrace_disable().

◆ target_disconnect()

void target_disconnect ( const char *  ,
int   
)

Definition at line 2164 of file target.c.

References current_target, remove_breakpoints(), and target_ops::to_disconnect.

Referenced by disconnect_command(), and record_disconnect().

◆ target_done_generating_core()

void target_done_generating_core ( void  )

Definition at line 3772 of file target.c.

References current_target, and target_ops::to_done_generating_core.

Referenced by write_gcore_file().

◆ target_enable_btrace()

struct btrace_target_info* target_enable_btrace ( ptid_t  ptid,
const struct btrace_config  
)

◆ target_fetch_registers()

void target_fetch_registers ( struct regcache regcache,
int  regno 
)

◆ target_fileio_close()

int target_fileio_close ( int  fd,
int *  target_errno 
)

◆ target_fileio_fstat()

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

◆ target_fileio_open()

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

Definition at line 2826 of file target.c.

References flags, and target_fileio_open_1().

Referenced by adi_tag_fd(), and target_fileio_read_alloc_1().

◆ target_fileio_open_warn_if_slow()

int target_fileio_open_warn_if_slow ( struct inferior inf,
const char *  filename,
int  flags,
int  mode,
int *  target_errno 
)

Definition at line 2836 of file target.c.

References flags, and target_fileio_open_1().

Referenced by gdb_bfd_iovec_fileio_open().

◆ target_fileio_pread()

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

◆ target_fileio_pwrite()

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

◆ target_fileio_read_alloc()

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

Definition at line 3073 of file target.c.

References target_fileio_read_alloc_1().

◆ target_fileio_read_stralloc()

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

◆ target_fileio_readlink()

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

◆ target_fileio_unlink()

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

◆ target_flash_done()

void target_flash_done ( void  )

Definition at line 1520 of file target.c.

References current_target, and target_ops::to_flash_done.

Referenced by flash_erase_command(), and target_write_memory_blocks().

◆ target_flash_erase()

void target_flash_erase ( ULONGEST  address,
LONGEST  length 
)

Definition at line 1514 of file target.c.

References current_target, and target_ops::to_flash_erase.

Referenced by flash_erase_command(), and target_write_memory_blocks().

◆ target_follow_exec()

void target_follow_exec ( struct inferior inf,
char *  execd_pathname 
)

Definition at line 2285 of file target.c.

References current_target, and target_ops::to_follow_exec.

Referenced by follow_exec().

◆ target_follow_fork()

int target_follow_fork ( int  follow_child,
int  detach_fork 
)

Definition at line 2276 of file target.c.

References current_target, detach_fork, and target_ops::to_follow_fork.

Referenced by follow_fork_inferior().

◆ target_get_osdata()

gdb::unique_xmalloc_ptr<char> target_get_osdata ( const char *  type)

◆ target_get_section_table()

struct target_section_table* target_get_section_table ( struct target_ops target)

◆ target_get_tailcall_unwinder()

const struct frame_unwind* target_get_tailcall_unwinder ( void  )

Definition at line 3756 of file target.c.

References current_target, and target_ops::to_get_tailcall_unwinder.

Referenced by frame_unwind_find_by_frame().

◆ target_get_unwinder()

const struct frame_unwind* target_get_unwinder ( void  )

Definition at line 3748 of file target.c.

References current_target, and target_ops::to_get_unwinder.

Referenced by frame_unwind_find_by_frame().

◆ target_goto_record()

void target_goto_record ( ULONGEST  insn)

Definition at line 3690 of file target.c.

References current_target, and target_ops::to_goto_record.

Referenced by record_goto(), and recpy_bt_goto().

◆ target_goto_record_begin()

void target_goto_record_begin ( void  )

Definition at line 3674 of file target.c.

References current_target, and target_ops::to_goto_record_begin.

Referenced by cmd_record_goto_begin().

◆ target_goto_record_end()

void target_goto_record_end ( void  )

Definition at line 3682 of file target.c.

References current_target, and target_ops::to_goto_record_end.

Referenced by cmd_record_goto_end(), and recpy_bt_goto().

◆ target_has_all_memory_1()

int target_has_all_memory_1 ( void  )

Definition at line 248 of file target.c.

References target_ops::beneath, current_target, and target_ops::to_has_all_memory.

◆ target_has_execution_1()

int target_has_execution_1 ( ptid_t  )

◆ target_has_execution_current()

int target_has_execution_current ( void  )

Definition at line 308 of file target.c.

References inferior_ptid, and target_has_execution_1().

◆ target_has_memory_1()

int target_has_memory_1 ( void  )

Definition at line 260 of file target.c.

References target_ops::beneath, current_target, and target_ops::to_has_memory.

◆ target_has_registers_1()

int target_has_registers_1 ( void  )

Definition at line 284 of file target.c.

References target_ops::beneath, current_target, and target_ops::to_has_registers.

◆ target_has_stack_1()

int target_has_stack_1 ( void  )

Definition at line 272 of file target.c.

References target_ops::beneath, current_target, and target_ops::to_has_stack.

◆ target_info_proc()

int target_info_proc ( const char *  ,
enum  info_proc_what 
)

◆ target_insert_breakpoint()

int target_insert_breakpoint ( struct gdbarch gdbarch,
struct bp_target_info bp_tgt 
)

◆ target_insert_mask_watchpoint()

int target_insert_mask_watchpoint ( CORE_ADDR  ,
CORE_ADDR  ,
enum  target_hw_bp_type 
)

Definition at line 3513 of file target.c.

References current_target, and target_ops::to_insert_mask_watchpoint.

Referenced by insert_masked_watchpoint().

◆ target_insn_history()

void target_insn_history ( int  size,
gdb_disassembly_flags  flags 
)

Definition at line 3698 of file target.c.

References current_target, flags, size, and target_ops::to_insn_history.

Referenced by cmd_record_insn_history().

◆ target_insn_history_from()

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

Definition at line 3706 of file target.c.

References current_target, flags, size, and target_ops::to_insn_history_from.

Referenced by cmd_record_insn_history().

◆ target_insn_history_range()

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

Definition at line 3715 of file target.c.

References current_target, flags, and target_ops::to_insn_history_range.

Referenced by cmd_record_insn_history().

◆ target_interrupt()

void target_interrupt ( ptid_t  ptid)

◆ target_is_non_stop_p()

int target_is_non_stop_p ( void  )

◆ target_is_pushed()

int target_is_pushed ( struct target_ops t)

◆ target_kill()

void target_kill ( void  )

◆ target_load()

void target_load ( const char *  arg,
int  from_tty 
)

Definition at line 426 of file target.c.

References current_target, target_dcache_invalidate(), and target_ops::to_load.

Referenced by load_command().

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

Definition at line 1483 of file target.c.

References _, current_target, mem_region::lo, mem_region::number, and warning().

Referenced by flash_erase_command(), and require_target_regions().

◆ target_options_to_string()

char* target_options_to_string ( int  target_options)

◆ target_pass_ctrlc()

void target_pass_ctrlc ( void  )

Definition at line 3342 of file target.c.

References current_target, and target_ops::to_pass_ctrlc.

Referenced by default_quit_handler(), and target_terminal::inferior().

◆ target_pass_signals()

void target_pass_signals ( int  nsig,
unsigned char *  pass_signals 
)

◆ target_pid_to_str()

const char* target_pid_to_str ( ptid_t  ptid)

Definition at line 2194 of file target.c.

References current_target, thread_info::ptid, and target_ops::to_pid_to_str.

Referenced by add_thread_with_info(), attach_proc_task_lwp_callback(), btrace_clear(), btrace_disable(), btrace_enable(), btrace_fetch(), btrace_teardown(), clear_proceed_status_thread(), context_switch(), darwin_attach(), dcache_info_1(), default_thread_address_space(), delete_checkpoint_command(), detach_checkpoint_command(), detach_one_lwp(), displaced_step_prepare_throw(), displaced_step_restore(), display_one_tib(), do_target_wait(), exit_lwp(), extended_remote_attach(), finish_step_over(), follow_exec(), follow_fork_inferior(), fprint_dummy_frames(), get_detach_signal(), gnu_fetch_registers(), gnu_resume(), gnu_store_registers(), gnu_wait(), handle_signal_stop(), inf_ptrace_attach(), inf_ptrace_files_info(), inferior_pid_to_str(), info_checkpoints_command(), keep_going_pass_signal(), linux_fork_context(), linux_fork_detach(), linux_fork_mourn_inferior(), linux_nat_filter_event(), linux_nat_resume(), linux_nat_stop_lwp(), linux_nat_wait(), linux_nat_wait_1(), maybe_clear_ignore_sigint(), normal_stop(), print_exited_reason(), print_inferior_quit_action(), print_program_space(), print_selected_thread_frame(), print_target_wait_results(), print_thread_info_1(), proceed(), proceed_after_vfork_done(), procfs_attach(), procfs_detach(), procfs_fetch_registers(), procfs_files_info(), procfs_store_registers(), procfs_wait(), push_stop_reply(), record_btrace_cancel_resume(), record_btrace_info(), record_btrace_resume(), record_btrace_resume_thread(), record_btrace_step_thread(), record_btrace_stop(), record_btrace_wait(), remote_disable_btrace(), remote_enable_btrace(), remote_notif_remove_queued_reply(), remote_stop_ns(), restart_threads(), resume_1(), resume_lwp(), resume_stopped_resumed_lwps(), save_stop_reason(), select_event_lwp(), start_step_over(), status_callback(), stop_all_threads(), stop_callback(), stop_wait_callback(), switch_back_to_stepped_thread(), target_announce_detach(), target_translate_tls_address(), thread_apply_all_command(), thread_apply_command(), thread_command(), thread_find_command(), tui_make_status_line(), wait_lwp(), windows_attach(), windows_delete_thread(), windows_files_info(), and x86_linux_enable_btrace().

◆ target_pre_inferior()

void target_pre_inferior ( int  )

◆ target_preopen()

void target_preopen ( int  )

◆ target_prepare_to_generate_core()

void target_prepare_to_generate_core ( void  )

Definition at line 3764 of file target.c.

References current_target, and target_ops::to_prepare_to_generate_core.

Referenced by write_gcore_file().

◆ target_program_signals()

void target_program_signals ( int  nsig,
unsigned char *  program_signals 
)

Definition at line 2257 of file target.c.

References current_target, and target_ops::to_program_signals.

Referenced by handle_command(), and update_signals_program_target().

◆ target_ranged_break_num_registers()

int target_ranged_break_num_registers ( void  )

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

LONGEST target_read_alloc ( struct target_ops ops,
enum target_object  object,
const char *  annex,
gdb_byte **  buf_p 
)

◆ target_read_btrace()

enum btrace_error target_read_btrace ( struct btrace_data ,
struct btrace_target_info ,
enum  btrace_read_type 
)

Definition at line 3585 of file target.c.

References current_target, and target_ops::to_read_btrace.

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 )

Definition at line 2313 of file target.c.

References target_ops::to_read_description.

Referenced by target_find_description().

◆ target_read_raw_memory()

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

Definition at line 1403 of file target.c.

References target_ops::beneath, current_target, 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 
)

◆ target_read_stralloc()

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

◆ target_read_string()

int target_read_string ( CORE_ADDR  ,
char **  ,
int  ,
int *   
)

◆ target_record_is_replaying()

int target_record_is_replaying ( ptid_t  ptid)

Definition at line 3650 of file target.c.

References current_target, and target_ops::to_record_is_replaying.

Referenced by clear_proceed_status(), and cmd_record_delete().

◆ target_record_method()

enum record_method target_record_method ( ptid_t  ptid)

Definition at line 3642 of file target.c.

References current_target, and target_ops::to_record_method.

Referenced by gdbpy_current_recording().

◆ target_record_stop_replaying()

void target_record_stop_replaying ( void  )

Definition at line 3666 of file target.c.

References current_target, and target_ops::to_record_stop_replaying.

Referenced by clear_proceed_status().

◆ target_record_will_replay()

int target_record_will_replay ( ptid_t  ptid,
int  dir 
)

◆ target_remove_breakpoint()

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

◆ target_remove_mask_watchpoint()

int target_remove_mask_watchpoint ( CORE_ADDR  ,
CORE_ADDR  ,
enum  target_hw_bp_type 
)

Definition at line 3524 of file target.c.

References current_target, and target_ops::to_remove_mask_watchpoint.

Referenced by remove_masked_watchpoint().

◆ target_require_runnable()

void target_require_runnable ( void  )

◆ target_resume()

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

◆ target_save_record()

void target_save_record ( const char *  filename)

Definition at line 3611 of file target.c.

References current_target, and target_ops::to_save_record.

Referenced by cmd_record_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 
)

Definition at line 2441 of file target.c.

References current_target, and target_ops::to_search_memory.

Referenced by find_command(), and infpy_search_memory().

◆ target_section_by_addr()

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

◆ target_stop()

void target_stop ( ptid_t  ptid)

◆ target_stop_recording()

void target_stop_recording ( void  )

Definition at line 3603 of file target.c.

References current_target, and target_ops::to_stop_recording.

◆ target_store_registers()

void target_store_registers ( struct regcache regcache,
int  regs 
)

◆ target_supports_btrace()

int target_supports_btrace ( enum  btrace_format)

Definition at line 3553 of file target.c.

References current_target, and target_ops::to_supports_btrace.

Referenced by btrace_enable().

◆ target_supports_delete_record()

int target_supports_delete_record ( void  )

◆ target_supports_disable_randomization()

int target_supports_disable_randomization ( void  )

◆ target_supports_terminal_ours()

int target_supports_terminal_ours ( void  )

◆ target_teardown_btrace()

void target_teardown_btrace ( struct btrace_target_info btinfo)

Definition at line 3577 of file target.c.

References current_target, and target_ops::to_teardown_btrace.

Referenced by btrace_teardown().

◆ target_thread_address_space()

struct address_space* target_thread_address_space ( ptid_t  )

Definition at line 2689 of file target.c.

References current_target, gdb_assert, and target_ops::to_thread_address_space.

Referenced by get_thread_arch_regcache().

◆ target_thread_alive()

int target_thread_alive ( ptid_t  ptid)

◆ target_thread_events()

void target_thread_events ( int  enable)

Definition at line 3869 of file target.c.

References current_target, enable, and target_ops::to_thread_events.

Referenced by disable_thread_events(), and 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 
)

Definition at line 2206 of file target.c.

References current_target, and target_ops::to_thread_handle_to_thread_info.

Referenced by find_thread_by_handle().

◆ target_thread_name()

const char* target_thread_name ( struct thread_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_verify_memory()

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

Definition at line 3503 of file target.c.

References current_target, size, and target_ops::to_verify_memory.

Referenced by compare_sections_command().

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

int target_write_memory_blocks ( VEC(memory_write_request_s) *  requests,
enum flash_preserve_mode  preserve_flash_p,
void(*)(ULONGEST, void *)  progress_cb 
)

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

enum target_xfer_status target_xfer_partial_ftype ( 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 883 of file target.c.

References CASE, status, TARGET_XFER_E_IO, and TARGET_XFER_UNAVAILABLE.

Referenced by memory_error_message().

◆ unpush_target()

int unpush_target ( struct target_ops )

◆ update_target_permissions()

void update_target_permissions ( void  )

Variable Documentation

◆ baud_rate

int baud_rate

Definition at line 639 of file serial.c.

Referenced by _initialize_serial(), captured_main_1(), and remote_open_1().

◆ current_target

struct target_ops current_target

Referenced by adi_available(), advance_command(), avr_io_reg_read_command(), btrace_read_config(), check_for_thread_db(), check_pid_namespace_match(), check_stopped_by_watchpoint(), continue_command(), create_exception_master_breakpoint(), darwin_solib_read_all_image_info_addr(), default_fileio_target(), default_search_memory(), default_verify_memory(), display_one_tib(), dsbt_get_initial_loadmaps(), elf_gnu_ifunc_resolve_addr(), elf_gnu_ifunc_resolve_by_got(), elf_gnu_ifunc_resolver_return_stop(), enable_break(), evaluate_subexp_standard(), exec_continue(), find_attach_target(), find_function_addr(), find_minsym_type_and_address(), find_run_target(), find_solib_trampoline_target(), find_target_at(), finish_command(), gnuv3_skip_trampoline(), handle_signal_stop(), target_terminal::inferior(), target_terminal::info(), info_auxv_command(), info_spu_dma_command(), info_spu_event_command(), info_spu_mailbox_command(), info_spu_proxydma_command(), info_spu_signal_command(), target_terminal::init(), init_entry_point_info(), inside_main_func(), jump_command(), linux_displaced_step_location(), linux_get_siginfo_data(), linux_is_uclinux(), linux_make_corefile_notes(), linux_spu_make_corefile_notes(), linux_vsyscall_range_raw(), mi_cmd_data_read_memory(), mi_cmd_data_read_memory_bytes(), msymbol_is_function(), target_terminal::ours(), target_terminal::ours_for_output(), pop_all_targets_above(), pop_all_targets_at_and_above(), ppc_linux_get_hwcap(), ppc_linux_spe_context(), ppc_process_record_op31(), ppu2spu_sniffer(), print_function_pointer_address(), procfs_make_note_section(), read_memory_object(), read_program_header(), read_value_memory(), remote_check_symbols(), remote_memory_map(), remote_pid_to_exec_file(), remote_read_btrace(), remote_traceframe_info(), restore_infcall_suspend_state(), run_command_1(), s390_load(), s390_read_description(), save_infcall_suspend_state(), sdata_make_value(), setup_inferior(), setup_target_debug(), siginfo_value_read(), siginfo_value_write(), signal_command(), sol_get_ada_task_ptid(), solib_target_current_sos(), sparc_fetch_wcookie(), spu_current_sos(), spu_enable_break(), spu_pseudo_register_read(), spu_pseudo_register_read_spu(), spu_pseudo_register_write(), spu_pseudo_register_write_spu(), start_remote(), step_1(), svr4_current_sos_via_xfer_libraries(), svr4_exec_displacement(), target_always_non_stop_p(), target_async(), target_auxv_parse(), target_btrace_conf(), target_call_history(), target_call_history_from(), target_call_history_range(), target_commit_resume(), target_core_of_thread(), target_delete_record(), target_detach(), target_disable_btrace(), target_disconnect(), target_done_generating_core(), target_enable_btrace(), target_fetch_registers(), target_find_description(), target_flash_done(), target_flash_erase(), target_follow_exec(), target_follow_fork(), target_get_osdata(), target_get_tailcall_unwinder(), target_get_unwinder(), target_goto_record(), target_goto_record_begin(), target_goto_record_end(), target_has_all_memory_1(), target_has_execution_1(), target_has_memory_1(), target_has_registers_1(), target_has_stack_1(), target_info_proc(), target_insert_breakpoint(), target_insert_mask_watchpoint(), target_insn_history(), target_insn_history_from(), target_insn_history_range(), target_interrupt(), target_kill(), target_load(), target_masked_watch_num_registers(), target_memory_map(), target_mourn_inferior(), target_pass_ctrlc(), target_pass_signals(), target_pid_to_str(), target_prepare_to_generate_core(), target_program_signals(), target_ranged_break_num_registers(), target_read_btrace(), target_read_code(), target_read_memory(), target_read_raw_memory(), target_read_stack(), target_record_is_replaying(), target_record_method(), target_record_stop_replaying(), target_record_will_replay(), target_remove_breakpoint(), target_remove_mask_watchpoint(), target_resume(), target_save_record(), target_search_memory(), target_stop(), target_stop_recording(), target_store_registers(), target_supports_btrace(), target_supports_delete_record(), target_supports_disable_randomization(), target_supports_multi_process(), target_supports_terminal_ours(), target_teardown_btrace(), target_thread_address_space(), target_thread_alive(), target_thread_events(), target_thread_handle_to_thread_info(), target_thread_name(), target_translate_tls_address(), target_update_thread_list(), target_verify_memory(), target_wait(), target_write_memory(), target_write_memory_blocks(), target_write_raw_memory(), tcomplain(), tfile_write_tdesc(), thread_db_load(), until_command(), update_current_target(), value_assign(), value_fn_field(), and watchpoints_triggered().

◆ may_insert_breakpoints

int may_insert_breakpoints

◆ may_insert_fast_tracepoints

int may_insert_fast_tracepoints

◆ may_insert_tracepoints

int may_insert_tracepoints

◆ may_stop

int may_stop

◆ may_write_memory

int may_write_memory

◆ may_write_registers

int may_write_registers

◆ remote_debug

int remote_debug

◆ remote_timeout

int remote_timeout

◆ serial_parity

int serial_parity

Definition at line 651 of file serial.c.

Referenced by remote_open_1(), and set_parity().

◆ target_async_permitted

int target_async_permitted

◆ target_non_stop_enabled

enum auto_boolean target_non_stop_enabled

◆ target_xfer_partial

target_xfer_partial_ftype target_xfer_partial