diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:43 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:43 -0400 |
commit | 73bb0000525a67694c1e8921e7c34ee0d985787e (patch) | |
tree | a5518d4961ab4d9691b94147d1e249e6e7665f4b /gdb/ppc-sysv-tdep.c | |
parent | 46a45e9d5b067e484971e3972fa3eae0a224324f (diff) | |
download | gdb-73bb0000525a67694c1e8921e7c34ee0d985787e.zip gdb-73bb0000525a67694c1e8921e7c34ee0d985787e.tar.gz gdb-73bb0000525a67694c1e8921e7c34ee0d985787e.tar.bz2 |
Remove regcache_cooked_read_part
Remove regcache_cooked_read_part, update callers to use
readable_regcache::cooked_read_part.
gdb/ChangeLog:
* regcache.h (regcache_cooked_read_part): Remove, update callers
to use readable_regcache::cooked_read_part.
* regcache.c (regcache_cooked_read_part): Remove.
Diffstat (limited to 'gdb/ppc-sysv-tdep.c')
-rw-r--r-- | gdb/ppc-sysv-tdep.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/ppc-sysv-tdep.c b/gdb/ppc-sysv-tdep.c index 42dc63c..b7dfdca 100644 --- a/gdb/ppc-sysv-tdep.c +++ b/gdb/ppc-sysv-tdep.c @@ -1805,8 +1805,8 @@ ppc64_sysv_abi_return_value_base (struct gdbarch *gdbarch, struct type *valtype, regcache_cooked_write_part (regcache, regnum, offset, TYPE_LENGTH (valtype), writebuf); if (readbuf != NULL) - regcache_cooked_read_part (regcache, regnum, - offset, TYPE_LENGTH (valtype), readbuf); + regcache->cooked_read_part (regnum, offset, TYPE_LENGTH (valtype), + readbuf); return 1; } @@ -1881,8 +1881,8 @@ ppc64_sysv_abi_return_value_base (struct gdbarch *gdbarch, struct type *valtype, regcache_cooked_write_part (regcache, regnum, offset, TYPE_LENGTH (valtype), writebuf); if (readbuf != NULL) - regcache_cooked_read_part (regcache, regnum, - offset, TYPE_LENGTH (valtype), readbuf); + regcache->cooked_read_part (regnum, offset, TYPE_LENGTH (valtype), + readbuf); return 1; } @@ -1986,8 +1986,8 @@ ppc64_sysv_abi_return_value (struct gdbarch *gdbarch, struct value *function, regcache_cooked_write_part (regcache, regnum, offset, TYPE_LENGTH (valtype), writebuf); if (readbuf != NULL) - regcache_cooked_read_part (regcache, regnum, - offset, TYPE_LENGTH (valtype), readbuf); + regcache->cooked_read_part (regnum, offset, TYPE_LENGTH (valtype), + readbuf); return RETURN_VALUE_REGISTER_CONVENTION; } |