26#include <sys/ptrace.h>
27#include <machine/reg.h>
59 gdb_byte zero[4] = { 0 };
60 const char *regs = gregs;
67 if (
sizeof(
struct reg) >= 46 * 4)
99 const char *regs = fpregs;
126 if (
sizeof(
struct reg) >= 46 * 4)
206 perror_with_name (_(
"Couldn't get registers"));
216 perror_with_name (_(
"Couldn't get floating point status"));
233 perror_with_name (_(
"Couldn't get registers"));
238 perror_with_name (_(
"Couldn't write registers"));
246 perror_with_name (_(
"Couldn't get floating point status"));
251 perror_with_name (_(
"Couldn't write floating point status"));
void raw_collect(int regnum, void *buf) const override
void raw_supply(int regnum, const void *buf) override
#define ptrace(request, pid, addr, data)
mach_port_t mach_port_t name mach_port_t mach_port_t name kern_return_t int int rusage_t pid_t pid
static void hppaobsd_collect_gregset(const struct regcache *regcache, void *gregs, int regnum)
static void hppaobsd_supply_gregset(struct regcache *regcache, const void *gregs)
static int hppaobsd_gregset_supplies_p(int regnum)
void _initialize_hppaobsd_nat()
static int hppaobsd_fpregset_supplies_p(int regnum)
static void hppaobsd_collect_fpregset(struct regcache *regcache, void *fpregs, int regnum)
static void hppaobsd_supply_fpregset(struct regcache *regcache, const void *fpregs)
static hppa_obsd_nat_target the_hppa_obsd_nat_target
void add_inf_child_target(inf_child_target *target)
void store_registers(struct regcache *, int) override
void fetch_registers(struct regcache *, int) override