public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: Remove local patch gdb-6.5-section-num-fixup-test.patch.
@ 2026-06-28 0:01 Kevin Buettner
0 siblings, 0 replies; only message in thread
From: Kevin Buettner @ 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 : d4e837ae23f4623459836fec6503ef710ca345f9
Author : Kevin Buettner <kevinb@redhat.com>
Date : 2024-09-11T14:37:15-07:00
Stats : +21/-149 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/gdb/c/d4e837ae23f4623459836fec6503ef710ca345f9?branch=gdb-17.2-rebase-f44
Log:
Remove local patch gdb-6.5-section-num-fixup-test.patch.
This patch contained a test case which should be covered by upstream
test gdb.base/ctxobj.exp.
---
diff --git a/_gdb.spec.Patch.include b/_gdb.spec.Patch.include
index 48d2cc2..a7302af 100644
--- a/_gdb.spec.Patch.include
+++ b/_gdb.spec.Patch.include
@@ -40,61 +40,57 @@ Patch009: gdb-6.5-gcore-buffer-limit-test.patch
#=fedoratest: But it is broken anyway, sometimes the case being tested is not reproducible.
Patch010: gdb-6.3-mapping-zero-inode-test.patch
-# Test a crash on libraries missing the .text section.
-#=fedoratest
-Patch011: gdb-6.5-section-num-fixup-test.patch
-
# Fix resolving of variables at locations lists in prelinked libs (BZ 466901).
#=fedoratest
-Patch012: gdb-6.8-bz466901-backtrace-full-prelinked.patch
+Patch011: gdb-6.8-bz466901-backtrace-full-prelinked.patch
# New test for step-resume breakpoint placed in multiple threads at once.
#=fedoratest
-Patch013: gdb-simultaneous-step-resume-breakpoint-test.patch
+Patch012: gdb-simultaneous-step-resume-breakpoint-test.patch
# Fix follow-exec for C++ programs (bugreported by Martin Stransky).
#=fedoratest
-Patch014: gdb-archer-next-over-throw-cxx-exec.patch
+Patch013: gdb-archer-next-over-throw-cxx-exec.patch
# [delayed-symfile] Test a backtrace regression on CFIs without DIE (BZ 614604).
#=fedoratest
-Patch015: gdb-test-bt-cfi-without-die.patch
+Patch014: gdb-test-bt-cfi-without-die.patch
# [archer-tromey-delayed-symfile] New test gdb.dwarf2/dw2-aranges.exp.
#=fedoratest
-Patch016: gdb-test-dw2-aranges.patch
+Patch015: gdb-test-dw2-aranges.patch
# Testcase for `Setting solib-absolute-prefix breaks vDSO' (BZ 818343).
#=fedoratest
-Patch017: gdb-rhbz-818343-set-solib-absolute-prefix-testcase.patch
+Patch016: gdb-rhbz-818343-set-solib-absolute-prefix-testcase.patch
# Fix 'memory leak in infpy_read_memory()' (RH BZ 1007614)
#=fedoratest
-Patch018: gdb-rhbz1007614-memleak-infpy_read_memory-test.patch
+Patch017: 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
-Patch019: gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
+Patch018: 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
-Patch020: gdb-rhbz1156192-recursive-dlopen-test.patch
+Patch019: gdb-rhbz1156192-recursive-dlopen-test.patch
# Fix '`catch syscall' doesn't work for parent after `fork' is called'
# (Philippe Waroquiers, RH BZ 1149205).
#=fedoratest
-Patch021: gdb-rhbz1149205-catch-syscall-after-fork-test.patch
+Patch020: 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
-Patch022: gdb-rhbz1084404-ppc64-s390x-wrong-prologue-skip-O2-g-3of3.patch
+Patch021: gdb-rhbz1084404-ppc64-s390x-wrong-prologue-skip-O2-g-3of3.patch
# [aarch64] Fix hardware watchpoints (RH BZ 1261564).
#=fedoratest
-Patch023: gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
+Patch022: 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
@@ -108,15 +104,15 @@ Patch023: gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
# https://fedoraproject.org/wiki/Changes/Minimal_GDB_in_buildroot
#
#=fedora
-Patch024: gdb-add-index.patch
+Patch023: gdb-add-index.patch
# Backport upstream commit 7db795bc67a.
-Patch025: gdb-remove-use-of-py-isascii
+Patch024: 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.
-Patch026: gdb-add-rpm-suggestion-script.patch
+Patch025: gdb-add-rpm-suggestion-script.patch
-Patch027: gdb-catchpoint-re-set.patch
+Patch026: gdb-catchpoint-re-set.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 73b863b..3ce220c 100644
--- a/_patch_order
+++ b/_patch_order
@@ -8,7 +8,6 @@ gdb-6.6-buildid-locate.patch
gdb-6.6-buildid-locate-solib-missing-ids.patch
gdb-6.5-gcore-buffer-limit-test.patch
gdb-6.3-mapping-zero-inode-test.patch
-gdb-6.5-section-num-fixup-test.patch
gdb-6.8-bz466901-backtrace-full-prelinked.patch
gdb-simultaneous-step-resume-breakpoint-test.patch
gdb-archer-next-over-throw-cxx-exec.patch
diff --git a/gdb-6.5-section-num-fixup-test.patch b/gdb-6.5-section-num-fixup-test.patch
deleted file mode 100644
index 2fa3995..0000000
--- a/gdb-6.5-section-num-fixup-test.patch
+++ /dev/null
@@ -1,127 +0,0 @@
-From FEDORA_PATCHES Mon Sep 17 00:00:00 2001
-From: Fedora GDB patches <invalid@email.com>
-Date: Fri, 27 Oct 2017 21:07:50 +0200
-Subject: gdb-6.5-section-num-fixup-test.patch
-
-;; Test a crash on libraries missing the .text section.
-;;=fedoratest
-
-diff --git a/gdb/testsuite/gdb.base/datalib-lib.c b/gdb/testsuite/gdb.base/datalib-lib.c
-new file mode 100644
---- /dev/null
-+++ b/gdb/testsuite/gdb.base/datalib-lib.c
-@@ -0,0 +1,22 @@
-+/* This testcase is part of GDB, the GNU debugger.
-+
-+ Copyright 2008 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 */
-+
-+int var;
-diff --git a/gdb/testsuite/gdb.base/datalib-main.c b/gdb/testsuite/gdb.base/datalib-main.c
-new file mode 100644
---- /dev/null
-+++ b/gdb/testsuite/gdb.base/datalib-main.c
-@@ -0,0 +1,26 @@
-+/* This testcase is part of GDB, the GNU debugger.
-+
-+ Copyright 2008 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 */
-+
-+int
-+main (void)
-+{
-+ return 0;
-+}
-diff --git a/gdb/testsuite/gdb.base/datalib.exp b/gdb/testsuite/gdb.base/datalib.exp
-new file mode 100644
---- /dev/null
-+++ b/gdb/testsuite/gdb.base/datalib.exp
-@@ -0,0 +1,56 @@
-+# Copyright 2008 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.
-+
-+if {[use_gdb_stub]} {
-+ untested "skipping test because of use_gdb_stub"
-+ return -1
-+}
-+
-+set testfile datalib
-+set srcfilemain ${testfile}-main.c
-+set srcfilelib ${testfile}-lib.c
-+set libfile [standard_output_file ${testfile}-lib.so]
-+set binfile [standard_output_file ${testfile}-main]
-+if { [gdb_compile "${srcdir}/${subdir}/${srcfilelib}" "${libfile}" executable [list debug {additional_flags=-shared -nostdlib}]] != "" } {
-+ untested "Couldn't compile test program"
-+ return -1
-+}
-+if { [gdb_compile "${srcdir}/${subdir}/${srcfilemain}" "${binfile} ${libfile}" executable {debug}] != "" } {
-+ untested "Couldn't compile test program"
-+ return -1
-+}
-+
-+# Get things started.
-+
-+gdb_exit
-+gdb_start
-+gdb_reinitialize_dir $srcdir/$subdir
-+gdb_load ${binfile}
-+
-+# We must use a separate library as the main executable is compiled to the
-+# address 0 by default and it would get fixed up already at the end of
-+# INIT_OBJFILE_SECT_INDICES. We also cannot PRELINK it as PRELINK is missing
-+# on ia64. The library must be NOSTDLIB as otherwise some stub code would
-+# create the `.text' section there. Also DEBUG option is useful as some of
-+# the crashes occur in dwarf2read.c.
-+
-+# FAIL case:
-+# ../../gdb/ia64-tdep.c:2838: internal-error: sect_index_text not initialized
-+# A problem internal to GDB has been detected,
-+
-+gdb_test "start" \
-+ "main \\(\\) at .*${srcfilemain}.*" \
-+ "start"
diff --git a/gdb.spec b/gdb.spec
index ac660b4..5847f41 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -926,6 +926,11 @@ fi
# endif scl
%changelog
+* Wed Sep 11 2024 Kevin Buettner <kevinb@redhat.com>
+- Remove local patch gdb-6.5-section-num-fixup-test.patch. This
+ patch contained a test case which should be covered by upstream
+ test gdb.base/ctxobj.exp.
+
* Mon Sep 9 2024 Andrew Burgess <aburgess@redhat.com>
- Backport upstream commit a92e943014f to fix rhbz2304296.
^ 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 local patch gdb-6.5-section-num-fixup-test.patch Kevin Buettner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox