bool supports_z_point_type (char z_type) override;
+ void low_collect_ptrace_register (regcache *regcache, int regno,
+ char *buf) override;
+
+ void low_supply_ptrace_register (regcache *regcache, int regno,
+ const char *buf) override;
+
protected:
void low_arch_setup () override;
return false;
}
-static void
-s390_collect_ptrace_register (struct regcache *regcache, int regno, char *buf)
+void
+s390_target::low_collect_ptrace_register (regcache *regcache, int regno,
+ char *buf)
{
int size = register_size (regcache->tdesc, regno);
- const struct regs_info *regs_info = the_linux_target->get_regs_info ();
+ const struct regs_info *regs_info = get_regs_info ();
struct usrregs_info *usr = regs_info->usrregs;
int regaddr = usr->regmap[regno];
collect_register (regcache, regno, buf);
}
-static void
-s390_supply_ptrace_register (struct regcache *regcache,
- int regno, const char *buf)
+void
+s390_target::low_supply_ptrace_register (regcache *regcache, int regno,
+ const char *buf)
{
int size = register_size (regcache->tdesc, regno);
- const struct regs_info *regs_info = the_linux_target->get_regs_info ();
+ const struct regs_info *regs_info = get_regs_info ();
struct usrregs_info *usr = regs_info->usrregs;
int regaddr = usr->regmap[regno];
|| usr->regmap[i] > PT_ACR15)
continue;
- s390_collect_ptrace_register (regcache, i,
- (char *) buf + usr->regmap[i]);
+ ((s390_target *) the_linux_target)->low_collect_ptrace_register
+ (regcache, i, (char *) buf + usr->regmap[i]);
}
}
}
struct linux_target_ops the_low_target = {
- NULL,
- NULL,
- NULL,
- NULL,
- s390_collect_ptrace_register,
- s390_supply_ptrace_register,
NULL, /* siginfo_fixup */
NULL, /* new_process */
NULL, /* delete_process */