aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/linux-low.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdbserver/linux-low.h')
-rw-r--r--gdbserver/linux-low.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdbserver/linux-low.h b/gdbserver/linux-low.h
index 26dc831..697b4af 100644
--- a/gdbserver/linux-low.h
+++ b/gdbserver/linux-low.h
@@ -131,8 +131,6 @@ struct lwp_info;
struct linux_target_ops
{
- const struct regs_info *(*regs_info) (void);
-
/* Return 0 if we can fetch/store the register, 1 if we cannot
fetch/store the register. */
int (*cannot_fetch_register) (int);
@@ -478,6 +476,10 @@ public:
int get_ipa_tdesc_idx () override;
+ /* Return the information to access registers. This has public
+ visibility because proc-service uses it. */
+ virtual const regs_info *get_regs_info () = 0;
+
private:
/* Handle a GNU/Linux extended wait response. If we see a clone,