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: Performance fix of gcore to use --readnever (for RH BZ 1493675).
Date: Sat, 27 Jun 2026 23:58:21 GMT	[thread overview]
Message-ID: <178260470192.1.10578212402144723055.rpms-gdb-5210cb945ed6@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : 5210cb945ed60cfdd5a968cf94b5f852ba6eede7
Author : Jan Kratochvil <jan.kratochvil@redhat.com>
Date   : 2017-09-28T19:56:23+02:00
Stats  : +16/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/5210cb945ed60cfdd5a968cf94b5f852ba6eede7?branch=gdb-17.2-rebase-f44

Log:
Performance fix of gcore to use --readnever (for RH BZ 1493675).

---
diff --git a/gdb-6.3-readnever-20050907.patch b/gdb-6.3-readnever-20050907.patch
index 4ce26c0..ef0d18f 100644
--- a/gdb-6.3-readnever-20050907.patch
+++ b/gdb-6.3-readnever-20050907.patch
@@ -94,3 +94,14 @@ Index: gdb-7.99.90.20170420/gdb/top.h
  
  /* Perform _initialize initialization.  */
  extern void gdb_init (char *);
+--- gdb-8.0.1/gdb/gcore.in-orig	2017-06-04 17:51:26.000000000 +0200
++++ gdb-8.0.1/gdb/gcore.in	2017-09-28 19:46:49.335407827 +0200
+@@ -85,7 +85,7 @@ for pid in $*
+ do
+ 	# `</dev/null' to avoid touching interactive terminal if it is
+ 	# available but not accessible as GDB would get stopped on SIGTTIN.
+-	$binary_path/@GDB_TRANSFORM_NAME@ </dev/null --nx --batch \
++	$binary_path/@GDB_TRANSFORM_NAME@ </dev/null --nx --batch --readnever \
+ 	    -ex "set pagination off" -ex "set height 0" -ex "set width 0" \
+ 	    -ex "attach $pid" -ex "gcore $name.$pid" -ex detach -ex quit
+ 

diff --git a/gdb.spec b/gdb.spec
index ffa1c3b..ddd183b 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -26,7 +26,7 @@ Version: 8.0.1
 
 # 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: 27%{?dist}
+Release: 28%{?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
 Group: Development/Debuggers
@@ -1715,7 +1715,10 @@ then
 fi
 
 %changelog
-* Tue Sep 26 2017 Troy Dawson <tdawson@redhat.com> - 8.0.1-27.fc28
+* Thu Sep 28 2017 Jan Kratochvil <jan.kratochvil@redhat.com> - 8.0.1-28.fc26
+- Performance fix of gcore to use --readnever (for RH BZ 1493675).
+
+* Tue Sep 26 2017 Troy Dawson <tdawson@redhat.com> - 8.0.1-27.fc26
 - Cleanup spec file conditionals
 
 * Tue Sep 12 2017 Jan Kratochvil <jan.kratochvil@redhat.com> - 8.0.1-26.fc26

                 reply	other threads:[~2026-06-27 23:58 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=178260470192.1.10578212402144723055.rpms-gdb-5210cb945ed6@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