* gdb.texinfo (Target Description Format): Add version attribute
[deliverable/binutils-gdb.git] / gdb / shnbsd-tdep.c
index da2431d73265d83a311f934ffee064e43288f296..5108fc4ef6d8c883d64e6713785152b98ddd2f10 100644 (file)
@@ -156,16 +156,16 @@ shnbsd_regset_from_core_section (struct gdbarch *gdbarch,
 }
 
 void
-shnbsd_supply_reg (char *regs, int regnum)
+shnbsd_supply_reg (struct regcache *regcache, const char *regs, int regnum)
 {
-  shnbsd_supply_gregset (&shnbsd_gregset, current_regcache, regnum,
+  shnbsd_supply_gregset (&shnbsd_gregset, regcache, regnum,
                         regs, SHNBSD_SIZEOF_GREGS);
 }
 
 void
-shnbsd_fill_reg (char *regs, int regnum)
+shnbsd_fill_reg (const struct regcache *regcache, char *regs, int regnum)
 {
-  shnbsd_collect_gregset (&shnbsd_gregset, current_regcache, regnum,
+  shnbsd_collect_gregset (&shnbsd_gregset, regcache, regnum,
                          regs, SHNBSD_SIZEOF_GREGS);
 }
 \f
This page took 0.024799 seconds and 4 git commands to generate.