aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/linux-crisv32-low.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gdbserver/linux-crisv32-low.cc')
-rw-r--r--gdbserver/linux-crisv32-low.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/gdbserver/linux-crisv32-low.cc b/gdbserver/linux-crisv32-low.cc
index f57be1c..b7763ab 100644
--- a/gdbserver/linux-crisv32-low.cc
+++ b/gdbserver/linux-crisv32-low.cc
@@ -26,6 +26,8 @@ class crisv32_target : public linux_process_target
{
public:
+ const regs_info *get_regs_info () override;
+
protected:
void low_arch_setup () override;
@@ -395,21 +397,20 @@ static struct usrregs_info cris_usrregs_info =
cris_regmap,
};
-static struct regs_info regs_info =
+static struct regs_info myregs_info =
{
NULL, /* regset_bitmap */
&cris_usrregs_info,
&cris_regsets_info
};
-static const struct regs_info *
-cris_regs_info (void)
+const regs_info *
+crisv32_target::get_regs_info ()
{
- return &regs_info;
+ return &myregs_info;
}
struct linux_target_ops the_low_target = {
- cris_regs_info,
NULL,
NULL,
NULL, /* fetch_register */