aboutsummaryrefslogtreecommitdiff
path: root/gdb/dcache.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2009-11-10 18:36:50 +0000
committerMichael Snyder <msnyder@vmware.com>2009-11-10 18:36:50 +0000
commite124be18d99cd6dd93e4fb6fc292ca37f4d1d161 (patch)
treec4315a2cdd7bcc8e85f37e1b25bab9ba290478de /gdb/dcache.c
parent0d999f3337f41a9a495156e6821fcca7e0891671 (diff)
downloadgdb-e124be18d99cd6dd93e4fb6fc292ca37f4d1d161.zip
gdb-e124be18d99cd6dd93e4fb6fc292ca37f4d1d161.tar.gz
gdb-e124be18d99cd6dd93e4fb6fc292ca37f4d1d161.tar.bz2
2009-11-10 Michael Snyder <msnyder@vmware.com>
* dcache.c: Fix typo, shorten long lines in comment.
Diffstat (limited to 'gdb/dcache.c')
-rw-r--r--gdb/dcache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/dcache.c b/gdb/dcache.c
index 52375f0..e8728e9 100644
--- a/gdb/dcache.c
+++ b/gdb/dcache.c
@@ -41,9 +41,9 @@
of data, such as when performing a backtrace.
The cache is a splay tree along with a linked list for replacement.
- Each block caches a LINE_SIZE area of memory. Wtihin each line we remember
- the address of the line (which must be a multiple of LINE_SIZE) and the
- actual data block.
+ Each block caches a LINE_SIZE area of memory. Within each line we
+ remember the address of the line (which must be a multiple of
+ LINE_SIZE) and the actual data block.
Lines are only allocated as needed, so DCACHE_SIZE really specifies the
*maximum* number of lines in the cache.