aboutsummaryrefslogtreecommitdiff
path: root/gdb/or1k-tdep.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:42 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:42 -0400
commitb66f5587de2a096f357124b20376b2bab980238b (patch)
tree54bff71969b64a818820a645ce4ee8046401cbb8 /gdb/or1k-tdep.c
parent6aa7d72401387cacc5a7699520045ce9083a526a (diff)
downloadgdb-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/or1k-tdep.c')
-rw-r--r--gdb/or1k-tdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/or1k-tdep.c b/gdb/or1k-tdep.c
index 329615f..c5104e3 100644
--- a/gdb/or1k-tdep.c
+++ b/gdb/or1k-tdep.c
@@ -297,7 +297,7 @@ or1k_return_value (struct gdbarch *gdbarch, struct value *functype,
else
memcpy (buf, writebuf, rv_size);
- regcache_cooked_write (regcache, OR1K_RV_REGNUM, buf);
+ regcache->cooked_write (OR1K_RV_REGNUM, buf);
free (buf);
}
@@ -330,8 +330,8 @@ or1k_return_value (struct gdbarch *gdbarch, struct value *functype,
memcpy (buf_hi, writebuf, rv_size - bpw);
memcpy (buf_lo, writebuf + bpw, bpw);
- regcache_cooked_write (regcache, OR1K_RV_REGNUM, buf_hi);
- regcache_cooked_write (regcache, OR1K_RV_REGNUM + 1, buf_lo);
+ regcache->cooked_write (OR1K_RV_REGNUM, buf_hi);
+ regcache->cooked_write (OR1K_RV_REGNUM + 1, buf_lo);
free (buf_lo);
free (buf_hi);