diff --git a/gdb-6.6-buildid-locate.patch b/gdb-6.6-buildid-locate.patch index 6229244..5af4e3a 100644 --- a/gdb-6.6-buildid-locate.patch +++ b/gdb-6.6-buildid-locate.patch @@ -700,7 +700,7 @@ diff --git a/gdb/build-id.c b/gdb/build-id.c link = gdb_sysroot + link; - debug_bfd = build_id_to_debug_bfd_1 (link, build_id_len, build_id); + debug_bfd = build_id_to_debug_bfd_1 (link, build_id_len, build_id, -+ link_return); ++ NULL); if (debug_bfd != NULL) return debug_bfd; } diff --git a/gdb.spec b/gdb.spec index 815e486..80610de 100644 --- a/gdb.spec +++ b/gdb.spec @@ -37,7 +37,7 @@ Version: 12.1 # 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: 1%{?dist} +Release: 2%{?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. @@ -1146,6 +1146,9 @@ fi %endif %changelog +* Wed Oct 5 2022 Alexandra Hájková - 12.1-2 +- Update gdb-6.6-buildid-locate.patch to fix RHBZ 2122947. + * Fri May 6 2022 Kevin Buettner - 12.1-1 - Rebase to FSF GDB 12.1. - Update gdb-6.6-buildid-locate.patch.