Fix "missing debuginfo" messages
Resolves: RHBZ 1887025
This commit is contained in:
parent
6aff62077b
commit
3ab415fc4a
@ -857,13 +857,13 @@ diff --git a/gdb/elfread.c b/gdb/elfread.c
|
||||
+ has_dwarf2 = true;
|
||||
+ }
|
||||
+ }
|
||||
+ /* Check if any separate debug info has been extracted out. */
|
||||
+ else if (bfd_get_section_by_name (objfile->obfd, ".gnu_debuglink")
|
||||
+ != NULL)
|
||||
+ debug_print_missing (objfile_name (objfile), build_id_filename.get ());
|
||||
+ else
|
||||
+ has_dwarf2 = false;
|
||||
+ }
|
||||
+ /* Check if any separate debug info has been extracted out. */
|
||||
+ else if (bfd_get_section_by_name (objfile->obfd, ".gnu_debuglink")
|
||||
+ != NULL)
|
||||
+ debug_print_missing (objfile_name (objfile), build_id_filename.get ());
|
||||
+ else
|
||||
+ has_dwarf2 = false;
|
||||
+ }
|
||||
}
|
||||
|
||||
|
5
gdb.spec
5
gdb.spec
@ -37,7 +37,7 @@ Version: 9.2
|
||||
|
||||
# The release always contains a leading reserved number, start it at 1.
|
||||
# `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
|
||||
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and LGPLv3+ and BSD and Public Domain and GFDL
|
||||
# Do not provide URL for snapshots as the file lasts there only for 2 days.
|
||||
@ -1189,6 +1189,9 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Nov 2 2020 Keith Seitz <keiths@redhat.com> - 9.2-7
|
||||
- Fix missing debuginfo messages. (RH BZ 1887025)
|
||||
|
||||
* Mon Aug 10 2020 Keith Seitz <keiths@redhat.com>
|
||||
- Disable LTO until upstream sorts out ODR problems.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user