GDB (xrefs)
Classes | Macros | Typedefs | Enumerations | Functions | Variables
/tmp/gdb-7.10/gdb/target.h File Reference
#include "infrun.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 "command.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_multi_process()   (*current_target.to_supports_multi_process) (&current_target)
 
#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_terminal_info(arg, from_tty)   (*current_target.to_terminal_info) (&current_target, arg, from_tty)
 
#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, table_size, table)
 
#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_async(ENABLE)   (current_target.to_async (&current_target, (ENABLE)))
 
#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_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 struct memory_read_result memory_read_result_s
 
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_TIMER, INF_EXEC_COMPLETE, INF_EXEC_CONTINUE }
 
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_HPUX_UREGS,
  TARGET_OBJECT_HPUX_SOLIB_GOT, 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  trace_find_type {
  tfind_number, tfind_pc, tfind_tp, tfind_range,
  tfind_outside
}
 
enum  flash_preserve_mode { flash_preserve, flash_discard }
 

Functions

char * target_waitstatus_to_string (const struct target_waitstatus *)
 
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)
 
 DEF_VEC_O (memory_read_result_s)
 
void free_memory_read_result_vector (void *)
 
 VEC (memory_read_result_s)*read_memory_robust(struct target_ops *ops
 
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)
 
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_detach (const char *, int)
 
void target_disconnect (const char *, int)
 
void target_resume (ptid_t ptid, int step, enum gdb_signal signal)
 
ptid_t target_wait (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)
 
 VEC (mem_region_s)*target_memory_map(void)
 
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)
 
int target_terminal_is_inferior (void)
 
void target_terminal_init (void)
 
void target_terminal_inferior (void)
 
void target_terminal_ours_for_output (void)
 
void target_terminal_ours (void)
 
int target_supports_terminal_ours (void)
 
struct cleanupmake_cleanup_restore_target_terminal (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_mourn_inferior (void)
 
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_check_pending_interrupt (void)
 
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)
 
char * target_pid_to_str (ptid_t ptid)
 
char * normal_pid_to_str (ptid_t ptid)
 
char * target_thread_name (struct thread_info *)
 
int target_insert_mask_watchpoint (CORE_ADDR, CORE_ADDR, int)
 
int target_remove_mask_watchpoint (CORE_ADDR, CORE_ADDR, int)
 
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)
 
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, 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_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 *)
 
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)
 
char * target_get_osdata (const char *type)
 
struct cleanupmake_show_memory_breakpoints_cleanup (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)
 
int target_record_is_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, int flags)
 
void target_insn_history_from (ULONGEST from, int size, int flags)
 
void target_insn_history_range (ULONGEST begin, ULONGEST end, int 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

const ULONGEST offset
 
const ULONGEST const LONGEST len
 
target_xfer_partial_ftype target_xfer_partial
 
struct target_ops current_target
 
int target_async_permitted
 
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

#define OPS_MAGIC   3840
#define target_async (   ENABLE)    (current_target.to_async (&current_target, (ENABLE)))
#define target_attach_no_wait   (current_target.to_attach_no_wait)

Definition at line 1270 of file target.h.

Referenced by attach_command().

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

Definition at line 2168 of file target.h.

Referenced by solist_update_incremental(), and svr4_current_sos_via_xfer_libraries().

#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:558
const ULONGEST const LONGEST len
Definition: target.h:309

Definition at line 1949 of file target.h.

Referenced by watchpoint_locations_match().

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

Definition at line 2081 of file target.h.

Referenced by download_tracepoint_locations().

#define target_can_execute_reverse   current_target.to_can_execute_reverse (&current_target)
#define target_can_lock_scheduler   (current_target.to_has_thread_control & tc_schedlock)

Definition at line 1741 of file target.h.

Referenced by set_schedlock_func().

#define target_can_run (   t)    ((t)->to_can_run) (t)
#define target_can_run_breakpoint_commands ( )    (*current_target.to_can_run_breakpoint_commands) (&current_target)
#define target_can_use_agent ( )    (*current_target.to_can_use_agent) (&current_target)

Definition at line 2165 of file target.h.

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

Definition at line 1870 of file target.h.

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

#define TARGET_DEBUG_PRINTER (   FUNC)

Definition at line 403 of file target.h.

#define TARGET_DEFAULT_FUNC (   ARG)

Definition at line 427 of file target.h.

#define TARGET_DEFAULT_IGNORE ( )

Definition at line 424 of file target.h.

#define TARGET_DEFAULT_NORETURN (   ARG)

Definition at line 425 of file target.h.

#define TARGET_DEFAULT_RETURN (   ARG)

Definition at line 426 of file target.h.

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

Definition at line 2090 of file target.h.

Referenced by disable_breakpoint(), and disable_command().

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

Definition at line 2084 of file target.h.

Referenced by start_tracing().

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

Definition at line 2078 of file target.h.

Referenced by download_tracepoint_locations(), and start_tracing().

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

Definition at line 2087 of file target.h.

Referenced by enable_breakpoint_disp(), and enable_command().

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

Definition at line 1757 of file target.h.

Referenced by fetch_inferior_event().

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

Definition at line 1772 of file target.h.

Referenced by print_thread_info(), and thread_find_command().

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

Definition at line 1453 of file target.h.

Referenced by program_info().

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

Definition at line 1987 of file target.h.

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

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

Definition at line 1807 of file target.h.

Referenced by gcore_memory_sections().

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

Definition at line 1965 of file target.h.

Referenced by ptid_from_atcb_common().

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

Definition at line 1818 of file target.h.

Referenced by save_bookmark_command().

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

Definition at line 2129 of file target.h.

Referenced by i386_fast_tracepoint_valid_at().

#define target_get_raw_trace_data (   buf,
  offset,
  len 
)
Value:
(buf), (offset), (len))
const ULONGEST offset
Definition: target.h:309
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:1007
const ULONGEST const LONGEST len
Definition: target.h:309

Definition at line 2125 of file target.h.

Referenced by trace_save().

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

Definition at line 2145 of file target.h.

Referenced by display_one_tib(), and tlb_value_read().

#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:992
struct target_ops current_target

