diff options
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r-- | gdb/regcache.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h index dffc27f..3735852 100644 --- a/gdb/regcache.h +++ b/gdb/regcache.h @@ -38,8 +38,6 @@ extern struct regcache *get_thread_arch_aspace_regcache (ptid_t, /* Transfer a raw register [0..NUM_REGS) between core-gdb and the regcache. The read variants return the status of the register. */ -enum register_status regcache_raw_read (struct regcache *regcache, - int rawnum, gdb_byte *buf); void regcache_raw_write (struct regcache *regcache, int rawnum, const gdb_byte *buf); extern enum register_status @@ -246,6 +244,9 @@ public: : reg_buffer (gdbarch, has_pseudo) {} + /* Transfer a raw register [0..NUM_REGS) from core-gdb to this regcache, + return its value in *BUF and return its availability status. */ + enum register_status raw_read (int regnum, gdb_byte *buf); template<typename T, typename = RequireLongest<T>> enum register_status raw_read (int regnum, T *val); |