aboutsummaryrefslogtreecommitdiff
path: root/gdb/regcache.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:36 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:36 -0400
commit0b8835861cde41744a08f215b48fccd135815b63 (patch)
tree222cba12875bd2e2df78b6ccfe5ad2e71e726e3a /gdb/regcache.c
parent0b47d9858ca0805cd52ba959276d08899c7b9f8c (diff)
downloadgdb-0b8835861cde41744a08f215b48fccd135815b63.zip
gdb-0b8835861cde41744a08f215b48fccd135815b63.tar.gz
gdb-0b8835861cde41744a08f215b48fccd135815b63.tar.bz2
Remove regcache_raw_read
Remove regcache_raw_read, update all callers to use readable_regcache::raw_read instead. gdb/ChangeLog: * regcache.h (regcache_raw_read): Remove, update callers to use readable_regcache::raw_read instead. * regcache.c (regcache_raw_read): Remove.
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r--gdb/regcache.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c
index 64d167a..5551408 100644
--- a/gdb/regcache.c
+++ b/gdb/regcache.c
@@ -511,12 +511,6 @@ regcache::raw_update (int regnum)
}
enum register_status
-regcache_raw_read (struct regcache *regcache, int regnum, gdb_byte *buf)
-{
- return regcache->raw_read (regnum, buf);
-}
-
-enum register_status
readable_regcache::raw_read (int regnum, gdb_byte *buf)
{
gdb_assert (buf != NULL);