26 #include <sys/ptrace.h>
28 #include <sys/procfs.h>
54 0, 1, 2, 3, 4, 5, 6, 7,
55 8, 9, 10, 11, 12, 13, 14, 15,
56 16, 17, 18, 19, 20, 21, 22, 23,
57 24, 25, 26, 27, 28, 29, 30, 31,
58 32, 33, 34, 35, 36, 37, 38, 39,
59 40, 41, 42, 43, 44, 45, 46, 47,
60 48, 49, 50, 51, 52, 53, 54, 55,
61 -1, -1, -1, -1, -1, -1, -1, -1,
73 const elf_gregset_t *gregsetp)
75 elf_greg_t *regp = (elf_greg_t *) gregsetp;
78 for (i = 0; i <
sizeof (
regmap) /
sizeof (
regmap[0]); i++)
88 elf_gregset_t *gregsetp,
int regno)
90 elf_greg_t *regp = (elf_greg_t *) gregsetp;
93 for (i = 0; i <
sizeof (
regmap) /
sizeof (
regmap[0]); i++)
105 const elf_fpregset_t *fpregsetp)
116 elf_fpregset_t *fpregsetp,
int regno)
void fill_fpregset(const struct regcache *regcache, elf_fpregset_t *fpregsetp, int regno)
initialize_file_ftype _initialize_tile_linux_nat
void fill_gregset(const struct regcache *regcache, elf_gregset_t *gregsetp, int regno)
void initialize_file_ftype(void)
void supply_gregset(struct regcache *regcache, const elf_gregset_t *gregsetp)
void supply_fpregset(struct regcache *regcache, const elf_fpregset_t *fpregsetp)
void linux_nat_add_target(struct target_ops *t)
struct target_ops * linux_target(void)
int ptid_get_pid(ptid_t ptid)
static const int regmap[]
void(* to_fetch_registers)(struct target_ops *, struct regcache *, int) TARGET_DEFAULT_IGNORE()
void void void void void void void void void perror_with_name(const char *string) ATTRIBUTE_NORETURN
static void fetch_inferior_registers(struct target_ops *ops, struct regcache *regcache, int regnum)
static void store_inferior_registers(struct target_ops *ops, struct regcache *regcache, int regnum)
void regcache_raw_supply(struct regcache *regcache, int regnum, const void *buf)
long ptid_get_lwp(ptid_t ptid)
void regcache_raw_collect(const struct regcache *regcache, int regnum, void *buf)
void(* to_store_registers)(struct target_ops *, struct regcache *, int) TARGET_DEFAULT_NORETURN(noprocess())