{
public:
+ const regs_info *get_regs_info () override;
+
protected:
void low_arch_setup () override;
+
+ bool low_cannot_fetch_register (int regno) override;
+
+ bool low_cannot_store_register (int regno) override;
};
/* The singleton target ops object. */
-1,
};
-static int
-ia64_cannot_store_register (int regno)
+bool
+ia64_target::low_cannot_store_register (int regno)
{
- return 0;
+ return false;
}
-static int
-ia64_cannot_fetch_register (int regno)
+bool
+ia64_target::low_cannot_fetch_register (int regno)
{
- return 0;
+ return false;
}
/* GDB register numbers. */
ia64_regmap,
};
-static struct regs_info regs_info =
+static struct regs_info myregs_info =
{
NULL, /* regset_bitmap */
&ia64_usrregs_info
};
-static const struct regs_info *
-ia64_regs_info (void)
+const regs_info *
+ia64_target::get_regs_info ()
{
- return ®s_info;
+ return &myregs_info;
}
void
struct linux_target_ops the_low_target = {
- ia64_regs_info,
- ia64_cannot_fetch_register,
- ia64_cannot_store_register,
ia64_fetch_register,
};