36 #ifdef HAVE_LINUX_REGSETS
41 static struct regset_info *
46 struct regsets_info *regsets_info = regs_info->regsets_info;
48 while (regsets_info->regsets[i].size != -1)
50 if (regsets_info->regsets[i].type == GENERAL_REGS)
55 return ®sets_info->regsets[i];
72 *sym_addr = (
psaddr_t) (
unsigned long) addr;
115 gregset_info ()->fill_function (regcache, gregset);
ps_err_e ps_lsetfpregs(gdb_ps_prochandle_t ph, lwpid_t lwpid, const prfpregset_t *fpregset)
struct ps_prochandle * gdb_ps_prochandle_t
struct thread_info * current_thread
ps_err_e ps_pglobal_lookup(gdb_ps_prochandle_t ph, const char *obj, const char *name, psaddr_t *sym_addr)
struct lwp_info * find_lwp_pid(ptid_t ptid)
ps_err_e ps_lsetregs(gdb_ps_prochandle_t ph, lwpid_t lwpid, const prgregset_t gregset)
ps_err_e ps_lgetregs(gdb_ps_prochandle_t ph, lwpid_t lwpid, prgregset_t gregset)
const struct regs_info *(* regs_info)(void)
const void * gdb_ps_write_buf_t
struct linux_target_ops the_low_target
ps_err_e ps_pdwrite(gdb_ps_prochandle_t ph, psaddr_t addr, gdb_ps_write_buf_t buf, gdb_ps_size_t size)
ps_err_e ps_lgetfpregs(gdb_ps_prochandle_t ph, lwpid_t lwpid, prfpregset_t *fpregset)
pid_t ps_getpid(gdb_ps_prochandle_t ph)
int read_inferior_memory(CORE_ADDR memaddr, unsigned char *myaddr, int len)
ptid_t pid_to_ptid(int pid)
#define get_lwp_thread(lwp)
int write_inferior_memory(CORE_ADDR memaddr, const unsigned char *myaddr, int len)
ps_err_e ps_pdread(gdb_ps_prochandle_t ph, psaddr_t addr, gdb_ps_read_buf_t buf, gdb_ps_size_t size)
elf_fpregset_t prfpregset_t
int thread_db_look_up_one_symbol(const char *name, CORE_ADDR *addrp)
struct regcache * get_thread_regcache(struct thread_info *thread, int fetch)
elf_gregset_t prgregset_t