aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/dcache.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cba136a..048583f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2009-11-10 Michael Snyder <msnyder@vmware.com>
+
+ * dcache.c: Fix typo, shorten long lines in comment.
+
2009-11-10 Tristan Gingold <gingold@adacore.com>
* avr-tdep.c: Add AVR_PSEUDO_PC_REGNUM and AVR_NUM_PSEUDO_REGS.
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.