Ravenscar port for RISC-V
[deliverable/binutils-gdb.git] / gdb / sentinel-frame.c
index cbb4a096007b8c391fb8f4afe84202f2d461a21e..e307d437c14c32e9fe5658a8930ed8808866f9c1 100644 (file)
@@ -1,6 +1,6 @@
 /* Code dealing with register stack frames, for GDB, the GNU debugger.
 
-   Copyright (C) 1986-2018 Free Software Foundation, Inc.
+   Copyright (C) 1986-2019 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -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;
This page took 0.026261 seconds and 4 git commands to generate.