aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-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/mips-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/mips-tdep.c')
-rw-r--r--gdb/mips-tdep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index fdf00f0..32b2d40 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -512,8 +512,7 @@ mips_xfer_register (struct gdbarch *gdbarch, struct regcache *regcache,
if (in != NULL)
regcache->cooked_read_part (reg_num, reg_offset, length, in + buf_offset);
if (out != NULL)
- regcache_cooked_write_part (regcache, reg_num, reg_offset, length,
- out + buf_offset);
+ regcache->cooked_write_part (reg_num, reg_offset, length, out + buf_offset);
if (mips_debug && in != NULL)
{
int i;