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/sparc-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/sparc-tdep.c')
-rw-r--r-- | gdb/sparc-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c index 7300080..c61fa50 100644 --- a/gdb/sparc-tdep.c +++ b/gdb/sparc-tdep.c @@ -547,8 +547,8 @@ sparc32_pseudo_register_write (struct gdbarch *gdbarch, gdb_assert (regnum >= SPARC32_D0_REGNUM && regnum <= SPARC32_D30_REGNUM); regnum = SPARC_F0_REGNUM + 2 * (regnum - SPARC32_D0_REGNUM); - regcache_raw_write (regcache, regnum, buf); - regcache_raw_write (regcache, regnum + 1, buf + 4); + regcache->raw_write (regnum, buf); + regcache->raw_write (regnum + 1, buf + 4); } /* Implement the stack_frame_destroyed_p gdbarch method. */ |