aboutsummaryrefslogtreecommitdiff
path: root/gdb/dcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dcache.c')
-rw-r--r--gdb/dcache.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/dcache.c b/gdb/dcache.c
index f56d3a9..0f03470 100644
--- a/gdb/dcache.c
+++ b/gdb/dcache.c
@@ -88,7 +88,7 @@
struct dcache_block
{
- /* for least-recently-allocated and free lists */
+ /* For least-recently-allocated and free lists. */
struct dcache_block *prev;
struct dcache_block *next;
@@ -100,7 +100,7 @@ struct dcache_block
struct dcache_struct
{
splay_tree tree;
- struct dcache_block *oldest; /* least-recently-allocated list */
+ struct dcache_block *oldest; /* least-recently-allocated list. */
/* The free list is maintained identically to OLDEST to simplify
the code: we only need one set of accessors. */
@@ -134,7 +134,7 @@ show_dcache_enabled_p (struct ui_file *file, int from_tty,
fprintf_filtered (file, _("Deprecated remotecache flag is %s.\n"), value);
}
-static DCACHE *last_cache; /* Used by info dcache */
+static DCACHE *last_cache; /* Used by info dcache. */
/* Add BLOCK to circular block list BLIST, behind the block at *BLIST.
*BLIST is not updated (unless it was previously NULL of course).
@@ -575,7 +575,7 @@ dcache_print_line (int index)
{
printf_filtered ("%02x ", db->data[j]);
- /* Print a newline every 16 bytes (48 characters) */
+ /* Print a newline every 16 bytes (48 characters). */
if ((j % 16 == 15) && (j != LINE_SIZE - 1))
printf_filtered ("\n");
}