This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog.intercu dwarf2read.c
- From: drow at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 22 Feb 2004 20:58:43 -0000
- Subject: src/gdb ChangeLog.intercu dwarf2read.c
CVSROOT: /cvs/src
Module name: src
Branch: drow_intercu-20040221-branch
Changes by: drow@sourceware.org 2004-02-22 20:58:43
Modified files:
gdb : ChangeLog.intercu dwarf2read.c
Log message:
* dwarf2read.c (MAX_CACHE_AGE): Define.
(struct dwarf2_cu): Add last_used counter.
(free_comp_units_worker): New function, based on
clear_per_cu_pointer. Support aging.
(clear_per_cu_pointer): Use it.
(free_cached_comp_units, free_one_cached_comp_unit): New functions.
(dwarf2_build_psymtabs_hard): Keep read_in_chain across iterations.
Free all cached comp units after building psymtabs. Free any cached
copy of a comp unit before building a psymtab for it.
(find_partial_die): Clear the last_used counter.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.intercu.diff?cvsroot=src&only_with_tag=drow_intercu-20040221-branch&r1=1.1.2.19&r2=1.1.2.20
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/dwarf2read.c.diff?cvsroot=src&only_with_tag=drow_intercu-20040221-branch&r1=1.135.2.19&r2=1.135.2.20