aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1993-08-31 22:26:48 +0000
committerK. Richard Pixley <rich@cygnus>1993-08-31 22:26:48 +0000
commit9e58280a94cd790d25ad1989b353bf2e27f08b92 (patch)
tree49382d3ecdda602fa0529a7d9b9f75c6c2e1f2e6
parent755892d6ff13e99b7cb12f349c05345da4befcb4 (diff)
downloadgdb-9e58280a94cd790d25ad1989b353bf2e27f08b92.zip
gdb-9e58280a94cd790d25ad1989b353bf2e27f08b92.tar.gz
gdb-9e58280a94cd790d25ad1989b353bf2e27f08b92.tar.bz2
comment change
-rw-r--r--gdb/dcache.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gdb/dcache.c b/gdb/dcache.c
index 498c22e..864b068 100644
--- a/gdb/dcache.c
+++ b/gdb/dcache.c
@@ -28,8 +28,8 @@ extern int remque();
/* The data cache records all the data read from the remote machine
since the last time it stopped.
- Each cache block holds line_size bytes of data
- starting at a multiple-of-line_size address. */
+ Each cache block holds LINE_SIZE bytes of data
+ starting at a multiple-of-LINE_SIZE address. */
#define LINE_SIZE_MASK ((LINE_SIZE - 1)) /* eg 7*2+1= 111*/
#define XFORM(x) (((x) & LINE_SIZE_MASK) >> 2)
@@ -88,8 +88,9 @@ dcache_value (db, addr)
and return its address. The caller should store into the block
the address and data that it describes, then remque it from the
free list and insert it into the valid list. This procedure
- prevents errors from creeping in if a ninMemGet is interrupted
- (which used to put garbage blocks in the valid list...). */
+ prevents errors from creeping in if a memory retrieval is
+ interrupted (which used to put garbage blocks in the valid
+ list...). */
struct dcache_block *
dcache_alloc (dcache)
DCACHE *dcache;