aboutsummaryrefslogtreecommitdiff
path: root/gdb/v850-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/v850-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/v850-tdep.c')
-rw-r--r--gdb/v850-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/v850-tdep.c b/gdb/v850-tdep.c
index ac7d6aa..a8bc599 100644
--- a/gdb/v850-tdep.c
+++ b/gdb/v850-tdep.c
@@ -1128,7 +1128,7 @@ v850_extract_return_value (struct type *type, struct regcache *regcache,
gdb_byte buf[v850_reg_size];
for (i = 0; len > 0; i += 4, len -= 4)
{
- regcache_raw_read (regcache, regnum++, buf);
+ regcache->raw_read (regnum++, buf);
memcpy (valbuf + i, buf, len > 4 ? 4 : len);
}
}