-extern void fill_gregset (gdb_gregset_t *gregs, int regno);
-extern void fill_fpregset (gdb_fpregset_t *fpregs, int regno);
-
+extern void fill_gregset (const struct regcache *regcache,
+ gdb_gregset_t *gregs, int regno);
+extern void fill_fpregset (const struct regcache *regcache,
+ gdb_fpregset_t *fpregs, int regno);