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/frv-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/frv-tdep.c')
-rw-r--r-- | gdb/frv-tdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/frv-tdep.c b/gdb/frv-tdep.c index 04bb43b..7adffc4 100644 --- a/gdb/frv-tdep.c +++ b/gdb/frv-tdep.c @@ -337,8 +337,8 @@ frv_pseudo_register_write (struct gdbarch *gdbarch, struct regcache *regcache, { if (reg == iacc0_regnum) { - regcache_raw_write (regcache, iacc0h_regnum, buffer); - regcache_raw_write (regcache, iacc0l_regnum, (bfd_byte *) buffer + 4); + regcache->raw_write (iacc0h_regnum, buffer); + regcache->raw_write (iacc0l_regnum, (bfd_byte *) buffer + 4); } else if (accg0_regnum <= reg && reg <= accg7_regnum) { @@ -351,7 +351,7 @@ frv_pseudo_register_write (struct gdbarch *gdbarch, struct regcache *regcache, regcache->raw_read (raw_regnum, buf); buf[byte_num] = ((bfd_byte *) buffer)[0]; - regcache_raw_write (regcache, raw_regnum, buf); + regcache->raw_write (raw_regnum, buf); } } |