gdb: Update to gdb 14.1 release
PATCH 1/1 gdb: Update to gdb 14.1 release
* Drop add-missing-ldflags.patch, its already applied to gdb 14
* Add dependency on mpfr for cross/cross-canadian/target recipe
* Remove gcc-only complier restriction, clang can compile it just fine
* Notable changes are here [1] [2]
[1] https://sourceware.org/git/?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=refs/heads/gdb-14-branch
[2] https://www.sourceware.org/gdb/download/ANNOUNCEMENT
Signed-off-by Khem Raj <[email protected]>
---
meta/conf/distro/include/tcmode-default.inc | 2 +-
meta/recipes-devtools/gdb/gdb-common.inc | 2 +-
.../gdb/gdb-cross-canadian.inc | 2 +-
...ian_13.2.bb => gdb-cross-canadian_14.1.bb} | 0
meta/recipes-devtools/gdb/gdb-cross.inc | 2 +-
.../{gdb-cross_13.2.bb => gdb-cross_14.1.bb} | 0
meta/recipes-devtools/gdb/gdb.inc | 5 +-
...ux-nat-Define-_ABIO32-if-not-defined.patch | 4 +-
...e-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch | 4 +-
...readline.a-when-using-disable-static.patch | 10 ++--
.../gdb/gdb/0004-use-asm-sgidefs.h.patch | 4 +-
.../gdb/gdb/0005-Change-order-of-CFLAGS.patch | 4 +-
...06-resolve-restrict-keyword-conflict.patch | 2 +-
.../0007-Fix-invalid-sigprocmask-call.patch | 2 +-
...sing-_Alignof-when-using-C11-or-newe.patch | 4 +-
.../gdb/gdb/add-missing-ldflags.patch | 47 -------------------
.../gdb/{gdb_13.2.bb => gdb_14.1.bb} | 0
17 files changed, 22 insertions(+), 72 deletions(-)
rename meta/recipes-devtools/gdb/{gdb-cross-canadian_13.2.bb => gdb-cross-canadian_14.1.bb} (100%)
rename meta/recipes-devtools/gdb/{gdb-cross_13.2.bb => gdb-cross_14.1.bb} (100%)
delete mode 100644 meta/recipes-devtools/gdb/gdb/add-missing-ldflags.patch
rename meta/recipes-devtools/gdb/{gdb_13.2.bb => gdb_14.1.bb} (100%)meta/conf/distro/include/tcmode-default.inc +1 -1
@@ -19,7 +19,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext" GCCVERSION ?= "13.%" SDKGCCVERSION ?= "${GCCVERSION}" BINUVERSION ?= "2.41%" -GDBVERSION ?= "13.%" +GDBVERSION ?= "14.%" GLIBCVERSION ?= "2.38%" LINUXLIBCVERSION ?= "6.5%" QEMUVERSION ?= "8.1%"
meta/recipes-devtools/gdb/gdb-common.inc +1 -1
@@ -2,7 +2,7 @@ SUMMARY = "GNU debugger" HOMEPAGE = "http://www.gnu.org/software/gdb/" DESCRIPTION = "GDB, the GNU Project debugger, allows you to see what is going on inside another program while it executes -- or what another program was doing at the moment it crashed." SECTION = "devel" -DEPENDS = "expat gmp zlib ncurses virtual/libiconv ${LTTNGUST} bison-native" +DEPENDS = "expat gmp mpfr zlib ncurses virtual/libiconv ${LTTNGUST} bison-native" LTTNGUST = "lttng-ust" LTTNGUST:arc = ""
meta/recipes-devtools/gdb/gdb-cross-canadian.inc +1 -1
@@ -6,7 +6,7 @@ SUMMARY = "GNU debugger (cross-canadian gdb for ${TARGET_ARCH} target)" PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}" BPN = "gdb" -DEPENDS = "nativesdk-ncurses nativesdk-expat nativesdk-gettext nativesdk-gmp \ +DEPENDS = "nativesdk-ncurses nativesdk-expat nativesdk-gettext nativesdk-gmp nativesdk-mpfr \ virtual/${HOST_PREFIX}gcc virtual/${HOST_PREFIX}binutils virtual/nativesdk-libc" GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'"
meta/recipes-devtools/gdb/gdb-cross-canadian_14.1.bb renamed from meta/recipes-devtools/gdb/gdb-cross-canadian_13.2.bb +0 -0
meta/recipes-devtools/gdb/gdb-cross.inc +1 -1
@@ -1,6 +1,6 @@ require gdb-common.inc -DEPENDS = "expat-native gmp-native ncurses-native flex-native bison-native" +DEPENDS = "expat-native gmp-native mpfr-native ncurses-native flex-native bison-native" inherit python3native pkgconfig
meta/recipes-devtools/gdb/gdb-cross_14.1.bb renamed from meta/recipes-devtools/gdb/gdb-cross_13.2.bb +0 -0
meta/recipes-devtools/gdb/gdb.inc +1 -4
@@ -13,8 +13,5 @@ SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.xz \ file://0006-resolve-restrict-keyword-conflict.patch \ file://0007-Fix-invalid-sigprocmask-call.patch \ file://0008-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \ - file://add-missing-ldflags.patch \ " -SRC_URI[sha256sum] = "fd5bebb7be1833abdb6e023c2f498a354498281df9d05523d8915babeb893f0a" - -TOOLCHAIN = "gcc" +SRC_URI[sha256sum] = "d66df51276143451fcbff464cc8723d68f1e9df45a6a2d5635a54e71643edb80"
meta/recipes-devtools/gdb/gdb/0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch +2 -2
@@ -1,4 +1,4 @@ -From 73b71f0b85dd6c8181f2f11a427400d4870fabcc Mon Sep 17 00:00:00 2001 +From ff77aebf533758f0b6f7d22b272d32e08ed06e45 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Wed, 23 Mar 2016 06:30:09 +0000 Subject: [PATCH] mips-linux-nat: Define _ABIO32 if not defined
@@ -16,7 +16,7 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 4 insertions(+) diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c -index 972b5db8e76..5e68538a3ba 100644 +index 8a7cc95f2a4..bfd1c72cba6 100644 --- a/gdb/mips-linux-nat.c +++ b/gdb/mips-linux-nat.c @@ -41,6 +41,10 @@
meta/recipes-devtools/gdb/gdb/0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch +2 -2
@@ -1,4 +1,4 @@ -From e258cfb37d7c61b4a97e4ca8f1178485a3f91940 Mon Sep 17 00:00:00 2001 +From 78748dc55b1ceafe9a64beb9628f1d51b215482f Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Sat, 30 Apr 2016 18:32:14 -0700 Subject: [PATCH] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC systems
@@ -30,7 +30,7 @@ index c84f9146bbd..8c8580c95e1 100644 /* This sometimes isn't defined. */ diff --git a/gdbserver/linux-ppc-low.cc b/gdbserver/linux-ppc-low.cc -index fdf74727e39..f64afd09b7a 100644 +index 86fbc8f5d96..8a1a39bc750 100644 --- a/gdbserver/linux-ppc-low.cc +++ b/gdbserver/linux-ppc-low.cc @@ -23,7 +23,13 @@
meta/recipes-devtools/gdb/gdb/0003-Dont-disable-libreadline.a-when-using-disable-static.patch +5 -5
@@ -1,4 +1,4 @@ -From 431a88f4370a23b297998641e1e10ebfd74478d9 Mon Sep 17 00:00:00 2001 +From 683650564cd231bbf09c7cbc35543b77ca0b10d0 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Sat, 30 Apr 2016 15:25:03 -0700 Subject: [PATCH] Dont disable libreadline.a when using --disable-static
@@ -19,10 +19,10 @@ Signed-off-by: Khem Raj <[email protected]> 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.def b/Makefile.def -index f974565d8ca..039b5a3c209 100644 +index 870150183b9..eb3788da0d2 100644 --- a/Makefile.def +++ b/Makefile.def -@@ -120,7 +120,8 @@ host_modules= { module= libiconv; +@@ -119,7 +119,8 @@ host_modules= { module= libiconv; missing= install-html; missing= install-info; }; host_modules= { module= m4; };
@@ -33,10 +33,10 @@ index f974565d8ca..039b5a3c209 100644 host_modules= { module= sim; }; host_modules= { module= texinfo; no_install= true; }; diff --git a/Makefile.in b/Makefile.in -index a425b54e094..dfaf585a7c1 100644 +index c97130a2338..a83f98e4778 100644 --- a/Makefile.in +++ b/Makefile.in -@@ -32816,7 +32816,7 @@ configure-readline: +@@ -31691,7 +31691,7 @@ configure-readline: $$s/$$module_srcdir/configure \ --srcdir=$${topdir}/$$module_srcdir \ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
meta/recipes-devtools/gdb/gdb/0004-use-asm-sgidefs.h.patch +2 -2
@@ -1,4 +1,4 @@ -From 693e01865c28c0a48e60173389ef467f46244c21 Mon Sep 17 00:00:00 2001 +From 04eba78ea6bd167b7eeef3af668c8f49888dc688 Mon Sep 17 00:00:00 2001 From: Andre McCurdy <[email protected]> Date: Sat, 30 Apr 2016 15:29:06 -0700 Subject: [PATCH] use <asm/sgidefs.h>
@@ -19,7 +19,7 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c -index 5e68538a3ba..5b1c209abd8 100644 +index bfd1c72cba6..13dc9cdb703 100644 --- a/gdb/mips-linux-nat.c +++ b/gdb/mips-linux-nat.c @@ -31,7 +31,7 @@
meta/recipes-devtools/gdb/gdb/0005-Change-order-of-CFLAGS.patch +2 -2
@@ -1,4 +1,4 @@ -From 9e72a19355375e589032809dd2ec051b75d4db07 Mon Sep 17 00:00:00 2001 +From e7041e9346aa0c3aee0b76315559e3ab2ef8977e Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Sat, 30 Apr 2016 15:35:39 -0700 Subject: [PATCH] Change order of CFLAGS
@@ -13,7 +13,7 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdbserver/Makefile.in b/gdbserver/Makefile.in -index 040f0b6faa0..256ce6a3f6a 100644 +index b597515d428..9e615e2842d 100644 --- a/gdbserver/Makefile.in +++ b/gdbserver/Makefile.in @@ -156,7 +156,7 @@ WIN32APILIBS = @WIN32APILIBS@
meta/recipes-devtools/gdb/gdb/0006-resolve-restrict-keyword-conflict.patch +1 -1
@@ -1,4 +1,4 @@ -From 0ce96011d76ffa377349d0193dd0bf8f1bf641e0 Mon Sep 17 00:00:00 2001 +From 477f1b2049c7f940b8e8fda4ac396cfe322b269f Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Tue, 10 May 2016 08:47:05 -0700 Subject: [PATCH] resolve restrict keyword conflict
meta/recipes-devtools/gdb/gdb/0007-Fix-invalid-sigprocmask-call.patch +1 -1
@@ -1,4 +1,4 @@ -From 696891f6c5a1c6acab95dffd8c1d3a986ca71a18 Mon Sep 17 00:00:00 2001 +From ebeb6125acf6b4e4a8a4eaa59e2830b9ca02d683 Mon Sep 17 00:00:00 2001 From: Yousong Zhou <[email protected]> Date: Fri, 24 Mar 2017 10:36:03 +0800 Subject: [PATCH] Fix invalid sigprocmask call
meta/recipes-devtools/gdb/gdb/0008-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch +2 -2
@@ -1,4 +1,4 @@ -From e649db1664af981cc87f966aef6c5365ae234547 Mon Sep 17 00:00:00 2001 +From cb7c8df338184d2d2f31ee1fd238653e3162da44 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Sun, 15 Jan 2023 00:16:25 -0800 Subject: [PATCH] Define alignof using _Alignof when using C11 or newer
@@ -25,7 +25,7 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 10 insertions(+) diff --git a/libiberty/sha1.c b/libiberty/sha1.c -index 504f06d3b9b..790ada82443 100644 +index 6c71e3ebb41..a2caf947d31 100644 --- a/libiberty/sha1.c +++ b/libiberty/sha1.c @@ -229,7 +229,17 @@ sha1_process_bytes (const void *buffer, size_t len, struct sha1_ctx *ctx)
meta/recipes-devtools/gdb/gdb/add-missing-ldflags.patch deleted +0 -47
47 lines not on this page · raw message
meta/recipes-devtools/gdb/gdb_14.1.bb renamed from meta/recipes-devtools/gdb/gdb_13.2.bb +0 -0
Signature · 1 line
2.43.0