This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb Makefile.in dwarf2read.c ChangeLog.intercu
- From: drow at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 21 Feb 2004 20:17:22 -0000
- Subject: src/gdb Makefile.in dwarf2read.c ChangeLog.intercu
CVSROOT: /cvs/src
Module name: src
Branch: drow_intercu-20040221-branch
Changes by: drow@sourceware.org 2004-02-21 20:17:22
Modified files:
gdb : Makefile.in dwarf2read.c
Added files:
gdb : ChangeLog.intercu
Log message:
* dwarf2read.c: Include "splay-tree.h".
(struct dwarf2_cu): Add splay tree for partial DIEs.
(struct partial_die_info): Move after struct attribute.
Add has_specification, spec_attr, die_parent, die_child,
and die_sibling fields.
(load_partial_dies): New function.
(load_partial_die): New function, broken out from read_partial_die.
Correct setting of part_die->offset. Save any specification
attributes for later.
(read_partial_die): Look up DIEs in the splay tree.
(dwarf2_build_psymtabs_hard): Initialize partial_dies. Call
load_partial_die to read in the compilation unit DIE. Call
load_partial_dies. Free the splay tree after use.
(scan_partial_symbols): Follow the die_sibling chain.
(add_partial_structure): Use die_child and die_sibling instead of
read_partial_die and locate_pdi_sibling.
(add_partial_enumeration): Likewise.
(locate_pdi_sibling): Use load_partial_die instead of
read_partial_die.
(is_type_tag): New function.
* Makefile.in (dwarf2read.o): Update dependencies.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.intercu.diff?cvsroot=src&only_with_tag=drow_intercu-20040221-branch&r1=NONE&r2=1.1.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/Makefile.in.diff?cvsroot=src&only_with_tag=drow_intercu-20040221-branch&r1=1.512&r2=1.512.2.1
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&r2=1.135.2.1