From 73bb0000525a67694c1e8921e7c34ee0d985787e Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 30 May 2018 14:54:43 -0400 Subject: 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. --- gdb/regcache.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'gdb/regcache.c') diff --git a/gdb/regcache.c b/gdb/regcache.c index ee27f9d..d8fb36e 100644 --- a/gdb/regcache.c +++ b/gdb/regcache.c @@ -864,14 +864,6 @@ regcache::raw_write_part (int regnum, int offset, int len, } enum register_status -regcache_cooked_read_part (struct regcache *regcache, int regnum, - int offset, int len, gdb_byte *buf) -{ - return regcache->cooked_read_part (regnum, offset, len, buf); -} - - -enum register_status readable_regcache::cooked_read_part (int regnum, int offset, int len, gdb_byte *buf) { -- cgit v1.1