gdb: Upgrade 15.2 -> 16.1
PATCH 1/1 gdb: Upgrade 15.2 -> 16.1
From: Yash Shinde <[email protected]>
* Drop 0001-Fix-Wenum-constexpr-conversion-in-enum-flags.h.patch, its already applied to gdb 16.1
Detailed release notes:
https://sourceware.org/pipermail/gdb-announce/2025/000143.html
https://sourceware.org/gdb/news/
https://lwn.net/Articles/1005562/
https://www.sourceware.org/gdb/download/ANNOUNCEMENT
Signed-off-by Yash Shinde <[email protected]>
---
meta/conf/distro/include/tcmode-default.inc | 2 +-
meta/conf/distro/include/time64.inc | 2 +-
...ian_15.2.bb => gdb-cross-canadian_16.1.bb} | 0
.../{gdb-cross_15.2.bb => gdb-cross_16.1.bb} | 0
meta/recipes-devtools/gdb/gdb.inc | 3 +-
...constexpr-conversion-in-enum-flags.h.patch | 313 ------------------
...e-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch | 4 +-
.../gdb/{gdb_15.2.bb => gdb_16.1.bb} | 0
8 files changed, 5 insertions(+), 319 deletions(-)
rename meta/recipes-devtools/gdb/{gdb-cross-canadian_15.2.bb => gdb-cross-canadian_16.1.bb} (100%)
rename meta/recipes-devtools/gdb/{gdb-cross_15.2.bb => gdb-cross_16.1.bb} (100%)
delete mode 100644 meta/recipes-devtools/gdb/gdb/0001-Fix-Wenum-constexpr-conversion-in-enum-flags.h.patch
rename meta/recipes-devtools/gdb/{gdb_15.2.bb => gdb_16.1.bb} (100%)meta/conf/distro/include/tcmode-default.inc +1 -1
@@ -23,7 +23,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext" GCCVERSION ?= "14.%" SDKGCCVERSION ?= "${GCCVERSION}" BINUVERSION ?= "2.43%" -GDBVERSION ?= "15.%" +GDBVERSION ?= "16.%" GLIBCVERSION ?= "2.40%" LINUXLIBCVERSION ?= "6.12%" QEMUVERSION ?= "9.2%"
meta/conf/distro/include/time64.inc +1 -1
@@ -53,5 +53,5 @@ INSANE_SKIP:append:pn-pseudo = " 32bit-time" INSANE_SKIP:append:pn-binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} = " 32bit-time" #gcc-cross-canadian-arm-14.1.0-r0 do_package_qa: QA Issue: xxx/x86_64-oesdk-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/14.1.0/plugin/gengtype uses 32-bit api 'ctime' INSANE_SKIP:append:pn-gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} = " 32bit-time" -#gdb-cross-canadian-arm-15.2-r0 do_package_qa: QA Issue: xxx/x86_64-oesdk-linux/usr/bin/arm-oe-linux-gnueabi/arm-oe-linux-gnueabi-gdb uses 32-bit api 'lstat' +#gdb-cross-canadian-arm-16.1-r0 do_package_qa: QA Issue: xxx/x86_64-oesdk-linux/usr/bin/arm-oe-linux-gnueabi/arm-oe-linux-gnueabi-gdb uses 32-bit api 'lstat' INSANE_SKIP:append:pn-gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} = " 32bit-time"
meta/recipes-devtools/gdb/gdb-cross-canadian_16.1.bb renamed from meta/recipes-devtools/gdb/gdb-cross-canadian_15.2.bb +0 -0
meta/recipes-devtools/gdb/gdb-cross_16.1.bb renamed from meta/recipes-devtools/gdb/gdb-cross_15.2.bb +0 -0
meta/recipes-devtools/gdb/gdb.inc +1 -2
@@ -12,6 +12,5 @@ SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.xz \ file://0005-Change-order-of-CFLAGS.patch \ file://0006-Fix-invalid-sigprocmask-call.patch \ file://0007-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \ - file://0001-Fix-Wenum-constexpr-conversion-in-enum-flags.h.patch \ " -SRC_URI[sha256sum] = "83350ccd35b5b5a0cba6b334c41294ea968158c573940904f00b92f76345314d" +SRC_URI[sha256sum] = "c2cc5ccca029b7a7c3879ce8a96528fdfd056b4d884f2b0511e8f7bc723355c6"
meta/recipes-devtools/gdb/gdb/0001-Fix-Wenum-constexpr-conversion-in-enum-flags.h.patch deleted +0 -313
313 lines not on this page · raw message
meta/recipes-devtools/gdb/gdb/0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch +2 -2
@@ -16,8 +16,8 @@ index b51e2278f4b..f1bc07df0e9 100644 --- a/gdb/nat/ppc-linux.h +++ b/gdb/nat/ppc-linux.h @@ -18,7 +18,13 @@ - #ifndef NAT_PPC_LINUX_H - #define NAT_PPC_LINUX_H + #ifndef GDB_NAT_PPC_LINUX_H + #define GDB_NAT_PPC_LINUX_H +#if !defined(__GLIBC__) +# define pt_regs uapi_pt_regs
meta/recipes-devtools/gdb/gdb_16.1.bb renamed from meta/recipes-devtools/gdb/gdb_15.2.bb +0 -0
Signature · 1 line
2.43.0
Following builds were tested:
bitbake gdb
bitbake binutils
bitbake core-image-minimal
bitbake meta-toolchain
Also, booted qemu image for x86_64 and tested working of gdb v16.1.