Remove regcache_raw_write
[deliverable/binutils-gdb.git] / gdb / i387-tdep.c
index 3effc35b17418245c5422ea0cca7f5b5ac8733be..b465fda5afba107777c9c0d48c8124eb438c8dbd 100644 (file)
@@ -1354,7 +1354,7 @@ i387_collect_xsave (const struct regcache *regcache, int regnum,
   gdb_byte *p, *regs = (gdb_byte *) xsave;
   gdb_byte raw[I386_MAX_REGISTER_SIZE];
   ULONGEST initial_xstate_bv, clear_bv, xstate_bv = 0;
-  int i;
+  unsigned int i;
   enum
     {
       x87_ctrl_or_mxcsr = 0x1,
@@ -1962,6 +1962,6 @@ i387_reset_bnd_regs (struct gdbarch *gdbarch, struct regcache *regcache)
 
       memset (bnd_buf, 0, 16);
       for (int i = 0; i < I387_NUM_BND_REGS; i++)
-       regcache_raw_write (regcache, I387_BND0R_REGNUM (tdep) + i, bnd_buf);
+       regcache->raw_write (I387_BND0R_REGNUM (tdep) + i, bnd_buf);
     }
 }
This page took 0.028055 seconds and 4 git commands to generate.