public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: Remove gdb-6.3-bz140532-ppc-unwinding-test.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 : 9dbae0620d071ffa756ed09e9dbf8c25768aa840
            Author : Alexandra Hájková <ahajkova@redhat.com>
            Date   : 2023-04-13T12:22:36+02:00
            Stats  : +52/-357 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/gdb/c/9dbae0620d071ffa756ed09e9dbf8c25768aa840?branch=gdb-17.2-rebase-f44

            Log:
            Remove gdb-6.3-bz140532-ppc-unwinding-test.patch.

It adds powerpc-bcl-prologue.exp test which seems
to be a subset of upstream powerpc-prologue.exp

---
diff --git a/_gdb.spec.Patch.include b/_gdb.spec.Patch.include
index ebd3b27..5a3eb2c 100644
--- a/_gdb.spec.Patch.include
+++ b/_gdb.spec.Patch.include
@@ -31,190 +31,186 @@ Patch007: gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
 #=fedoratest
 Patch008: gdb-6.5-bz109921-DW_AT_decl_file-test.patch
 
-# Update PPC unwinding patches to their upstream variants (BZ 140532).
-#=fedoratest
-Patch009: gdb-6.3-bz140532-ppc-unwinding-test.patch
-
 # Allow running `/usr/bin/gcore' with provided but inaccessible tty (BZ 229517).
 #=fedoratest
-Patch010: gdb-6.6-bz229517-gcore-without-terminal.patch
+Patch009: gdb-6.6-bz229517-gcore-without-terminal.patch
 
 # Avoid too long timeouts on failing cases of "annota1.exp annota3.exp".
 #=fedoratest
-Patch011: gdb-6.6-testsuite-timeouts.patch
+Patch010: gdb-6.6-testsuite-timeouts.patch
 
 # Support for stepping over PPC atomic instruction sequences (BZ 237572).
 #=fedoratest
-Patch012: gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
+Patch011: gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
 
 # Test kernel VDSO decoding while attaching to an i386 process.
 #=fedoratest
-Patch013: gdb-6.3-attach-see-vdso-test.patch
+Patch012: gdb-6.3-attach-see-vdso-test.patch
 
 # Test leftover zombie process (BZ 243845).
 #=fedoratest
-Patch014: gdb-6.5-bz243845-stale-testing-zombie-test.patch
+Patch013: gdb-6.5-bz243845-stale-testing-zombie-test.patch
 
 # New locating of the matching binaries from the pure core file (build-id).
 #=push+jan
-Patch015: gdb-6.6-buildid-locate.patch
+Patch014: 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
-Patch016: gdb-6.6-buildid-locate-solib-missing-ids.patch
+Patch015: gdb-6.6-buildid-locate-solib-missing-ids.patch
 
 #=push+jan
-Patch017: gdb-6.6-buildid-locate-rpm.patch
+Patch016: gdb-6.6-buildid-locate-rpm.patch
 
 # Fix displaying of numeric char arrays as strings (BZ 224128).
 #=fedoratest: But it is failing anyway, one should check the behavior more.
-Patch018: gdb-6.7-charsign-test.patch
+Patch017: gdb-6.7-charsign-test.patch
 
 # Test PPC hiding of call-volatile parameter register.
 #=fedoratest
-Patch019: gdb-6.7-ppc-clobbered-registers-O2-test.patch
+Patch018: gdb-6.7-ppc-clobbered-registers-O2-test.patch
 
 # Testsuite fixes for more stable/comparable results.
 #=fedoratest
-Patch020: gdb-6.7-testsuite-stable-results.patch
+Patch019: gdb-6.7-testsuite-stable-results.patch
 
 # Test ia64 memory leaks of the code using libunwind.
 #=fedoratest
-Patch021: gdb-6.5-ia64-libunwind-leak-test.patch
+Patch020: gdb-6.5-ia64-libunwind-leak-test.patch
 
 # Test hiding unexpected breakpoints on intentional step commands.
 #=fedoratest
-Patch022: gdb-6.5-missed-trap-on-step-test.patch
+Patch021: gdb-6.5-missed-trap-on-step-test.patch
 
 # Test gcore memory and time requirements for large inferiors.
 #=fedoratest
-Patch023: gdb-6.5-gcore-buffer-limit-test.patch
+Patch022: 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.
-Patch024: gdb-6.3-mapping-zero-inode-test.patch
+Patch023: gdb-6.3-mapping-zero-inode-test.patch
 
 # Test a crash on libraries missing the .text section.
 #=fedoratest
