aboutsummaryrefslogtreecommitdiff
path: root/gdb/bfin-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/bfin-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/bfin-tdep.c')
-rw-r--r--gdb/bfin-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/bfin-tdep.c b/gdb/bfin-tdep.c
index 63fbf62..66a9465 100644
--- a/gdb/bfin-tdep.c
+++ b/gdb/bfin-tdep.c
@@ -719,7 +719,7 @@ bfin_pseudo_register_write (struct gdbarch *gdbarch, struct regcache *regcache,
_("invalid register number %d"), regnum);
/* Overlay the CC bit in the ASTAT register. */
- regcache_raw_read (regcache, BFIN_ASTAT_REGNUM, buf);
+ regcache->raw_read (BFIN_ASTAT_REGNUM, buf);
buf[0] = (buf[0] & ~ASTAT_CC) | ((buffer[0] & 1) << ASTAT_CC_POS);
regcache_raw_write (regcache, BFIN_ASTAT_REGNUM, buf);
}