Commit Graph

1232 Commits

Author SHA1 Message Date
Troy Dawson
6c79a90f63 Bump release for June 2024 mass rebuild 2024-06-24 08:43:14 -07:00
Keith Seitz
7d80749839 Fixup broken tests in existing patches
Related: RHEL-33256
2024-06-05 10:05:08 -07:00
Keith Seitz
ffb1d87bd9 Rebase to gdb-14.2
Resolves: RHEL-33256
Resolves: RHEL-39325
Resolves: RHEL-39326
Resolves: RHEL-39324
Resolves: RHEL-24764
Resolves: RHEL-34213
2024-05-29 12:45:57 -07:00
Kevin Buettner
0ef7ce6648 Backport upstream workaround for GCC 14 problem
The GCC problem is responsible for GDB internal errors.  See:

https://sourceware.org/bugzilla/show_bug.cgi?id=31281
2024-01-29 15:59:22 -07:00
Guinevere Larsen
ce2a1b8ca4 remove gdb-6.5-BEA-testsuite.patch
A similar version was accepted upstream and will make its way back here
with the next rebase.
2024-01-25 19:27:30 +01:00
Guinevere Larsen
9283c2ae14 backport gdb: fix "list ." related crash
This fixes RHBZ 2259850
2024-01-25 18:26:48 +01:00
Fedora Release Engineering
c1639496fb Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 12:37:59 +00:00
Fedora Release Engineering
0a28429a4a Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 20:23:22 +00:00
Kevin Buettner
46b67ac265 Backport upstream commit 54195469c18, fixing a build problem 2024-01-17 13:10:14 -07:00
Kevin Buettner
a84ff66cf3 Backport upstream commit bc23ea51f8a83e9524dfb553baa8baacb29e68a9
This backport might fix RHBZ 2257562.
2024-01-16 20:12:34 -07:00
Alexandra Hájková
c01228012c Fix typo in gdb.spec 2024-01-11 18:29:41 +01:00
Alexandra Hájková
9b90152921 Backport upstream commits 7ae9ecfd801 and 8170efad364 to avoid
using _PyOS_ReadlineTState  (RHBZ 2250652).
2024-01-09 13:41:13 +01:00
Kevin Buettner
ebdac5bb6e Rebase to FSF GDB 14.1
Update local patches:
    gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
    gdb-6.6-buildid-locate-rpm.patch
    gdb-6.6-buildid-locate.patch
    gdb-container-rh-pkg.patch
    gdb-core-open-vdso-warning.patch
    gdb-fedora-libncursesw.patch
    gdb-linux_perf-bundle.patch

Update backported patches which didn't make it into 14.1:
    gdb-rhbz-2232086-cpp-ify-mapped-symtab.patch
    gdb-rhbz-2232086-generate-gdb-index-consistently.patch

Drop upstreamed local patches:
    gdb-6.5-sharedlibrary-path.patch

Drop gdb-13.2 backports (which are now in gdb-14.1):
    gdb-binutils29988-read_indexed_address.patch
    gdb-bz2196395-debuginfod-legacy-openssl-crash.patch
    gdb-bz2237392-dwarf-obstack-allocation.patch
    gdb-bz2237515-debuginfod-double-free.patch
    gdb-rhbz2192105-ftbs-dangling-pointer
    gdb-rhbz2233961-CVE-2022-4806.patch
    gdb-rhbz2233965-memory-leak.patch

Adjust gdb.spec so that --with-mpfr is no longer passed to
configure; doing so, combined with some configury changes triggered
a latent build problem.
2023-12-08 18:43:22 -07:00
Kevin Buettner
a27201b2a0 Remove gdb-6.5-missed-trap-on-step-test.patch 2023-12-04 14:55:15 -07:00
Kevin Buettner
83b6c4608d Fix bogus date complaint
Wed Oct 11 2022 -> Wed Oct 11 2023.
2023-11-28 12:59:52 -07:00
Andrew Burgess
c26c6b70cb Back-port upstream commits to fix non-consistent gdb-index creation
Backport upstream commits 1f0fab7ff86, aa19bc1d259, acc117b57f7,
aff250145af, and 3644f41dc80.  These commits reduce the size of the
generated gdb-index file, and also ensure that the gdb-index and
dwarf-5 index are generated consistently even as the number of worker
threads that GDB uses changes (RHBZ 2232086).

