diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:36 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:36 -0400 |
commit | 0b8835861cde41744a08f215b48fccd135815b63 (patch) | |
tree | 222cba12875bd2e2df78b6ccfe5ad2e71e726e3a /gdb/regcache.h | |
parent | 0b47d9858ca0805cd52ba959276d08899c7b9f8c (diff) | |
download | binutils-0b8835861cde41744a08f215b48fccd135815b63.zip binutils-0b8835861cde41744a08f215b48fccd135815b63.tar.gz binutils-0b8835861cde41744a08f215b48fccd135815b63.tar.bz2 |
Remove regcache_raw_read
Remove regcache_raw_read, update all callers to use
readable_regcache::raw_read instead.
gdb/ChangeLog:
* regcache.h (regcache_raw_read): Remove, update callers to use
readable_regcache::raw_read instead.
* regcache.c (regcache_raw_read): Remove.
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); |