diff options
author | Doug Evans <dje@google.com> | 2009-07-15 22:17:10 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2009-07-15 22:17:10 +0000 |
commit | 933113889e4bae350b4b8c5d9c2165d982a09748 (patch) | |
tree | 974bab9d442112317ab00720007c2e7b96b50f36 /bfd/version.h | |
parent | 529707530657a333a304c651c808ea630c955223 (diff) | |
download | gdb-933113889e4bae350b4b8c5d9c2165d982a09748.zip gdb-933113889e4bae350b4b8c5d9c2165d982a09748.tar.gz gdb-933113889e4bae350b4b8c5d9c2165d982a09748.tar.bz2 |
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.
Diffstat (limited to 'bfd/version.h')
0 files changed, 0 insertions, 0 deletions