Previous: Character Sets, Up: Data
gdb can cache data exchanged between the debugger and a remote target (see Remote Debugging). Such caching generally improves performance, because it reduces the overhead of the remote protocol by bundling memory reads and writes into large chunks. Unfortunately, gdb does not currently know anything about volatile registers, and thus data caching will produce incorrect results when volatile registers are in use.
set remotecache on
set remotecache off
ON
, use data
caching. By default, this option is OFF
.
show remotecache
info dcache