diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:43 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:43 -0400 |
commit | 73bb0000525a67694c1e8921e7c34ee0d985787e (patch) | |
tree | a5518d4961ab4d9691b94147d1e249e6e7665f4b /gdb/regcache.h | |
parent | 46a45e9d5b067e484971e3972fa3eae0a224324f (diff) | |
download | gdb-73bb0000525a67694c1e8921e7c34ee0d985787e.zip gdb-73bb0000525a67694c1e8921e7c34ee0d985787e.tar.gz gdb-73bb0000525a67694c1e8921e7c34ee0d985787e.tar.bz2 |
Remove regcache_cooked_read_part
Remove regcache_cooked_read_part, update callers to use
readable_regcache::cooked_read_part.
gdb/ChangeLog:
* regcache.h (regcache_cooked_read_part): Remove, update callers
to use readable_regcache::cooked_read_part.
* regcache.c (regcache_cooked_read_part): Remove.
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r-- | gdb/regcache.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h index 3497207..f1a3b24 100644 --- a/gdb/regcache.h +++ b/gdb/regcache.h @@ -65,9 +65,6 @@ extern void regcache_cooked_write_unsigned (struct regcache *regcache, /* Partial transfer of a cooked register. These perform read, modify, write style operations. */ -enum register_status regcache_cooked_read_part (struct regcache *regcache, - int regnum, int offset, - int len, gdb_byte *buf); void regcache_cooked_write_part (struct regcache *regcache, int regnum, int offset, int len, const gdb_byte *buf); @@ -230,6 +227,7 @@ public: template<typename T, typename = RequireLongest<T>> enum register_status cooked_read (int regnum, T *val); + /* Partial transfer of a cooked register. */ enum register_status cooked_read_part (int regnum, int offset, int len, gdb_byte *buf); |