diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:39 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:39 -0400 |
commit | 502fe83eb549476fac09ec62c7fd66447791ba2a (patch) | |
tree | 2508884cce2fea0d95e5f68b0c6af0814e40597f /gdb/amd64-tdep.c | |
parent | dca08e1fe158d04517ba3ddd7ece9dd1596c8e8c (diff) | |
download | gdb-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-tdep.c')
-rw-r--r-- | gdb/amd64-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c index 597bb0f..dfd1118 100644 --- a/gdb/amd64-tdep.c +++ b/gdb/amd64-tdep.c @@ -844,8 +844,8 @@ amd64_return_value (struct gdbarch *gdbarch, struct value *function, gdb_assert (regnum != -1); if (readbuf) - regcache_raw_read_part (regcache, regnum, offset, std::min (len, 8), - readbuf + i * 8); + regcache->raw_read_part (regnum, offset, std::min (len, 8), + readbuf + i * 8); if (writebuf) regcache_raw_write_part (regcache, regnum, offset, std::min (len, 8), writebuf + i * 8); |