diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:38 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:38 -0400 |
commit | dca08e1fe158d04517ba3ddd7ece9dd1596c8e8c (patch) | |
tree | 681b64140760ae67e7607002b451168fb19db776 /gdb/ia64-tdep.c | |
parent | 10eaee5f56611ce5f92ccd305849c0cc6addd130 (diff) | |
download | gdb-dca08e1fe158d04517ba3ddd7ece9dd1596c8e8c.zip gdb-dca08e1fe158d04517ba3ddd7ece9dd1596c8e8c.tar.gz gdb-dca08e1fe158d04517ba3ddd7ece9dd1596c8e8c.tar.bz2 |
Remove regcache_cooked_read
Remove regcache_cooked_read, update callers to use
readable_regcache::cooked_read instead.
gdb/ChangeLog:
* regcache.h (regcache_cooked_read): Remove, update callers to
use readable_regcache::cooked_read instead.
* regcache.c (regcache_cooked_read): Remove.
Diffstat (limited to 'gdb/ia64-tdep.c')
-rw-r--r-- | gdb/ia64-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ia64-tdep.c b/gdb/ia64-tdep.c index 26e112e..7eb84ff 100644 --- a/gdb/ia64-tdep.c +++ b/gdb/ia64-tdep.c @@ -2616,7 +2616,7 @@ ia64_access_rse_fpreg (unw_addr_space_t as, unw_regnum_t uw_regnum, /* We never call any libunwind routines that need to write registers. */ gdb_assert (!write); - regcache_cooked_read (regcache, regnum, (gdb_byte *) val); + regcache->cooked_read (regnum, (gdb_byte *) val); return 0; } @@ -3210,7 +3210,7 @@ ia64_extract_return_value (struct type *type, struct regcache *regcache, while (n-- > 0) { - regcache_cooked_read (regcache, regnum, from); + regcache->cooked_read (regnum, from); target_float_convert (from, ia64_ext_type (gdbarch), valbuf + offset, float_elt_type); offset += TYPE_LENGTH (float_elt_type); |