The first and third of these patches are refactoring, but are required
by the other patches in this series.

The second patch fixes a bug that causes the gdb-index files to
be (sometimes) bigger than needed.

The fourth and fifth patches ensure that the gdb-index and dwarf-5
index (respectively) are generated the same (for the same input
binary), regardless of how many worker threads that GDB uses.
2023-11-28 15:20:27 +00:00
Alexandra Hájková
52a4dabc57 Remove gdb-6.5-ia64-libunwind-leak-test.patch.
The patch doesn't include any actual fixes, the architecture
is end of life and the kernel is planning to drop IA64 support.
2023-10-19 16:09:06 +02:00
Guinevere Larsen
87ade3a000 Remove gdb-rhbz1186476-internal-error-unqualified-name-re-set-test.patch
The test was upstreamed back in 2010, but the final file has a different
name, so this was never removed:
https://sourceware.org/legacy-ml/gdb-patches/2010-06/msg00046.html
2023-10-11 16:25:55 +02:00
Kevin Buettner
f4fc320c3e Backport upstream commit for overly large gdb-index files
Backport upstream commit which prevents internal error when
generating an overly large gdb-index file.  (RHBZ 1773651, Kevin
Buettner.)
2023-10-02 16:42:52 -07:00
Alexandra Hájková
fec73092bb Backport upstream commit d28fbc7197b which fixes RHBZ 2233965 (
CVE-2022-48065).
2023-10-01 11:38:40 +02:00
Kevin Buettner
aca26db9ee Delete gdb-6.5-sharedlibrary-path.patch, which was upstreamed in
commit 3ec033fab4a.
2023-09-28 19:13:18 -07:00
Keith Seitz
52db67646d Remove gdb-rhbz1553104-s390x-arch12-test.patch
This patch adds an s390x/arch12 binary file to disassemble, checking
for the appearance of two arch12 insns. Remove this patch in favor
of binutil's version, which is much more complete with much more
coverage.
2023-09-19 09:24:27 -07:00
Alexandra Hájková
fb8a11ffe0 Bump release to 13.2-9. 2023-09-18 14:44:24 +02:00
Alexandra Hájková
a5080fa18b Backport upstream commit 8f2c64de86b which fixes RHBZ 2233961,
CVE-2022-48064, (Alan Modra).
2023-09-17 13:59:16 +02:00
Keith Seitz
ba3a754341 Fix %changelog dates 2023-09-15 10:54:10 -07:00
Keith Seitz
8a61e71975 Migrate to SPDX license expression 2023-09-15 09:25:16 -07:00
Andrew Burgess
22e4ee48ba Bump release. 2023-09-15 16:04:46 +01:00
Andrew Burgess
ed8eee7ab5 Backport upstream fix for RHBZ 2237392
Backport upstream commit 54392c4df604f20 to fix an incorrect
obstack allocation that wold lead to memory corruption (RHBZ 2237392).
2023-09-14 22:22:33 +01:00
Andrew Burgess
60fc6a1e0f Backport upstream fix for RHBZ 2237515
Backport upstream commit f96328accde1e63 to fix a potential double
free issue in the debuginfod code (RHBZ 2237515).
2023-09-13 15:31:17 +01:00
Guinevere Larsen
9a4f6d6e4c remove gdb-6.7-testsuite-stable-results.patch
That patch only changed gdb.base/fileio.{c|exp} tests, supposedly to
make them work better when running the test as root. However, that test
only increased the number of fails by 20
2023-08-09 09:31:00 +02:00
Kevin Buettner
7e349a389b Bump release. 2023-08-07 10:40:43 -07:00
Andrew Burgess
899498bb21 Backport upstream fix for RHBZ 2196395
Backport upstream commit f3eee5861743d635 to fix a crash triggered
when debuginfod makes use of particular openssl settings.
2023-08-03 09:29:19 +01:00
Fedora Release Engineering
a38bd61a55 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 20:54:50 +00:00
Python Maint
a5a4c9b4bc Rebuilt for Python 3.12 2023-07-07 22:44:43 +02:00
Andrew Burgess
dd38aa36ce Remove gdb-test-pid0-core.patch
The patch gdb-test-pid0-core.patch only contains a test.  A similar
test has been merged upstream in commit 8bcead69665, so I propose that
we drop this patch from Fedora, the test will be picked up next time
we rebase.
2023-07-04 14:29:08 +01:00
Mark Wielaard
2b402b25f4 Adjust gdb-add-index.patch to be silent about which gdb
Every invocation of gdb-add-index will print which possible
gdb command will be used. This is because the which command
always prints the name of the command found. Redirect both
stdout and stderr to /dev/null to suppress this when the
output isn't needed.
2023-07-01 18:31:16 +02:00
Kevin Buettner
d5dc87ea90 Suppress repeated warnings when loading a core file
Backport upstream changes which prevent repeated warnings from being
printed when loading a core file  (RHBZ 2160211, Lancelot SIX).
2023-06-30 15:20:10 -07:00
Python Maint
57b0ecded6 Rebuilt for Python 3.12 2023-06-28 19:04:31 +02:00
Alexandra Hájková
61b2b883ca Fix sources file. 2023-06-28 10:56:34 +02:00
Alexandra Hájková
b85c01223e Rebase to FSF GDB 13.2. 2023-06-25 16:05:18 +02:00
Python Maint
67cb8a0e81 Rebuilt for Python 3.12 2023-06-13 23:26:41 +02:00
Tomáš Hrnčiar
68fb4ae79f Hotpach rpm 4.19 soname version 2023-06-13 15:48:52 +02:00
Python Maint
dacd4f346f Bootstrap for Python 3.12 2023-06-13 15:18:09 +02:00
Kevin Buettner
f8c2813adc Merge #85 libipt no longer requires initialization 2023-06-08 23:36:15 +00:00
Keith Seitz
e0c46fa352 Remove gdb-testsuite-readline63-sigint-revert.patch
This patch was removed with the 10.2 rebase (commit 8594aea),
but appears to have been accidentally reintroduced with the 11.1 rebase
(commit 1f618b9).
2023-06-08 15:34:51 -07:00
Keith Seitz
dc392f53a2 libipt no longer requires initialization
Since commit d701c95bb9f6db652ada625023bf8bdf54750365, this initialization
patch has not been needed:

  commit d701c95bb9f6db652ada625023bf8bdf54750365
  Author: Markus Metzger <markus.t.metzger@intel.com>
  Date:   Mon Jan 30 17:30:44 2017 +0100

    libipt, init: remove library constructor

    Now that the instruction length decoder no longer needs initialization, we can
    remove the library's constructor.

    Change-Id: Ibaa43be9a8af6e4e4f3a78fd9c84b3589cf33e99
    Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>

