From 10eaee5f56611ce5f92ccd305849c0cc6addd130 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 30 May 2018 14:54:37 -0400 Subject: Remove regcache_raw_write Remove regcache_raw_write, update all callers to use regcache::raw_write instead. gdb/ChangeLog: * regcache.h (regcache_raw_write): Remove, update callers to use regcache::raw_write instead. * regcache.c (regcache_raw_write): Remove. --- gdb/arm-tdep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb/arm-tdep.c') diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 7fa0db3..4eeb6ea 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -8765,9 +8765,9 @@ arm_neon_quad_write (struct gdbarch *gdbarch, struct regcache *regcache, else offset = 0; - regcache_raw_write (regcache, double_regnum, buf + offset); + regcache->raw_write (double_regnum, buf + offset); offset = 8 - offset; - regcache_raw_write (regcache, double_regnum + 1, buf + offset); + regcache->raw_write (double_regnum + 1, buf + offset); } static void @@ -8802,7 +8802,7 @@ arm_pseudo_write (struct gdbarch *gdbarch, struct regcache *regcache, regcache->raw_read (double_regnum, reg_buf); memcpy (reg_buf + offset, buf, 4); - regcache_raw_write (regcache, double_regnum, reg_buf); + regcache->raw_write (double_regnum, reg_buf); } } -- cgit v1.1