Remove regcache_raw_collect
[deliverable/binutils-gdb.git] / gdb / mips-nbsd-tdep.c
index 5a14b2f1ff51b0537381ad05eeacc81ff4b204dc..5f4db87498e7fec5e1d448bf5a50c9b3cce52d4c 100644 (file)
@@ -161,8 +161,7 @@ mipsnbsd_fill_reg (const struct regcache *regcache, char *regs, int regno)
   for (i = 0; i <= gdbarch_pc_regnum (gdbarch); i++)
     if ((regno == i || regno == -1)
        && ! gdbarch_cannot_store_register (gdbarch, i))
-      regcache_raw_collect (regcache, i,
-                           regs + (i * mips_isa_regsize (gdbarch)));
+      regcache->raw_collect (i, regs + (i * mips_isa_regsize (gdbarch)));
 }
 
 void
@@ -200,9 +199,9 @@ mipsnbsd_fill_fpreg (const struct regcache *regcache, char *fpregs, int regno)
        i++)
     if ((regno == i || regno == -1) 
        && ! gdbarch_cannot_store_register (gdbarch, i))
-      regcache_raw_collect (regcache, i,
-                           fpregs + ((i - gdbarch_fp0_regnum (gdbarch))
-                             * mips_isa_regsize (gdbarch)));
+      regcache->raw_collect
+       (i, (fpregs + ((i - gdbarch_fp0_regnum (gdbarch))
+            * mips_isa_regsize (gdbarch))));
 }
 
 #if 0
This page took 0.024155 seconds and 4 git commands to generate.