aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/linux-ia64-low.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gdbserver/linux-ia64-low.cc')
-rw-r--r--gdbserver/linux-ia64-low.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/gdbserver/linux-ia64-low.cc b/gdbserver/linux-ia64-low.cc
index bccab15..d6508d2 100644
--- a/gdbserver/linux-ia64-low.cc
+++ b/gdbserver/linux-ia64-low.cc
@@ -29,6 +29,8 @@ class ia64_target : public linux_process_target
{
public:
+ const regs_info *get_regs_info () override;
+
protected:
void low_arch_setup () override;
@@ -341,16 +343,16 @@ static struct usrregs_info ia64_usrregs_info =
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 &regs_info;
+ return &myregs_info;
}
void
@@ -361,7 +363,6 @@ ia64_target::low_arch_setup ()
struct linux_target_ops the_low_target = {
- ia64_regs_info,
ia64_cannot_fetch_register,
ia64_cannot_store_register,
ia64_fetch_register,