Definition at line 2112 of file target.h.

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

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

Definition at line 2102 of file target.h.

Referenced by trace_save(), and trace_status_command().

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

Definition at line 1821 of file target.h.

Referenced by goto_bookmark_command().

#define target_has_all_memory   target_has_all_memory_1 ()

Definition at line 1694 of file target.h.

#define target_has_execution   target_has_execution_current ()
#define target_has_exited (   pid,
  wait_status,
  exit_status 
)
Value:
pid,wait_status,exit_status)
int(* to_has_exited)(struct target_ops *, int, int, int *) TARGET_DEFAULT_RETURN(0)
Definition: target.h:605
struct target_ops current_target
mach_port_t mach_port_t name mach_port_t mach_port_t name error_t int int rusage_t pid_t pid
Definition: gnu-nat.c:1818

Definition at line 1609 of file target.h.

#define target_has_memory   target_has_memory_1 ()
#define target_has_registers   target_has_registers_1 ()
#define target_has_stack   target_has_stack_1 ()
#define target_have_continuable_watchpoint   (current_target.to_have_continuable_watchpoint)

Definition at line 1854 of file target.h.

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

Definition at line 1575 of file target.h.

Referenced by insert_catch_exec().

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

Definition at line 1548 of file target.h.

Referenced by insert_catch_fork().

#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:520

Definition at line 1915 of file target.h.

Referenced by bkpt_insert_location().

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

Definition at line 1554 of file target.h.

Referenced by insert_catch_vfork().

#define target_insert_watchpoint (   addr,
  len,
  type,
  cond 
)
Value:
addr, len, type, cond)
int(* to_insert_watchpoint)(struct target_ops *, CORE_ADDR, int, int, struct expression *) TARGET_DEFAULT_RETURN(-1)
Definition: target.h:532
struct target_ops current_target
Definition: gdbtypes.h:749
const ULONGEST const LONGEST len
Definition: target.h:309

Definition at line 1888 of file target.h.

Referenced by insert_watchpoint().

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

Definition at line 2173 of file target.h.

Referenced by execute_command(), and mi_execute_command().

#define target_longname   (current_target.to_longname)

Definition at line 1243 of file target.h.

Referenced by kill_command().

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

Definition at line 1814 of file target.h.

Referenced by write_gcore_file_1().

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

Definition at line 1792 of file target.h.

Referenced by exec_file_locate_attach().

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

Definition at line 1540 of file target.h.

Referenced by inf_ptrace_create_inferior().

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

Definition at line 1336 of file target.h.

Referenced by regcache_raw_write().

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

Definition at line 1685 of file target.h.

Referenced by do_monitor_command().

#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:554
struct target_ops current_target
const ULONGEST const LONGEST len
Definition: target.h:309

Definition at line 1877 of file target.h.

Referenced by can_use_hardware_watchpoint(), and resources_needed_watchpoint().

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

Definition at line 1578 of file target.h.

Referenced by remove_catch_exec().

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

Definition at line 1551 of file target.h.

Referenced by remove_catch_fork().

#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:523

Definition at line 1919 of file target.h.

Referenced by bkpt_remove_location(), and remove_breakpoint_1().

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

Definition at line 1557 of file target.h.

Referenced by remove_catch_vfork().

#define target_remove_watchpoint (   addr,
  len,
  type,
  cond 
)
Value:
addr, len, type, cond)
struct target_ops current_target
int(* to_remove_watchpoint)(struct target_ops *, CORE_ADDR, int, int, struct expression *) TARGET_DEFAULT_RETURN(-1)
Definition: target.h:529
Definition: gdbtypes.h:749
const ULONGEST const LONGEST len
Definition: target.h:309

Definition at line 1892 of file target.h.

Referenced by remove_watchpoint().

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

Definition at line 2116 of file target.h.

Referenced by tfile_target_save().

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

Definition at line 2135 of file target.h.

Referenced by set_circular_trace_buffer(), and start_tracing().

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

Definition at line 2132 of file target.h.

Referenced by set_disconnected_tracing(), and start_tracing().

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

Definition at line 2148 of file target.h.

#define target_set_syscall_catchpoint (   pid,
  needed,
  any_count,
  table_size,
  table 
)
Value:
pid, needed, any_count, \
table_size, table)
struct target_ops current_target
int(* to_set_syscall_catchpoint)(struct target_ops *, int, int, int, int, int *) TARGET_DEFAULT_RETURN(1)
Definition: target.h:602
mach_port_t mach_port_t name mach_port_t mach_port_t name error_t int int rusage_t pid_t pid
Definition: gnu-nat.c:1818

Definition at line 1601 of file target.h.

Referenced by insert_catch_syscall(), and remove_catch_syscall().

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

Definition at line 2138 of file target.h.

Referenced by set_trace_buffer_size(), and start_tracing().

#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:1030

Definition at line 2141 of file target.h.

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

#define target_shortname   (current_target.to_shortname)
#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:1065

Definition at line 2151 of file target.h.

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

#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 2155 of file target.h.

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

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

Definition at line 1841 of file target.h.

Referenced by handle_signal_stop().

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

Definition at line 1835 of file target.h.

Referenced by handle_signal_stop().

#define target_stopped_by_watchpoint ( )    ((*current_target.to_stopped_by_watchpoint) (&current_target))
#define target_stopped_data_address (   target,
  addr_p 
)    (*(target)->to_stopped_data_address) (target, addr_p)

Definition at line 1931 of file target.h.

Referenced by handle_signal_stop(), and watchpoints_triggered().

#define target_supports_enable_disable_tracepoint ( )    (*current_target.to_supports_enable_disable_tracepoint) (&current_target)
#define target_supports_evaluation_of_breakpoint_conditions ( )    (*current_target.to_supports_evaluation_of_breakpoint_conditions) (&current_target)
#define target_supports_multi_process ( )    (*current_target.to_supports_multi_process) (&current_target)

Definition at line 1353 of file target.h.

Referenced by startup_inferior(), and user_visible_resume_ptid().

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

Definition at line 1844 of file target.h.

Referenced by bpstat_stop_status(), and need_moribund_for_location_type().

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

Definition at line 1366 of file target.h.

