diff options
author | Nick Clifton <nickc@redhat.com> | 2021-12-16 14:05:40 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-12-16 14:05:40 +0000 |
commit | 61ab1364c7efa3934e0ca62af444e6e6e34f219e (patch) | |
tree | 19c55de789643442ba201ef5772b9bce33097a4e /binutils/dwarf.h | |
parent | a2b1ea81bacc044a721092484c7cdcb600bcf9ce (diff) | |
download | binutils-61ab1364c7efa3934e0ca62af444e6e6e34f219e.zip binutils-61ab1364c7efa3934e0ca62af444e6e6e34f219e.tar.gz binutils-61ab1364c7efa3934e0ca62af444e6e6e34f219e.tar.bz2 |
When loading separate debug info files, also attempt to locate a file based upon the build-id.
PR 28697
* dwarf.c (load_build_id_debug_file): New function.
(try_build_id_prefix): New function.
(check_for_and_load_links): Call load_build_id_debug_file.
(debug_displays): Add entry for .note.gnu.build-id.
* dwarf.h (enum dwarf_section_display_enum): Add
note_gnu_build_id.
* testsuite/binutils-all/debuginfod.exp (test_fetch_debuglink):
Fix regexp for loads via debuglink section.
Diffstat (limited to 'binutils/dwarf.h')
-rw-r--r-- | binutils/dwarf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/binutils/dwarf.h b/binutils/dwarf.h index dd4f4c8..1463d20 100644 --- a/binutils/dwarf.h +++ b/binutils/dwarf.h @@ -122,6 +122,7 @@ enum dwarf_section_display_enum gnu_debugaltlink, debug_sup, separate_debug_str, + note_gnu_build_id, max }; |