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 | 46a45e9d5b067e484971e3972fa3eae0a224324f (patch) | |
tree | e52bed15da186bef914212f085d4771d1fb5744c /gdb/regcache.h | |
parent | b66f5587de2a096f357124b20376b2bab980238b (diff) | |
download | binutils-gdb-46a45e9d5b067e484971e3972fa3eae0a224324f.tar.gz |
Remove regcache_cooked_read_value
Remove regcache_cooked_read_value, update callers to use
readable_regcache::cooked_read_value.
gdb/ChangeLog:
* regcache.h (regcache_cooked_read_value): Remove, update
callers to use readable_regcache::cooked_read_value.
* regcache.c (regcache_cooked_read_value): Remove.
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r-- | gdb/regcache.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h index 4be1ae13616..34972079a14 100644 --- a/gdb/regcache.h +++ b/gdb/regcache.h @@ -50,12 +50,6 @@ extern void regcache_raw_write_unsigned (struct regcache *regcache, extern LONGEST regcache_raw_get_signed (struct regcache *regcache, int regnum); -/* Read register REGNUM from REGCACHE and return a new value. This - will call mark_value_bytes_unavailable as appropriate. */ - -struct value *regcache_cooked_read_value (struct regcache *regcache, - int regnum); - /* Read a register as a signed/unsigned quantity. */ extern enum register_status regcache_cooked_read_signed (struct regcache *regcache, @@ -239,6 +233,8 @@ public: enum register_status cooked_read_part (int regnum, int offset, int len, gdb_byte *buf); + /* Read register REGNUM from the regcache and return a new value. This + will call mark_value_bytes_unavailable as appropriate. */ struct value *cooked_read_value (int regnum); protected: |