diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:37 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:37 -0400 |
commit | 10eaee5f56611ce5f92ccd305849c0cc6addd130 (patch) | |
tree | d7ddbdf42f173b202ee806251a9053db8f2c40d8 /gdb/arm-tdep.c | |
parent | 0b8835861cde41744a08f215b48fccd135815b63 (diff) | |
download | gdb-10eaee5f56611ce5f92ccd305849c0cc6addd130.zip gdb-10eaee5f56611ce5f92ccd305849c0cc6addd130.tar.gz gdb-10eaee5f56611ce5f92ccd305849c0cc6addd130.tar.bz2 |
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.
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r-- | gdb/arm-tdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); } } |