Referenced by decode_agent_options().

#define target_terminal_info (   arg,
  from_tty 
)    (*current_target.to_terminal_info) (&current_target, arg, from_tty)

Definition at line 1510 of file target.h.

Referenced by term_info().

#define target_thread_architecture (   ptid)    (current_target.to_thread_architecture (&current_target, ptid))
#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:984
Definition: gdbtypes.h:749

Definition at line 2108 of file target.h.

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

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

Definition at line 2075 of file target.h.

Referenced by start_tracing().

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

Definition at line 2096 of file target.h.

Referenced by start_tracing().

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

Definition at line 2093 of file target.h.

Referenced by start_tracing().

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

Definition at line 2105 of file target.h.

Referenced by stop_tracing().

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

Definition at line 2159 of file target.h.

Referenced by get_traceframe_info().

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

Definition at line 2122 of file target.h.

Referenced by trace_save().

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

Definition at line 2119 of file target.h.

Referenced by trace_save().

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

Definition at line 2162 of file target.h.

Referenced by set_can_use_agent().

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

Definition at line 1936 of file target.h.

Referenced by watchpoints_triggered().

Typedef Documentation

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

Definition at line 392 of file target.h.

Definition at line 303 of file target.h.

Definition at line 1420 of file target.h.

Definition at line 255 of file target.h.

Enumeration Type Documentation

Enumerator
flash_preserve 
flash_discard 

Definition at line 1424 of file target.h.

Enumerator
INF_REG_EVENT 
INF_TIMER 
INF_EXEC_COMPLETE 
INF_EXEC_CONTINUE 

Definition at line 117 of file target.h.

enum strata
Enumerator
dummy_stratum 
file_stratum 
process_stratum 
thread_stratum 
record_stratum 
arch_stratum 

Definition at line 76 of file target.h.

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_HPUX_UREGS 
TARGET_OBJECT_HPUX_SOLIB_GOT 
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 136 of file target.h.

Enumerator
TARGET_XFER_OK 
TARGET_XFER_EOF 
TARGET_XFER_UNAVAILABLE 
TARGET_XFER_E_IO 

Definition at line 219 of file target.h.

Enumerator
tc_none 
tc_schedlock 

Definition at line 86 of file target.h.

Enumerator
tfind_number 
tfind_pc 
tfind_tp 
tfind_range 
tfind_outside 

Definition at line 246 of file target.h.

Function Documentation

void add_deprecated_target_alias ( struct target_ops t,
char *  alias 
)
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)
DEF_VEC_O ( memory_read_result_s  )
DEF_VEC_O ( memory_write_request_s  )
DEF_VEC_P ( static_tracepoint_marker_p  )
int default_child_has_all_memory ( struct target_ops ops)
int default_child_has_execution ( struct target_ops ops,
ptid_t  the_ptid 
)
int default_child_has_memory ( struct target_ops ops)
int default_child_has_registers ( struct target_ops ops)
int default_child_has_stack ( struct target_ops ops)
int default_memory_insert_breakpoint ( struct gdbarch ,
struct bp_target_info  
)
int default_memory_remove_breakpoint ( struct gdbarch ,
struct bp_target_info  
)
struct target_ops* find_attach_target ( void  )
struct target_ops* find_run_target ( void  )
struct target_ops* find_target_at ( enum strata  stratum)
struct target_ops* find_target_beneath ( struct target_ops )
void free_memory_read_result_vector ( void *  )

Definition at line 1769 of file target.c.

References memory_read_result::data, VEC(), VEC_free, VEC_iterate, and xfree().

Referenced by mi_cmd_data_read_memory_bytes().

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 
)

Definition at line 2031 of file target.c.

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

Referenced by frv_convert_from_func_ptr_addr().

void initialize_targets ( void  )
struct cleanup* make_cleanup_restore_target_terminal ( void  )
struct cleanup* make_show_memory_breakpoints_cleanup ( int  show)
int memory_insert_breakpoint ( struct target_ops ,
struct gdbarch ,
struct bp_target_info  
)
int memory_remove_breakpoint ( struct target_ops ,
struct gdbarch ,
struct bp_target_info  
)
int memory_validate_breakpoint ( struct gdbarch gdbarch,
struct bp_target_info bp_tgt 
)
void noprocess ( void  )
char* normal_pid_to_str ( ptid_t  ptid)
void pop_all_targets ( void  )

Definition at line 767 of file target.c.

References dummy_stratum, and pop_all_targets_above().

Referenced by quit_force().

void pop_all_targets_above ( enum strata  above_stratum)
void push_target ( struct target_ops )
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 
)
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 simple_verify_memory ( struct target_ops ops,
const gdb_byte data,
CORE_ADDR  memaddr,
ULONGEST  size 
)
const struct btrace_config* target_btrace_conf ( const struct btrace_target_info )

Definition at line 3577 of file target.c.

References current_target, and target_ops::to_btrace_conf.

Referenced by btrace_conf().

void target_call_history ( int  size,
int  flags 
)

Definition at line 3680 of file target.c.

References current_target, and target_ops::to_call_history.

Referenced by cmd_record_call_history().

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

Definition at line 3688 of file target.c.

References current_target, and target_ops::to_call_history_from.

Referenced by cmd_record_call_history().

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

Definition at line 3696 of file target.c.

References current_target, and target_ops::to_call_history_range.

Referenced by cmd_record_call_history().

void target_check_pending_interrupt ( void  )

Definition at line 3303 of file target.c.

References current_target, and target_ops::to_check_pending_interrupt.

Referenced by maybe_quit().

void target_close ( struct target_ops targ)
int target_core_of_thread ( ptid_t  ptid)

Definition at line 3442 of file target.c.

References current_target, and target_ops::to_core_of_thread.

Referenced by collect_cores(), mi_on_normal_stop(), and print_thread_info().

void target_delete_record ( void  )

Definition at line 3616 of file target.c.

References current_target, and target_ops::to_delete_record.

Referenced by cmd_record_delete().

void target_detach ( const char *  ,
int   
)
void target_disable_btrace ( struct btrace_target_info btinfo)

Definition at line 3551 of file target.c.