I've verified that RHEL7 IPT still works.
2023-06-08 13:07:39 -07:00
Andrew Burgess
5f67b86ed1 Remove gdb-lineno-makeup-test.patch
An equivalent test has been merged upstream in this commit:

  commit ef56b006501ba52b128d4e5f36657ddbf56d22bc
  Date:   Wed May 17 15:14:15 2023 +0100

      gdb/testsuite: test for a function with no line table

As this is only a test there seems little point in backporting this
commit to Fedora -- we'll pick it up next time we rebase.  For now I
suggest that we drop this patch.
2023-05-20 10:24:29 +01:00
Andrew Burgess
f71aced2fd Remove gdb-ccache-workaround.patch
This patch adds a work around for an issue with older versions of
ccache -- the line number for macros defined at the compiler command
line was '1' instead of '0'.

Not only is this ccache issue fixed with newer versions of ccache, but
upstream GDB now disables ccache during testing, see commit:

  commit 49b4de64242d4ae035e0e2197837278e33c187fc
  Date:   Thu Sep 15 14:04:20 2016 +0200

      testsuite: Disable ccache

As a result this work around is no longer needed, and this patch can
be dropped.
2023-05-16 16:38:15 +01:00
Andrew Burgess
2a935aa29b Remove gdb-ppc-power7-test.patch
The test added by this patch claims to be a power7 test, however, it
actually appears to test instructions from power7, power8, and power9.

All the instructions tested by this patch are already tested by
upstream tests:

  gdb.arch/powerpc-power7.exp
  gdb.arch/powerpc-power8.exp
  gdb.arch/powerpc-power9.exp

As such this patch is redundant and can be removed.
2023-05-16 15:23:14 +01:00
Alexandra Hájková
7046f4cf6f Remove gdb-rhel5.9-testcase-xlf-var-inside-mod.patch
The patch adds gdb.fortran/xlf-variable.exp test,
the test can only be run on PPC64 machines which
are not supported anymore.
2023-05-06 18:28:28 +02:00