-Patch025: gdb-6.5-section-num-fixup-test.patch
+Patch024: gdb-6.5-section-num-fixup-test.patch
 
 # Fix resolving of variables at locations lists in prelinked libs (BZ 466901).
 #=fedoratest
-Patch026: gdb-6.8-bz466901-backtrace-full-prelinked.patch
+Patch025: gdb-6.8-bz466901-backtrace-full-prelinked.patch
 
 # New test for step-resume breakpoint placed in multiple threads at once.
 #=fedoratest
-Patch027: gdb-simultaneous-step-resume-breakpoint-test.patch
+Patch026: 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@.*>
-Patch028: gdb-core-open-vdso-warning.patch
+Patch027: gdb-core-open-vdso-warning.patch
 
 # Workaround ccache making lineno non-zero for command-line definitions.
 #=fedoratest: ccache is rarely used and it is even fixed now.
-Patch029: gdb-ccache-workaround.patch
+Patch028: gdb-ccache-workaround.patch
 
 # Testcase for "Do not make up line information" fix by Daniel Jacobowitz.
 #=fedoratest
-Patch030: gdb-lineno-makeup-test.patch
+Patch029: gdb-lineno-makeup-test.patch
 
 # Test power7 ppc disassembly.
 #=fedoratest
-Patch031: gdb-ppc-power7-test.patch
+Patch030: gdb-ppc-power7-test.patch
 
 # Fix follow-exec for C++ programs (bugreported by Martin Stransky).
 #=fedoratest
-Patch032: gdb-archer-next-over-throw-cxx-exec.patch
+Patch031: gdb-archer-next-over-throw-cxx-exec.patch
 
 # Workaround librpm BZ 643031 due to its unexpected exit() calls (BZ 642879).
 #=push+jan
-Patch033: gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
+Patch032: gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
 
 # [delayed-symfile] Test a backtrace regression on CFIs without DIE (BZ 614604).
 #=fedoratest
-Patch034: gdb-test-bt-cfi-without-die.patch
+Patch033: gdb-test-bt-cfi-without-die.patch
 
 # Verify GDB Python built-in function gdb.solib_address exists (BZ # 634108).
 #=fedoratest
-Patch035: gdb-bz634108-solib_address.patch
+Patch034: gdb-bz634108-solib_address.patch
 
 # New test gdb.arch/x86_64-pid0-core.exp for kernel PID 0 cores (BZ 611435).
 #=fedoratest
-Patch036: gdb-test-pid0-core.patch
+Patch035: gdb-test-pid0-core.patch
 
 # [archer-tromey-delayed-symfile] New test gdb.dwarf2/dw2-aranges.exp.
 #=fedoratest
-Patch037: gdb-test-dw2-aranges.patch
+Patch036: gdb-test-dw2-aranges.patch
 
 # Workaround PR libc/14166 for inferior calls of strstr.
 #=fedoratest: Compatibility with RHELs (unchecked which ones).
-Patch038: gdb-glibc-strstr-workaround.patch
+Patch037: gdb-glibc-strstr-workaround.patch
 
 # Include testcase for `Unable to see a variable inside a module (XLF)' (BZ 823789).
 #=fedoratest
-Patch039: gdb-rhel5.9-testcase-xlf-var-inside-mod.patch
+Patch038: gdb-rhel5.9-testcase-xlf-var-inside-mod.patch
 
 # Testcase for `Setting solib-absolute-prefix breaks vDSO' (BZ 818343).
 #=fedoratest
-Patch040: gdb-rhbz-818343-set-solib-absolute-prefix-testcase.patch
+Patch039: 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
-Patch041: gdb-rhbz947564-findvar-assertion-frame-failed-testcase.patch
+Patch040: gdb-rhbz947564-findvar-assertion-frame-failed-testcase.patch
 
 # Fix 'memory leak in infpy_read_memory()' (RH BZ 1007614)
 #=fedoratest
-Patch042: gdb-rhbz1007614-memleak-infpy_read_memory-test.patch
+Patch041: 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
-Patch043: gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
+Patch042: 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
-Patch044: gdb-rhbz1156192-recursive-dlopen-test.patch
+Patch043: gdb-rhbz1156192-recursive-dlopen-test.patch
 
 # Fix '`catch syscall' doesn't work for parent after `fork' is called'
 # (Philippe Waroquiers, RH BZ 1149205).
 #=fedoratest