References current_target, and target_ops::to_disable_btrace.

Referenced by btrace_disable().

void target_disconnect ( const char *  ,
int   
)

Definition at line 2216 of file target.c.

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

Referenced by disconnect_command(), and record_disconnect().

void target_done_generating_core ( void  )

Definition at line 3728 of file target.c.

References current_target, and target_ops::to_done_generating_core.

Referenced by write_gcore_file().

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

Definition at line 3543 of file target.c.

References current_target, and target_ops::to_enable_btrace.

Referenced by btrace_enable().

void target_fetch_registers ( struct regcache regcache,
int  regno 
)
int target_fileio_close ( int  fd,
int target_errno 
)
int target_fileio_fstat ( int  fd,
struct stat *  sb,
int target_errno 
)
int target_fileio_open ( struct inferior inf,
const char *  filename,
int  flags,
int  mode,
int target_errno 
)

Definition at line 2823 of file target.c.

References target_fileio_open_1().

Referenced by target_fileio_read_alloc_1().

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

Definition at line 2833 of file target.c.

References target_fileio_open_1().

Referenced by gdb_bfd_iovec_fileio_open().

int target_fileio_pread ( int  fd,
gdb_byte read_buf,
int  len,
ULONGEST  offset,
int target_errno 
)
int target_fileio_pwrite ( int  fd,
const gdb_byte write_buf,
int  len,
ULONGEST  offset,
int target_errno 
)
LONGEST target_fileio_read_alloc ( struct inferior inf,
const char *  filename,
gdb_byte **  buf_p 
)

Definition at line 3070 of file target.c.

References target_fileio_read_alloc_1().

char* target_fileio_read_stralloc ( struct inferior inf,
const char *  filename 
)
char* target_fileio_readlink ( struct inferior inf,
const char *  filename,
int target_errno 
)
int target_fileio_unlink ( struct inferior inf,
const char *  filename,
int target_errno 
)
void target_flash_done ( void  )

Definition at line 1548 of file target.c.

References current_target, and target_ops::to_flash_done.

Referenced by target_write_memory_blocks().

void target_flash_erase ( ULONGEST  address,
LONGEST  length 
)

Definition at line 1542 of file target.c.

References current_target, and target_ops::to_flash_erase.

Referenced by target_write_memory_blocks().

int target_follow_fork ( int  follow_child,
int  detach_fork 
)

Definition at line 2286 of file target.c.

References current_target, and target_ops::to_follow_fork.

Referenced by follow_fork_inferior().

char* target_get_osdata ( const char *  type)
struct target_section_table* target_get_section_table ( struct target_ops target)
const struct frame_unwind* target_get_tailcall_unwinder ( void  )

Definition at line 3712 of file target.c.

References current_target, and target_ops::to_get_tailcall_unwinder.

Referenced by frame_unwind_find_by_frame().

const struct frame_unwind* target_get_unwinder ( void  )

Definition at line 3704 of file target.c.

References current_target, and target_ops::to_get_unwinder.

Referenced by frame_unwind_find_by_frame().

void target_goto_record ( ULONGEST  insn)

Definition at line 3648 of file target.c.

References current_target, and target_ops::to_goto_record.

Referenced by record_goto().

void target_goto_record_begin ( void  )

Definition at line 3632 of file target.c.

References current_target, and target_ops::to_goto_record_begin.

Referenced by cmd_record_goto_begin().

void target_goto_record_end ( void  )

Definition at line 3640 of file target.c.

References current_target, and target_ops::to_goto_record_end.

Referenced by cmd_record_goto_end().

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.

int target_has_execution_1 ( ptid_t  )
int target_has_execution_current ( void  )

Definition at line 308 of file target.c.

References inferior_ptid, and target_has_execution_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.

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.

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.

int target_info_proc ( const char *  ,
enum  info_proc_what 
)
int target_insert_breakpoint ( struct gdbarch gdbarch,
struct bp_target_info bp_tgt 
)

Definition at line 2044 of file target.c.

References _, current_target, target_ops::to_insert_breakpoint, and warning().

Referenced by bkpt_insert_location(), and insert_bp_location().

int target_insert_mask_watchpoint ( CORE_ADDR  ,
CORE_ADDR  ,
int   
)

Definition at line 3497 of file target.c.

References current_target, and target_ops::to_insert_mask_watchpoint.

Referenced by insert_masked_watchpoint().

void target_insn_history ( int  size,
int  flags 
)

Definition at line 3656 of file target.c.

References current_target, and target_ops::to_insn_history.

Referenced by cmd_record_insn_history().

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

Definition at line 3664 of file target.c.

References current_target, and target_ops::to_insn_history_from.

Referenced by cmd_record_insn_history().

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

Definition at line 3672 of file target.c.

References current_target, and target_ops::to_insn_history_range.

Referenced by cmd_record_insn_history().

int target_is_pushed ( struct target_ops t)
void target_kill ( void  )
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().

int target_masked_watch_num_registers ( CORE_ADDR  addr,
CORE_ADDR  mask 
)
void target_mourn_inferior ( void  )
char* target_options_to_string ( int  target_options)
void target_pass_signals ( int  nsig,
unsigned char *  pass_signals 
)
char* target_pid_to_str ( ptid_t  ptid)

Definition at line 2233 of file target.c.

