From e124be18d99cd6dd93e4fb6fc292ca37f4d1d161 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Tue, 10 Nov 2009 18:36:50 +0000 Subject: [PATCH] 2009-11-10 Michael Snyder * dcache.c: Fix typo, shorten long lines in comment. --- gdb/ChangeLog | 4 ++++ gdb/dcache.c | 6 +++--- 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 + + * dcache.c: Fix typo, shorten long lines in comment. + 2009-11-10 Tristan Gingold * 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. -- 2.7.4