-/* Simple to call from <remote>_xfer_memory */
-
-int dcache_xfer_memory (DCACHE * cache, CORE_ADDR mem, char *my, int len,
- int should_write);
-
-/* Write the bytes at ADDR into the data cache and the remote machine. */
-int dcache_poke_block (DCACHE * cache, CORE_ADDR mem, char *my, int len);
-
-/* Turn dcache state on or off */
-void set_dcache_state (int);
+void dcache_update (DCACHE *dcache, enum target_xfer_status status,
+ CORE_ADDR memaddr, const gdb_byte *myaddr,
+ ULONGEST len);