References current_target, 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(), check_stopped_by_breakpoint(), clear_proceed_status_thread(), context_switch(), darwin_attach(), darwin_detach(), dcache_info_1(), default_thread_address_space(), delete_checkpoint_command(), detach_callback(), detach_checkpoint_command(), displaced_step_fixup(), displaced_step_prepare(), displaced_step_restore(), display_one_tib(), do_captured_thread_select(), exit_lwp(), extended_remote_attach(), follow_exec(), follow_fork_inferior(), fprint_dummy_frames(), get_pending_status(), gnu_fetch_registers(), gnu_resume(), gnu_store_registers(), gnu_wait(), handle_signal_stop(), inf_ptrace_attach(), inf_ptrace_detach(), inf_ptrace_files_info(), inferior_command(), inferior_pid_to_str(), info_checkpoints_command(), kill_callback(), kill_wait_callback(), lin_lwp_attach_lwp(), linux_fork_context(), linux_fork_detach(), linux_fork_mourn_inferior(), linux_nat_detach(), linux_nat_filter_event(), linux_nat_post_attach_wait(), linux_nat_resume(), linux_nat_stop_lwp(), linux_nat_wait(), linux_nat_wait_1(), linux_thread_alive(), maybe_clear_ignore_sigint(), normal_stop(), print_exited_reason(), print_inferior_quit_action(), print_program_space(), print_signal_received_reason(), print_target_wait_results(), print_thread_info(), 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_info(), record_btrace_resume(), record_btrace_resume_thread(), record_btrace_step_thread(), record_btrace_wait(), record_thread(), remote_detach_1(), remote_disable_btrace(), remote_enable_btrace(), remote_notif_remove_queued_reply(), remote_stop_ns(), resume(), resume_lwp(), resume_stopped_resumed_lwps(), select_event_lwp(), status_callback(), stop_callback(), stop_wait_callback(), switch_back_to_stepped_thread(), 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().

void target_pre_inferior ( int  )
void target_preopen ( int  )
void target_prepare_to_generate_core ( void  )

Definition at line 3720 of file target.c.

References current_target, and target_ops::to_prepare_to_generate_core.

Referenced by write_gcore_file().

void target_program_signals ( int  nsig,
unsigned char *  program_signals 
)

Definition at line 2267 of file target.c.

References current_target, and target_ops::to_program_signals.

Referenced by handle_command(), and update_signals_program_target().

int target_ranged_break_num_registers ( void  )
LONGEST target_read ( struct target_ops ops,
enum target_object  object,
const char *  annex,
gdb_byte buf,
ULONGEST  offset,
LONGEST  len 
)
LONGEST target_read_alloc ( struct target_ops ops,
enum target_object  object,
const char *  annex,
gdb_byte **  buf_p 
)
enum btrace_error target_read_btrace ( struct btrace_data ,
struct btrace_target_info ,
enum  btrace_read_type 
)

Definition at line 3567 of file target.c.

References current_target, and target_ops::to_read_btrace.

Referenced by btrace_fetch().

int target_read_code ( CORE_ADDR  memaddr,
gdb_byte myaddr,
ssize_t  len 
)
const struct target_desc* target_read_description ( struct target_ops )

Definition at line 2314 of file target.c.

References target_ops::to_read_description.

Referenced by target_find_description().

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 
)
char* target_read_stralloc ( struct target_ops ops,
enum target_object  object,
const char *  annex 
)
int target_read_string ( CORE_ADDR  ,
char **  ,
int  ,
int  
)
int target_record_is_replaying ( void  )

Definition at line 3624 of file target.c.

References current_target, and target_ops::to_record_is_replaying.

Referenced by cmd_record_delete().

int target_remove_breakpoint ( struct gdbarch gdbarch,
struct bp_target_info bp_tgt 
)

Definition at line 2060 of file target.c.

References _, current_target, target_ops::to_remove_breakpoint, and warning().

Referenced by bkpt_remove_location(), and remove_breakpoint_1().

int target_remove_mask_watchpoint ( CORE_ADDR  ,
CORE_ADDR  ,
int   
)

Definition at line 3507 of file target.c.

References current_target, and target_ops::to_remove_mask_watchpoint.

Referenced by remove_masked_watchpoint().

void target_require_runnable ( void  )
void target_resume ( ptid_t  ptid,
int  step,
enum gdb_signal  signal 
)
void target_save_record ( const char *  filename)

Definition at line 3593 of file target.c.

References current_target, and target_ops::to_save_record.

Referenced by cmd_record_save().

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

References current_target, and target_ops::to_search_memory.

Referenced by find_command(), and infpy_search_memory().

struct target_section* target_section_by_addr ( struct target_ops target,
CORE_ADDR  addr 
)
void target_stop ( ptid_t  ptid)
void target_stop_recording ( void  )

Definition at line 3585 of file target.c.

References current_target, and target_ops::to_stop_recording.

void target_store_registers ( struct regcache regcache,
int  regs 
)
int target_supports_btrace ( enum  btrace_format)

Definition at line 3535 of file target.c.

References current_target, and target_ops::to_supports_btrace.

Referenced by btrace_enable().

int target_supports_delete_record ( void  )
int target_supports_disable_randomization ( void  )
int target_supports_terminal_ours ( void  )
void target_teardown_btrace ( struct btrace_target_info btinfo)

Definition at line 3559 of file target.c.

References current_target, and target_ops::to_teardown_btrace.

Referenced by btrace_teardown().

void target_terminal_inferior ( void  )
void target_terminal_init ( void  )
int target_terminal_is_inferior ( void  )

Definition at line 462 of file target.c.

References terminal_is_inferior.

Referenced by annotate_breakpoints_invalid(), and annotate_frames_invalid().

void target_terminal_ours ( void  )
void target_terminal_ours_for_output ( void  )
struct address_space* target_thread_address_space ( ptid_t  )

Definition at line 2686 of file target.c.

References current_target, gdb_assert, and target_ops::to_thread_address_space.

Referenced by get_thread_arch_regcache().

int target_thread_alive ( ptid_t  ptid)
char* target_thread_name ( struct thread_info )

Definition at line 2239 of file target.c.

References current_target, and target_ops::to_thread_name.

Referenced by print_thread_info(), thpy_get_name(), and thread_find_command().

CORE_ADDR target_translate_tls_address ( struct objfile objfile,
CORE_ADDR  offset 
)
void target_update_thread_list ( void  )
int target_verify_memory ( const gdb_byte data,
CORE_ADDR  memaddr,
ULONGEST  size 
)

Definition at line 3487 of file target.c.

References current_target, and target_ops::to_verify_memory.

Referenced by compare_sections_command().

