28 #include "target/waitstatus.h" 31 #define PTRACE_XFER_TYPE long 33 #ifdef HAVE_LINUX_REGSETS 34 typedef void (*regset_fill_func) (
struct regcache *,
void *);
35 typedef void (*regset_store_func) (
struct regcache *,
const void *);
45 { 0, 0, 0, -1, (enum regset_type) -1, NULL, NULL } 49 int get_request, set_request;
55 regset_fill_func fill_function;
56 regset_store_func store_function;
65 struct regset_info *regsets;
75 char *disabled_regsets;
107 #ifdef HAVE_LINUX_REGSETS 109 struct regsets_info *regsets_info;
155 const gdb_byte *(*sw_breakpoint_from_kind) (
int kind,
int *size);
177 int regno,
char *buf);
179 int regno,
const char *buf);
230 unsigned char *jjump_pad_insn,
263 #define get_thread_lwp(thr) ((struct lwp_info *) (thread_target_data (thr))) 264 #define get_lwp_thread(lwp) ((lwp)->thread) 403 #ifdef HAVE_LINUX_REGSETS 404 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(* breakpoint_kind_from_current_state)(CORE_ADDR *pcptr)
int(* stopped_by_watchpoint)(void)
bool thread_db_thread_handle(ptid_t ptid, gdb_byte **handle, int *handle_len)
CORE_ADDR linux_get_pc_64bit(struct regcache *regcache)
int(* breakpoint_at)(CORE_ADDR pc)
void thread_db_notice_clone(struct thread_info *parent_thr, ptid_t child_ptid)
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
void linux_set_pc_32bit(struct regcache *regcache, CORE_ADDR pc)
fast_tpoint_collect_result collecting_fast_tracepoint
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)
fast_tpoint_collect_result
int(* supports_hardware_single_step)(void)
void linux_set_pc_64bit(struct regcache *regcache, CORE_ADDR pc)
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(* delete_process)(struct arch_process_info *info)
int(* breakpoint_kind_from_pc)(CORE_ADDR *pcptr)
void thread_db_detach(struct process_info *)
void(* get_syscall_trapinfo)(struct regcache *regcache, int *sysno)
enum target_waitkind syscall_state
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(* 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
struct lwp_info * fork_relative
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 *)
void(* process_qsupported)(char **, int count)
enum target_stop_reason stop_reason
int(* get_ipa_tdesc_idx)(void)
unsigned long long ULONGEST
void(* delete_thread)(struct arch_lwp_info *)
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)
int(* siginfo_fixup)(siginfo_t *native, gdb_byte *inf, int direction)
CORE_ADDR linux_get_pc_32bit(struct regcache *regcache)
struct thread_info * thread
CORE_ADDR(* get_pc)(struct regcache *regcache)
int have_ptrace_getregset