aboutsummaryrefslogtreecommitdiff
path: root/gdb/spu-tdep.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:39 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:39 -0400
commit502fe83eb549476fac09ec62c7fd66447791ba2a (patch)
tree2508884cce2fea0d95e5f68b0c6af0814e40597f /gdb/spu-tdep.c
parentdca08e1fe158d04517ba3ddd7ece9dd1596c8e8c (diff)
downloadgdb-502fe83eb549476fac09ec62c7fd66447791ba2a.zip
gdb-502fe83eb549476fac09ec62c7fd66447791ba2a.tar.gz
gdb-502fe83eb549476fac09ec62c7fd66447791ba2a.tar.bz2
Remove regcache_raw_read_part
Remove regcache_raw_read_part, update callers to use readable_regcache::raw_read_part instead. gdb/ChangeLog: * regcache.h (regcache_raw_read_part): Remove, update callers to use readable_regcache::raw_read_part instead. * regcache.c (regcache_raw_read_part): Remove.
Diffstat (limited to 'gdb/spu-tdep.c')
-rw-r--r--gdb/spu-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/spu-tdep.c b/gdb/spu-tdep.c
index 4628776..1d0766e 100644
--- a/gdb/spu-tdep.c
+++ b/gdb/spu-tdep.c
@@ -1655,7 +1655,7 @@ spu_software_single_step (struct regcache *regcache)
target += SPUADDR_ADDR (pc);
else if (reg != -1)
{
- regcache_raw_read_part (regcache, reg, 0, 4, buf);
+ regcache->raw_read_part (reg, 0, 4, buf);
target += extract_unsigned_integer (buf, 4, byte_order) & -4;
}