-Patch045: gdb-rhbz1149205-catch-syscall-after-fork-test.patch
+Patch044: gdb-rhbz1149205-catch-syscall-after-fork-test.patch
 
 # Fix 'backport GDB 7.4 fix to RHEL 6.6 GDB' [Original Sourceware bug
 # description: 'C++ (and objc): Internal error on unqualified name
 # re-set', PR 11657] (RH BZ 1186476).
 #=fedoratest
-Patch046: gdb-rhbz1186476-internal-error-unqualified-name-re-set-test.patch
+Patch045: gdb-rhbz1186476-internal-error-unqualified-name-re-set-test.patch
 
 # Fix '[ppc64] and [s390x] wrong prologue skip on -O2 -g code' (Jan
 # Kratochvil, RH BZ 1084404).
 #=fedoratest
-Patch047: gdb-rhbz1084404-ppc64-s390x-wrong-prologue-skip-O2-g-3of3.patch
+Patch046: gdb-rhbz1084404-ppc64-s390x-wrong-prologue-skip-O2-g-3of3.patch
 
 # Force libncursesw over libncurses to match the includes (RH BZ 1270534).
 #=push+jan
-Patch048: gdb-fedora-libncursesw.patch
+Patch047: gdb-fedora-libncursesw.patch
 
 # Test clflushopt instruction decode (for RH BZ 1262471).
 #=fedoratest
-Patch049: gdb-opcodes-clflushopt-test.patch
+Patch048: gdb-opcodes-clflushopt-test.patch
 
 # [aarch64] Fix hardware watchpoints (RH BZ 1261564).
 #=fedoratest
-Patch050: gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
+Patch049: gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
 
 # Add messages suggesting more recent RHEL gdbserver (RH BZ 1321114).
 #=fedora
-Patch051: gdb-container-rh-pkg.patch
+Patch050: gdb-container-rh-pkg.patch
 
 # [dts+el7] [x86*] Bundle linux_perf.h for libipt (RH BZ 1256513).
 #=fedora
-Patch052: gdb-linux_perf-bundle.patch
+Patch051: gdb-linux_perf-bundle.patch
 
 # Fix gdb-headless /usr/bin/ executables (BZ 1390251).
 #
@@ -223,18 +219,18 @@ Patch052: gdb-linux_perf-bundle.patch
 #
 #   https://fedoraproject.org/wiki/Changes/Minimal_GDB_in_buildroot
 #=fedora
-Patch053: gdb-libexec-add-index.patch
+Patch052: gdb-libexec-add-index.patch
 
 # [s390x] Backport arch12 instructions decoding (RH BZ 1553104).
 # =fedoratest
-Patch054: gdb-rhbz1553104-s390x-arch12-test.patch
+Patch053: gdb-rhbz1553104-s390x-arch12-test.patch
 
 # [aarch64] Backport fix from Luis Machado for RH BZ 2177655.
-Patch055: gdb-rhbz2177655-aarch64-pauth-valid-regcache.patch
+Patch054: gdb-rhbz2177655-aarch64-pauth-valid-regcache.patch
 
 # Backport "Fix crash in inside_main_func"
 # (Tom Tromey, RHBZ 2183595)
-Patch056: gdb-rhbz2183595-rustc-inside_main.patch
+Patch055: gdb-rhbz2183595-rustc-inside_main.patch
 
 # Backport "Fix a potential illegal memory access in the BFD library..."
 # (Nick Clifton, binutils/29988)

diff --git a/_patch_order b/_patch_order
index 8630b24..cd98115 100644
--- a/_patch_order
+++ b/_patch_order
@@ -6,7 +6,6 @@ gdb-6.5-BEA-testsuite.patch
 gdb-6.5-last-address-space-byte-test.patch
 gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
 gdb-6.5-bz109921-DW_AT_decl_file-test.patch
-gdb-6.3-bz140532-ppc-unwinding-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

