28 #include "target/waitstatus.h"
30 #define PTRACE_XFER_TYPE long
32 #ifdef HAVE_LINUX_REGSETS
33 typedef void (*regset_fill_func) (
struct regcache *,
void *);
34 typedef void (*regset_store_func) (
struct regcache *,
const void *);
43 int get_request, set_request;
49 regset_fill_func fill_function;
50 regset_store_func store_function;
59 struct regset_info *regsets;
69 char *disabled_regsets;
101 #ifdef HAVE_LINUX_REGSETS
103 struct regsets_info *regsets_info;
170 int regno,
char *buf);
172 int regno,
const char *buf);
215 unsigned char *jjump_pad_insn,
235 #define get_thread_lwp(thr) ((struct lwp_info *) (inferior_target_data (thr)))
236 #define get_lwp_thread(lwp) ((lwp)->thread)
364 #ifdef HAVE_LINUX_REGSETS
365 void initialize_regsets_info (
struct regsets_info *regsets_info);
struct arch_lwp_info * arch_private
int linux_attach_lwp(ptid_t ptid)
struct usrregs_info * usrregs
void(* new_fork)(struct process_info *parent, struct process_info *child)
struct lwp_info * find_lwp_pid(ptid_t ptid)
int(* cannot_store_register)(int)
int(* supports_z_point_type)(char z_type)
void thread_db_mourn(struct process_info *)
void initialize_low_arch(void)
int collecting_fast_tracepoint
int(* stopped_by_watchpoint)(void)
int thread_db_init(int use_events)
int(* breakpoint_at)(CORE_ADDR pc)
const unsigned char * breakpoint
int(* fetch_register)(struct regcache *regcache, int regno)
struct target_waitstatus waitstatus
int must_set_ptrace_flags
struct arch_process_info * arch_private
void(* set_pc)(struct regcache *regcache, CORE_ADDR newpc)
unsigned char * regset_bitmap
int(* get_thread_area)(int lwpid, CORE_ADDR *addrp)
struct thread_db * thread_db
struct linux_target_ops the_low_target
int(* cannot_fetch_register)(int)
int linux_pid_exe_is_elf_64_file(int pid, unsigned int *machine)
CORE_ADDR step_range_start
int thread_db_get_tls_address(struct thread_info *thread, CORE_ADDR offset, CORE_ADDR load_module, CORE_ADDR *address)
void(* collect_ptrace_register)(struct regcache *regcache, int regno, char *buf)
CORE_ADDR(* stopped_data_address)(void)
void(* process_qsupported)(const char *)
void thread_db_detach(struct process_info *)
struct pending_signals * pending_signals
int(* insert_point)(enum raw_bkpt_type type, CORE_ADDR addr, int size, struct raw_breakpoint *bp)
CORE_ADDR stopped_data_address
int(* remove_point)(enum raw_bkpt_type type, CORE_ADDR addr, int size, struct raw_breakpoint *bp)
void(* prepare_to_resume)(struct lwp_info *)
int(* supports_tracepoints)(void)
int(* siginfo_fixup)(siginfo_t *native, void *inf, int direction)
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)
int thread_db_look_up_one_symbol(const char *name, CORE_ADDR *addrp)
struct thread_resume * resume
int(* supports_range_stepping)(void)
struct pending_signals * pending_signals_to_report
void(* new_thread)(struct lwp_info *)
int thread_db_handle_monitor_command(char *)
enum target_stop_reason stop_reason
unsigned long long ULONGEST
struct breakpoint * exit_jump_pad_bkpt
void(* supply_ptrace_register)(struct regcache *regcache, int regno, const char *buf)
int(* get_min_fast_tracepoint_insn_len)(void)
CORE_ADDR(* breakpoint_reinsert_addr)(void)
struct thread_info * thread
CORE_ADDR(* get_pc)(struct regcache *regcache)