diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:44 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:44 -0400 |
commit | e4c4a59b48b2cec10cffac4f562937de00cb5f3f (patch) | |
tree | 23906f4711d763a32fe468ea66e0ccbd291cc1b5 /gdb/mep-tdep.c | |
parent | 73bb0000525a67694c1e8921e7c34ee0d985787e (diff) | |
download | gdb-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/mep-tdep.c')
-rw-r--r-- | gdb/mep-tdep.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/mep-tdep.c b/gdb/mep-tdep.c index 1f3f2bb..c8a5ecf 100644 --- a/gdb/mep-tdep.c +++ b/gdb/mep-tdep.c @@ -2139,9 +2139,8 @@ mep_store_return_value (struct gdbarch *arch, else offset = 0; - regcache_cooked_write_part (regcache, MEP_R0_REGNUM, - offset, TYPE_LENGTH (type), - valbuf); + regcache->cooked_write_part (MEP_R0_REGNUM, offset, TYPE_LENGTH (type), + valbuf); } /* Return values larger than a single register are returned in |