public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: remove gdb-archer-next-over-throw-cxx-exec.patch
@ 2026-06-28 0:02 Andrew Burgess
0 siblings, 0 replies; only message in thread
From: Andrew Burgess @ 2026-06-28 0:02 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : 15778f3340f8c6d4f1c0ee10276be99bde9a4563
Author : Andrew Burgess <aburgess@redhat.com>
Date : 2025-06-03T20:02:58+01:00
Stats : +7/-97 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/gdb/c/15778f3340f8c6d4f1c0ee10276be99bde9a4563?branch=gdb-17.2-rebase-f44
Log:
remove gdb-archer-next-over-throw-cxx-exec.patch
Upstream commit:
commit d462550c91cfd5293bcc47610454a381ab5825e3
Date: Mon Jun 2 14:58:51 2025 +0100
gdb/testsuite: also compile foll-exec.exp as C++
extends an existing upstream test (gdb.base/foll-exec.exp) to cover
the same things that this patch covered. We'll pick up the improved
upstream tests the next time Fedora GDB rebases.
---
diff --git a/_gdb.spec.Patch.include b/_gdb.spec.Patch.include
index 185d217..f725bb0 100644
--- a/_gdb.spec.Patch.include
+++ b/_gdb.spec.Patch.include
@@ -1,10 +1,6 @@
# Check distro name is included in the version output.
Patch001: gdb-6.3-rh-testversion-20041202.patch
-# Fix follow-exec for C++ programs (bugreported by Martin Stransky).
-#=fedoratest
-Patch002: gdb-archer-next-over-throw-cxx-exec.patch
-
# Update gdb-add-index.sh such that, when the GDB environment
# variable is not set, the script is smarter than just looking for
# 'gdb' in the $PATH.
@@ -17,12 +13,12 @@ Patch002: gdb-archer-next-over-throw-cxx-exec.patch
# https://fedoraproject.org/wiki/Changes/Minimal_GDB_in_buildroot
#
#=fedora
-Patch003: gdb-add-index.patch
+Patch002: gdb-add-index.patch
# 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.
-Patch004: gdb-add-rpm-suggestion-script.patch
+Patch003: gdb-add-rpm-suggestion-script.patch
# Backport "Fix another timeout in gdb.base/bg-execution-repeat.exp"
-Patch005: gdb-fix-bg-execution-repeat.patch
+Patch004: gdb-fix-bg-execution-repeat.patch
diff --git a/_gdb.spec.patch.include b/_gdb.spec.patch.include
index 56d9d0c..e0f5e4b 100644
--- a/_gdb.spec.patch.include
+++ b/_gdb.spec.patch.include
@@ -2,4 +2,3 @@
%patch -p1 -P002
%patch -p1 -P003
%patch -p1 -P004
-%patch -p1 -P005
diff --git a/_patch_order b/_patch_order
index b9ef845..295d4ae 100644
--- a/_patch_order
+++ b/_patch_order
@@ -1,5 +1,4 @@
gdb-6.3-rh-testversion-20041202.patch
-gdb-archer-next-over-throw-cxx-exec.patch
gdb-add-index.patch
gdb-add-rpm-suggestion-script.patch
gdb-fix-bg-execution-repeat.patch
diff --git a/gdb-archer-next-over-throw-cxx-exec.patch b/gdb-archer-next-over-throw-cxx-exec.patch
deleted file mode 100644
index c5d58b3..0000000
--- a/gdb-archer-next-over-throw-cxx-exec.patch
+++ /dev/null
@@ -1,88 +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-archer-next-over-throw-cxx-exec.patch
-
-;; Fix follow-exec for C++ programs (bugreported by Martin Stransky).
-;;=fedoratest
-
-Archer-upstreamed:
-http://sourceware.org/ml/archer/2010-q2/msg00031.html
-
-diff --git a/gdb/testsuite/gdb.cp/cxxexec.cc b/gdb/testsuite/gdb.cp/cxxexec.cc
-new file mode 100644
---- /dev/null
-+++ b/gdb/testsuite/gdb.cp/cxxexec.cc
-@@ -0,0 +1,25 @@
-+/* This test script is part of GDB, the GNU debugger.
-+
-+ Copyright 2010 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 3 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, see <http://www.gnu.org/licenses/>. */
-+
-+#include <unistd.h>
-+
-+int
-+main()
-+{
-+ execlp ("true", "true", NULL);
-+ return 1;
-+}
-diff --git a/gdb/testsuite/gdb.cp/cxxexec.exp b/gdb/testsuite/gdb.cp/cxxexec.exp
-new file mode 100644
---- /dev/null
-+++ b/gdb/testsuite/gdb.cp/cxxexec.exp
-@@ -0,0 +1,42 @@
-+# Copyright 2010 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 3 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, see <http://www.gnu.org/licenses/>.
-+
-+require allow_cplus_tests
-+
-+set testfile cxxexec
-+if { [prepare_for_testing ${testfile}.exp ${testfile} ${testfile}.cc {c++ debug}] } {
-+ return -1
-+}
-+
-+runto_main
-+
-+# We could stop after `continue' again at `main'.
-+delete_breakpoints
-+
-+set test "p _Unwind_DebugHook"
-+gdb_test_multiple $test $test {
-+ -re " = .* 0x\[0-9a-f\].*\r\n$gdb_prompt $" {
-+ pass $test
-+ }
-+ -re "\r\nNo symbol .*\r\n$gdb_prompt $" {
-+ xfail $test
-+ untested ${testfile}.exp
-+ return -1
-+ }
-+}
-+
-+# Run to end. The buggy GDB failed instead with:
-+# Cannot access memory at address ADDR.
-+gdb_continue_to_end "" "continue" 1
diff --git a/gdb.spec b/gdb.spec
index 6eff82f..93bfd38 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -937,6 +937,10 @@ fi
%changelog
* Tue Jun 03 2025 Andrew Burgess <aburgess@redhat.com>
+- Remove gdb-archer-next-over-throw-cxx-exec.patch, we now have
+ upstream commit d462550c91c.
+
+* Tue Jun 03 2025 Andrew Burgess <aburgess@redhat.com>
- Remove gdb-6.3-mapping-zero-inode-test.patch, we now have upstream
commit fcfd8a4f239.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-28 0:02 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:02 [rpms/gdb] gdb-17.2-rebase-f44: remove gdb-archer-next-over-throw-cxx-exec.patch Andrew Burgess
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox