Remove regcache_raw_supply
[deliverable/binutils-gdb.git] / gdb / remote.c
index 3aca5fb29018cf081336fda5f3bb7da7492c18af..3f0b6783eb4d25d9e3563b3e55f86c9f52d98a09 100644 (file)
@@ -7786,7 +7786,7 @@ remote_target::process_stop_reply (struct stop_reply *stop_reply,
               VEC_iterate (cached_reg_t, stop_reply->regcache, ix, reg);
               ix++)
          {
-           regcache_raw_supply (regcache, reg->num, reg->data);
+           regcache->raw_supply (reg->num, reg->data);
            xfree (reg->data);
          }
 
@@ -8080,7 +8080,7 @@ remote_target::fetch_register_using_p (struct regcache *regcache,
   /* If this register is unfetchable, tell the regcache.  */
   if (buf[0] == 'x')
     {
-      regcache_raw_supply (regcache, reg->regnum, NULL);
+      regcache->raw_supply (reg->regnum, NULL);
       return 1;
     }
 
@@ -8095,7 +8095,7 @@ remote_target::fetch_register_using_p (struct regcache *regcache,
       regp[i++] = fromhex (p[0]) * 16 + fromhex (p[1]);
       p += 2;
     }
-  regcache_raw_supply (regcache, reg->regnum, regp);
+  regcache->raw_supply (reg->regnum, regp);
   return 1;
 }
 
@@ -8233,11 +8233,10 @@ remote_target::process_g_packet (struct regcache *regcache)
              gdb_assert (r->offset * 2 < strlen (rs->buf));
              /* The register isn't available, mark it as such (at
                 the same time setting the value to zero).  */
-             regcache_raw_supply (regcache, r->regnum, NULL);
+             regcache->raw_supply (r->regnum, NULL);
            }
          else
-           regcache_raw_supply (regcache, r->regnum,
-                                regs + r->offset);
+           regcache->raw_supply (r->regnum, regs + r->offset);
        }
     }
 }
@@ -8304,7 +8303,7 @@ remote_target::fetch_registers (struct regcache *regcache, int regnum)
        return;
 
       /* This register is not available.  */
-      regcache_raw_supply (regcache, reg->regnum, NULL);
+      regcache->raw_supply (reg->regnum, NULL);
 
       return;
     }
@@ -8316,7 +8315,7 @@ remote_target::fetch_registers (struct regcache *regcache, int regnum)
       if (!fetch_register_using_p (regcache, &rsa->regs[i]))
        {
          /* This register is not available.  */
-         regcache_raw_supply (regcache, i, NULL);
+         regcache->raw_supply (i, NULL);
        }
 }
 
This page took 0.029263 seconds and 4 git commands to generate.