diff options
Diffstat (limited to 'gdbserver/linux-tic6x-low.cc')
-rw-r--r-- | gdbserver/linux-tic6x-low.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gdbserver/linux-tic6x-low.cc b/gdbserver/linux-tic6x-low.cc index 47ca988..1f8d2f6 100644 --- a/gdbserver/linux-tic6x-low.cc +++ b/gdbserver/linux-tic6x-low.cc @@ -44,6 +44,8 @@ class tic6x_target : public linux_process_target { public: + const regs_info *get_regs_info () override; + protected: void low_arch_setup () override; @@ -387,21 +389,20 @@ static struct regsets_info tic6x_regsets_info = NULL, /* disabled_regsets */ }; -static struct regs_info regs_info = +static struct regs_info myregs_info = { NULL, /* regset_bitmap */ &tic6x_usrregs_info, &tic6x_regsets_info }; -static const struct regs_info * -tic6x_regs_info (void) +const regs_info * +tic6x_target::get_regs_info () { - return ®s_info; + return &myregs_info; } struct linux_target_ops the_low_target = { - tic6x_regs_info, tic6x_cannot_fetch_register, tic6x_cannot_store_register, NULL, /* fetch_register */ |