public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Kratochvil <jkratoch@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/gdb] gdb-17.2-rebase-f44: - Fix /usr/bin/gdb-add-index $d -> $dir typo.
Date: Sat, 27 Jun 2026 23:54:43 GMT	[thread overview]
Message-ID: <178260448366.1.3280696943633144272.rpms-gdb-44969d3e6c19@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : 44969d3e6c19a3619bbed59ab4bf581c97a08e2b
Author : Jan Kratochvil <jkratoch@fedoraproject.org>
Date   : 2010-07-22T11:28:58+00:00
Stats  : +8/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/44969d3e6c19a3619bbed59ab4bf581c97a08e2b?branch=gdb-17.2-rebase-f44

Log:
- Fix /usr/bin/gdb-add-index $d -> $dir typo.

---
diff --git a/gdb-gdb-add-index-script.patch b/gdb-gdb-add-index-script.patch
index a22e37d..da149ec 100644
--- a/gdb-gdb-add-index-script.patch
+++ b/gdb-gdb-add-index-script.patch
@@ -1,6 +1,9 @@
 http://sourceware.org/ml/gdb-patches/2010-07/msg00184.html
 Subject: Re: [0/4] RFC: add DWARF index support
 
+Jan Kratochvil: Fixed $d -> $dir.
+Jan Kratochvil: Remove /dev/null redirection.
+
 >>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
 
 Tom> This patch series adds support for a DWARF index to gdb.
@@ -106,7 +109,7 @@ index 0000000..c9a03b0
 +dir="${file%/*}"
 +
 +# We don't care if gdb gives an error.
-+gdb --batch-silent -ex "file $file" -ex "save gdb-index $d" > /dev/null 2>&1
++gdb --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 6ccb22f..b3f8799 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -36,7 +36,7 @@ Version: 7.1.90.20100721
 
 # 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: 4%{?_with_upstream:.upstream}%{dist}
+Release: 5%{?_with_upstream:.upstream}%{dist}
 
 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and GFDL and BSD and Public Domain
 Group: Development/Debuggers
@@ -999,6 +999,9 @@ fi
 %endif
 
 %changelog
+* Thu Jul 22 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.1.90.20100721-5.fc14
+- Fix /usr/bin/gdb-add-index $d -> $dir typo.
+
 * Thu Jul 22 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.1.90.20100721-4.fc14
 - Import archer-tromey-python.
 - Import archer-tromey-optional-psymtab (as present in FSF GDB post-7.2).

                 reply	other threads:[~2026-06-27 23:54 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=178260448366.1.3280696943633144272.rpms-gdb-44969d3e6c19@fedoraproject.org \
    --to=jkratoch@fedoraproject.org \
    --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