{
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. */
static aarch64_target the_aarch64_target;
+bool
+aarch64_target::low_cannot_fetch_register (int regno)
+{
+ gdb_assert_not_reached ("linux target op low_cannot_fetch_register "
+ "is not implemented by the target");
+}
+
+bool
+aarch64_target::low_cannot_store_register (int regno)
+{
+ gdb_assert_not_reached ("linux target op low_cannot_store_register "
+ "is not implemented by the target");
+}
+
/* Per-process arch-specific data we want to keep. */
struct arch_process_info
&aarch64_sve_regsets_info,
};
-/* Implementation of linux_target_ops method "regs_info". */
+/* Implementation of linux target ops method "get_regs_info". */
-static const struct regs_info *
-aarch64_regs_info (void)
+const regs_info *
+aarch64_target::get_regs_info ()
{
if (!is_64bit_tdesc ())
return ®s_info_aarch32;
struct linux_target_ops the_low_target =
{
- aarch64_regs_info,
- NULL, /* cannot_fetch_register */
- NULL, /* cannot_store_register */
NULL, /* fetch_register */
aarch64_get_pc,
aarch64_set_pc,