aboutsummaryrefslogtreecommitdiff
path: root/gdb/sentinel-frame.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/sentinel-frame.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/sentinel-frame.c')
-rw-r--r--gdb/sentinel-frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sentinel-frame.c b/gdb/sentinel-frame.c
index cbb4a09..282e29e 100644
--- a/gdb/sentinel-frame.c
+++ b/gdb/sentinel-frame.c
@@ -50,7 +50,7 @@ sentinel_frame_prev_register (struct frame_info *this_frame,
= (struct frame_unwind_cache *) *this_prologue_cache;
struct value *value;
- value = regcache_cooked_read_value (cache->regcache, regnum);
+ value = cache->regcache->cooked_read_value (regnum);
VALUE_NEXT_FRAME_ID (value) = sentinel_frame_id;
return value;