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/hppa-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/hppa-tdep.c')
-rw-r--r-- | gdb/hppa-tdep.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 1f3581e..81e8a4c 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -1152,8 +1152,7 @@ hppa32_return_value (struct gdbarch *gdbarch, struct value *function, if (part > 0) { if (readbuf != NULL) - regcache_cooked_read_part (regcache, reg, 4 - part, - part, readbuf); + regcache->cooked_read_part (reg, 4 - part, part, readbuf); if (writebuf != NULL) regcache_cooked_write_part (regcache, reg, 4 - part, part, writebuf); @@ -1243,8 +1242,8 @@ hppa64_return_value (struct gdbarch *gdbarch, struct value *function, { while (len > 0) { - regcache_cooked_read_part (regcache, regnum, offset, - std::min (len, 8), readbuf); + regcache->cooked_read_part (regnum, offset, std::min (len, 8), + readbuf); readbuf += std::min (len, 8); len -= std::min (len, 8); regnum++; |