aboutsummaryrefslogtreecommitdiff
path: root/gdb/regcache.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:39 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:39 -0400
commit502fe83eb549476fac09ec62c7fd66447791ba2a (patch)
tree2508884cce2fea0d95e5f68b0c6af0814e40597f /gdb/regcache.c
parentdca08e1fe158d04517ba3ddd7ece9dd1596c8e8c (diff)
downloadgdb-502fe83eb549476fac09ec62c7fd66447791ba2a.zip
gdb-502fe83eb549476fac09ec62c7fd66447791ba2a.tar.gz
gdb-502fe83eb549476fac09ec62c7fd66447791ba2a.tar.bz2
Remove regcache_raw_read_part
Remove regcache_raw_read_part, update callers to use readable_regcache::raw_read_part instead. gdb/ChangeLog: * regcache.h (regcache_raw_read_part): Remove, update callers to use readable_regcache::raw_read_part instead. * regcache.c (regcache_raw_read_part): Remove.
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r--gdb/regcache.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c
index ec1bfb0..051bd48 100644
--- a/gdb/regcache.c
+++ b/gdb/regcache.c
@@ -867,13 +867,6 @@ regcache::write_part (int regnum, int offset, int len,
}
enum register_status
-regcache_raw_read_part (struct regcache *regcache, int regnum,
- int offset, int len, gdb_byte *buf)
-{
- return regcache->raw_read_part (regnum, offset, len, buf);
-}
-
-enum register_status
readable_regcache::raw_read_part (int regnum, int offset, int len, gdb_byte *buf)
{
assert_regnum (regnum);