diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:42 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:42 -0400 |
commit | b66f5587de2a096f357124b20376b2bab980238b (patch) | |
tree | 54bff71969b64a818820a645ce4ee8046401cbb8 /gdb/regcache.h | |
parent | 6aa7d72401387cacc5a7699520045ce9083a526a (diff) | |
download | gdb-b66f5587de2a096f357124b20376b2bab980238b.zip gdb-b66f5587de2a096f357124b20376b2bab980238b.tar.gz gdb-b66f5587de2a096f357124b20376b2bab980238b.tar.bz2 |
Remove regcache_cooked_write
Remove regcache_cooked_write, update callers to use
regcache::cooked_write.
gdb/ChangeLog:
* regcache.h (regcache_cooked_write): Remove, update callers to
use regcache::cooked_write.
* regcache.c (regcache_cooked_write): Remove.
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r-- | gdb/regcache.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h index 64e4cd7..4be1ae1 100644 --- a/gdb/regcache.h +++ b/gdb/regcache.h @@ -50,14 +50,6 @@ extern void regcache_raw_write_unsigned (struct regcache *regcache, extern LONGEST regcache_raw_get_signed (struct regcache *regcache, int regnum); -/* Transfer of pseudo-registers. The read variants return a register - status, as an indication of when a ``cooked'' register was - constructed from valid, invalid or unavailable ``raw'' - registers. */ - -void regcache_cooked_write (struct regcache *regcache, int rawnum, - const gdb_byte *buf); - /* Read register REGNUM from REGCACHE and return a new value. This will call mark_value_bytes_unavailable as appropriate. */ @@ -304,8 +296,6 @@ public: read-only register cache. */ void restore (readonly_detached_regcache *src); - void cooked_write (int regnum, const gdb_byte *buf); - /* Update the value of raw register REGNUM (in the range [0..NUM_REGS)) and transfer its value to core-gdb. */ @@ -314,6 +304,9 @@ public: template<typename T, typename = RequireLongest<T>> void raw_write (int regnum, T val); + /* Transfer of pseudo-registers. */ + void cooked_write (int regnum, const gdb_byte *buf); + template<typename T, typename = RequireLongest<T>> void cooked_write (int regnum, T val); |