Code reorg in preparation for adding comdat types support.
authorDoug Evans <dje@google.com>
Wed, 15 Jul 2009 22:17:10 +0000 (22:17 +0000)
committerDoug Evans <dje@google.com>
Wed, 15 Jul 2009 22:17:10 +0000 (22:17 +0000)
commit933113889e4bae350b4b8c5d9c2165d982a09748
tree974bab9d442112317ab00720007c2e7b96b50f36
parent529707530657a333a304c651c808ea630c955223
Code reorg in preparation for adding comdat types support.
* dwarf2read.c (struct die_reader_specs): New struct.
(locate_pdi_sibling): New arg buffer.  All callers updated.
(load_partial_dies, read_partial_die): Ditto.
(read_8_bytes): Change return type to ULONGEST.
(read_comp_unit): Delete arg abfd.  All callers updated.
(read_die_and_children_1): Delete args abfd, cu.  New arg reader.
All callers updated.
(read_die_and_children, read_die_and_siblings): Ditto.
(read_full_die): Ditto.  Move closer to callers.
(skip_one_die): New arg buffer.  All callers updated.
(load_full_comp_unit): Change return type to void.  All callers
updated.
(partial_read_comp_unit_head): New args buffer, buffer_size.
All callers updated.
(process_psymtab_comp_unit): New function, split out from
dwarf2_build_psymtabs_hard.
(dwarf2_build_psymtabs_hard): Call it.
(load_partial_comp_unit): Renamed from load_comp_unit.
All callers updated.
(skip_children): New arg buffer.  All callers updated.
(init_cu_die_reader): New function.
(is_ref_attr): New function.
(dwarf2_get_ref_die_offset): Call it.
(alloc_one_comp_unit): New function.
gdb/ChangeLog
gdb/dwarf2read.c
This page took 0.035154 seconds and 4 git commands to generate.