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: Fix %{_bindir}gdb-add-index to also use -iex 'set auto-load no'.
Date: Sat, 27 Jun 2026 23:56:24 GMT	[thread overview]
Message-ID: <178260458416.1.7072571597448738898.rpms-gdb-fe74423b0812@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : fe74423b0812bae6d7bb027584e401a2ac37d24d
Author : Jan Kratochvil <jan.kratochvil@redhat.com>
Date   : 2013-11-03T16:10:08+01:00
Stats  : +5/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/fe74423b0812bae6d7bb027584e401a2ac37d24d?branch=gdb-17.2-rebase-f44

Log:
Fix %{_bindir}gdb-add-index to also use -iex 'set auto-load no'.

---
diff --git a/gdb-gdb-add-index-script.patch b/gdb-gdb-add-index-script.patch
index 81c197c..d63077c 100644
--- a/gdb-gdb-add-index-script.patch
+++ b/gdb-gdb-add-index-script.patch
@@ -169,7 +169,7 @@ Index: gdb-7.6.50.20130731-cvs/gdb/gdb-add-index
 +dir="${file%/*}"
 +
 +# We don't care if gdb gives an error.
-+gdb -nx --batch-silent -ex "file $file" -ex "save gdb-index $dir"
++gdb -nx -iex 'set auto-load no' --batch-silent -ex "file $file" -ex "save gdb-index $dir"
 +
 +if test -f "${file}.gdb-index"; then
 +   objcopy --add-section .gdb_index="${file}.gdb-index" --set-section-flags .gdb_index=readonly "$file" "$file"

diff --git a/gdb.spec b/gdb.spec
index b46c835..54ba871 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -38,7 +38,7 @@ Version: 7.6.50.%{snap}
 
 # 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: 13%{?dist}
+Release: 14%{?dist}
 
 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and BSD and Public Domain
 Group: Development/Debuggers
@@ -1340,6 +1340,9 @@ fi
 %endif # 0%{!?el5:1} || "%{_target_cpu}" == "noarch"
 
 %changelog
+* Sun Nov  3 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6.50.20130731-14.fc20
+- Fix %{_bindir}gdb-add-index to also use -iex 'set auto-load no'.
+
 * Wed Oct 30 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6.50.20130731-13.fc20
 - [rhel5] Fix /etc/gdbinit compatibility with python-2.4.
 

                 reply	other threads:[~2026-06-27 23:56 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=178260458416.1.7072571597448738898.rpms-gdb-fe74423b0812@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