aboutsummaryrefslogtreecommitdiff
path: root/gdb/mep-tdep.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:43 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:43 -0400
commit73bb0000525a67694c1e8921e7c34ee0d985787e (patch)
treea5518d4961ab4d9691b94147d1e249e6e7665f4b /gdb/mep-tdep.c
parent46a45e9d5b067e484971e3972fa3eae0a224324f (diff)
downloadgdb-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.c5
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);
}