diff options
Diffstat (limited to 'gdb/linux-nat-trad.h')
-rw-r--r-- | gdb/linux-nat-trad.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/linux-nat-trad.h b/gdb/linux-nat-trad.h index ea6de24..e99855b 100644 --- a/gdb/linux-nat-trad.h +++ b/gdb/linux-nat-trad.h @@ -28,16 +28,20 @@ class linux_nat_trad_target : public linux_nat_target { public: + void fetch_registers (struct regcache *, int) override; void store_registers (struct regcache *, int) override; protected: + /* Return the offset within the user area where a particular register is stored. */ - virtual CORE_ADDR register_u_offset (struct gdbarch *gdbarch, - int regnum, int store) = 0; + virtual CORE_ADDR register_u_offset (struct gdbarch *gdbarch, int regnum, + int store) + = 0; private: + /* Helpers. See definition. */ void fetch_register (struct regcache *regcache, int regnum); void store_register (const struct regcache *regcache, int regnum); |