public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gdb] gdb-17.2-rebase-f44: Enable libipt (Intel Processor Trace Decoder Library).
Date: Sat, 27 Jun 2026 23:57:12 GMT	[thread overview]
Message-ID: <178260463203.1.12583416337506295588.rpms-gdb-569c63c04ca2@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : 569c63c04ca2e6a88e5d7494ca2b407127b419d4
Author : Jan Kratochvil <jan.kratochvil@redhat.com>
Date   : 2015-09-03T20:23:17+02:00
Stats  : +16/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/569c63c04ca2e6a88e5d7494ca2b407127b419d4?branch=gdb-17.2-rebase-f44

Log:
Enable libipt (Intel Processor Trace Decoder Library).

---
diff --git a/gdb.spec b/gdb.spec
index f419374..2bef864 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -26,7 +26,7 @@ Version: 7.10
 
 # 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: 17%{?dist}
+Release: 18%{?dist}
 
 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and BSD and Public Domain and GFDL
 Group: Development/Debuggers
@@ -580,6 +580,13 @@ BuildRequires: /usr/bin/pod2man
 BuildRequires: libbabeltrace-devel%{?_isa}
 BuildRequires: guile-devel%{?_isa}
 %endif
+%global have_libipt 0
+%if 0%{!?rhel:1} || 0%{?rhel} > 7
+%ifarch %{ix86} x86_64
+%global have_libipt 1
+BuildRequires: libipt-devel%{?_isa}
+%endif
+%endif
 
 %if 0%{?_with_testsuite:1}
 
@@ -958,6 +965,11 @@ $(: ppc64 host build crashes on ppc variant of libexpat.so )	\
 	--disable-inprocess-agent				\
 %endif
 	--with-system-zlib					\
+%if %{have_libipt}
+	--with-intel-pt						\
+%else
+	--without-intel-pt					\
+%endif
 	      --with-auto-load-dir='$debugdir:$datadir/auto-load%{?scl::%{_root_datadir}/gdb/auto-load}'	\
 	--with-auto-load-safe-path='$debugdir:$datadir/auto-load%{?scl::%{_root_datadir}/gdb/auto-load}'	\
 %ifarch sparc sparcv9
@@ -1332,6 +1344,9 @@ then
 fi
 
 %changelog
+* Thu Sep  3 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10-18.fc23
+- Enable libipt (Intel Processor Trace Decoder Library).
+
 * Wed Sep  2 2015 Sergio Durigan Junior <sergiodj@redhat.com> - 7.10-17.fc23
 - Fix 'Make the probes-based dynamic linker interface more robust to
   errors' (Sergio Durigan Junior, RH BZ 1259132).

                 reply	other threads:[~2026-06-27 23:57 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=178260463203.1.12583416337506295588.rpms-gdb-569c63c04ca2@fedoraproject.org \
    --to=jan.kratochvil@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