Replace write_inferior_memory with target_write_memory
[deliverable/binutils-gdb.git] / gdb / gdbserver / proc-service.c
index a8bd1e88a549b58a549929ea2bbaa666c787bb71..c5ebff208a9feb5c58863fc919d4aaf88c50292e 100644 (file)
@@ -91,7 +91,7 @@ ps_err_e
 ps_pdwrite (gdb_ps_prochandle_t ph, psaddr_t addr,
            gdb_ps_write_buf_t buf, gdb_ps_size_t size)
 {
-  if (write_inferior_memory ((uintptr_t) addr, (const gdb_byte *) buf, size)
+  if (target_write_memory ((uintptr_t) addr, (const gdb_byte *) buf, size)
       != 0)
     return PS_ERR;
   return PS_OK;
This page took 0.026108 seconds and 4 git commands to generate.