{
public:
+ const regs_info *get_regs_info () override;
+
protected:
void low_arch_setup () override;
NULL, /* disabled_regsets */
};
-static struct regs_info regs_info =
+static struct regs_info myregs_info =
{
NULL, /* regset_bitmap */
NULL, /* usrregs */
return 1;
}
-static const struct regs_info *
-xtensa_regs_info (void)
+const regs_info *
+xtensa_target::get_regs_info ()
{
- return ®s_info;
+ return &myregs_info;
}
struct linux_target_ops the_low_target = {
- xtensa_regs_info,
0,
0,
NULL, /* fetch_register */