aboutsummaryrefslogtreecommitdiff
path: root/gdb/m32c-tdep.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:44 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:44 -0400
commite4c4a59b48b2cec10cffac4f562937de00cb5f3f (patch)
tree23906f4711d763a32fe468ea66e0ccbd291cc1b5 /gdb/m32c-tdep.c
parent73bb0000525a67694c1e8921e7c34ee0d985787e (diff)
downloadgdb-e4c4a59b48b2cec10cffac4f562937de00cb5f3f.zip
gdb-e4c4a59b48b2cec10cffac4f562937de00cb5f3f.tar.gz
gdb-e4c4a59b48b2cec10cffac4f562937de00cb5f3f.tar.bz2
Remove regcache_cooked_write_part
Remove regcache_cooked_write_part, update callers to use regcache::cooked_write_part. gdb/ChangeLog: * regcache.h (regcache_cooked_write_part): Remove, update callers to use regcache::cooked_write_part. * regcache.c (regcache_cooked_write_part): Remove.
Diffstat (limited to 'gdb/m32c-tdep.c')
-rw-r--r--gdb/m32c-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m32c-tdep.c b/gdb/m32c-tdep.c
index b7cba1c..f696568 100644
--- a/gdb/m32c-tdep.c
+++ b/gdb/m32c-tdep.c
@@ -463,7 +463,7 @@ m32c_part_write (struct m32c_reg *reg, struct regcache *cache,
int offset, len;
m32c_find_part (reg, &offset, &len);
- regcache_cooked_write_part (cache, reg->rx->num, offset, len, buf);
+ cache->cooked_write_part (reg->rx->num, offset, len, buf);
return REG_VALID;
}