diff options
author | J.T. Conklin <jtc@acorntoolworks.com> | 2001-01-24 21:01:02 +0000 |
---|---|---|
committer | J.T. Conklin <jtc@acorntoolworks.com> | 2001-01-24 21:01:02 +0000 |
commit | f4d650ecb379a6d7d92e60d43d9c9773a192395e (patch) | |
tree | f27c4acaffb3a84b487383fd0536d031a5fda4d3 /gdb/dcache.c | |
parent | f332af5233dc21b499026fcd63ec57139b76bc74 (diff) | |
download | gdb-f4d650ecb379a6d7d92e60d43d9c9773a192395e.zip gdb-f4d650ecb379a6d7d92e60d43d9c9773a192395e.tar.gz gdb-f4d650ecb379a6d7d92e60d43d9c9773a192395e.tar.bz2 |
* 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |