+2018-05-30 Simon Marchi <simon.marchi@ericsson.com>
+
+ * regcache.h (regcache_cooked_read_value): Remove, update
+ callers to use readable_regcache::cooked_read_value.
+ * regcache.c (regcache_cooked_read_value): Remove.
+
2018-05-30 Simon Marchi <simon.marchi@ericsson.com>
* regcache.h (regcache_cooked_write): Remove, update callers to
regnum, buf);
}
-struct value *
-regcache_cooked_read_value (struct regcache *regcache, int regnum)
-{
- return regcache->cooked_read_value (regnum);
-}
-
struct value *
readable_regcache::cooked_read_value (int regnum)
{
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,
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:
= (struct frame_unwind_cache *) *this_prologue_cache;
struct value *value;
- value = regcache_cooked_read_value (cache->regcache, regnum);
+ value = cache->regcache->cooked_read_value (regnum);
VALUE_NEXT_FRAME_ID (value) = sentinel_frame_id;
return value;