summaryrefslogtreecommitdiff
path: root/gdb/dcache.c
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@redback.com>2001-01-24 21:01:02 +0000
committerJ.T. Conklin <jtc@redback.com>2001-01-24 21:01:02 +0000
commit6fa89459e5e871de75275e8abb91ce7d9242610f (patch)
treec46bc65eb50106ba31b79c48b70fed4f8b00b4ae /gdb/dcache.c
parent54b46cc752b949688354826b6418582c79f8ac74 (diff)
downloadgdb-6fa89459e5e871de75275e8abb91ce7d9242610f.tar.gz
* dcache.c (dcache_write_line): Fix typo.
* memattr.c (delete_mem_region): Replace free() with xfree(). (mem_number): Add explicit type. * sol-thread.c (sol_thread_xfer_memory): Add attrib argument. (rw_common): Likewise.
Diffstat (limited to 'gdb/dcache.c')
-rw-r--r--gdb/dcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dcache.c b/gdb/dcache.c
index 7973b998ea1..5fe1c47a81c 100644
--- a/gdb/dcache.c
+++ b/gdb/dcache.c
@@ -300,7 +300,7 @@ dcache_write_line (DCACHE *dcache, register struct dcache_block *db)
if (res <= 0)
return 0;
- memset (db->state[XFORM(memaddr)], ENTRY_OK, res);
+ memset (&db->state[XFORM(memaddr)], ENTRY_OK, res);
memaddr += res;
myaddr += res;
dirty_len -= res;