ptid_t target_wait ( ptid_t  ptid,
struct target_waitstatus status,
int  options 
)
char* target_waitstatus_to_string ( const struct target_waitstatus )
LONGEST target_write ( struct target_ops ops,
enum target_object  object,
const char *  annex,
const gdb_byte buf,
ULONGEST  offset,
LONGEST  len 
)
int target_write_memory_blocks ( VEC(memory_write_request_s)*  requests,
enum flash_preserve_mode  preserve_flash_p,
void(*)(ULONGEST, void *)  progress_cb 
)
int target_write_raw_memory ( CORE_ADDR  memaddr,
const gdb_byte myaddr,
ssize_t  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(*)(ULONGEST, void *)  progress,
void *  baton 
)
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 
)
const char* target_xfer_status_to_string ( enum target_xfer_status  status)

Definition at line 891 of file target.c.

References CASE, TARGET_XFER_E_IO, and TARGET_XFER_UNAVAILABLE.

Referenced by memory_error_message().

int unpush_target ( struct target_ops )
void update_target_permissions ( void  )
VEC ( mem_region_s  )

Variable Documentation

int baud_rate

Definition at line 639 of file serial.c.

Referenced by captured_main(), common_open(), monitor_files_info(), monitor_open(), and remote_open_1().

struct target_ops current_target

Referenced by add_minsym(), advance_command(), attach_command_post_wait(), 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(), enable_thread_event(), evaluate_subexp_standard(), exec_continue(), find_attach_target(), find_function_addr(), find_run_target(), find_solib_trampoline_target(), find_target_at(), finish_command(), gnuv3_skip_trampoline(), handle_signal_stop(), handle_solib_event(), info_auxv_command(), info_spu_dma_command(), info_spu_event_command(), info_spu_mailbox_command(), info_spu_proxydma_command(), info_spu_signal_command(), 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(), m32r_stopped_by_watchpoint(), mi_cmd_data_read_memory(), mi_cmd_data_read_memory_bytes(), minsym_found(), pop_all_targets_above(), ppc_linux_get_hwcap(), ppc_linux_spe_context(), ppc_process_record_op31(), ppu2spu_sniffer(), print_function_pointer_address(), procfs_inferior_created(), read_memory(), read_program_header(), read_value_memory(), remote_check_symbols(), 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_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(), svr4_fetch_objfile_link_map(), target_auxv_parse(), target_btrace_conf(), target_call_history(), target_call_history_from(), target_call_history_range(), target_check_pending_interrupt(), 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_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_kill(), target_load(), target_masked_watch_num_registers(), target_mourn_inferior(), 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_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_terminal_ours(), target_teardown_btrace(), target_terminal_inferior(), target_terminal_init(), target_terminal_ours(), target_terminal_ours_for_output(), target_thread_address_space(), target_thread_alive(), 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(), thread_db_load(), until_command(), update_current_target(), value_assign(), value_fn_field(), VEC(), watchpoints_triggered(), and write_exp_msymbol().

Definition at line 309 of file target.h.

