aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64-windows-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/amd64-windows-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/amd64-windows-tdep.c')
-rw-r--r--gdb/amd64-windows-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/amd64-windows-tdep.c b/gdb/amd64-windows-tdep.c
index 32ebead..bf351ee 100644
--- a/gdb/amd64-windows-tdep.c
+++ b/gdb/amd64-windows-tdep.c
@@ -329,7 +329,7 @@ amd64_windows_return_value (struct gdbarch *gdbarch, struct value *function,
{
/* Extract the return value from the register where it was stored. */
if (readbuf)
- regcache_raw_read_part (regcache, regnum, 0, len, readbuf);
+ regcache->raw_read_part (regnum, 0, len, readbuf);
if (writebuf)
regcache_raw_write_part (regcache, regnum, 0, len, writebuf);
return RETURN_VALUE_REGISTER_CONVENTION;