aboutsummaryrefslogtreecommitdiff
path: root/gdb/frv-tdep.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:36 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:36 -0400
commit0b8835861cde41744a08f215b48fccd135815b63 (patch)
tree222cba12875bd2e2df78b6ccfe5ad2e71e726e3a /gdb/frv-tdep.c
parent0b47d9858ca0805cd52ba959276d08899c7b9f8c (diff)
downloadgdb-0b8835861cde41744a08f215b48fccd135815b63.zip
gdb-0b8835861cde41744a08f215b48fccd135815b63.tar.gz
gdb-0b8835861cde41744a08f215b48fccd135815b63.tar.bz2
Remove regcache_raw_read
Remove regcache_raw_read, update all callers to use readable_regcache::raw_read instead. gdb/ChangeLog: * regcache.h (regcache_raw_read): Remove, update callers to use readable_regcache::raw_read instead. * regcache.c (regcache_raw_read): Remove.
Diffstat (limited to 'gdb/frv-tdep.c')
-rw-r--r--gdb/frv-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/frv-tdep.c b/gdb/frv-tdep.c
index 2f9a8d2..04bb43b 100644
--- a/gdb/frv-tdep.c
+++ b/gdb/frv-tdep.c
@@ -349,7 +349,7 @@ frv_pseudo_register_write (struct gdbarch *gdbarch, struct regcache *regcache,
int byte_num = (reg - accg0_regnum) % 4;
gdb_byte buf[4];
- regcache_raw_read (regcache, raw_regnum, buf);
+ regcache->raw_read (raw_regnum, buf);
buf[byte_num] = ((bfd_byte *) buffer)[0];
regcache_raw_write (regcache, raw_regnum, buf);
}