Remove regcache_register_status
[deliverable/binutils-gdb.git] / gdb / corelow.c
index c6175279da9b5df4a006adff63b2251c240cf885..0a7d742aad9aaca4c8db22ca220ab5221b184a78 100644 (file)
@@ -704,7 +704,7 @@ core_target::fetch_registers (struct regcache *regcache, int regno)
 
   /* Mark all registers not found in the core as unavailable.  */
   for (i = 0; i < gdbarch_num_regs (regcache->arch ()); i++)
-    if (regcache_register_status (regcache, i) == REG_UNKNOWN)
+    if (regcache->get_register_status (i) == REG_UNKNOWN)
       regcache_raw_supply (regcache, i, NULL);
 }
 
This page took 0.025327 seconds and 4 git commands to generate.