diff options
author | Doug Evans <dje@google.com> | 2013-10-05 01:44:17 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-10-05 01:44:17 +0000 |
commit | 73869dc273a340bfdc97ae235d943d7008a11213 (patch) | |
tree | 0d6b27641b508002585b512de79efd8e8ddc36b4 /gdb/ChangeLog | |
parent | 5331b8a80cab5b7c823dc9ee6a94a09b575ec73a (diff) | |
download | gdb-73869dc273a340bfdc97ae235d943d7008a11213.zip gdb-73869dc273a340bfdc97ae235d943d7008a11213.tar.gz gdb-73869dc273a340bfdc97ae235d943d7008a11213.tar.bz2 |
Add support for DWP file format version 2.
* NEWS: Mention support for DWP file format version 2.
* dwarf2read.c (dwarf2_section_info): Convert asection field to a
union of asection, containing_section. New fields virtual_offset
and is_virtual. Change type of readin filed from int to char.
(dwo_sections, dwo_file): Tweak comments.
(dwp_v2_section_ids): New enum.
(dwp_sections): New fields abbrev, info, line, loc, macinfo, macro,
str_offsets, types.
(virtual_v1_dwo_sections): Renamed from virtual_dwo_sections.
All uses updated.
(virtual_v2_dwo_sections): New struct.
(dwp_hash_table): New fields version, nr_columns. Change type of
section_pool field to a union.
(dwp_file): New field version.
(dwarf2_has_info): Check for virtual sections.
(get_containing_section): New function.
(get_section_bfd_owner, get_section_bfd_section): Call it.
(dwarf2_locate_sections): Update.
(dwarf2_section_empty_p): Update.
(dwarf2_read_section): Handle virtual sections.
(locate_dwz_sections): Update.
(create_dwp_hash_table): Document and handle V2 format.
(locate_v1_virtual_dwo_sections): Renamed from
locate_virtual_dwo_sections and update. All callers updated.
(create_dwo_unit_in_dwp_v1): Renamed from create_dwo_in_dwp.
Delete arg htab. Rename arg section_index to unit_index.
All callers updated.
(MAX_NR_V1_DWO_SECTIONS): Renamed from MAX_NR_DWO_SECTIONS.
All uses updated.
(create_dwp_v2_section, create_dwo_unit_in_dwp_v2): New functions.
(lookup_dwo_unit_in_dwp): Add V2 support.
(dwarf2_locate_dwo_sections): Update.
(dwarf2_locate_common_dwp_sections): Renamed from
dwarf2_locate_dwp_sections and update. All callers updated.
(dwarf2_locate_v2_dwp_sections): New function.
(open_and_init_dwp_file): Add V2 support.
(read_str_index): New locals str_section, str_offsets_section.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 751f3d9..5a18857 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,44 @@ +2013-10-04 Doug Evans <dje@google.com> + + Add support for DWP file format version 2. + * NEWS: Mention support for DWP file format version 2. + * dwarf2read.c (dwarf2_section_info): Convert asection field to a + union of asection, containing_section. New fields virtual_offset + and is_virtual. Change type of readin filed from int to char. + (dwo_sections, dwo_file): Tweak comments. + (dwp_v2_section_ids): New enum. + (dwp_sections): New fields abbrev, info, line, loc, macinfo, macro, + str_offsets, types. + (virtual_v1_dwo_sections): Renamed from virtual_dwo_sections. + All uses updated. + (virtual_v2_dwo_sections): New struct. + (dwp_hash_table): New fields version, nr_columns. Change type of + section_pool field to a union. + (dwp_file): New field version. + (dwarf2_has_info): Check for virtual sections. + (get_containing_section): New function. + (get_section_bfd_owner, get_section_bfd_section): Call it. + (dwarf2_locate_sections): Update. + (dwarf2_section_empty_p): Update. + (dwarf2_read_section): Handle virtual sections. + (locate_dwz_sections): Update. + (create_dwp_hash_table): Document and handle V2 format. + (locate_v1_virtual_dwo_sections): Renamed from + locate_virtual_dwo_sections and update. All callers updated. + (create_dwo_unit_in_dwp_v1): Renamed from create_dwo_in_dwp. + Delete arg htab. Rename arg section_index to unit_index. + All callers updated. + (MAX_NR_V1_DWO_SECTIONS): Renamed from MAX_NR_DWO_SECTIONS. + All uses updated. + (create_dwp_v2_section, create_dwo_unit_in_dwp_v2): New functions. + (lookup_dwo_unit_in_dwp): Add V2 support. + (dwarf2_locate_dwo_sections): Update. + (dwarf2_locate_common_dwp_sections): Renamed from + dwarf2_locate_dwp_sections and update. All callers updated. + (dwarf2_locate_v2_dwp_sections): New function. + (open_and_init_dwp_file): Add V2 support. + (read_str_index): New locals str_section, str_offsets_section. + 2013-10-04 Pedro Alves <palves@redhat.com> * common/ptid.c (null_ptid, minus_one_ptid, ptid_build) |