diff options
author | J.T. Conklin <jtc@acorntoolworks.com> | 2000-06-19 18:59:07 +0000 |
---|---|---|
committer | J.T. Conklin <jtc@acorntoolworks.com> | 2000-06-19 18:59:07 +0000 |
commit | 8c9cdfe810a01faefaaff5c92032904dafafcf0d (patch) | |
tree | f7eac3f9da31872472f38ff8b3a6c427a6b16dda /gdb/remote.c | |
parent | 3e6c8688d2383042ba3ed8441a2f8db9ea67fd9f (diff) | |
download | gdb-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/remote.c')
-rw-r--r-- | gdb/remote.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index 0e54af7..d43b81d 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -3209,43 +3209,8 @@ remote_store_registers (regno) remote_send (buf, PBUFSIZ); } - -/* Use of the data cache *used* to be disabled because it loses for looking - at and changing hardware I/O ports and the like. Accepting `volatile' - would perhaps be one way to fix it. Another idea would be to use the - executable file for the text segment (for all SEC_CODE sections? - For all SEC_READONLY sections?). This has problems if you want to - actually see what the memory contains (e.g. self-modifying code, - clobbered memory, user downloaded the wrong thing). - - Because it speeds so much up, it's now enabled, if you're playing - with registers you turn it of (set remotecache 0). */ - -/* Read a word from remote address ADDR and return it. - This goes through the data cache. */ - -#if 0 /* unused? */ -static int -remote_fetch_word (addr) - CORE_ADDR addr; -{ - return dcache_fetch (remote_dcache, addr); -} - -/* Write a word WORD into remote address ADDR. - This goes through the data cache. */ - -static void -remote_store_word (addr, word) - CORE_ADDR addr; - int word; -{ - dcache_poke (remote_dcache, addr, word); -} -#endif /* 0 (unused?) */ - /* Return the number of hex digits in num. */ static int |