GDBserver
Public Attributes
target_ops Struct Reference

#include <target.h>

List of all members.

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)

Detailed Description

Definition at line 62 of file target.h.


Member Data Documentation

int(* target_ops::async)(int enable)

Definition at line 248 of file target.h.

int(* target_ops::attach)(unsigned long pid)

Definition at line 83 of file target.h.

Definition at line 300 of file target.h.

Definition at line 262 of file target.h.

int(* target_ops::create_inferior)(char *program, char **args)

Definition at line 73 of file target.h.

int(* target_ops::detach)(int pid)

Definition at line 92 of file target.h.

Definition at line 360 of file target.h.

Definition at line 149 of file target.h.

struct emit_ops*(* target_ops::emit_ops)(void) [read]

Definition at line 335 of file target.h.

Definition at line 357 of file target.h.

void(* target_ops::fetch_registers)(struct regcache *regcache, int regno)

Definition at line 126 of file target.h.

Definition at line 342 of file target.h.

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

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)

Definition at line 320 of file target.h.

void(* target_ops::join)(int pid)

Definition at line 99 of file target.h.

int(* target_ops::kill)(int pid)

Definition at line 87 of file target.h.

Referenced by kill_inferior().

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)

Definition at line 291 of file target.h.

Definition at line 145 of file target.h.

void(* target_ops::process_qsupported)(const char *)

Definition at line 269 of file target.h.

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

Referenced by handle_query().

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

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

Definition at line 252 of file target.h.

Referenced by start_non_stop().

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)

Definition at line 132 of file target.h.

Definition at line 350 of file target.h.

Definition at line 353 of file target.h.

Definition at line 338 of file target.h.

Definition at line 255 of file target.h.

Definition at line 244 of file target.h.

Definition at line 367 of file target.h.

Definition at line 273 of file target.h.

Definition at line 103 of file target.h.

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)

Definition at line 297 of file target.h.

ptid_t(* target_ops::wait)(ptid_t ptid, struct target_waitstatus *status, int options)

Definition at line 120 of file target.h.

Referenced by mywait().

int(* target_ops::write_memory)(CORE_ADDR memaddr, const unsigned char *myaddr, int len)

Definition at line 279 of file target.h.

Referenced by regcache_write_pc().


The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines