manpagez: man pages & more
info gdb
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

8.18 Caching Data of Remote Targets

No value for GDBN can cache data exchanged between the debugger and a remote target (see section Debugging Remote Programs). Such caching generally improves performance, because it reduces the overhead of the remote protocol by bundling memory reads and writes into large chunks. Unfortunately, No value for GDBN 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

Set caching state for remote targets. When ON, use data caching. By default, this option is OFF.

show remotecache

Show the current state of data caching for remote targets.

info dcache

Print the information about the data cache performance. The information displayed includes: the dcache width and depth; and for each cache line, how many times it was referenced, and its data and state (dirty, bad, ok, etc.). This command is useful for debugging the data cache operation.


© manpagez.com 2000-2024
Individual documents may contain additional copyright information.