aboutsummaryrefslogtreecommitdiff
path: root/gdb/dcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dcache.c')
-rw-r--r--gdb/dcache.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/gdb/dcache.c b/gdb/dcache.c
index 6e74274..ee69094 100644
--- a/gdb/dcache.c
+++ b/gdb/dcache.c
@@ -1,6 +1,7 @@
-/* Caching code.
- Copyright 1992, 1993, 1995, 1996, 1998, 1999, 2000, 2001
- Free Software Foundation, Inc.
+/* Caching code for GDB, the GNU debugger.
+
+ Copyright 1992, 1993, 1995, 1996, 1998, 1999, 2000, 2001, 2003 Free
+ Software Foundation, Inc.
This file is part of GDB.
@@ -217,7 +218,7 @@ dcache_invalidate (DCACHE *dcache)
static struct dcache_block *
dcache_hit (DCACHE *dcache, CORE_ADDR addr)
{
- register struct dcache_block *db;
+ struct dcache_block *db;
/* Search all cache blocks for one that is at this address. */
db = dcache->valid_head;
@@ -239,7 +240,7 @@ dcache_hit (DCACHE *dcache, CORE_ADDR addr)
be written is. */
static int
-dcache_write_line (DCACHE *dcache, register struct dcache_block *db)
+dcache_write_line (DCACHE *dcache, struct dcache_block *db)
{
CORE_ADDR memaddr;
char *myaddr;
@@ -383,7 +384,7 @@ dcache_read_line (DCACHE *dcache, struct dcache_block *db)
static struct dcache_block *
dcache_alloc (DCACHE *dcache, CORE_ADDR addr)
{
- register struct dcache_block *db;
+ struct dcache_block *db;
/* Take something from the free list */
db = dcache->free_head;
@@ -444,7 +445,7 @@ dcache_writeback (DCACHE *dcache)
static int
dcache_peek_byte (DCACHE *dcache, CORE_ADDR addr, char *ptr)
{
- register struct dcache_block *db = dcache_hit (dcache, addr);
+ struct dcache_block *db = dcache_hit (dcache, addr);
if (!db)
{
@@ -471,7 +472,7 @@ dcache_peek_byte (DCACHE *dcache, CORE_ADDR addr, char *ptr)
static int
dcache_poke_byte (DCACHE *dcache, CORE_ADDR addr, char *ptr)
{
- register struct dcache_block *db = dcache_hit (dcache, addr);
+ struct dcache_block *db = dcache_hit (dcache, addr);
if (!db)
{