void
supply_fpregset (fpregset_t *fpregsetp)
{
- x86_64_supply_fxsave ((const char *) fpregsetp, -1);
+ x86_64_supply_fxsave (current_regcache, -1, fpregsetp);
}
/* Fill register REGNUM (if it is a floating-point register) in
(PTRACE_ARG3_TYPE) &fpregs, 0) == -1)
perror_with_name ("Couldn't get floating point status");
- x86_64_supply_fxsave ((const char *) &fpregs, -1);
+ x86_64_supply_fxsave (current_regcache, -1, &fpregs);
}
}
void _initialize_amd64fbsd_nat (void);
void
-_initialize_am64fbsd_nat (void)
+_initialize_amd64fbsd_nat (void)
{
int offset;
environment can be found. */
{
int mib[2];
- int ps_strings;
+ long ps_strings;
size_t len;
mib[0] = CTL_KERN;