This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb dcache.c ChangeLog
- From: brobecke at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 21 Dec 2009 05:41:45 -0000
- Subject: src/gdb dcache.c ChangeLog
CVSROOT: /cvs/src
Module name: src
Branch: gdb_7_0-branch
Changes by: brobecke@sourceware.org 2009-12-21 05:41:45
Modified files:
gdb : dcache.c ChangeLog
Log message:
* dcache.c (dcache_block): Replace member newer with next,prev.
(dcache_struct): Delete member newest.
(block_func): New typedef.
(append_block, remove_block, for_each_block): New functions.
(invalidate_block, free_block): New functions.
(dcache_invalidate): Update
(dcache_invalidate_line, dcache_alloc): Update to use new list
accessors.
(dcache_free): Ditto. Fix memory leak.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/dcache.c.diff?cvsroot=src&only_with_tag=gdb_7_0-branch&r1=1.36&r2=1.36.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=gdb_7_0-branch&r1=1.10874.2.56&r2=1.10874.2.57