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(* | insert_point )(char type, CORE_ADDR addr, int len) |
int(* | remove_point )(char type, CORE_ADDR addr, int len) |
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(* | 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(* | cancel_breakpoints )(void) |
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 )(void) |
struct btrace_target_info *(* | enable_btrace )(ptid_t ptid) |
int(* | disable_btrace )(struct btrace_target_info *tinfo) |
void(* | read_btrace )(struct btrace_target_info *, struct buffer *, int type) |
int(* | supports_range_stepping )(void) |
int(* target_ops::async)(int enable) |
int(* target_ops::attach)(unsigned long pid) |
void(* target_ops::cancel_breakpoints)(void) |
int(* target_ops::core_of_thread)(ptid_t) |
int(* target_ops::create_inferior)(char *program, char **args) |
int(* target_ops::detach)(int pid) |
int(* target_ops::disable_btrace)(struct btrace_target_info *tinfo) |
void(* target_ops::done_accessing_memory)(void) |
struct emit_ops*(* target_ops::emit_ops)(void) [read] |
struct btrace_target_info*(* target_ops::enable_btrace)(ptid_t ptid) [read] |
void(* target_ops::fetch_registers)(struct regcache *regcache, int regno) |
int(* target_ops::get_min_fast_tracepoint_insn_len)(void) |
int(* target_ops::get_tib_address)(ptid_t ptid, CORE_ADDR *address) |
Definition at line 285 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 223 of file target.h.
Referenced by handle_query().
int(* target_ops::handle_monitor_command)(char *) |
Definition at line 259 of file target.h.
Referenced by handle_query().
void(* target_ops::hostio_last_error)(char *buf) |
Definition at line 232 of file target.h.
Referenced by hostio_error().
int(* target_ops::insert_point)(char type, CORE_ADDR addr, int len) |
Definition at line 199 of file target.h.
Referenced by process_serial_event().
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) |
void(* target_ops::join)(int pid) |
int(* target_ops::kill)(int pid) |
Definition at line 87 of file target.h.
Referenced by kill_inferior().
void(* target_ops::look_up_symbols)(void) |
Definition at line 176 of file target.h.
Referenced by handle_query().
void(* target_ops::mourn)(struct process_info *proc) |
Definition at line 96 of file target.h.
Referenced by linux_detach(), linux_kill(), lynx_detach(), and lynx_kill().
void(* target_ops::pause_all)(int freeze) |
int(* target_ops::prepare_to_access_memory)(void) |
void(* target_ops::process_qsupported)(const char *) |
int(* target_ops::qxfer_libraries_svr4)(const char *annex, unsigned char *readbuf, unsigned const char *writebuf, CORE_ADDR offset, int len) |
Definition at line 345 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 235 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 240 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 227 of file target.h.
Referenced by handle_query(), handle_qxfer_spu(), and ppc_breakpoint_at().
int(* target_ops::read_auxv)(CORE_ADDR offset, unsigned char *myaddr, unsigned int len) |
Definition at line 187 of file target.h.
Referenced by arm_get_hwcap(), handle_query(), handle_qxfer_auxv(), and ppc_get_hwcap().
void(* target_ops::read_btrace)(struct btrace_target_info *, struct buffer *, int type) |
Definition at line 364 of file target.h.
Referenced by handle_qxfer_btrace().
int(* target_ops::read_loadmap)(const char *annex, CORE_ADDR offset, unsigned char *myaddr, unsigned int len) |
Definition at line 265 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 158 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().
int(* target_ops::read_offsets)(CORE_ADDR *text, CORE_ADDR *data) |
Definition at line 215 of file target.h.
Referenced by handle_query().
CORE_ADDR(* target_ops::read_pc)(struct regcache *regcache) |
Definition at line 276 of file target.h.
Referenced by regcache_read_pc().
int(* target_ops::remove_point)(char type, CORE_ADDR addr, int len) |
Definition at line 200 of file target.h.
Referenced by process_serial_event().
void(* target_ops::request_interrupt)(void) |
Definition at line 181 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 107 of file target.h.
Referenced by agent_run_command(), handle_target_event(), handle_v_cont(), myresume(), process_serial_event(), and start_inferior().
void(* target_ops::stabilize_threads)(void) |
int(* target_ops::start_non_stop)(int) |
Definition at line 252 of file target.h.
Referenced by start_non_stop().
int(* target_ops::stopped_by_watchpoint)(void) |
Definition at line 204 of file target.h.
Referenced by prepare_resume_reply().
Definition at line 209 of file target.h.
Referenced by prepare_resume_reply().
void(* target_ops::store_registers)(struct regcache *regcache, int regno) |
int(* target_ops::supports_agent)(void) |
int(* target_ops::supports_btrace)(void) |
int(* target_ops::supports_disable_randomization)(void) |
int(* target_ops::supports_multi_process)(void) |
int(* target_ops::supports_non_stop)(void) |
int(* target_ops::supports_range_stepping)(void) |
int(* target_ops::supports_tracepoints)(void) |
int(* target_ops::thread_alive)(ptid_t pid) |
int(* target_ops::thread_stopped)(struct thread_info *thread) |
Definition at line 282 of file target.h.
Referenced by queue_stop_reply_callback().
void(* target_ops::unpause_all)(int unfreeze) |
ptid_t(* target_ops::wait)(ptid_t ptid, struct target_waitstatus *status, int options) |
int(* target_ops::write_memory)(CORE_ADDR memaddr, const unsigned char *myaddr, int len) |
Definition at line 167 of file target.h.
Referenced by ppc_set_pc(), reinsert_raw_breakpoint(), set_raw_breakpoint_at(), sparc_fill_gregset_to_stack(), and write_inferior_memory().
void(* target_ops::write_pc)(struct regcache *regcache, CORE_ADDR pc) |
Definition at line 279 of file target.h.
Referenced by regcache_write_pc().