]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
* dwarf2read.c (struct dwarf2_cu): Add read_in_chain and per_cu.
authorDaniel Jacobowitz <drow@false.org>
Sun, 22 Feb 2004 19:11:56 +0000 (19:11 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sun, 22 Feb 2004 19:11:56 +0000 (19:11 +0000)
commit8df1ec34b7ffea86855ee9fe8ab8b96635c48b79
treedbdba742116bcf536e00ce8d8bfa552d528301e3
parentcbffbf20b3ae39f0db088184b29a51b5a71f84fc
* dwarf2read.c (struct dwarf2_cu): Add read_in_chain and per_cu.
(dwarf2_cu_tree): New variable.
(struct dwarf2_per_cu_data): New type.
(struct partial_die_info): Remove abbrev.  Make tag a bitfield.  Add
full_name_set.
(load_partial_dies): Take a flag indicating whether we are building
a psymtab.
(find_partial_die_in_comp_unit): Rename frome find_partial_die.
(find_partial_die): New function to support inter-CU references.
Return the CU of the found DIE.
(splay_tree_obstack_allocate): Remove #if 0.
(partial_read_comp_unit_head): New function, broken out from
dwarf2_build_psymtabs_hard.
(dwarf2_build_psymtabs_hard): Remove unused variable abbrev_ptr.
Add the current CU to the splay tree if the tree already exists.
Update call to load_partial_dies.
(partial_die_full_name): Rewrite to support inter-CU references.
(add_partial_symbol): Check and set pdi->full_name_set.
(fixup_partial_die): Support inter-CU references.
(dwarf2_find_containing_comp_unit, clear_per_cu_pointer)
(load_comp_unit, create_comp_unit_tree, _initialize_dwarf2_read): New
functions.
gdb/ChangeLog.intercu
gdb/dwarf2read.c