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/m32c-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/m32c-tdep.c')
-rw-r--r-- | gdb/m32c-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/m32c-tdep.c b/gdb/m32c-tdep.c index 173e8a4..2825efb 100644 --- a/gdb/m32c-tdep.c +++ b/gdb/m32c-tdep.c @@ -321,7 +321,7 @@ static enum register_status m32c_raw_write (struct m32c_reg *reg, struct regcache *cache, const gdb_byte *buf) { - regcache_raw_write (cache, reg->num, buf); + cache->raw_write (reg->num, buf); return REG_VALID; } @@ -368,7 +368,7 @@ m32c_banked_write (struct m32c_reg *reg, struct regcache *cache, const gdb_byte *buf) { struct m32c_reg *bank_reg = m32c_banked_register (reg, cache); - regcache_raw_write (cache, bank_reg->num, buf); + cache->raw_write (bank_reg->num, buf); return REG_VALID; } |