aboutsummaryrefslogtreecommitdiff
path: root/gdb/dcache.c
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>2000-06-19 18:59:07 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>2000-06-19 18:59:07 +0000
commit8c9cdfe810a01faefaaff5c92032904dafafcf0d (patch)
treef7eac3f9da31872472f38ff8b3a6c427a6b16dda /gdb/dcache.c
parent3e6c8688d2383042ba3ed8441a2f8db9ea67fd9f (diff)
downloadgdb-8c9cdfe810a01faefaaff5c92032904dafafcf0d.zip
gdb-8c9cdfe810a01faefaaff5c92032904dafafcf0d.tar.gz
gdb-8c9cdfe810a01faefaaff5c92032904dafafcf0d.tar.bz2
* remote-nindy.c (nindy_fetch_word, nindy_store_word): Removed
(nindy_xfer_inferior_memory): Use dcache_xfer_memory() instead of breaking transfer into chunks and using nindy_fetch_word() and nindy_store_word(). * remote-bug.c (bug_xfer_memory): Use dcache_xfer_memory() instead of breaking transfer into chunks and using gr_fetch_word() and gr_store_word(). * remote.c (remote_fetch_word, remote_store_word): Removed. * remote-utils.h (gr_fetch_word, gr_store_word): Removed. * remote-utils.c (gr_fetch_word, gr_store_word): Removed. * dcache.h (dcache_fetch, dcache_poke, dcache_poke_block): Removed. * dcache.c (dcache_fetch, dcache_poke): Removed.
Diffstat (limited to 'gdb/dcache.c')
-rw-r--r--gdb/dcache.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/gdb/dcache.c b/gdb/dcache.c
index 538f77e..1c52cc3 100644
--- a/gdb/dcache.c
+++ b/gdb/dcache.c
@@ -378,22 +378,6 @@ dcache_writeback (dcache)
}
-/* Using the data cache DCACHE return the contents of the word at
- address ADDR in the remote machine. */
-int
-dcache_fetch (dcache, addr)
- DCACHE *dcache;
- CORE_ADDR addr;
-{
- int res;
-
- if (dcache_xfer_memory (dcache, addr, (char *) &res, sizeof res, 0) != sizeof res)
- memory_error (EIO, addr);
-
- return res;
-}
-
-
/* Write the byte at PTR into ADDR in the data cache.
Return zero on write error.
*/
@@ -419,23 +403,6 @@ dcache_poke_byte (dcache, addr, ptr)
return 1;
}
-/* Write the word at ADDR both in the data cache and in the remote machine.
- Return zero on write error.
- */
-
-int
-dcache_poke (dcache, addr, data)
- DCACHE *dcache;
- CORE_ADDR addr;
- int data;
-{
- if (dcache_xfer_memory (dcache, addr, (char *) &data, sizeof data, 1) != sizeof data)
- return 0;
-
- return dcache_writeback (dcache);
-}
-
-
/* Initialize the data cache. */
DCACHE *
dcache_init (reading, writing)