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/mep-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/mep-tdep.c')
-rw-r--r-- | gdb/mep-tdep.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/mep-tdep.c b/gdb/mep-tdep.c index 727d247..1f3f2bb 100644 --- a/gdb/mep-tdep.c +++ b/gdb/mep-tdep.c @@ -2113,9 +2113,8 @@ mep_extract_return_value (struct gdbarch *arch, offset = 0; /* Return values that do fit in a single register are returned in R0. */ - regcache_cooked_read_part (regcache, MEP_R0_REGNUM, - offset, TYPE_LENGTH (type), - valbuf); + regcache->cooked_read_part (MEP_R0_REGNUM, offset, TYPE_LENGTH (type), + valbuf); } |