From f4d650ecb379a6d7d92e60d43d9c9773a192395e Mon Sep 17 00:00:00 2001 From: "J.T. Conklin" Date: Wed, 24 Jan 2001 21:01:02 +0000 Subject: * 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. --- gdb/dcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/dcache.c') diff --git a/gdb/dcache.c b/gdb/dcache.c index 7973b99..5fe1c47 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; -- cgit v1.1