public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: Remove gdb-6.6-bz229517-gcore-without-terminal.patch
@ 2026-06-28 0:01
0 siblings, 0 replies; only message in thread
From: @ 2026-06-28 0:01 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : d8b64d9dae8b6108bf037b4c40772cf8738f4cfe
Author : Alexandra Hájková <ahajkova@redhat.com>
Date : 2024-08-21T17:10:09+02:00
Stats : +23/-217 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/gdb/c/d8b64d9dae8b6108bf037b4c40772cf8738f4cfe?branch=gdb-17.2-rebase-f44
Log:
Remove gdb-6.6-bz229517-gcore-without-terminal.patch
This test was upstreamed.
---
diff --git a/_gdb.spec.Patch.include b/_gdb.spec.Patch.include
index e2d2c4f..5232142 100644
--- a/_gdb.spec.Patch.include
+++ b/_gdb.spec.Patch.include
@@ -10,95 +10,91 @@ Patch002: gdb-6.3-gstack-20050411.patch
#=fedoratest
Patch003: gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
-# Allow running `/usr/bin/gcore' with provided but inaccessible tty (BZ 229517).
-#=fedoratest
-Patch004: gdb-6.6-bz229517-gcore-without-terminal.patch
-
# Avoid too long timeouts on failing cases of "annota1.exp annota3.exp".
#=fedoratest
-Patch005: gdb-6.6-testsuite-timeouts.patch
+Patch004: gdb-6.6-testsuite-timeouts.patch
# Support for stepping over PPC atomic instruction sequences (BZ 237572).
#=fedoratest
-Patch006: gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
+Patch005: gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
# Test leftover zombie process (BZ 243845).
#=fedoratest
-Patch007: gdb-6.5-bz243845-stale-testing-zombie-test.patch
+Patch006: gdb-6.5-bz243845-stale-testing-zombie-test.patch
# New locating of the matching binaries from the pure core file (build-id).
#=push+jan
-Patch008: gdb-6.6-buildid-locate.patch
+Patch007: gdb-6.6-buildid-locate.patch
# Fix loading of core files without build-ids but with build-ids in executables.
# Load strictly build-id-checked core files only if no executable is specified
# (Jan Kratochvil, RH BZ 1339862).
#=push+jan
-Patch009: gdb-6.6-buildid-locate-solib-missing-ids.patch
+Patch008: gdb-6.6-buildid-locate-solib-missing-ids.patch
# Test gcore memory and time requirements for large inferiors.
#=fedoratest
-Patch010: gdb-6.5-gcore-buffer-limit-test.patch
+Patch009: gdb-6.5-gcore-buffer-limit-test.patch
# Test GCORE for shmid 0 shared memory mappings.
#=fedoratest: But it is broken anyway, sometimes the case being tested is not reproducible.
-Patch011: gdb-6.3-mapping-zero-inode-test.patch
+Patch010: gdb-6.3-mapping-zero-inode-test.patch
# Test a crash on libraries missing the .text section.
#=fedoratest
-Patch012: gdb-6.5-section-num-fixup-test.patch
+Patch011: gdb-6.5-section-num-fixup-test.patch
# Fix resolving of variables at locations lists in prelinked libs (BZ 466901).
#=fedoratest
-Patch013: gdb-6.8-bz466901-backtrace-full-prelinked.patch
+Patch012: gdb-6.8-bz466901-backtrace-full-prelinked.patch
# New test for step-resume breakpoint placed in multiple threads at once.
#=fedoratest
-Patch014: gdb-simultaneous-step-resume-breakpoint-test.patch
+Patch013: gdb-simultaneous-step-resume-breakpoint-test.patch
# Fix follow-exec for C++ programs (bugreported by Martin Stransky).
#=fedoratest
-Patch015: gdb-archer-next-over-throw-cxx-exec.patch
+Patch014: gdb-archer-next-over-throw-cxx-exec.patch
# [delayed-symfile] Test a backtrace regression on CFIs without DIE (BZ 614604).
#=fedoratest
-Patch016: gdb-test-bt-cfi-without-die.patch
+Patch015: gdb-test-bt-cfi-without-die.patch
# [archer-tromey-delayed-symfile] New test gdb.dwarf2/dw2-aranges.exp.
#=fedoratest
-Patch017: gdb-test-dw2-aranges.patch
+Patch016: gdb-test-dw2-aranges.patch
# Testcase for `Setting solib-absolute-prefix breaks vDSO' (BZ 818343).
#=fedoratest
-Patch018: gdb-rhbz-818343-set-solib-absolute-prefix-testcase.patch
+Patch017: gdb-rhbz-818343-set-solib-absolute-prefix-testcase.patch
# Fix 'memory leak in infpy_read_memory()' (RH BZ 1007614)
#=fedoratest
-Patch019: gdb-rhbz1007614-memleak-infpy_read_memory-test.patch
+Patch018: gdb-rhbz1007614-memleak-infpy_read_memory-test.patch
# Fix 'gdb gives highly misleading error when debuginfo pkg is present,
# but not corresponding binary pkg' (RH BZ 981154).
#=push+jan
-Patch020: gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
+Patch019: gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
# Testcase for '[SAP] Recursive dlopen causes SAP HANA installer to
# crash.' (RH BZ 1156192).
#=fedoratest
-Patch021: gdb-rhbz1156192-recursive-dlopen-test.patch
+Patch020: gdb-rhbz1156192-recursive-dlopen-test.patch
# Fix '`catch syscall' doesn't work for parent after `fork' is called'
# (Philippe Waroquiers, RH BZ 1149205).
#=fedoratest
-Patch022: gdb-rhbz1149205-catch-syscall-after-fork-test.patch
+Patch021: gdb-rhbz1149205-catch-syscall-after-fork-test.patch
# Fix '[ppc64] and [s390x] wrong prologue skip on -O2 -g code' (Jan
# Kratochvil, RH BZ 1084404).
#=fedoratest
-Patch023: gdb-rhbz1084404-ppc64-s390x-wrong-prologue-skip-O2-g-3of3.patch
+Patch022: gdb-rhbz1084404-ppc64-s390x-wrong-prologue-skip-O2-g-3of3.patch
# [aarch64] Fix hardware watchpoints (RH BZ 1261564).
#=fedoratest
-Patch024: gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
+Patch023: gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
# Update gdb-add-index.sh such that, when the GDB environment
# variable is not set, the script is smarter than just looking for
@@ -112,12 +108,12 @@ Patch024: gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
# https://fedoraproject.org/wiki/Changes/Minimal_GDB_in_buildroot
#
#=fedora
-Patch025: gdb-add-index.patch
+Patch024: gdb-add-index.patch
# Backport upstream commit 7db795bc67a.
-Patch026: gdb-remove-use-of-py-isascii
+Patch025: gdb-remove-use-of-py-isascii
# Not a backport. Add a new script which hooks into GDB and suggests
# RPMs to install when GDB finds an objfile with no debug info.
-Patch027: gdb-add-rpm-suggestion-script.patch
+Patch026: gdb-add-rpm-suggestion-script.patch
diff --git a/_gdb.spec.patch.include b/_gdb.spec.patch.include
index efd00da..5d59f3c 100644
--- a/_gdb.spec.patch.include
+++ b/_gdb.spec.patch.include
@@ -24,4 +24,3 @@
%patch -p1 -P024
%patch -p1 -P025
%patch -p1 -P026
-%patch -p1 -P027
diff --git a/_patch_order b/_patch_order
index 8e918b6..bd2d03c 100644
--- a/_patch_order
+++ b/_patch_order
@@ -1,7 +1,6 @@
gdb-6.3-rh-testversion-20041202.patch
gdb-6.3-gstack-20050411.patch
gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
-gdb-6.6-bz229517-gcore-without-terminal.patch
gdb-6.6-testsuite-timeouts.patch
gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
gdb-6.5-bz243845-stale-testing-zombie-test.patch
diff --git a/gdb-6.6-bz229517-gcore-without-terminal.patch b/gdb-6.6-bz229517-gcore-without-terminal.patch
deleted file mode 100644
index 2c127cc..0000000
--- a/gdb-6.6-bz229517-gcore-without-terminal.patch
+++ /dev/null
@@ -1,188 +0,0 @@
-From FEDORA_PATCHES Mon Sep 17 00:00:00 2001
-From: Jan Kratochvil <jan.kratochvil@redhat.com>
-Date: Fri, 27 Oct 2017 21:07:50 +0200
-Subject: gdb-6.6-bz229517-gcore-without-terminal.patch
-
-;; Allow running `/usr/bin/gcore' with provided but inaccessible tty (BZ 229517).
-;;=fedoratest
-
-2007-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- * gdb_gcore.sh: Redirect GDB from `</dev/null'.
-
-2007-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
-
- * gdb.base/gcorebg.exp, gdb.base/gcorebg.c: New files.
-
-diff --git a/gdb/testsuite/gdb.base/gcorebg.c b/gdb/testsuite/gdb.base/gcorebg.c
-new file mode 100644
---- /dev/null
-+++ b/gdb/testsuite/gdb.base/gcorebg.c
-@@ -0,0 +1,49 @@
-+#include <stdio.h>
-+#include <sys/types.h>
-+#include <unistd.h>
-+#include <stdlib.h>
-+#include <signal.h>
-+#include <string.h>
-+#include <assert.h>
-+
-+int main (int argc, char **argv)
-+{
-+ pid_t pid = 0;
-+ pid_t ppid;
-+ char buf[1024*2 + 500];
-+ int gotint;
-+
-+ if (argc != 4)
-+ {
-+ fprintf (stderr, "Syntax: %s {standard|detached} <gcore command> <core output file>\n",
-+ argv[0]);
-+ exit (1);
-+ }
-+
-+ pid = fork ();
-+
-+ switch (pid)
-+ {
-+ case 0:
-+ if (strcmp (argv[1], "detached") == 0)
-+ setpgrp ();
-+ ppid = getppid ();
-+ gotint = snprintf (buf, sizeof (buf), "sh %s -o %s %d", argv[2], argv[3], (int) ppid);
-+ assert (gotint < sizeof (buf));
-+ system (buf);
-+ fprintf (stderr, "Killing parent PID %d\n", ppid);
-+ kill (ppid, SIGTERM);
-+ break;
-+
-+ case -1:
-+ perror ("fork err\n");
-+ exit (1);
-+ break;
-+
-+ default:
-+ fprintf (stderr,"Sleeping as PID %d\n", getpid ());
-+ sleep (60);
-+ }
-+
-+ return 0;
-+}
-diff --git a/gdb/testsuite/gdb.base/gcorebg.exp b/gdb/testsuite/gdb.base/gcorebg.exp
-new file mode 100644
---- /dev/null
-+++ b/gdb/testsuite/gdb.base/gcorebg.exp
-@@ -0,0 +1,113 @@
-+# Copyright 2007 Free Software Foundation, Inc.
-+
-+# This program is free software; you can redistribute it and/or modify
-+# it under the terms of the GNU General Public License as published by
-+# the Free Software Foundation; either version 2 of the License, or
-+# (at your option) any later version.
-+#
-+# This program is distributed in the hope that it will be useful,
-+# but WITHOUT ANY WARRANTY; without even the implied warranty of
-+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-+# GNU General Public License for more details.
-+#
-+# You should have received a copy of the GNU General Public License
-+# along with this program; if not, write to the Free Software
-+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-+
-+# Please email any bugs, comments, and/or additions to this file to:
-+# bug-gdb@prep.ai.mit.edu
-+
-+# This file was written by Jan Kratochvil <jan.kratochvil@redhat.com>.
-+# This is a test for `gdb_gcore.sh' functionality.
-+# It also tests a regression with `gdb_gcore.sh' being run without its
-+# accessible terminal.
-+
-+if ![info exists GCORE] {
-+ set GCORE "[standard_output_file ../../../../gcore]"
-+}
-+verbose "using GCORE = $GCORE" 2
-+
-+set testfile "gcorebg"
-+set srcfile ${testfile}.c
-+set binfile [standard_output_file ${testfile}]
-+set corefile [standard_output_file ${testfile}.test]
-+
-+if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
-+ untested gcorebg.exp
-+ return -1
-+}
-+
-+# Cleanup.
-+
-+proc core_clean {} {
-+ global corefile
-+
-+ foreach file [glob -nocomplain [join [list $corefile *] ""]] {
-+ verbose "Delete file $file" 1
-+ remote_file target delete $file
-+ }
-+}
-+core_clean
-+remote_file target delete "./gdb"
-+
-+# Generate the core file.
-+
-+# Provide `./gdb' for `gdb_gcore.sh' running it as a bare `gdb' command.
-+# Setup also `$PATH' appropriately.
-+# If GDB was not found let `gdb_gcore.sh' to find the system GDB by `$PATH'.
-+if {$GDB != "gdb"} {
-+ file link ./gdb $GDB
-+}
-+global env
-+set oldpath $env(PATH)
-+set env(PATH) [join [list . $env(PATH)] ":"]
-+verbose "PATH = $env(PATH)" 2
-+
-+# Test file body.
-+# $detached == "standard" || $detached == "detached"
-+
-+proc test_body { detached } {
-+ global binfile
-+ global GCORE
-+ global corefile
-+
-+ set res [remote_spawn target "$binfile $detached $GCORE $corefile"]
-+ if { $res < 0 || $res == "" } {
-+ fail "Spawning $detached gcore"
-+ return 1
-+ }
-+ pass "Spawning $detached gcore"
-+ remote_expect target 20 {
-+ timeout {
-+ fail "Spawned $detached gcore finished (timeout)"
-+ remote_exec target "kill -9 -[exp_pid -i $res]"
-+ return 1
-+ }
-+ "Saved corefile .*\r\nKilling parent PID " {
-+ pass "Spawned $detached gcore finished"
-+ remote_wait target 20
-+ }
-+ }
-+
-+ if {1 == [llength [glob -nocomplain [join [list $corefile *] ""]]]} {
-+ pass "Core file generated by $detached gcore"
-+ } else {
-+ fail "Core file generated by $detached gcore"
-+ }
-+ core_clean
-+}
-+
-+# First a general `gdb_gcore.sh' spawn with its controlling terminal available.
-+
-+test_body standard
-+
-+# And now `gdb_gcore.sh' spawn without its controlling terminal available.
-+# It is spawned through `gcorebg.c' using setpgrp ().
-+
-+test_body detached
-+
-+
-+# Cleanup.
-+
-+set env(PATH) $oldpath
-+remote_file target delete "./gdb"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-28 0:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-28 0:01 [rpms/gdb] gdb-17.2-rebase-f44: Remove gdb-6.6-bz229517-gcore-without-terminal.patch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox