public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gdb] gdb-17.2-rebase-f44: Fix "missing debuginfo" messages
Date: Sun, 28 Jun 2026 00:00:04 GMT	[thread overview]
Message-ID: <178260480445.1.10599741873258520227.rpms-gdb-3ab415fc4a24@fedoraproject.org> (raw)

            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.
 

                 reply	other threads:[~2026-06-28  0:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178260480445.1.10599741873258520227.rpms-gdb-3ab415fc4a24@fedoraproject.org \
    --to=keiths@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox