ELBA-2025-5942

ELBA-2025-5942 - gdb bug fix and enhancement update

Type:BUG
Impact:NA
Release Date:2025-06-09

Description


[14.2-4.0.1]
- Merge Oracle patches for ol10-u0
Reviewed-by: Jose E. Marchesi
Oracle history:
Jan-23-2025 Claudiu Zissulescu - 14.2-3.0.1
- Merge Oracle patches for ol10-u0
Reviewed-by: Jose E. Marchesi
- OraBug 35407694 Interrupting pstack with ctrl+c prompts for a kill even if process is not spawned by gdb
Reviewed-by: Jose E. Marchesi
- OraBug 36055910 Support RDTSCP in RECORD/REPLAY in interpreter mode (record full)
Reviewed-by: Jose E. Marchesi

[14.2-4.el10]
- gdb-add-index.patch: Use 'command -v' instead of 'which'.
(Keith Seitz, RHEL-73048)

* Tue Oct 29 2024 Troy Dawson
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018

* Mon Jun 24 2024 Troy Dawson
- Bump release for June 2024 mass rebuild

[14.2-1.el10]
- Rebase to gdb-14.2 and update all bug references:
RHEL-39326 'better support for not saved'
RHEL-39325 'Infcalls from B/P conditions in multi-threaded inferiors'
RHEL-39324 'gdb: s390: Add arch14 record/replay support'
RHEL-24764 'Add support for Power11 options'
RHEL-34213 'Sync x86 disassembler with (proposed) gdb-15.1 release.'
(Keith Seitz, RHEL-33256)

[14.2-3.el8]
- Remove riscv64-linux-gnu target. It was never meant to be added.

[14.2-2.el8]
- Backport 'better support for not saved'
(Andrew Burgess, RHEL-19390)

* Mon May 13 2024 Guinevere Larsen
- Backport series Infcalls from B/P conditions in multi-threaded inferiors
(Andrew Burgess, RHEL-13298)

* Mon May 13 2024 Keith Seitz
- Backport 'gdb: s390: Add arch14 record/replay support'
(Andreas Arnez, RHEL-36225)
- Backport 'Add support for Power11 options'
(Peter Bergner, RHEL-36518)
- Backport 'Sync x86 disassembler with (proposed) gdb-15.1 release.'
(many authors, RHEL-36527)

[14.2-1.el8]
- Initial import for GTS14.

[14.2-1]
- Rebase to FSF GDB 14.2.

* Wed Feb 21 2024 Richard W.M. Jones
- Bump and rebuild for riscv64

[14.1-8]
- Backport upstream workaround for GCC 14 problem which is causing
GDB internal errors (RHBZ 261580, Tom de Vries).

* Thu Jan 25 2024 Guinevere Larsen
- Remove gdb-6.5-BEA-testsuite.patch, as it was upstreamed and
will make its way back with the next rebase.

[14.1-7]
- Backport 'gdb: fix list . related crash'

* Wed Jan 24 2024 Fedora Release Engineering
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

* Fri Jan 19 2024 Fedora Release Engineering
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

[14.1-4]
- Backport upstream commit bc23ea51f8a83e9524dfb553baa8baacb29e68a9,
potentially fixing RHBZ 2257562.

[14.1-3]
- Fix typo in gdb.spec.

[14.1-2]
- Backport upstream commits 7ae9ecfd801 and 8170efad364 to avoid
using _PyOS_ReadlineTState (RHBZ 2250652).

[14.1-1]
- 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.

* Mon Dec 04 2023 Kevin Buettner
- Remove gdb-6.5-missed-trap-on-step-test.patch. Testing what happens
when stepping over/through a statement which triggers a watchpoint
is being added, upstream, to gdb.base/watchpoint.exp.

* Tue Nov 28 2023 Andrew Burgess
- 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).

* Thu Oct 19 2023 Alexandra Hajkova
- 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.

* Wed Oct 11 2023 Guinevere Larsen
- Remove gdb-rhbz1186476-internal-error-unqualified-name-re-set-test.patch
as it was upstreamed back in 2010 with a different test name.

[13.2-11]
- Backport upstream commit which prevents internal error when
generating an overly large gdb-index file. (RHBZ 1773651, Kevin
Buettner.)

[13.2-10]
- Backport upstream commit d28fbc7197b which fixes RHBZ 2233965 (
CVE-2022-48065).

* Thu Sep 28 2023 Kevin Buettner
- Remove gdb-6.5-sharedlibrary-path.patch, which was upstreamed in
commit 3ec033fab4a.

* Tue Sep 19 2023 Keith Seitz
- Remove gdb-rhbz1553104-s390x-arch12-test.patch, which is more thoroughly tested
by binutils.

[13.2-8]
- Bump release to 13.2-9.

[13.2-8]
- Backport upstream commit 8f2c64de86b which fixes RHBZ 2233961,
CVE-2022-48064, (Alan Modra).

[13.2-8]
- migrated to SPDX license

* Fri Sep 15 2023 Andrew Burgess
- Bump release to 13.2-8.

* Thu Sep 14 2023 Andrew Burgess
- Backport upstream commit 54392c4df604f20, which fixes RHBZ 2237392.

* Wed Sep 13 2023 Andrew Burgess
- Backport upstream commit f96328accde1e63, which fixes RHBZ 2237515.

* Wed Aug 09 2023 Guinevere Larsen
- Remove gdb-6.7-testsuite-stable-results.patch, it only made the test
fail more.

[13.2-7]
- Bump release.

* Thu Aug 03 2023 Andrew Burgess
- Backport upstream commit f3eee586174, which fixes RHBZ 2196395.

* Wed Jul 19 2023 Fedora Release Engineering
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

* Fri Jul 07 2023 Python Maint
- Rebuilt for Python 3.12

* Tue Jul 04 2023 Andrew Burgess
- Remove gdb-test-pid0-core.patch. This work has been upstreamed in
commit 8bcead69665.

[13.2-4]
- Adjust gdb-add-index.patch to be silent about which gdb.

[13.2-3]
- Backport upstream changes which prevent repeated warnings from being
printed when loading a core file (RHBZ 2160211, Lancelot SIX).

[13.2-2]
- Rebuilt for Python 3.12

[13.2-1]
- Rebase to FSF GDB 13.22.
- Remove gdb-rhbz2177655-aarch64-pauth-valid-regcache.patch.
- Remove gdb-rhbz2183595-rustc-inside_main.patch.

* Tue Jun 13 2023 Python Maint
- Rebuilt for Python 3.12

* Tue Jun 13 2023 Python Maint
- Bootstrap for Python 3.12

* Sat May 20 2023 Andrew Burgess
- Remove gdb-lineno-makeup-test.patch. An equivalent test has now
been merged to upstream binutils-gdb in commit ef56b006501.

* Tue May 16 2023 Andrew Burgess
- Remove gdb-ccache-workaround.patch. This patch works around
problems when using older versions of ccache, however, upstream GDB
now disables ccache during testing, see upstream commit 49b4de64242d.

* Tue May 16 2023 Andrew Burgess
- Remove gdb-ppc-power7-test.patch, this patch is already covered by
upstream tests gdb.arch/powerpc-*.exp.

* Sat May 06 2023 Alexandra Hajkova
- 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.

* Thu May 04 2023 Kevin Buettner
- Fix C89-isms in gdb-6.6-buildid-locate-rpm.patch. (Florian Weimer,
RHBZ 2143992)'. This change merely restores changes introduced by
Keith's Nov 30 2022 commit, but which were inadvertently lost during
the GDB 13.1 backport.

* Thu May 04 2023 Andrew Burgess
- Rewrite the changes to gdb-add-index.sh. If the user has set the
GDB environment variable then use that value, otherwise find a
suitable GDB executable by looking in various places.

[13.1-5]
- Backport 'Pass const frame_info_ptr reference for
skip_[language_]trampoline'. (Mark Wielaard, RHBZ 2192105, build/30413)

* Tue May 02 2023 Andrew Burgess
- Remove gdb-opcodes-clflushopt-test.patch. This patch tests that GDB
can disassemble the clflushopt instruction correctly. Such
disassembly is a feature of libopcode and is covered by the gas
tests i386/x86-64-clflushopt.s and i386/clflushopt.s. Lets remove
this test from GDB and just rely on the gas tests instead.

* Sat Apr 29 2023 Kevin Buettner
- Remove gdb-6.7-charsign-test.patch. This patch originally contained
some changes to GDB which were rejected by upstream maintainers. All
that remained was a testcase which had a number of failures due to
the rest of the work not being present in GDB.

* Tue Apr 25 2023 Bruno Larsen
- Remove gdb-6.5-bz109921-DW_AT_decl_file-test.patch. That patch was
only a test for basic DWARF-2 support, ensuring that GDB found a
variable in a .h file; tests such as gdb.linespec/linespec.exp already
tests for it.

* Mon Apr 24 2023 Bruno Larsen
- Remove gdb-6.5-last-address-space-byte-test.patch. It was used to
test for a regression in target_xfer_memory, a function that has
been removed from upstream back in 2006.

* Thu Apr 13 2023 Alexandra Hajkova
- 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)

[13.1-4]
- Backport 'Fix crash in inside_main_func'
(Tom Tromey, RHBZ 2183595)

[12.1-3]
- Update gdb-6.6-buildid-locate.patch to fix RHBZ 2181221.

* Wed Mar 29 2023 Andrew Burgess
- Used --with-pkgversion to place the distribution name in the version
string rather than placing the string directly into the version.in
file.

[13.1-2]
- Backport fix for RHBZ 2177655. (Luis Machado)

* Mon Mar 20 2023 Bruno Larsen
- Remove gdb-rhbz1350436-type-printers-error.patch since it is upstreamed.

[13.1-1]
- Rebase to FSF GDB 13.1.
- Update gdb-6.3-rh-testversion-20041202.patch.
- Update gdb-6.3-bz140532-ppc-unwinding-test.patch.
- Update gdb-6.6-buildid-locate.patch.
- Update gdb-6.6-buildid-locate-rpm.patch.
- Remove 'Recommends: ' line for gcc-gdb-plugin for BZ2149246.
- Add 'define _lto_cflags ' to avoid ODR violations.
- Add -Wno-stringop-overflow to --enable-gdb-build-warnings to work around
gcc problem.




Updated Packages


Release/ArchitectureFilenamesha256Superseded By AdvisoryChannel Label



This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections please contact the Oracle Linux ULN team

software.hardware.complete