diff options
author | Nick Clifton <nickc@redhat.com> | 2013-05-29 14:58:35 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-05-29 14:58:35 +0000 |
commit | 95e34fb4f43f5cc57c48d4799c5c59d7dcf6c2a2 (patch) | |
tree | e7b5e06c3d8cdef52646bda770679b629d6aac5d /bfd/bfd-in2.h | |
parent | 28439a30acd9aaafe5d7dc75573b3629533cb873 (diff) | |
download | gdb-95e34fb4f43f5cc57c48d4799c5c59d7dcf6c2a2.zip gdb-95e34fb4f43f5cc57c48d4799c5c59d7dcf6c2a2.tar.gz gdb-95e34fb4f43f5cc57c48d4799c5c59d7dcf6c2a2.tar.bz2 |
* dwarf2.c (struct dwarf2_debug): Add fields for handling
alternate debug info source.
(dwarf_debug_sections): Add entries for alternate .debug_str and
.debug_info sections.
(dwarf_debug_section_enum): Likewise.
(read_alt_indirect_string): New function. Handles a
DW_FORM_GNU_strp_alt attribute.
(read_alt_indirect_ref): New function. Handles a
DW_FORM_GNU_ref_alt attribute.
(read_attribute_value): Process DW_FORM_GNU_ref_alt and
DW_FORM_GNU_strp_alt.
(find_abstract_instance_name): Handle DW_FORM_GNU_ref_alt
attributes.
(_bfd_dwarf2_cleanup_debug_info): Free alternate debug info
sources.
* opncls.c (GNU_DEBUGALTLINK): Define.
(bfd_get_alt_debug_link_info): New function.
(separate_alt_debug_file_exists): New function.
(find_separate_debug_file): Add parameters for fetch and check
functions.
(bfd_follow_gnu_debugaltlink): New function.
* bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r-- | bfd/bfd-in2.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index a6299a5..efc1a55 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -1051,8 +1051,12 @@ unsigned long bfd_calc_gnu_debuglink_crc32 char *bfd_get_debug_link_info (bfd *abfd, unsigned long *crc32_out); +char *bfd_get_alt_debug_link_info (bfd *abfd, unsigned long *crc32_out); + char *bfd_follow_gnu_debuglink (bfd *abfd, const char *dir); +char *bfd_follow_gnu_debugaltlink (bfd *abfd, const char *dir); + struct bfd_section *bfd_create_gnu_debuglink_section (bfd *abfd, const char *filename); |