public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: - create gdb index on debuginfo generation (#617166)
Date: Mon, 23 Nov 2026 09:26:45 GMT [thread overview]
Message-ID: <179542600553.1.7136596591783478212.rpms-rpm-5e5b68f3e772@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : 5e5b68f3e772eeafd2d5d90efaa73e9680e2c4ec
Author : Panu Matilainen <pmatilai@redhat.com>
Date : 2010-08-10T10:09:03+03:00
Stats : +28/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/5e5b68f3e772eeafd2d5d90efaa73e9680e2c4ec?branch=pmatilai-v6
Log:
- create gdb index on debuginfo generation (#617166)
- rpm-build now requires /usr/bin/gdb-add-index for consistent index creation
---
diff --git a/rpm-4.8.1-find-debuginfo-gdb-index.patch b/rpm-4.8.1-find-debuginfo-gdb-index.patch
new file mode 100644
index 0000000..4ec8985
--- /dev/null
+++ b/rpm-4.8.1-find-debuginfo-gdb-index.patch
@@ -0,0 +1,20 @@
+commit 9570a7f6af152e2f1e63181ad8a20d12a10e3c5b
+Author: Tom Tromey <tromey@redhat.com>
+Date: Mon Aug 9 15:22:51 2010 +0300
+
+ Create GDB index from find-debuginfo if possible (RhBug:617166)
+ - Details in https://fedoraproject.org/wiki/Features/GdbIndex
+
+diff --git a/scripts/find-debuginfo.sh b/scripts/find-debuginfo.sh
+index 01456da..3ada962 100644
+--- a/scripts/find-debuginfo.sh
++++ b/scripts/find-debuginfo.sh
+@@ -207,6 +207,8 @@ while read nlinks inum f; do
+ $strict && exit 2
+ fi
+
++ [ -x /usr/bin/gdb-add-index ] && /usr/bin/gdb-add-index "$f" > /dev/null 2>&1
++
+ # A binary already copied into /usr/lib/debug doesn't get stripped,
+ # just has its file names collected and adjusted.
+ case "$dn" in
diff --git a/rpm.spec b/rpm.spec
index 425fd56..40e9a28 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -21,7 +21,7 @@
Summary: The RPM package management system
Name: rpm
Version: %{rpmver}
-Release: 4%{?dist}
+Release: 5%{?dist}
Group: System Environment/Base
Url: http://www.rpm.org/
Source0: http://rpm.org/releases/rpm-4.8.x/%{name}-%{srcver}.tar.bz2
@@ -46,6 +46,7 @@ Patch201: rpm-4.8.0-python-bytecompile.patch
Patch202: rpm-4.8.0-findlang-localedirs.patch
Patch203: rpm-4.8.1-eat-stdin.patch
Patch204: rpm-4.8.1-getoutput-emsg.patch
+Patch205: rpm-4.8.1-find-debuginfo-gdb-index.patch
# These are not yet upstream
Patch301: rpm-4.6.0-niagara.patch
@@ -146,6 +147,7 @@ Requires: elfutils >= 0.128 binutils
Requires: findutils sed grep gawk diffutils file patch >= 2.5
Requires: unzip gzip bzip2 cpio xz
Requires: pkgconfig >= 1:0.24
+Requires: /usr/bin/gdb-add-index
Conflicts: ocaml-runtime < 3.11.1-7
%description build
@@ -198,6 +200,7 @@ packages on a system.
%patch202 -p1 -b .findlang-localedirs
%patch203 -p1 -b .eat-stdin
%patch204 -p1 -b .getoutput-emsg
+%patch205 -p1 -b .find-debuginfo-gdb-index
%patch301 -p1 -b .niagara
%patch302 -p1 -b .geode
@@ -414,6 +417,10 @@ exit 0
%doc doc/librpm/html/*
%changelog
+* Tue Aug 10 2010 Panu Matilainen <pmatilai@redhat.com> - 4.8.1-5
+- create gdb index on debuginfo generation (#617166)
+- rpm-build now requires /usr/bin/gdb-add-index for consistent index creation
+
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 4.8.1-4
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
reply other threads:[~2026-11-23 9:26 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=179542600553.1.7136596591783478212.rpms-rpm-5e5b68f3e772@fedoraproject.org \
--to=pmatilai@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