summaryrefslogtreecommitdiff
path: root/gdb/dcache.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2009-11-10 18:36:49 +0000
committerMichael Snyder <msnyder@specifix.com>2009-11-10 18:36:49 +0000
commitb7d7479b630e7033ec25ea0b6b7210a429406ebc (patch)
tree7a3d14f36dcea93e7519da7e816b4b9438806669 /gdb/dcache.c
parentff11760880693fcc007fae4a0c130957922eaafa (diff)
downloadgdb-b7d7479b630e7033ec25ea0b6b7210a429406ebc.tar.gz
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 52375f092a1..e8728e9efcf 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.