Referenced by gdb.command.frame_filters::_complete_frame_filter_list(), gdb.command.frame_filters::_enable_parse_arg(), cleanup_check.MasterCleanup::_find_var(), _initialize_amd64fbsd_nat(), _initialize_i386fbsd_nat(), _initialize_i386obsd_nat(), gdb.xmethod::_lookup_xmethod_matcher(), gdb.command.frame_filters.SetFrameFilterPriority::_parse_pri_arg(), gdb.command.frame_filters.ShowFrameFilterPriority::_parse_pri_arg(), gdb.command.explore.CompoundExplorer::_print_fields(), aarch64_align_watchpoint(), aarch64_extract_return_value(), aarch64_linux_insert_hw_breakpoint(), aarch64_linux_remove_hw_breakpoint(), aarch64_linux_stopped_data_address(), aarch64_point_encode_ctrl_reg(), aarch64_push_dummy_call(), aarch64_stap_parse_special_token(), aarch64_store_return_value(), ada_dump_subexp_body(), ada_find_parallel_type(), ada_fold_name(), ada_forward_operator_length(), ada_print_scalar(), ada_val_print_enum(), ada_val_print_string(), ada_value_assign(), ada_value_primitive_packed_val(), add_indices_to_cpool(), add_line_to_sigset(), add_memrange(), add_msglist(), add_path(), alpha_push_dummy_call(), amd64_classify(), amd64_classify_insn_at(), amd64_displaced_step_copy_insn(), amd64_get_longjmp_target(), amd64_push_arguments(), amd64_relocate_instruction(), amd64_return_value(), amd64_windows_adjust_args_passed_by_pointer(), amd64_windows_push_arguments(), amd64_windows_return_value(), append_insns(), appendmem(), arm_displaced_init_closure(), arm_extract_return_value(), arm_linux_hw_watchpoint_initialize(), arm_push_dummy_call(), arm_stap_parse_special_token(), arm_store_return_value(), auto_load_objfile_script(), auto_load_objfile_script_1(), auto_load_safe_path_vec_update(), avr_push_dummy_call(), avr_scan_prologue(), bfdcore_read(), bfdcore_write(), bfin_extract_return_value(), bfin_store_return_value(), bsd_kvm_xfer_memory(), build_type_psymtab_dependencies(), c_parse_escape(), c_type_print_base(), c_val_print(), calculate_dvc(), can_use_hardware_watchpoint(), cd_command(), gdb.command.explore.ExploreUtils::check_args(), check_stub_method_group(), test_pubnames_and_indexes::CheckSets(), collect_symbol(), commandline_from_pid(), compare_filenames_for_search(), compute_compunit_symtab_includes(), compute_python_string(), copy_exp(), copy_string(), core_xfer_partial(), gdb.command.pretty_printers::count_enabled_printers(), cp_find_class_member(), cp_lookup_symbol_via_imports(), cp_print_value_fields(), cris_extract_return_value(), cris_push_dummy_call(), cris_store_return_value(), ctf_write_uploaded_tsv(), darwin_debug_port_info(), darwin_load_image_infos(), darwin_solib_read_all_image_info_addr(), dcache_read_line(), dcache_read_memory_partial(), dcache_update(), default_value_from_register(), destructor_name_p(), displaced_step_dump_bytes(), displaced_step_prepare(), displaced_step_restore(), do_ppc_sysv_return_value(), do_set_command(), document_command(), dump_mem(), dump_subexp_body_standard(), dump_symtab_1(), dwarf2_compile_expr_to_ax(), dwarf2_is_constructor(), dynamic_template_type(), elf_symtab_read(), elinos::elinos_init(), ensure_lval(), enum_constant_from_type(), eq_symtab_entry(), evaluate_subexp_c(), evaluate_subexp_standard(), exec_read_partial_read_only(), execute_control_command(), gdb.frames::execute_frame_filters(), execute_stack_op(), expand(), gdb.command.explore.CompoundExplorer::explore_type(), extended_remote_run(), extract_bit_field(), extract_identifier(), extract_long_unsigned_integer(), extract_signed_integer(), extract_unsigned_integer(), fbsd_pid_to_exec_file(), fetch_ppc_memory(), field_alignment(), field_name_match(), find_and_open_source(), find_line_common(), find_method_list(), find_pc_sect_line(), find_symbol_in_baseclass(), first_component_command(), floatformat_mantissa(), fork_inferior(), frv_extract_return_value(), frv_push_dummy_call(), frv_store_return_value(), ft32_extract_return_value(), ft32_store_return_value(), gdb_mangle_name(), gdb_os_write_stderr(), gdb_os_write_stdout(), gdb_realpath(), gdbpy_parse_command_name(), gdbscm_gc_dup_argv(), gdbscm_gc_xstrdup(), gdbscm_parse_command_name(), gdbscm_scm_from_string(), gdbsim_create_inferior(), gdbsim_open(), generic_val_print(), get_core_siginfo(), get_field(), get_frame_register_bytes(), get_image_name(), get_in_environ(), get_long_set_bounds(), test_pubnames_and_indexes::get_pub_info(), get_punctuator(), gnuv2_baseclass_offset(), gnuv3_find_method_in(), go32_xfer_memory(), gdb.command.explore.Explorer::guard_expr(), h8300_extract_return_value(), h8300_push_dummy_call(), help_list(), hppa64_floating_p(), hppa64_integral_or_pointer_p(), hppa64_push_dummy_call(), hppa64_return_value(), hppa_match_insns_relaxed(), i386_convert_register_p(), i386_displaced_step_copy_insn(), i386_extract_return_value(), i386_fast_tracepoint_valid_at(), i386_push_dummy_call(), i386_reg_struct_return_p(), i386_register_to_value(), i386_stap_parse_special_token_triplet(), i386_store_return_value(), i386_value_to_register(), ia64_linux_xfer_partial(), ia64_push_dummy_call(), indirect_pieced_value(), inf_child_fileio_readlink(), inf_ptrace_xfer_partial(), info_spu_dma_command(), info_spu_event_command(), info_spu_mailbox_command(), info_spu_proxydma_command(), info_spu_signal_command(), init_environ(), init_shared_buffer(), insert_args(), inspect_type(), gdb.function.strfns._StrLen::invoke(), gdb.command.frame_filters.InfoFrameFilter::invoke(), gdb.command.pretty_printers.InfoPrettyPrinter::invoke(), iq2000_extract_return_value(), iq2000_store_return_value(), is_name_suffix(), is_unlimited_literal(), cleanup_check.MasterCleanup::isempty(), java_print_value_fields(), java_type_print_base(), ld_so_xfer_auxv(), lex_one_token(), linespec_lexer_lex_keyword(), linespec_lexer_lex_string(), linux_common_xfer_osdata(), linux_nat_fileio_readlink(), linux_proc_pid_to_exec_file(), linux_proc_xfer_partial(), linux_xfer_osdata_cpus(), linux_xfer_osdata_fds(), linux_xfer_osdata_isockets(), linux_xfer_osdata_modules(), linux_xfer_osdata_msg(), linux_xfer_osdata_processes(), linux_xfer_osdata_processgroups(), linux_xfer_osdata_sem(), linux_xfer_osdata_shm(), linux_xfer_osdata_threads(), linux_xfer_siginfo(), gdb.command.frame_filters.InfoFrameFilter::list_frame_filters(), lm32_store_return_value(), lookup_cmd(), lookup_cmd_1(), lookup_cmd_composition(), m2_enum(), m2_is_long_set(), m2_is_long_set_of_type(), m2_long_set(), m2_print_long_set(), m2_print_unbounded_array(), m2_procedure(), m2_record_fields(), m2_val_print(), m32c_m16c_pointer_to_address(), m32c_part_read(), m32c_part_write(), m32c_r3r2r1r0_read(), m32c_r3r2r1r0_write(), m32r_extract_return_value(), m32r_insert_watchpoint(), m32r_push_dummy_call(), m32r_store_return_value(), m68hc11_store_return_value(), m68k_extract_return_value(), m68k_push_dummy_call(), m68k_reg_struct_return_p(), m68k_store_return_value(), m88k_floating_p(), m88k_integral_or_pointer_p(), m88k_return_value(), m88k_store_arguments(), macro_stringify(), test_pubnames_and_indexes::main(), maintenance_do_deprecate(), gdb.xmethod.SimpleXMethodMatcher::match(), match_endianness(), memory_xfer_check_region(), cleanup_check.MasterCleanup::merge(), mi_parse_argv(), mi_parse_format(), microblaze_store_return_value(), mips_cksum(), mips_common_breakpoint(), mips_eabi_push_dummy_call(), mips_linux_insert_watchpoint(), mips_linux_watch_try_one_watch(), mips_n32n64_push_dummy_call(), mips_o32_push_dummy_call(), mips_o64_push_dummy_call(), mips_receive_packet(), mips_register_to_value(), mips_request(), mips_send_packet(), mips_value_to_register(), mips_xfer_memory(), mn10300_extract_return_value(), mn10300_push_dummy_call(), mn10300_store_return_value(), mnsh_handle_readlink(), monitor_error(), monitor_printable_string(), monitor_printf(), monitor_printf_noecho(), monitor_read_memory(), monitor_read_memory_single(), monitor_write_memory(), moxie_extract_return_value(), moxie_store_return_value(), my_write_child(), myread(), nbsd_pid_to_exec_file(), net_open(), nios2_extract_return_value(), nios2_push_dummy_call(), nios2_store_return_value(), nto_find_and_open_solib(), openp(), pack_long(), pack_unsigned_long(), parse_find_args(), parse_float(), parse_number(), parse_one_string(), parse_partial_symbols(), gdb.command.pretty_printers::parse_printer_regexps(), gdb.command.unwinders::parse_unwinder_command_args(), gdb.command.xmethods::parse_xm_command_args(), parse_xml_raw(), partial_memory_read(), pascal_object_print_value_fields(), pascal_print_func_args(), pascal_type_print_base(), pascal_type_print_method_args(), pascal_val_print(), pass_in_x(), pass_in_x_or_stack(), pass_on_stack(), ppc64_sysv_abi_return_value(), ppc_stap_parse_special_token(), ppc_sysv_abi_push_dummy_call(), ppscm_print_exception_unless_memory_error(), prefixify_expression(), print_binary_chars(), print_decimal_floating(), print_enum_type(), print_field_values(), print_floating(), print_formatted(), print_func_type(), print_hex_chars(), print_octal_chars(), print_scalar_formatted(), print_source_lines_base(), print_type_scalar(), probe_is_linespec_by_keyword(), proc_set_watchpoint(), process_psymtab_comp_unit_reader(), procfs_create_inferior(), procfs_hw_watchpoint(), procfs_store_registers(), program_breakpoint_here_p(), psym_find_last_source_symtab(), push_stack_item(), put_field(), put_frame_register_bytes(), python_interactive_command(), rbreak_command(), read_atcb(), read_fat_string_value(), read_frame_register_value(), read_huge_number(), read_pe_exported_syms(), read_target_long_array(), record_btrace_xfer_partial(), record_full_core_xfer_partial(), record_full_mem_alloc(), record_full_restore(), record_full_save(), record_linux_msghdr(), record_linux_system_call(), recv_data(), remote_buffer_add_bytes(), remote_buffer_add_int(), remote_buffer_add_string(), remote_fileio_func_rename(), remote_hostio_pread_from_cache(), remote_hostio_readlink(), remote_read_bytes(), remote_unescape_input(), remote_xfer_live_readonly_partial(), replace_bit_field(), replace_typedefs_qualified_name(), restore_binary_file(), rl78_push_dummy_call(), rs6000_aix_ld_info_to_xml(), rs6000_lynx178_push_dummy_call(), rs6000_push_dummy_call(), rs6000_xfer_partial(), rx_push_dummy_call(), rx_return_value(), safe_strerror(), save_infcall_suspend_state(), savestring(), score3_breakpoint_from_pc(), section_table_read_available_memory(), section_table_xfer_memory_partial(), select_source_symtab(), send_data(), set_be_le_names(), set_in_environ(), sh64_extract_return_value(), sh64_push_dummy_call(), sh64_store_return_value(), sh_corefile_collect_regset(), sh_corefile_supply_regset(), sh_extract_return_value_fpu(), sh_extract_return_value_nofpu(), sh_push_dummy_call_fpu(), sh_push_dummy_call_nofpu(), sh_store_return_value_fpu(), sh_store_return_value_nofpu(), sh_use_struct_convention(), simple_displaced_step_copy_insn(), sparc32_extract_return_value(), sparc32_store_arguments(), sparc32_store_return_value(), sparc64_complex_floating_p(), sparc64_extract_floating_fields(), sparc64_extract_return_value(), sparc64_floating_p(), sparc64_integral_or_pointer_p(), sparc64_store_arguments(), sparc64_store_floating_fields(), sparc64_store_return_value(), sparc_complex_floating_p(), sparc_fetch_wcookie(), sparc_floating_p(), sparc_integral_or_pointer_p(), spu_current_sos(), spu_fetch_inferior_registers(), spu_push_dummy_call(), spu_regcache_to_value(), spu_store_inferior_registers(), spu_symbol_file_add_from_memory(), spu_value_from_register(), spu_value_to_regcache(), stap_is_integer_prefix(), stap_parse_register_operand(), store_ppc_memory(), store_signed_integer(), store_unsigned_integer(), stringify(), substitute_args(), gdb.prompt::substitute_prompt(), symbol_set_names(), syscall_start_syscall(), target_read(), target_write_memory_blocks(), target_write_with_progress(), tfile_xfer_partial(), tic6x_arg_type_alignment(), tic6x_extract_return_value(), tic6x_push_dummy_call(), tic6x_store_return_value(), tilegx_extract_return_value(), tilegx_store_return_value(), to_fixed_array_type(), trace_dump_actions(), traceframe_available_memory(), tui_display_registers_from(), tui_reg_command(), tui_set_default_tab_len(), tui_set_disassem_content(), unpack_double(), unpack_long(), unpack_mangled_go_symbol(), unset_in_environ(), copyright::update_files(), v850_extract_return_value(), v850_push_dummy_call(), v850_store_return_value(), val_print_array_elements(), val_print_packed_array_elements(), value_equal(), value_from_history_ref(), value_logical_not(), value_neg(), value_pointer(), value_strcmp(), value_struct_elt_for_reference(), varobj_value_get_print_value(), vax_return_value(), vax_store_arguments(), VEC(), cleanup_check.MasterCleanup::verify(), vfprintf_unfiltered(), vlscm_convert_typed_value_from_scheme(), watch_command_1(), windows_core_xfer_shared_libraries(), windows_create_inferior(), windows_get_exec_module_filename(), write_exp_bitstring(), write_exp_string(), write_exp_string_vector(), x86_set_debug_register_length(), xml_builtin_xfer_partial(), xml_fetch_content_from_file(), xstormy16_extract_return_value(), xstormy16_store_return_value(), xtensa_extract_return_value(), xtensa_store_return_value(), yylex(), and yyparse().

int may_insert_breakpoints
int may_insert_fast_tracepoints
int may_insert_tracepoints
int may_stop
int may_write_memory
int may_write_registers
const ULONGEST offset

Definition at line 309 of file target.h.

int remote_debug

Definition at line 166 of file top.c.

int remote_timeout
int serial_parity

Definition at line 651 of file serial.c.

Referenced by monitor_open(), and remote_open_1().

int target_async_permitted
target_xfer_partial_ftype target_xfer_partial

Referenced by read_memory(), and read_value_memory().