diff --git a/gdb-6.3-bz140532-ppc-unwinding-test.patch b/gdb-6.3-bz140532-ppc-unwinding-test.patch
deleted file mode 100644
index 067f456..0000000
--- a/gdb-6.3-bz140532-ppc-unwinding-test.patch
+++ /dev/null
@@ -1,305 +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-bz140532-ppc-unwinding-test.patch
-
-;; Update PPC unwinding patches to their upstream variants (BZ 140532).
-;;=fedoratest
-
-diff --git a/gdb/testsuite/gdb.arch/powerpc-bcl-prologue-asm32.S b/gdb/testsuite/gdb.arch/powerpc-bcl-prologue-asm32.S
-new file mode 100644
---- /dev/null
-+++ b/gdb/testsuite/gdb.arch/powerpc-bcl-prologue-asm32.S
-@@ -0,0 +1,78 @@
-+/* 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. */
-+
-+	.section	".text"
-+	.align 2
-+	.globl func0
-+	.type	func0, @function
-+func0:
-+	stwu 1,-16(1)
-+	mflr 0
-+	stw 31,12(1)
-+	stw 0,20(1)
-+	mr 31,1
-+	bl abort
-+	.size	func0, .-func0
-+	.align 2
-+	.globl func1
-+	.type	func1, @function
-+func1:
-+	stwu 1,-16(1)
-+	mflr 0
-+/* 20 = BO = branch always
-+   31 = BI = CR bit (ignored)  */
-+	bcl 20,31,.Lpie
-+.Lpie:	stw 31,12(1)
-+	stw 0,20(1)
-+	mr 31,1
-+	bl func0
-+	mr 0,3
-+	lis 9,var@ha
-+	lwz 9,var@l(9)
-+	add 0,0,9
-+	mr 3,0
-+	lwz 11,0(1)
-+	lwz 0,4(11)
-+	mtlr 0
-+	lwz 31,-4(11)
-+	mr 1,11
-+	blr
-+	.size	func1, .-func1
-+	.section	.note.GNU-stack,"",@progbits
-+	.ident	"GCC: (GNU) 3.4.6 20060404 (Red Hat 3.4.6-8)"
-+
-+/* Original source file:
-+
-+#include <stdlib.h>
-+
-+extern volatile int var;
-+
-+int func0 (void) __attribute__((__noinline__));
-+int func0 (void)
-+{
-+  abort ();
-+  return var;
-+}
-+
-+int func1 (void) __attribute__((__noinline__));
-+int func1 (void)
-+{
-+  return func0 () + var;
-+}
-+
-+*/
-diff --git a/gdb/testsuite/gdb.arch/powerpc-bcl-prologue-asm64.S b/gdb/testsuite/gdb.arch/powerpc-bcl-prologue-asm64.S
-new file mode 100644
---- /dev/null
-+++ b/gdb/testsuite/gdb.arch/powerpc-bcl-prologue-asm64.S
-@@ -0,0 +1,98 @@
-+/* 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. */
-+
-+	.section	".toc","aw"
-+	.section	".text"
-+	.align 2
-+	.globl func0
-+	.section	".opd","aw"
-+	.align 3
-+func0:
-+	.quad	.L.func0,.TOC.@tocbase
-+	.previous
-+	.type	func0, @function
-+.L.func0:
-+	mflr 0
-+	std 31,-8(1)
-+	std 0,16(1)
-+	stdu 1,-128(1)
-+	mr 31,1
-+	bl abort
-+	nop
-+	.long 0
-+	.byte 0,0,0,1,128,1,0,1
-+	.size	func0,.-.L.func0
-+	.section	".toc","aw"
-+.LC1:
-+	.tc var[TC],var
-+	.section	".text"
-+	.align 2
-+	.globl func1
-+	.section	".opd","aw"
-+	.align 3
-+func1:
-+	.quad	.L.func1,.TOC.@tocbase
-+	.previous
-+	.type	func1, @function
-+.L.func1:
-+	mflr 0
-+/* 20 = BO = branch always
-+   31 = BI = CR bit (ignored)  */
-+	bcl 20,31,.Lpie
-+.Lpie:	std 31,-8(1)
-+	std 0,16(1)
-+	stdu 1,-128(1)
-+	mr 31,1
-+	bl func0
-+	mr 11,3
-+	ld 9,.LC1@toc(2)
-+	lwz 0,0(9)
-+	add 0,11,0
-+	extsw 0,0
-+	mr 3,0
-+	ld 1,0(1)
-+	ld 0,16(1)
-+	mtlr 0
-+	ld 31,-8(1)
-+	blr
-+	.long 0
-+	.byte 0,0,0,1,128,1,0,1
-+	.size	func1,.-.L.func1
-+	.section	.note.GNU-stack,"",@progbits
-+	.ident	"GCC: (GNU) 3.4.6 20060404 (Red Hat 3.4.6-8)"
-+
-+/* Original source file:
-+
-+#include <stdlib.h>
-+
-+extern volatile int var;
-+
-+int func0 (void) __attribute__((__noinline__));
-+int func0 (void)
-+{
-+  abort ();
-+  return var;
-+}
-+
-+int func1 (void) __attribute__((__noinline__));
-+int func1 (void)
-+{
-+  return func0 () + var;
-+}
-+
-+*/
-diff --git a/gdb/testsuite/gdb.arch/powerpc-bcl-prologue.c b/gdb/testsuite/gdb.arch/powerpc-bcl-prologue.c
-new file mode 100644
---- /dev/null
-+++ b/gdb/testsuite/gdb.arch/powerpc-bcl-prologue.c
-@@ -0,0 +1,29 @@
-+/* 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. */
-+
-+/* Force `-fpie' double jump bl->blrl.  */
-+/* No longer used.  */
-+volatile int var;
-+
-+extern int func1 (void);
-+
-+int main (void)
-+{
-+  func1 ();
-+  return 0;
-+}
-diff --git a/gdb/testsuite/gdb.arch/powerpc-bcl-prologue.exp b/gdb/testsuite/gdb.arch/powerpc-bcl-prologue.exp
-new file mode 100644
---- /dev/null
-+++ b/gdb/testsuite/gdb.arch/powerpc-bcl-prologue.exp
-@@ -0,0 +1,72 @@
-+#   Copyright 2006, 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.
-+
-+# Test unwinding fixes of the PPC platform, specifically on the coping with BCL
-+# jump of the PIE code.
-+
-+if ![istarget "powerpc*-*-linux*"] then {
-+    verbose "Skipping powerpc-linux prologue tests."
-+    return
-+}
-+
-+set testfile "powerpc-bcl-prologue"
-+set srcfile1 ${testfile}.c
-+set flags "debug"
-+if [istarget "powerpc-*"] then {
-+    set srcfile2 ${testfile}-asm32.S
-+    set flags "$flags additional_flags=-m32"
-+} elseif [istarget "powerpc64-*"] then {
-+    set srcfile2 ${testfile}-asm64.S
-+    set flags "$flags additional_flags=-m64"
-+} else {
-+   fail "powerpc arch test"
-+   return
-+}
-+set objfile2 [standard_output_file ${testfile}-asm.o]
-+set binfile [standard_output_file ${testfile}]
-+
-+if { [gdb_compile "${srcdir}/${subdir}/${srcfile1} ${srcdir}/${subdir}/${srcfile2}" ${binfile} executable $flags] != ""} {
-+    return -1
-+}
-+
-+gdb_exit
-+gdb_start
-+gdb_reinitialize_dir $srcdir/$subdir
-+gdb_load ${binfile}
-+
-+# We should stop in abort(3).
-+
-+gdb_run_cmd
-+
-+gdb_test_multiple {} "continue to abort()" {
-+    -re ".*Program received signal SIGABRT,.*$gdb_prompt $" {
-+       pass "continue to abort()"
-+    }
-+}
-+
-+# Check backtrace:
-+# #3  0x0804835f in func0 ()
-+# #4  0x0804836a in func1 ()
-+# #5  0x0804838c in main ()
-+# (gdb)
-+# `\\.?' prefixes are needed for ppc64 without `debug' (another bug).
-+
-+set test "matching unwind"
-+gdb_test_multiple "backtrace" $test {
-+    -re "\r\n#\[0-9\]\[^\r\n\]* in \\.?func0 \\(\[^\r\n\]*\r\n#\[0-9\]\[^\r\n\]* in \\.?func1 \\(\[^\r\n\]*\r\n#\[0-9\]\[^\r\n\]* in \\.?main \\(\[^\r\n\]*\r\n$gdb_prompt $" {
-+	pass $test
-+    }
-+}

diff --git a/gdb.spec b/gdb.spec
index cef8cbf..d44d55a 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -1249,6 +1249,11 @@ fi
 %endif
 
 %changelog
+* Thu Apr 13 2023 Alexandra Hájková <ahajkova@redhat.com>
+- Remove gdb-6.3-bz140532-ppc-unwinding-test.patch, it adds
+  powerpc-bcl-prologue.exp test which seems to be a subset of
+  upstream powerpc-prologue.exp
+
 * Tue Apr 11 2023 Keith Seitz
 - Backport "Fix a potential illegal memory access in the BFD library..."
   (Nick Clifton, binutils/29988)

^ 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.3-bz140532-ppc-unwinding-test.patch 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox