Pass readable_regcache to gdbarch method read_pc
[deliverable/binutils-gdb.git] / gdb / mips-tdep.c
index 2c1a8f0d9e53f0f0b3e3e690a72b5998de72b57f..05f27a516c9570941e5ef1dab0d15e3f35495b98 100644 (file)
@@ -1362,12 +1362,12 @@ mips_in_frame_stub (CORE_ADDR pc)
    all registers should be sign extended for simplicity?  */
 
 static CORE_ADDR
-mips_read_pc (struct regcache *regcache)
+mips_read_pc (readable_regcache *regcache)
 {
   int regnum = gdbarch_pc_regnum (regcache->arch ());
   LONGEST pc;
 
-  regcache_cooked_read_signed (regcache, regnum, &pc);
+  regcache->cooked_read (regnum, &pc);
   return pc;
 }
 
This page took 0.023628 seconds and 4 git commands to generate.