summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-12-07 19:04:10 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-12-21 10:38:29 +0000
commitb60f98d3fd56fa5b104994934d94c7bde76c4a2e (patch)
treecb97e59260a3aaf5974d7a85d0bde608a79bb492 /meta/recipes-devtools/gdb
parentbaa6b64a946623db4db2d29f29f35ad0fec2b4d7 (diff)
downloadpoky-b60f98d3fd56fa5b104994934d94c7bde76c4a2e.tar.gz
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 (From OE-Core rev: 2a0f7255a740ffbfe5a7858ef01a3ba6cadca383) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gdb')
-rw-r--r--meta/recipes-devtools/gdb/gdb-common.inc2
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross-canadian.inc2
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross-canadian_14.1.bb (renamed from meta/recipes-devtools/gdb/gdb-cross-canadian_13.2.bb)0
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross.inc2
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross_14.1.bb (renamed from meta/recipes-devtools/gdb/gdb-cross_13.2.bb)0
-rw-r--r--meta/recipes-devtools/gdb/gdb.inc5
-rw-r--r--meta/recipes-devtools/gdb/gdb/0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch4
-rw-r--r--meta/recipes-devtools/gdb/gdb/0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch4
-rw-r--r--meta/recipes-devtools/gdb/gdb/0003-Dont-disable-libreadline.a-when-using-disable-static.patch10
-rw-r--r--meta/recipes-devtools/gdb/gdb/0004-use-asm-sgidefs.h.patch4
-rw-r--r--meta/recipes-devtools/gdb/gdb/0005-Change-order-of-CFLAGS.patch4
-rw-r--r--meta/recipes-devtools/gdb/gdb/0006-resolve-restrict-keyword-conflict.patch2
-rw-r--r--meta/recipes-devtools/gdb/gdb/0007-Fix-invalid-sigprocmask-call.patch2
-rw-r--r--meta/recipes-devtools/gdb/gdb/0008-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch4
-rw-r--r--meta/recipes-devtools/gdb/gdb/add-missing-ldflags.patch47
-rw-r--r--meta/recipes-devtools/gdb/gdb_14.1.bb (renamed from meta/recipes-devtools/gdb/gdb_13.2.bb)0
16 files changed, 21 insertions, 71 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc
index 48dbb91463..ea1fc27a61 100644
--- a/meta/recipes-devtools/gdb/gdb-common.inc
+++ b/meta/recipes-devtools/gdb/gdb-common.inc
@@ -2,7 +2,7 @@ SUMMARY = "GNU debugger"
2HOMEPAGE = "http://www.gnu.org/software/gdb/" 2HOMEPAGE = "http://www.gnu.org/software/gdb/"
3DESCRIPTION = "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." 3DESCRIPTION = "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."
4SECTION = "devel" 4SECTION = "devel"
5DEPENDS = "expat gmp zlib ncurses virtual/libiconv ${LTTNGUST} bison-native" 5DEPENDS = "expat gmp mpfr zlib ncurses virtual/libiconv ${LTTNGUST} bison-native"
6 6
7LTTNGUST = "lttng-ust" 7LTTNGUST = "lttng-ust"
8LTTNGUST:arc = "" 8LTTNGUST:arc = ""
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
index 81dc572be0..058ffbc9c5 100644
--- a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
+++ b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
@@ -6,7 +6,7 @@ SUMMARY = "GNU debugger (cross-canadian gdb for ${TARGET_ARCH} target)"
6PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}" 6PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}"
7BPN = "gdb" 7BPN = "gdb"
8 8
9DEPENDS = "nativesdk-ncurses nativesdk-expat nativesdk-gettext nativesdk-gmp \ 9DEPENDS = "nativesdk-ncurses nativesdk-expat nativesdk-gettext nativesdk-gmp nativesdk-mpfr \
10 virtual/${HOST_PREFIX}gcc virtual/${HOST_PREFIX}binutils virtual/nativesdk-libc" 10 virtual/${HOST_PREFIX}gcc virtual/${HOST_PREFIX}binutils virtual/nativesdk-libc"
11 11
12GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" 12GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'"
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_13.2.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_14.1.bb
index 4ab2b7156d..4ab2b7156d 100644
--- a/meta/recipes-devtools/gdb/gdb-cross-canadian_13.2.bb
+++ b/meta/recipes-devtools/gdb/gdb-cross-canadian_14.1.bb
diff --git a/meta/recipes-devtools/gdb/gdb-cross.inc b/meta/recipes-devtools/gdb/gdb-cross.inc
index 9f9675c1b3..399f4bba97 100644
--- a/meta/recipes-devtools/gdb/gdb-cross.inc
+++ b/meta/recipes-devtools/gdb/gdb-cross.inc
@@ -1,6 +1,6 @@
1require gdb-common.inc 1require gdb-common.inc
2 2
3DEPENDS = "expat-native gmp-native ncurses-native flex-native bison-native" 3DEPENDS = "expat-native gmp-native mpfr-native ncurses-native flex-native bison-native"
4 4
5inherit python3native pkgconfig 5inherit python3native pkgconfig
6 6
diff --git a/meta/recipes-devtools/gdb/gdb-cross_13.2.bb b/meta/recipes-devtools/gdb/gdb-cross_14.1.bb
index 3b654a2f0d..3b654a2f0d 100644
--- a/meta/recipes-devtools/gdb/gdb-cross_13.2.bb
+++ b/meta/recipes-devtools/gdb/gdb-cross_14.1.bb
diff --git a/meta/recipes-devtools/gdb/gdb.inc b/meta/recipes-devtools/gdb/gdb.inc
index e986b1a1f9..eb480f3c65 100644
--- a/meta/recipes-devtools/gdb/gdb.inc
+++ b/meta/recipes-devtools/gdb/gdb.inc
@@ -13,8 +13,5 @@ SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.xz \
13 file://0006-resolve-restrict-keyword-conflict.patch \ 13 file://0006-resolve-restrict-keyword-conflict.patch \
14 file://0007-Fix-invalid-sigprocmask-call.patch \ 14 file://0007-Fix-invalid-sigprocmask-call.patch \
15 file://0008-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \ 15 file://0008-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \
16 file://add-missing-ldflags.patch \
17 " 16 "
18SRC_URI[sha256sum] = "fd5bebb7be1833abdb6e023c2f498a354498281df9d05523d8915babeb893f0a" 17SRC_URI[sha256sum] = "d66df51276143451fcbff464cc8723d68f1e9df45a6a2d5635a54e71643edb80"
19
20TOOLCHAIN = "gcc"
diff --git a/meta/recipes-devtools/gdb/gdb/0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch b/meta/recipes-devtools/gdb/gdb/0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch
index 55bdbf644c..86f6e2642d 100644
--- a/meta/recipes-devtools/gdb/gdb/0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch
+++ b/meta/recipes-devtools/gdb/gdb/0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch
@@ -1,4 +1,4 @@
1From 73b71f0b85dd6c8181f2f11a427400d4870fabcc Mon Sep 17 00:00:00 2001 1From ff77aebf533758f0b6f7d22b272d32e08ed06e45 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 23 Mar 2016 06:30:09 +0000 3Date: Wed, 23 Mar 2016 06:30:09 +0000
4Subject: [PATCH] mips-linux-nat: Define _ABIO32 if not defined 4Subject: [PATCH] mips-linux-nat: Define _ABIO32 if not defined
@@ -16,7 +16,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
16 1 file changed, 4 insertions(+) 16 1 file changed, 4 insertions(+)
17 17
18diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c 18diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c
19index 972b5db8e76..5e68538a3ba 100644 19index 8a7cc95f2a4..bfd1c72cba6 100644
20--- a/gdb/mips-linux-nat.c 20--- a/gdb/mips-linux-nat.c
21+++ b/gdb/mips-linux-nat.c 21+++ b/gdb/mips-linux-nat.c
22@@ -41,6 +41,10 @@ 22@@ -41,6 +41,10 @@
diff --git a/meta/recipes-devtools/gdb/gdb/0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch b/meta/recipes-devtools/gdb/gdb/0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
index 01e466f29b..897cfd0df9 100644
--- a/meta/recipes-devtools/gdb/gdb/0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
+++ b/meta/recipes-devtools/gdb/gdb/0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
@@ -1,4 +1,4 @@
1From e258cfb37d7c61b4a97e4ca8f1178485a3f91940 Mon Sep 17 00:00:00 2001 1From 78748dc55b1ceafe9a64beb9628f1d51b215482f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 30 Apr 2016 18:32:14 -0700 3Date: Sat, 30 Apr 2016 18:32:14 -0700
4Subject: [PATCH] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC systems 4Subject: [PATCH] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC systems
@@ -30,7 +30,7 @@ index c84f9146bbd..8c8580c95e1 100644
30 30
31 /* This sometimes isn't defined. */ 31 /* This sometimes isn't defined. */
32diff --git a/gdbserver/linux-ppc-low.cc b/gdbserver/linux-ppc-low.cc 32diff --git a/gdbserver/linux-ppc-low.cc b/gdbserver/linux-ppc-low.cc
33index fdf74727e39..f64afd09b7a 100644 33index 86fbc8f5d96..8a1a39bc750 100644
34--- a/gdbserver/linux-ppc-low.cc 34--- a/gdbserver/linux-ppc-low.cc
35+++ b/gdbserver/linux-ppc-low.cc 35+++ b/gdbserver/linux-ppc-low.cc
36@@ -23,7 +23,13 @@ 36@@ -23,7 +23,13 @@
diff --git a/meta/recipes-devtools/gdb/gdb/0003-Dont-disable-libreadline.a-when-using-disable-static.patch b/meta/recipes-devtools/gdb/gdb/0003-Dont-disable-libreadline.a-when-using-disable-static.patch
index 5562461c75..e41be8209e 100644
--- a/meta/recipes-devtools/gdb/gdb/0003-Dont-disable-libreadline.a-when-using-disable-static.patch
+++ b/meta/recipes-devtools/gdb/gdb/0003-Dont-disable-libreadline.a-when-using-disable-static.patch
@@ -1,4 +1,4 @@
1From 431a88f4370a23b297998641e1e10ebfd74478d9 Mon Sep 17 00:00:00 2001 1From 683650564cd231bbf09c7cbc35543b77ca0b10d0 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 30 Apr 2016 15:25:03 -0700 3Date: Sat, 30 Apr 2016 15:25:03 -0700
4Subject: [PATCH] Dont disable libreadline.a when using --disable-static 4Subject: [PATCH] Dont disable libreadline.a when using --disable-static
@@ -19,10 +19,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
19 2 files changed, 3 insertions(+), 2 deletions(-) 19 2 files changed, 3 insertions(+), 2 deletions(-)
20 20
21diff --git a/Makefile.def b/Makefile.def 21diff --git a/Makefile.def b/Makefile.def
22index f974565d8ca..039b5a3c209 100644 22index 870150183b9..eb3788da0d2 100644
23--- a/Makefile.def 23--- a/Makefile.def
24+++ b/Makefile.def 24+++ b/Makefile.def
25@@ -120,7 +120,8 @@ host_modules= { module= libiconv; 25@@ -119,7 +119,8 @@ host_modules= { module= libiconv;
26 missing= install-html; 26 missing= install-html;
27 missing= install-info; }; 27 missing= install-info; };
28 host_modules= { module= m4; }; 28 host_modules= { module= m4; };
@@ -33,10 +33,10 @@ index f974565d8ca..039b5a3c209 100644
33 host_modules= { module= sim; }; 33 host_modules= { module= sim; };
34 host_modules= { module= texinfo; no_install= true; }; 34 host_modules= { module= texinfo; no_install= true; };
35diff --git a/Makefile.in b/Makefile.in 35diff --git a/Makefile.in b/Makefile.in
36index a425b54e094..dfaf585a7c1 100644 36index c97130a2338..a83f98e4778 100644
37--- a/Makefile.in 37--- a/Makefile.in
38+++ b/Makefile.in 38+++ b/Makefile.in
39@@ -32816,7 +32816,7 @@ configure-readline: 39@@ -31691,7 +31691,7 @@ configure-readline:
40 $$s/$$module_srcdir/configure \ 40 $$s/$$module_srcdir/configure \
41 --srcdir=$${topdir}/$$module_srcdir \ 41 --srcdir=$${topdir}/$$module_srcdir \
42 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 42 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
diff --git a/meta/recipes-devtools/gdb/gdb/0004-use-asm-sgidefs.h.patch b/meta/recipes-devtools/gdb/gdb/0004-use-asm-sgidefs.h.patch
index d34c75ca61..413610d71f 100644
--- a/meta/recipes-devtools/gdb/gdb/0004-use-asm-sgidefs.h.patch
+++ b/meta/recipes-devtools/gdb/gdb/0004-use-asm-sgidefs.h.patch
@@ -1,4 +1,4 @@
1From 693e01865c28c0a48e60173389ef467f46244c21 Mon Sep 17 00:00:00 2001 1From 04eba78ea6bd167b7eeef3af668c8f49888dc688 Mon Sep 17 00:00:00 2001
2From: Andre McCurdy <amccurdy@gmail.com> 2From: Andre McCurdy <amccurdy@gmail.com>
3Date: Sat, 30 Apr 2016 15:29:06 -0700 3Date: Sat, 30 Apr 2016 15:29:06 -0700
4Subject: [PATCH] use <asm/sgidefs.h> 4Subject: [PATCH] use <asm/sgidefs.h>
@@ -19,7 +19,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
19 1 file changed, 1 insertion(+), 1 deletion(-) 19 1 file changed, 1 insertion(+), 1 deletion(-)
20 20
21diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c 21diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c
22index 5e68538a3ba..5b1c209abd8 100644 22index bfd1c72cba6..13dc9cdb703 100644
23--- a/gdb/mips-linux-nat.c 23--- a/gdb/mips-linux-nat.c
24+++ b/gdb/mips-linux-nat.c 24+++ b/gdb/mips-linux-nat.c
25@@ -31,7 +31,7 @@ 25@@ -31,7 +31,7 @@
diff --git a/meta/recipes-devtools/gdb/gdb/0005-Change-order-of-CFLAGS.patch b/meta/recipes-devtools/gdb/gdb/0005-Change-order-of-CFLAGS.patch
index 3aaab8a8f1..7631e75048 100644
--- a/meta/recipes-devtools/gdb/gdb/0005-Change-order-of-CFLAGS.patch
+++ b/meta/recipes-devtools/gdb/gdb/0005-Change-order-of-CFLAGS.patch
@@ -1,4 +1,4 @@
1From 9e72a19355375e589032809dd2ec051b75d4db07 Mon Sep 17 00:00:00 2001 1From e7041e9346aa0c3aee0b76315559e3ab2ef8977e Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 30 Apr 2016 15:35:39 -0700 3Date: Sat, 30 Apr 2016 15:35:39 -0700
4Subject: [PATCH] Change order of CFLAGS 4Subject: [PATCH] Change order of CFLAGS
@@ -13,7 +13,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 1 file changed, 1 insertion(+), 1 deletion(-) 13 1 file changed, 1 insertion(+), 1 deletion(-)
14 14
15diff --git a/gdbserver/Makefile.in b/gdbserver/Makefile.in 15diff --git a/gdbserver/Makefile.in b/gdbserver/Makefile.in
16index 040f0b6faa0..256ce6a3f6a 100644 16index b597515d428..9e615e2842d 100644
17--- a/gdbserver/Makefile.in 17--- a/gdbserver/Makefile.in
18+++ b/gdbserver/Makefile.in 18+++ b/gdbserver/Makefile.in
19@@ -156,7 +156,7 @@ WIN32APILIBS = @WIN32APILIBS@ 19@@ -156,7 +156,7 @@ WIN32APILIBS = @WIN32APILIBS@
diff --git a/meta/recipes-devtools/gdb/gdb/0006-resolve-restrict-keyword-conflict.patch b/meta/recipes-devtools/gdb/gdb/0006-resolve-restrict-keyword-conflict.patch
index fe39c16877..45388c5ac5 100644
--- a/meta/recipes-devtools/gdb/gdb/0006-resolve-restrict-keyword-conflict.patch
+++ b/meta/recipes-devtools/gdb/gdb/0006-resolve-restrict-keyword-conflict.patch
@@ -1,4 +1,4 @@
1From 0ce96011d76ffa377349d0193dd0bf8f1bf641e0 Mon Sep 17 00:00:00 2001 1From 477f1b2049c7f940b8e8fda4ac396cfe322b269f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 10 May 2016 08:47:05 -0700 3Date: Tue, 10 May 2016 08:47:05 -0700
4Subject: [PATCH] resolve restrict keyword conflict 4Subject: [PATCH] resolve restrict keyword conflict
diff --git a/meta/recipes-devtools/gdb/gdb/0007-Fix-invalid-sigprocmask-call.patch b/meta/recipes-devtools/gdb/gdb/0007-Fix-invalid-sigprocmask-call.patch
index b095e92434..26e3ad9098 100644
--- a/meta/recipes-devtools/gdb/gdb/0007-Fix-invalid-sigprocmask-call.patch
+++ b/meta/recipes-devtools/gdb/gdb/0007-Fix-invalid-sigprocmask-call.patch
@@ -1,4 +1,4 @@
1From 696891f6c5a1c6acab95dffd8c1d3a986ca71a18 Mon Sep 17 00:00:00 2001 1From ebeb6125acf6b4e4a8a4eaa59e2830b9ca02d683 Mon Sep 17 00:00:00 2001
2From: Yousong Zhou <yszhou4tech@gmail.com> 2From: Yousong Zhou <yszhou4tech@gmail.com>
3Date: Fri, 24 Mar 2017 10:36:03 +0800 3Date: Fri, 24 Mar 2017 10:36:03 +0800
4Subject: [PATCH] Fix invalid sigprocmask call 4Subject: [PATCH] Fix invalid sigprocmask call
diff --git a/meta/recipes-devtools/gdb/gdb/0008-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch b/meta/recipes-devtools/gdb/gdb/0008-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch
index 566b910648..819f1c9f17 100644
--- a/meta/recipes-devtools/gdb/gdb/0008-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch
+++ b/meta/recipes-devtools/gdb/gdb/0008-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch
@@ -1,4 +1,4 @@
1From e649db1664af981cc87f966aef6c5365ae234547 Mon Sep 17 00:00:00 2001 1From cb7c8df338184d2d2f31ee1fd238653e3162da44 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 15 Jan 2023 00:16:25 -0800 3Date: Sun, 15 Jan 2023 00:16:25 -0800
4Subject: [PATCH] Define alignof using _Alignof when using C11 or newer 4Subject: [PATCH] Define alignof using _Alignof when using C11 or newer
@@ -25,7 +25,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
25 1 file changed, 10 insertions(+) 25 1 file changed, 10 insertions(+)
26 26
27diff --git a/libiberty/sha1.c b/libiberty/sha1.c 27diff --git a/libiberty/sha1.c b/libiberty/sha1.c
28index 504f06d3b9b..790ada82443 100644 28index 6c71e3ebb41..a2caf947d31 100644
29--- a/libiberty/sha1.c 29--- a/libiberty/sha1.c
30+++ b/libiberty/sha1.c 30+++ b/libiberty/sha1.c
31@@ -229,7 +229,17 @@ sha1_process_bytes (const void *buffer, size_t len, struct sha1_ctx *ctx) 31@@ -229,7 +229,17 @@ sha1_process_bytes (const void *buffer, size_t len, struct sha1_ctx *ctx)
diff --git a/meta/recipes-devtools/gdb/gdb/add-missing-ldflags.patch b/meta/recipes-devtools/gdb/gdb/add-missing-ldflags.patch
deleted file mode 100644
index f05ebf19d0..0000000000
--- a/meta/recipes-devtools/gdb/gdb/add-missing-ldflags.patch
+++ /dev/null
@@ -1,47 +0,0 @@
1When running the configure check "checking for ELF support in BFD", LDFLAGS
2were not being passed in to libtool. In OE/YP, we need these flags when using
3uninative due to the games we play with the dynamic loader.
4
5If a version of libzstd was built against a newer glibc, it would need
6newer pthread symbols which it wouldn't find with the system linker. At
7runtime this isn't an issue as it would be switched to use uninative but we
8pass flags in LDFLAGS to allow this.
9
10The comments say LDFLAGS are used but it was dropped in this commit:
11
12https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=5218fa9e8937b007d554f1e01c2e4ecdb9b7e271
13
14and probably needs to be put back upstream.
15
16The bug is rare to reproduce as it depends on the host libzstd was built
17against.
18
19Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=5fc6b6d44cd63651c2902cbfc5b9734a55aaa617]
20Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21
22Index: gdb-13.1/gdb/acinclude.m4
23===================================================================
24--- gdb-13.1.orig/gdb/acinclude.m4
25+++ gdb-13.1/gdb/acinclude.m4
26@@ -234,7 +234,7 @@ AC_DEFUN([GDB_AC_CHECK_BFD], [
27 # points somewhere with bfd, with -I/foo/lib and -L/foo/lib. We
28 # always want our bfd.
29 CFLAGS="-I${srcdir}/../include -I../bfd -I${srcdir}/../bfd $CFLAGS"
30- LDFLAGS="-L../bfd -L../libiberty"
31+ LDFLAGS="-L../bfd -L../libiberty $LDFLAGS"
32 intl=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
33 LIBS="-lbfd -liberty $intl $LIBS"
34 CC="./libtool --quiet --mode=link $CC"
35Index: gdb-13.1/gdb/configure
36===================================================================
37--- gdb-13.1.orig/gdb/configure
38+++ gdb-13.1/gdb/configure
39@@ -28561,7 +28561,7 @@ WIN32LIBS="$WIN32LIBS $WIN32APILIBS"
40 # points somewhere with bfd, with -I/foo/lib and -L/foo/lib. We
41 # always want our bfd.
42 CFLAGS="-I${srcdir}/../include -I../bfd -I${srcdir}/../bfd $CFLAGS"
43- LDFLAGS="-L../bfd -L../libiberty"
44+ LDFLAGS="-L../bfd -L../libiberty $LDFLAGS"
45 intl=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
46 LIBS="-lbfd -liberty $intl $LIBS"
47 CC="./libtool --quiet --mode=link $CC"
diff --git a/meta/recipes-devtools/gdb/gdb_13.2.bb b/meta/recipes-devtools/gdb/gdb_14.1.bb
index 9c6db4ca2c..9c6db4ca2c 100644
--- a/meta/recipes-devtools/gdb/gdb_13.2.bb
+++ b/meta/recipes-devtools/gdb/gdb_14.1.bb