aboutsummaryrefslogtreecommitdiff
path: root/gdb/regcache.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:42 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:42 -0400
commit46a45e9d5b067e484971e3972fa3eae0a224324f (patch)
treee52bed15da186bef914212f085d4771d1fb5744c /gdb/regcache.c
parentb66f5587de2a096f357124b20376b2bab980238b (diff)
downloadgdb-46a45e9d5b067e484971e3972fa3eae0a224324f.zip
gdb-46a45e9d5b067e484971e3972fa3eae0a224324f.tar.gz
gdb-46a45e9d5b067e484971e3972fa3eae0a224324f.tar.bz2
Remove regcache_cooked_read_value
Remove regcache_cooked_read_value, update callers to use readable_regcache::cooked_read_value. gdb/ChangeLog: * regcache.h (regcache_cooked_read_value): Remove, update callers to use readable_regcache::cooked_read_value. * regcache.c (regcache_cooked_read_value): 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 0e2d040..ee27f9d 100644
--- a/gdb/regcache.c
+++ b/gdb/regcache.c
@@ -639,12 +639,6 @@ readable_regcache::cooked_read (int regnum, gdb_byte *buf)
}
struct value *
-regcache_cooked_read_value (struct regcache *regcache, int regnum)
-{
- return regcache->cooked_read_value (regnum);
-}
-
-struct value *
readable_regcache::cooked_read_value (int regnum)
{
gdb_assert (regnum >= 0);