Skip to content

gdb: upgrade to 17.1

[email protected] openembedded-core 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest1 patch 0 repliesNew
  2. v51 patch 4 repliesSuperseded
  3. v41 patch 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v31 patch3 repliesSuperseded

Changes in v6 from the cover letter

- Discussed with the GDB upstream maintainer; the patch has been submitted by Thiago for GDB 17
- Updated Upstream-Status accordingly

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1gdb: Upgrade 16.3 -> 17.1meta/recipes-devtools/gdb/gdb-cross-canadian_17.1.bb meta/recipes-devtools/gdb/gdb-cross_17.1.bb meta/recipes-devtools/gdb/gdb.inc +4 more+447 -1660 replies

Reviews trailers per patch

The patch has no Reviewed-by or Acked-by.

PatchSundeep Kokkonda
1/1Co-authored-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH V6 0/1] gdb: upgrade to 17.1

From: Sunil Dora <[email protected]>

Upgrade GDB from 16.3 to 17.1.

This upgrade resolves build issues with newer toolchains and musl-based systems. Two fixes are included to address musl compatibility and AArch64 kernel header changes.

The previously carried Readline 8.3 alpha backport is no longer needed and has been removed.

Changes in v6:
- Discussed with the GDB upstream maintainer; the patch has been submitted by Thiago for GDB 17
- Updated Upstream-Status accordingly

Changes in v5:
- Fixed patchtest errors

Changes in v4:
- Filed upstream bug for header visibility issue
- Coordinated with upstream and added workaround
- https://sourceware.org/bugzilla/show_bug.cgi?id=33926

Changes in v3:
- Fixed GDB custom baudrate issue and submitted upstream
- https://sourceware.org/pipermail/gdb-patches/2026-March/225952.html
- https://sourceware.org/bugzilla/show_bug.cgi?id=33747

Changes in v2:
- Updated patch metadata and commit title

Changes in v1:
- Initial submission upgrading GDB

Build-tested on:
- x86-64 (glibc)
- x86-64 (musl)
- aarch64 (glibc)
- aarch64 (musl)

root@qemuarm64:~# gdb --version
GNU gdb (GDB) 17.1
root@qemuarm64:~# ldd /usr/bin/gdb
        /usr/lib/ld-musl-aarch64.so.1 (0xffff8f690000)
        libc.so => /usr/lib/ld-musl-aarch64.so.1 (0xffff8f690000)

Sunil Dora (1):
gdb: Upgrade 16.3 -> 17.1

 ...ian_16.3.bb => gdb-cross-canadian_17.1.bb} |   0
 .../{gdb-cross_16.3.bb => gdb-cross_17.1.bb}  |   0
 meta/recipes-devtools/gdb/gdb.inc             |   5 +-
 ...-ser-unix-modernize-Linux-custom-bau.patch | 248 ++++++++++++++++++
 .../gdb/0009-Readline-8.3-alpha-release.patch | 164 ------------
 ...ux-Fix-build-failure-on-musl-systems.patch | 196 ++++++++++++++
 .../gdb/{gdb_16.3.bb => gdb_17.1.bb}          |   0
 7 files changed, 447 insertions(+), 166 deletions(-)
 rename meta/recipes-devtools/gdb/{gdb-cross-canadian_16.3.bb => gdb-cross-canadian_17.1.bb} (100%)
 rename meta/recipes-devtools/gdb/{gdb-cross_16.3.bb => gdb-cross_17.1.bb} (100%)
 create mode 100644 meta/recipes-devtools/gdb/gdb/0009-PR-gdb-33747-gdb-ser-unix-modernize-Linux-custom-bau.patch
 delete mode 100644 meta/recipes-devtools/gdb/gdb/0009-Readline-8.3-alpha-release.patch
 create mode 100644 meta/recipes-devtools/gdb/gdb/0010-GDB-aarch64-linux-Fix-build-failure-on-musl-systems.patch
 rename meta/recipes-devtools/gdb/{gdb_16.3.bb => gdb_17.1.bb} (100%)
Signature · 1 line
2.49.0