public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Andrew Burgess <aburgess@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gdb] gdb-17.2-rebase-f44: remove gdb-6.3-attach-see-vdso-test.patch
Date: Sun, 28 Jun 2026 00:01:35 GMT [thread overview]
Message-ID: <178260489513.1.11304147091256364161.rpms-gdb-a54b5efb81b2@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : a54b5efb81b24bb736708360c581c91bd9bffb4b
Author : Andrew Burgess <aburgess@redhat.com>
Date : 2024-03-18T13:18:03+00:00
Stats : +52/-173 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/gdb/c/a54b5efb81b24bb736708360c581c91bd9bffb4b?branch=gdb-17.2-rebase-f44
Log:
remove gdb-6.3-attach-see-vdso-test.patch
Remove gdb-6.3-attach-see-vdso-test.patch. This is a test only
patch. I've pushed upstream commit:
commit 93eb6c64ec4a6ea9f3c1722a894d72ef586d7523
Date: Fri Mar 15 12:07:12 2024 +0000
gdb/testsuite: attach to i386 process stopped in vDSO
Which is a version of the test from this patch, we will pick this test
up the next time Fedora is rebased.
---
diff --git a/_gdb.spec.Patch.include b/_gdb.spec.Patch.include
index ae6c4af..86b711f 100644
--- a/_gdb.spec.Patch.include
+++ b/_gdb.spec.Patch.include
@@ -26,121 +26,117 @@ Patch006: gdb-6.6-testsuite-timeouts.patch
#=fedoratest
Patch007: gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
-# Test kernel VDSO decoding while attaching to an i386 process.
-#=fedoratest
-Patch008: gdb-6.3-attach-see-vdso-test.patch
-
# Test leftover zombie process (BZ 243845).
#=fedoratest
-Patch009: gdb-6.5-bz243845-stale-testing-zombie-test.patch
+Patch008: gdb-6.5-bz243845-stale-testing-zombie-test.patch
# New locating of the matching binaries from the pure core file (build-id).
#=push+jan
-Patch010: gdb-6.6-buildid-locate.patch
+Patch009: 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
-Patch011: gdb-6.6-buildid-locate-solib-missing-ids.patch
+Patch010: gdb-6.6-buildid-locate-solib-missing-ids.patch
# Test PPC hiding of call-volatile parameter register.
#=fedoratest
-Patch012: gdb-6.7-ppc-clobbered-registers-O2-test.patch
+Patch011: gdb-6.7-ppc-clobbered-registers-O2-test.patch
# Test gcore memory and time requirements for large inferiors.
#=fedoratest
-Patch013: gdb-6.5-gcore-buffer-limit-test.patch
+Patch012: 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.
-Patch014: gdb-6.3-mapping-zero-inode-test.patch
+Patch013: gdb-6.3-mapping-zero-inode-test.patch
# Test a crash on libraries missing the .text section.
#=fedoratest
-Patch015: gdb-6.5-section-num-fixup-test.patch
+Patch014: gdb-6.5-section-num-fixup-test.patch
# Fix resolving of variables at locations lists in prelinked libs (BZ 466901).
#=fedoratest
-Patch016: gdb-6.8-bz466901-backtrace-full-prelinked.patch
+Patch015: gdb-6.8-bz466901-backtrace-full-prelinked.patch
# New test for step-resume breakpoint placed in multiple threads at once.
#=fedoratest
-Patch017: gdb-simultaneous-step-resume-breakpoint-test.patch
+Patch016: gdb-simultaneous-step-resume-breakpoint-test.patch
# Fix GNU/Linux core open: Can't read pathname for load map: Input/output error.
# Fix regression of undisplayed missing shared libraries caused by a fix for.
#=fedoratest: It should be in glibc: libc-alpha: <20091004161706.GA27450@.*>
-Patch018: gdb-core-open-vdso-warning.patch
+Patch017: gdb-core-open-vdso-warning.patch
# Fix follow-exec for C++ programs (bugreported by Martin Stransky).
#=fedoratest
-Patch019: gdb-archer-next-over-throw-cxx-exec.patch
+Patch018: gdb-archer-next-over-throw-cxx-exec.patch
# [delayed-symfile] Test a backtrace regression on CFIs without DIE (BZ 614604).
#=fedoratest
-Patch020: gdb-test-bt-cfi-without-die.patch
+Patch019: gdb-test-bt-cfi-without-die.patch
# Verify GDB Python built-in function gdb.solib_address exists (BZ # 634108).
#=fedoratest
-Patch021: gdb-bz634108-solib_address.patch
+Patch020: gdb-bz634108-solib_address.patch
# [archer-tromey-delayed-symfile] New test gdb.dwarf2/dw2-aranges.exp.
#=fedoratest
-Patch022: gdb-test-dw2-aranges.patch
+Patch021: gdb-test-dw2-aranges.patch
# Workaround PR libc/14166 for inferior calls of strstr.
#=fedoratest: Compatibility with RHELs (unchecked which ones).
-Patch023: gdb-glibc-strstr-workaround.patch
+Patch022: gdb-glibc-strstr-workaround.patch
# Testcase for `Setting solib-absolute-prefix breaks vDSO' (BZ 818343).
#=fedoratest
-Patch024: gdb-rhbz-818343-set-solib-absolute-prefix-testcase.patch
+Patch023: gdb-rhbz-818343-set-solib-absolute-prefix-testcase.patch
# Import regression test for `gdb/findvar.c:417: internal-error:
# read_var_value: Assertion `frame' failed.' (RH BZ 947564) from RHEL 6.5.
#=fedoratest
-Patch025: gdb-rhbz947564-findvar-assertion-frame-failed-testcase.patch
+Patch024: gdb-rhbz947564-findvar-assertion-frame-failed-testcase.patch
# Fix 'memory leak in infpy_read_memory()' (RH BZ 1007614)
#=fedoratest
-Patch026: gdb-rhbz1007614-memleak-infpy_read_memory-test.patch
+Patch025: 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
-Patch027: gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
+Patch026: 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
-Patch028: gdb-rhbz1156192-recursive-dlopen-test.patch
+Patch027: gdb-rhbz1156192-recursive-dlopen-test.patch
# Fix '`catch syscall' doesn't work for parent after `fork' is called'
# (Philippe Waroquiers, RH BZ 1149205).
#=fedoratest
-Patch029: gdb-rhbz1149205-catch-syscall-after-fork-test.patch
+Patch028: 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
-Patch030: gdb-rhbz1084404-ppc64-s390x-wrong-prologue-skip-O2-g-3of3.patch
+Patch029: gdb-rhbz1084404-ppc64-s390x-wrong-prologue-skip-O2-g-3of3.patch
# Force libncursesw over libncurses to match the includes (RH BZ 1270534).
#=push+jan
-Patch031: gdb-fedora-libncursesw.patch
+Patch030: gdb-fedora-libncursesw.patch
# [aarch64] Fix hardware watchpoints (RH BZ 1261564).
#=fedoratest
-Patch032: gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
+Patch031: gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
# Add messages suggesting more recent RHEL gdbserver (RH BZ 1321114).
#=fedora
-Patch033: gdb-container-rh-pkg.patch
+Patch032: gdb-container-rh-pkg.patch
# [dts+el7] [x86*] Bundle linux_perf.h for libipt (RH BZ 1256513).
#=fedora
-Patch034: gdb-linux_perf-bundle.patch
+Patch033: gdb-linux_perf-bundle.patch
# Update gdb-add-index.sh such that, when the GDB environment
# variable is not set, the script is smarter than just looking for
@@ -154,72 +150,72 @@ Patch034: gdb-linux_perf-bundle.patch
# https://fedoraproject.org/wiki/Changes/Minimal_GDB_in_buildroot
#
#=fedora
-Patch035: gdb-add-index.patch
+Patch034: gdb-add-index.patch
# Back-port upstream commit 1f0fab7ff86 as part of a fix for
# non-deterministic gdb-index generation (RH BZ 2232086).
-Patch036: gdb-rhbz2232086-refactor-selftest-support.patch
+Patch035: gdb-rhbz2232086-refactor-selftest-support.patch
# Back-port upstream commit aa19bc1d259 as part of a fix for
# non-deterministic gdb-index generation (RH BZ 2232086).
-Patch037: gdb-rhbz-2232086-reduce-size-of-gdb-index.patch
+Patch036: gdb-rhbz-2232086-reduce-size-of-gdb-index.patch
# Back-port upstream commit acc117b57f7 as part of a fix for
# non-deterministic gdb-index generation (RH BZ 2232086).
-Patch038: gdb-rhbz-2232086-cpp-ify-mapped-symtab.patch
+Patch037: gdb-rhbz-2232086-cpp-ify-mapped-symtab.patch
# Back-port upstream commit aff250145af as part of a fix for
# non-deterministic gdb-index generation (RH BZ 2232086).
-Patch039: gdb-rhbz-2232086-generate-gdb-index-consistently.patch
+Patch038: gdb-rhbz-2232086-generate-gdb-index-consistently.patch
# Back-port upstream commit 3644f41dc80 as part of a fix for
# non-deterministic gdb-index generation (RH BZ 2232086).
-Patch040: gdb-rhbz-2232086-generate-dwarf-5-index-consistently.patch
+Patch039: gdb-rhbz-2232086-generate-dwarf-5-index-consistently.patch
-Patch041: gdb-rhbz2250652-gdbpy_gil.patch
+Patch040: gdb-rhbz2250652-gdbpy_gil.patch
-Patch042: gdb-rhbz2250652-avoid-PyOS_ReadlineTState.patch
+Patch041: gdb-rhbz2250652-avoid-PyOS_ReadlineTState.patch
-Patch043: gdb-ftbs-swapped-calloc-args.patch
+Patch042: gdb-ftbs-swapped-calloc-args.patch
# Backport upstream workaround for GCC 14 problem which cause assertion
# failures in GDB.
-Patch044: gdb-rhbz2261580-intrusive_list-assertion-fix.patch
+Patch043: gdb-rhbz2261580-intrusive_list-assertion-fix.patch
# Backport upstream commit 7628a997f27.
-Patch045: gdb-sync-coffread-with-elfread.patch
+Patch044: gdb-sync-coffread-with-elfread.patch
# Backport upstream commit 27807da5849.
-Patch046: gdb-merge-debug-symbol-lookup.patch
+Patch045: gdb-merge-debug-symbol-lookup.patch
# Backport upstream commit 6234ba17598.
-Patch047: gdb-refactor-find-and-add-separate-symbol-file.patch
+Patch046: gdb-refactor-find-and-add-separate-symbol-file.patch
# Backport upstream commit 661d98a3331.
-Patch048: gdb-add-missing-debug-ext-lang-hook.patch
+Patch047: gdb-add-missing-debug-ext-lang-hook.patch
# Backport upstream commit 8f6c452b5a4.
-Patch049: gdb-add-missing-debug-info-python-hook.patch
+Patch048: gdb-add-missing-debug-info-python-hook.patch
# Backport upstream commit 7db795bc67a.
-Patch050: gdb-remove-use-of-py-isascii
+Patch049: gdb-remove-use-of-py-isascii
# Backport upstream commit 1146d27749f.
-Patch051: gdb-remove-path-in-test-name.patch
+Patch050: gdb-remove-path-in-test-name.patch
# Backport upstream commit e8c3dafa5f5.
-Patch052: gdb-do-not-import-py-curses-ascii-module.patch
+Patch051: gdb-do-not-import-py-curses-ascii-module.patch
# Backport upstream commit dd5516bf98f.
-Patch053: gdb-reformat-missing-debug-py-file.patch
+Patch052: gdb-reformat-missing-debug-py-file.patch
# Backport upstream commit 7d21600b31fe.
-Patch054: gdb-handle-no-python-gdb-module.patch
+Patch053: gdb-handle-no-python-gdb-module.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.
-Patch055: gdb-add-rpm-suggestion-script.patch
+Patch054: gdb-add-rpm-suggestion-script.patch
diff --git a/_gdb.spec.patch.include b/_gdb.spec.patch.include
index b72c412..c9558ed 100644
--- a/_gdb.spec.patch.include
+++ b/_gdb.spec.patch.include
@@ -52,4 +52,3 @@
%patch -p1 -P052
%patch -p1 -P053
%patch -p1 -P054
-%patch -p1 -P055
diff --git a/_patch_order b/_patch_order
index 7f94e21..f6a8ba3 100644
--- a/_patch_order
+++ b/_patch_order
@@ -5,7 +5,6 @@ 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.3-attach-see-vdso-test.patch
gdb-6.5-bz243845-stale-testing-zombie-test.patch
gdb-6.6-buildid-locate.patch
gdb-6.6-buildid-locate-solib-missing-ids.patch
diff --git a/gdb-6.3-attach-see-vdso-test.patch b/gdb-6.3-attach-see-vdso-test.patch
deleted file mode 100644
index daba42f..0000000
--- a/gdb-6.3-attach-see-vdso-test.patch
+++ /dev/null
@@ -1,120 +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.3-attach-see-vdso-test.patch
-
-;; Test kernel VDSO decoding while attaching to an i386 process.
-;;=fedoratest
-
-diff --git a/gdb/testsuite/gdb.base/attach-see-vdso.c b/gdb/testsuite/gdb.base/attach-see-vdso.c
-new file mode 100644
---- /dev/null
-+++ b/gdb/testsuite/gdb.base/attach-see-vdso.c
-@@ -0,0 +1,25 @@
-+/* This testcase is part of GDB, the GNU debugger.
-+
-+ 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. */
-+
-+#include <unistd.h>
-+
-+int main ()
-+{
-+ pause ();
-+ return 1;
-+}
-diff --git a/gdb/testsuite/gdb.base/attach-see-vdso.exp b/gdb/testsuite/gdb.base/attach-see-vdso.exp
-new file mode 100644
---- /dev/null
-+++ b/gdb/testsuite/gdb.base/attach-see-vdso.exp
-@@ -0,0 +1,77 @@
-+# Copyright 2007
-+
-+# 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.
-+
-+# This file was created by Jan Kratochvil <jan.kratochvil@redhat.com>.
-+
-+# This test only works on Linux
-+if { ![istarget "*-*-linux-gnu*"] } {
-+ return 0
-+}
-+
-+if {[use_gdb_stub]} {
-+ untested "skipping test because of use_gdb_stub"
-+ return -1
-+}
-+
-+set testfile "attach-see-vdso"
-+set srcfile ${testfile}.c
-+set binfile [standard_output_file ${testfile}]
-+set escapedbinfile [string_to_regexp [standard_output_file ${testfile}]]
-+
-+# The kernel VDSO is used for the syscalls returns only on i386 (not x86_64).
-+#
-+if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug additional_flags=-m32}] != "" } {
-+ gdb_suppress_entire_file "Testcase nonthraded compile failed, so all tests in this file will automatically fail."
-+}
-+
-+if [get_compiler_info ${binfile}] {
-+ return -1
-+}
-+
-+# Start the program running and then wait for a bit, to be sure
-+# that it can be attached to.
-+
-+set testpid [eval exec $binfile &]
-+
-+# Avoid some race:
-+sleep 2
-+
-+# Start with clean gdb
-+gdb_exit
-+gdb_start
-+gdb_reinitialize_dir $srcdir/$subdir
-+# Never call: gdb_load ${binfile}
-+# as the former problem would not reproduce otherwise.
-+
-+set test "attach"
-+gdb_test_multiple "attach $testpid" "$test" {
-+ -re "Attaching to process $testpid\r?\n.*$gdb_prompt $" {
-+ pass "$test"
-+ }
-+}
-+
-+gdb_test "bt" "#0 *0x\[0-9a-f\]* in \[^?\].*" "backtrace decodes VDSO"
-+
-+# Exit and detach the process.
-+
-+gdb_exit
-+
-+# Make sure we don't leave a process around to confuse
-+# the next test run (and prevent the compile by keeping
-+# the text file busy), in case the "set should_exit" didn't
-+# work.
-+
-+remote_exec build "kill -9 ${testpid}"
diff --git a/gdb.spec b/gdb.spec
index 23b654f..5b47fae 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -1250,6 +1250,11 @@ fi
%endif
%changelog
+* Mon Mar 18 2024 Andrew Burgess <aburgess@redhat.com>
+- Drop gdb-6.3-attach-see-vdso-test.patch, this is a test only patch.
+ Upstream commit 93eb6c64ec4a6ea includes a similar test, and will be
+ picked up as part of the next rebase.
+
* Wed Mar 13 2024 Andrew Burgess <aburgess@redhat.com>
- Remove the use of librpm from GDB's C++ code, and instead provide
similar RPM suggestion feature using a Python extension. The Python
reply other threads:[~2026-06-28 0:01 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=178260489513.1.11304147091256364161.rpms-gdb-a54b5efb81b2@fedoraproject.org \
--to=aburgess@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