Replace write_inferior_memory with target_write_memory
[deliverable/binutils-gdb.git] / gdb / gdbserver / linux-aarch64-low.c
index ab2f40ea98cc011b7fb4f09a45a312f6045dfd7d..33095ea752d5fee69e66b814dc865d8c876a5085 100644 (file)
@@ -1626,11 +1626,11 @@ append_insns (CORE_ADDR *to, size_t len, const uint32_t *buf)
   for (i = 0; i < len; i++)
     le_buf[i] = htole32 (buf[i]);
 
-  write_inferior_memory (*to, (const unsigned char *) le_buf, byte_len);
+  target_write_memory (*to, (const unsigned char *) le_buf, byte_len);
 
   xfree (le_buf);
 #else
-  write_inferior_memory (*to, (const unsigned char *) buf, byte_len);
+  target_write_memory (*to, (const unsigned char *) buf, byte_len);
 #endif
 
   *to += byte_len;
This page took 0.023788 seconds and 4 git commands to generate.