public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: Fix "missing debuginfo" messages
@ 2026-06-28  0:00 Keith Seitz
  0 siblings, 0 replies; only message in thread
From: Keith Seitz @ 2026-06-28  0:00 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/gdb
            Branch : gdb-17.2-rebase-f44
            Commit : 3ab415fc4a2450063a1607b8302231252c621bca
            Author : Keith Seitz <keiths@redhat.com>
            Date   : 2020-11-02T11:05:13-08:00
            Stats  : +10/-7 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/gdb/c/3ab415fc4a2450063a1607b8302231252c621bca?branch=gdb-17.2-rebase-f44

            Log:
            Fix "missing debuginfo" messages

Resolves: RHBZ 1887025

---
diff --git a/gdb-rhbz1838777-debuginfod.patch b/gdb-rhbz1838777-debuginfod.patch
index c748322..6c91851 100644
--- a/gdb-rhbz1838777-debuginfod.patch
+++ b/gdb-rhbz1838777-debuginfod.patch
@@ -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;
 +	}
      }
  

diff --git a/gdb.spec b/gdb.spec
index be61f19..dfd9b74 100644
--- a/gdb.spec
+++ b/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.
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-28  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-28  0:00 [rpms/gdb] gdb-17.2-rebase-f44: Fix "missing debuginfo" messages Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox