GDBserver
|
#include "target.h"
Public Attributes | |
int(* | create_inferior )(char *program, char **args) |
int(* | attach )(unsigned long pid) |
int(* | kill )(int pid) |
int(* | detach )(int pid) |
void(* | mourn )(struct process_info *proc) |
void(* | join )(int pid) |
int(* | thread_alive )(ptid_t pid) |
void(* | resume )(struct thread_resume *resume_info, size_t n) |
ptid_t(* | wait )(ptid_t ptid, struct target_waitstatus *status, int options) |
void(* | fetch_registers )(struct regcache *regcache, int regno) |
void(* | store_registers )(struct regcache *regcache, int regno) |
int(* | prepare_to_access_memory )(void) |
void(* | done_accessing_memory )(void) |
int(* | read_memory )(CORE_ADDR memaddr, unsigned char *myaddr, int len) |
int(* | write_memory )(CORE_ADDR memaddr, const unsigned char *myaddr, int len) |
void(* | look_up_symbols )(void) |
void(* | request_interrupt )(void) |
int(* | read_auxv )(CORE_ADDR offset, unsigned char *myaddr, unsigned int len) |
int(* | supports_z_point_type )(char z_type) |
int(* | insert_point )(enum raw_bkpt_type type, CORE_ADDR addr, int size, struct raw_breakpoint *bp) |
int(* | remove_point )(enum raw_bkpt_type type, CORE_ADDR addr, int size, struct raw_breakpoint *bp) |
int(* | stopped_by_sw_breakpoint )(void) |
int(* | supports_stopped_by_sw_breakpoint )(void) |
int(* | stopped_by_hw_breakpoint )(void) |
int(* | supports_stopped_by_hw_breakpoint )(void) |
int(* | supports_conditional_breakpoints )(void) |
int(* | stopped_by_watchpoint )(void) |
CORE_ADDR(* | stopped_data_address )(void) |
int(* | read_offsets )(CORE_ADDR *text, CORE_ADDR *data) |
int(* | get_tls_address )(struct thread_info *thread, CORE_ADDR offset, CORE_ADDR load_module, CORE_ADDR *address) |
int(* | qxfer_spu )(const char *annex, unsigned char *readbuf, unsigned const char *writebuf, CORE_ADDR offset, int len) |
void(* | hostio_last_error )(char *buf) |
int(* | qxfer_osdata )(const char *annex, unsigned char *readbuf, unsigned const char *writebuf, CORE_ADDR offset, int len) |
int(* | qxfer_siginfo )(const char *annex, unsigned char *readbuf, unsigned const char *writebuf, CORE_ADDR offset, int len) |
int(* | supports_non_stop )(void) |
int(* | async )(int enable) |
int(* | start_non_stop )(int) |
int(* | supports_multi_process )(void) |
int(* | supports_fork_events )(void) |
int(* | supports_vfork_events )(void) |
void(* | handle_new_gdb_connection )(void) |
int(* | handle_monitor_command )(char *) |
int(* | core_of_thread )(ptid_t) |
int(* | read_loadmap )(const char *annex, CORE_ADDR offset, unsigned char *myaddr, unsigned int len) |
void(* | process_qsupported )(const char *) |
int(* | supports_tracepoints )(void) |
CORE_ADDR(* | read_pc )(struct regcache *regcache) |
void(* | write_pc )(struct regcache *regcache, CORE_ADDR pc) |
int(* | thread_stopped )(struct thread_info *thread) |
int(* | get_tib_address )(ptid_t ptid, CORE_ADDR *address) |
void(* | pause_all )(int freeze) |
void(* | unpause_all )(int unfreeze) |
void(* | stabilize_threads )(void) |
int(* | install_fast_tracepoint_jump_pad )(CORE_ADDR tpoint, CORE_ADDR tpaddr, CORE_ADDR collector, CORE_ADDR lockaddr, ULONGEST orig_size, CORE_ADDR *jump_entry, CORE_ADDR *trampoline, ULONGEST *trampoline_size, unsigned char *jjump_pad_insn, ULONGEST *jjump_pad_insn_size, CORE_ADDR *adjusted_insn_addr, CORE_ADDR *adjusted_insn_addr_end, char *err) |
struct emit_ops *(* | emit_ops )(void) |
int(* | supports_disable_randomization )(void) |
int(* | get_min_fast_tracepoint_insn_len )(void) |
int(* | qxfer_libraries_svr4 )(const char *annex, unsigned char *readbuf, unsigned const char *writebuf, CORE_ADDR offset, int len) |
int(* | supports_agent )(void) |
int(* | supports_btrace )(struct target_ops *, enum btrace_format) |
struct btrace_target_info *(* | enable_btrace )(ptid_t ptid, const struct btrace_config *conf) |
int(* | disable_btrace )(struct btrace_target_info *tinfo) |
int(* | read_btrace )(struct btrace_target_info *, struct buffer *, int type) |
int(* | read_btrace_conf )(const struct btrace_target_info *, struct buffer *) |
int(* | supports_range_stepping )(void) |
char *(* | pid_to_exec_file )(int pid) |
int(* | multifs_open )(int pid, const char *filename, int flags, mode_t mode) |
int(* | multifs_unlink )(int pid, const char *filename) |
ssize_t(* | multifs_readlink )(int pid, const char *filename, char *buf, size_t bufsiz) |
int(* target_ops::create_inferior) (char *program, char **args) |
int(* target_ops::disable_btrace) (struct btrace_target_info *tinfo) |
struct btrace_target_info*(* target_ops::enable_btrace) (ptid_t ptid, const struct btrace_config *conf) |
Definition at line 321 of file target.h.
Referenced by handle_query().
int(* target_ops::get_tls_address) (struct thread_info *thread, CORE_ADDR offset, CORE_ADDR load_module, CORE_ADDR *address) |
Definition at line 250 of file target.h.
Referenced by handle_query().
int(* target_ops::handle_monitor_command) (char *) |
Definition at line 295 of file target.h.
Referenced by handle_query().
void(* target_ops::hostio_last_error) (char *buf) |
Definition at line 259 of file target.h.
Referenced by hostio_error().
int(* target_ops::insert_point) (enum raw_bkpt_type type, CORE_ADDR addr, int size, struct raw_breakpoint *bp) |
Definition at line 205 of file target.h.
Referenced by reinsert_raw_breakpoint(), and set_raw_breakpoint_at().
int(* target_ops::install_fast_tracepoint_jump_pad) (CORE_ADDR tpoint, CORE_ADDR tpaddr, CORE_ADDR collector, CORE_ADDR lockaddr, ULONGEST orig_size, CORE_ADDR *jump_entry, CORE_ADDR *trampoline, ULONGEST *trampoline_size, unsigned char *jjump_pad_insn, ULONGEST *jjump_pad_insn_size, CORE_ADDR *adjusted_insn_addr, CORE_ADDR *adjusted_insn_addr_end, char *err) |
int(* target_ops::kill) (int pid) |
Definition at line 89 of file target.h.
Referenced by kill_inferior().
void(* target_ops::look_up_symbols) (void) |
Definition at line 178 of file target.h.
Referenced by handle_query().
void(* target_ops::mourn) (struct process_info *proc) |
Definition at line 98 of file target.h.
Referenced by linux_detach(), linux_kill(), lynx_detach(), and lynx_kill().
int(* target_ops::multifs_open) (int pid, const char *filename, int flags, mode_t mode) |
Definition at line 423 of file target.h.
Referenced by handle_open(), and handle_setfs().
ssize_t(* target_ops::multifs_readlink) (int pid, const char *filename, char *buf, size_t bufsiz) |
Definition at line 437 of file target.h.
Referenced by handle_readlink(), and handle_setfs().
int(* target_ops::multifs_unlink) (int pid, const char *filename) |
Definition at line 430 of file target.h.
Referenced by handle_setfs(), and handle_unlink().
char*(* target_ops::pid_to_exec_file) (int pid) |
Definition at line 417 of file target.h.
Referenced by handle_query(), and handle_qxfer_exec_file().
int(* target_ops::qxfer_libraries_svr4) (const char *annex, unsigned char *readbuf, unsigned const char *writebuf, CORE_ADDR offset, int len) |
Definition at line 378 of file target.h.
Referenced by handle_query(), and handle_qxfer_libraries_svr4().
int(* target_ops::qxfer_osdata) (const char *annex, unsigned char *readbuf, unsigned const char *writebuf, CORE_ADDR offset, int len) |
Definition at line 262 of file target.h.
Referenced by handle_query(), and handle_qxfer_osdata().
int(* target_ops::qxfer_siginfo) (const char *annex, unsigned char *readbuf, unsigned const char *writebuf, CORE_ADDR offset, int len) |
Definition at line 267 of file target.h.
Referenced by handle_query(), and handle_qxfer_siginfo().
int(* target_ops::qxfer_spu) (const char *annex, unsigned char *readbuf, unsigned const char *writebuf, CORE_ADDR offset, int len) |
Definition at line 254 of file target.h.
Referenced by handle_query(), handle_qxfer_spu(), and ppc_breakpoint_at().
Definition at line 189 of file target.h.
Referenced by arm_get_hwcap(), handle_query(), handle_qxfer_auxv(), and ppc_get_hwcap().
int(* target_ops::read_btrace) (struct btrace_target_info *, struct buffer *, int type) |
Definition at line 401 of file target.h.
Referenced by handle_qxfer_btrace().
int(* target_ops::read_btrace_conf) (const struct btrace_target_info *, struct buffer *) |
Definition at line 406 of file target.h.
Referenced by handle_qxfer_btrace_conf().
int(* target_ops::read_loadmap) (const char *annex, CORE_ADDR offset, unsigned char *myaddr, unsigned int len) |
Definition at line 301 of file target.h.
Referenced by handle_query(), and handle_qxfer_fdpic().
int(* target_ops::read_memory) (CORE_ADDR memaddr, unsigned char *myaddr, int len) |
Definition at line 160 of file target.h.
Referenced by aarch64_breakpoint_at(), arm_breakpoint_at(), cris_breakpoint_at(), m32r_breakpoint_at(), mips_breakpoint_at(), nios2_breakpoint_at(), parse_spufs_run(), ppc_breakpoint_at(), ppc_get_pc(), read_inferior_memory(), sh_breakpoint_at(), sparc_breakpoint_at(), sparc_store_gregset_from_stack(), tic6x_breakpoint_at(), tile_breakpoint_at(), validate_inserted_breakpoint(), x86_breakpoint_at(), and xtensa_breakpoint_at().
Definition at line 242 of file target.h.
Referenced by handle_query().
Definition at line 312 of file target.h.
Referenced by regcache_read_pc().
int(* target_ops::remove_point) (enum raw_bkpt_type type, CORE_ADDR addr, int size, struct raw_breakpoint *bp) |
Definition at line 207 of file target.h.
Referenced by delete_raw_breakpoint(), and uninsert_raw_breakpoint().
void(* target_ops::request_interrupt) (void) |
Definition at line 183 of file target.h.
Referenced by input_interrupt(), and putpkt_binary_1().
void(* target_ops::resume) (struct thread_resume *resume_info, size_t n) |
Definition at line 109 of file target.h.
Referenced by handle_target_event(), process_serial_event(), resume(), start_inferior(), target_continue_no_signal(), and target_stop_and_wait().
int(* target_ops::start_non_stop) (int) |
Definition at line 279 of file target.h.
Referenced by start_non_stop().
int(* target_ops::stopped_by_watchpoint) (void) |
Definition at line 231 of file target.h.
Referenced by prepare_resume_reply().
CORE_ADDR(* target_ops::stopped_data_address) (void) |
Definition at line 236 of file target.h.
Referenced by prepare_resume_reply().
int(* target_ops::supports_btrace) (struct target_ops *, enum btrace_format) |
int(* target_ops::supports_stopped_by_hw_breakpoint) (void) |
int(* target_ops::supports_stopped_by_sw_breakpoint) (void) |
int(* target_ops::supports_z_point_type) (char z_type) |
Definition at line 200 of file target.h.
Referenced by z_type_supported().
int(* target_ops::thread_stopped) (struct thread_info *thread) |
Definition at line 318 of file target.h.
Referenced by queue_stop_reply_callback().
int(* target_ops::write_memory) (CORE_ADDR memaddr, const unsigned char *myaddr, int len) |
Definition at line 169 of file target.h.
Referenced by insert_memory_breakpoint(), ppc_set_pc(), sparc_fill_gregset_to_stack(), and write_inferior_memory().
Definition at line 315 of file target.h.
Referenced by regcache_write_pc().