summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-05-12 12:28:54 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-05-13 17:56:29 +0100
commitc7cb4560751f9c9bb90ecc679e611271fb225711 (patch)
tree3db1facbe5d22c149e6c5bb2486a086e1ec83c0a
parentb0d6bb477d2e18de6fcea9dcb3facdf700422bc1 (diff)
downloadpoky-c7cb4560751f9c9bb90ecc679e611271fb225711.tar.gz
gdb: Upgrade to 12.1
Release Announcement [1] and Notes [2] [1] https://lists.gnu.org/archive/html/info-gnu/2022-05/msg00000.html [2] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-12.1-release (From OE-Core rev: 8d42315c074a9746df0586136b063ea0e58739db) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/distro/include/tcmode-default.inc2
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross-canadian_12.1.bb (renamed from meta/recipes-devtools/gdb/gdb-cross-canadian_11.2.bb)0
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross_12.1.bb (renamed from meta/recipes-devtools/gdb/gdb-cross_11.2.bb)0
-rw-r--r--meta/recipes-devtools/gdb/gdb.inc14
-rw-r--r--meta/recipes-devtools/gdb/gdb/0001-make-man-install-relative-to-DESTDIR.patch10
-rw-r--r--meta/recipes-devtools/gdb/gdb/0002-mips-linux-nat-Define-_ABIO32-if-not-defined.patch8
-rw-r--r--meta/recipes-devtools/gdb/gdb/0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch11
-rw-r--r--meta/recipes-devtools/gdb/gdb/0004-Dont-disable-libreadline.a-when-using-disable-static.patch (renamed from meta/recipes-devtools/gdb/gdb/0005-Dont-disable-libreadline.a-when-using-disable-static.patch)14
-rw-r--r--meta/recipes-devtools/gdb/gdb/0005-use-asm-sgidefs.h.patch (renamed from meta/recipes-devtools/gdb/gdb/0006-use-asm-sgidefs.h.patch)8
-rw-r--r--meta/recipes-devtools/gdb/gdb/0006-Change-order-of-CFLAGS.patch (renamed from meta/recipes-devtools/gdb/gdb/0007-Change-order-of-CFLAGS.patch)10
-rw-r--r--meta/recipes-devtools/gdb/gdb/0007-resolve-restrict-keyword-conflict.patch (renamed from meta/recipes-devtools/gdb/gdb/0008-resolve-restrict-keyword-conflict.patch)6
-rw-r--r--meta/recipes-devtools/gdb/gdb/0008-Fix-invalid-sigprocmask-call.patch (renamed from meta/recipes-devtools/gdb/gdb/0009-Fix-invalid-sigprocmask-call.patch)8
-rw-r--r--meta/recipes-devtools/gdb/gdb/0009-gdbserver-ctrl-c-handling.patch (renamed from meta/recipes-devtools/gdb/gdb/0010-gdbserver-ctrl-c-handling.patch)10
-rw-r--r--meta/recipes-devtools/gdb/gdb_12.1.bb (renamed from meta/recipes-devtools/gdb/gdb_11.2.bb)0
14 files changed, 50 insertions, 51 deletions
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
index 9660f2804a..1179ba172f 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -19,7 +19,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
19GCCVERSION ?= "12.%" 19GCCVERSION ?= "12.%"
20SDKGCCVERSION ?= "${GCCVERSION}" 20SDKGCCVERSION ?= "${GCCVERSION}"
21BINUVERSION ?= "2.38%" 21BINUVERSION ?= "2.38%"
22GDBVERSION ?= "11.%" 22GDBVERSION ?= "12.%"
23GLIBCVERSION ?= "2.35" 23GLIBCVERSION ?= "2.35"
24LINUXLIBCVERSION ?= "5.16%" 24LINUXLIBCVERSION ?= "5.16%"
25QEMUVERSION ?= "7.0%" 25QEMUVERSION ?= "7.0%"
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_11.2.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_12.1.bb
index 4ab2b7156d..4ab2b7156d 100644
--- a/meta/recipes-devtools/gdb/gdb-cross-canadian_11.2.bb
+++ b/meta/recipes-devtools/gdb/gdb-cross-canadian_12.1.bb
diff --git a/meta/recipes-devtools/gdb/gdb-cross_11.2.bb b/meta/recipes-devtools/gdb/gdb-cross_12.1.bb
index 3b654a2f0d..3b654a2f0d 100644
--- a/meta/recipes-devtools/gdb/gdb-cross_11.2.bb
+++ b/meta/recipes-devtools/gdb/gdb-cross_12.1.bb
diff --git a/meta/recipes-devtools/gdb/gdb.inc b/meta/recipes-devtools/gdb/gdb.inc
index 649ee28727..3b569fd40e 100644
--- a/meta/recipes-devtools/gdb/gdb.inc
+++ b/meta/recipes-devtools/gdb/gdb.inc
@@ -8,11 +8,11 @@ SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.xz \
8 file://0001-make-man-install-relative-to-DESTDIR.patch \ 8 file://0001-make-man-install-relative-to-DESTDIR.patch \
9 file://0002-mips-linux-nat-Define-_ABIO32-if-not-defined.patch \ 9 file://0002-mips-linux-nat-Define-_ABIO32-if-not-defined.patch \
10 file://0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch \ 10 file://0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch \
11 file://0005-Dont-disable-libreadline.a-when-using-disable-static.patch \ 11 file://0004-Dont-disable-libreadline.a-when-using-disable-static.patch \
12 file://0006-use-asm-sgidefs.h.patch \ 12 file://0005-use-asm-sgidefs.h.patch \
13 file://0007-Change-order-of-CFLAGS.patch \ 13 file://0006-Change-order-of-CFLAGS.patch \
14 file://0008-resolve-restrict-keyword-conflict.patch \ 14 file://0007-resolve-restrict-keyword-conflict.patch \
15 file://0009-Fix-invalid-sigprocmask-call.patch \ 15 file://0008-Fix-invalid-sigprocmask-call.patch \
16 file://0010-gdbserver-ctrl-c-handling.patch \ 16 file://0009-gdbserver-ctrl-c-handling.patch \
17 " 17 "
18SRC_URI[sha256sum] = "1497c36a71881b8671a9a84a0ee40faab788ca30d7ba19d8463c3cc787152e32" 18SRC_URI[sha256sum] = "0e1793bf8f2b54d53f46dea84ccfd446f48f81b297b28c4f7fc017b818d69fed"
diff --git a/meta/recipes-devtools/gdb/gdb/0001-make-man-install-relative-to-DESTDIR.patch b/meta/recipes-devtools/gdb/gdb/0001-make-man-install-relative-to-DESTDIR.patch
index 824b96f6af..16d6cf196f 100644
--- a/meta/recipes-devtools/gdb/gdb/0001-make-man-install-relative-to-DESTDIR.patch
+++ b/meta/recipes-devtools/gdb/gdb/0001-make-man-install-relative-to-DESTDIR.patch
@@ -1,7 +1,7 @@
1From a6d3df9d84463ec500d9d01558ab8a17e824e9e5 Mon Sep 17 00:00:00 2001 1From 8eca28eddcda4ce8a345ca031f43ff1ed6f37089 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 2 Mar 2015 02:27:55 +0000 3Date: Mon, 2 Mar 2015 02:27:55 +0000
4Subject: [PATCH 01/10] make man install relative to DESTDIR 4Subject: [PATCH 1/9] make man install relative to DESTDIR
5 5
6Upstream-Status: Pending 6Upstream-Status: Pending
7 7
@@ -11,10 +11,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
11 1 file changed, 1 insertion(+), 1 deletion(-) 11 1 file changed, 1 insertion(+), 1 deletion(-)
12 12
13diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in 13diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
14index 8c2cacea1e5..4a52eef2203 100644 14index 74e5dad3049..9e95c224ba4 100644
15--- a/sim/common/Make-common.in 15--- a/sim/common/Make-common.in
16+++ b/sim/common/Make-common.in 16+++ b/sim/common/Make-common.in
17@@ -63,7 +63,7 @@ tooldir = $(libdir)/$(target_alias) 17@@ -70,7 +70,7 @@ tooldir = $(libdir)/$(target_alias)
18 datadir = @datadir@ 18 datadir = @datadir@
19 datarootdir = @datarootdir@ 19 datarootdir = @datarootdir@
20 mandir = @mandir@ 20 mandir = @mandir@
@@ -24,5 +24,5 @@ index 8c2cacea1e5..4a52eef2203 100644
24 includedir = @includedir@ 24 includedir = @includedir@
25 25
26-- 26--
272.33.1 272.36.1
28 28
diff --git a/meta/recipes-devtools/gdb/gdb/0002-mips-linux-nat-Define-_ABIO32-if-not-defined.patch b/meta/recipes-devtools/gdb/gdb/0002-mips-linux-nat-Define-_ABIO32-if-not-defined.patch
index 591c9bfa3f..8d263de896 100644
--- a/meta/recipes-devtools/gdb/gdb/0002-mips-linux-nat-Define-_ABIO32-if-not-defined.patch
+++ b/meta/recipes-devtools/gdb/gdb/0002-mips-linux-nat-Define-_ABIO32-if-not-defined.patch
@@ -1,7 +1,7 @@
1From 7f1f25eaaace289bc33c5aaa1c5fe9e04e719651 Mon Sep 17 00:00:00 2001 1From 37d3afd2eaa95c89ad7cb5d0079b017752e4d0ea 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 02/10] mips-linux-nat: Define _ABIO32 if not defined 4Subject: [PATCH 2/9] mips-linux-nat: Define _ABIO32 if not defined
5 5
6This helps building gdb on mips64 on musl, since 6This helps building gdb on mips64 on musl, since
7musl does not provide sgidefs.h this define is 7musl does not provide sgidefs.h this define is
@@ -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 b21c7cb2ea6..6614b4de31e 100644 19index 20e12b6889e..6adc61235aa 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 @@
@@ -31,5 +31,5 @@ index b21c7cb2ea6..6614b4de31e 100644
31 class mips_linux_nat_target final : public linux_nat_trad_target 31 class mips_linux_nat_target final : public linux_nat_trad_target
32 { 32 {
33-- 33--
342.33.1 342.36.1
35 35
diff --git a/meta/recipes-devtools/gdb/gdb/0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch b/meta/recipes-devtools/gdb/gdb/0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
index 09ea533b00..7e09404bb0 100644
--- a/meta/recipes-devtools/gdb/gdb/0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
+++ b/meta/recipes-devtools/gdb/gdb/0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
@@ -1,8 +1,7 @@
1From 0cb233ec3951582fa1a051a16bfd644ef4969df5 Mon Sep 17 00:00:00 2001 1From e689eec672ee8c53b3adb2ade2b5deb9b7cd99d4 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 03/10] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC 4Subject: [PATCH 3/9] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC systems
5 systems
6 5
7Upstream-Status: Pending 6Upstream-Status: Pending
8 7
@@ -13,7 +12,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 2 files changed, 12 insertions(+) 12 2 files changed, 12 insertions(+)
14 13
15diff --git a/gdb/nat/ppc-linux.h b/gdb/nat/ppc-linux.h 14diff --git a/gdb/nat/ppc-linux.h b/gdb/nat/ppc-linux.h
16index e712a9a5713..76bbcca0928 100644 15index 1094f6b0be3..d8588a646c2 100644
17--- a/gdb/nat/ppc-linux.h 16--- a/gdb/nat/ppc-linux.h
18+++ b/gdb/nat/ppc-linux.h 17+++ b/gdb/nat/ppc-linux.h
19@@ -18,7 +18,13 @@ 18@@ -18,7 +18,13 @@
@@ -31,7 +30,7 @@ index e712a9a5713..76bbcca0928 100644
31 30
32 /* This sometimes isn't defined. */ 31 /* This sometimes isn't defined. */
33diff --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
34index db9a88219ea..151e4183bb1 100644 33index 08824887003..69afbae5359 100644
35--- a/gdbserver/linux-ppc-low.cc 34--- a/gdbserver/linux-ppc-low.cc
36+++ b/gdbserver/linux-ppc-low.cc 35+++ b/gdbserver/linux-ppc-low.cc
37@@ -23,7 +23,13 @@ 36@@ -23,7 +23,13 @@
@@ -49,5 +48,5 @@ index db9a88219ea..151e4183bb1 100644
49 #include "arch/ppc-linux-common.h" 48 #include "arch/ppc-linux-common.h"
50 #include "arch/ppc-linux-tdesc.h" 49 #include "arch/ppc-linux-tdesc.h"
51-- 50--
522.33.1 512.36.1
53 52
diff --git a/meta/recipes-devtools/gdb/gdb/0005-Dont-disable-libreadline.a-when-using-disable-static.patch b/meta/recipes-devtools/gdb/gdb/0004-Dont-disable-libreadline.a-when-using-disable-static.patch
index 02ea30f9bf..a1e85e91b3 100644
--- a/meta/recipes-devtools/gdb/gdb/0005-Dont-disable-libreadline.a-when-using-disable-static.patch
+++ b/meta/recipes-devtools/gdb/gdb/0004-Dont-disable-libreadline.a-when-using-disable-static.patch
@@ -1,7 +1,7 @@
1From e2efd044c479895767f1b929f5a54fa0c689f318 Mon Sep 17 00:00:00 2001 1From 15ee6a626242efb8f367be49c13e00d0b72317f0 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 05/10] Dont disable libreadline.a when using --disable-static 4Subject: [PATCH 4/9] Dont disable libreadline.a when using --disable-static
5 5
6If gdb is configured with --disable-static then this is dutifully passed to 6If gdb is configured with --disable-static then this is dutifully passed to
7readline which then disables libreadline.a, which causes a problem when gdb 7readline which then disables libreadline.a, which causes a problem when gdb
@@ -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 5a460f1dbbc..77a702ac6d6 100644 22index acdcd625ed6..78fc31e1199 100644
23--- a/Makefile.def 23--- a/Makefile.def
24+++ b/Makefile.def 24+++ b/Makefile.def
25@@ -105,7 +105,8 @@ host_modules= { module= libiconv; 25@@ -120,7 +120,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 5a460f1dbbc..77a702ac6d6 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 9b3a5d75735..98cbe844fca 100644 36index 3aacd2daac9..aa58adada4a 100644
37--- a/Makefile.in 37--- a/Makefile.in
38+++ b/Makefile.in 38+++ b/Makefile.in
39@@ -25607,7 +25607,7 @@ configure-readline: 39@@ -32791,7 +32791,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} \
@@ -46,5 +46,5 @@ index 9b3a5d75735..98cbe844fca 100644
46 @endif readline 46 @endif readline
47 47
48-- 48--
492.33.1 492.36.1
50 50
diff --git a/meta/recipes-devtools/gdb/gdb/0006-use-asm-sgidefs.h.patch b/meta/recipes-devtools/gdb/gdb/0005-use-asm-sgidefs.h.patch
index ef271c45e2..242099b9b1 100644
--- a/meta/recipes-devtools/gdb/gdb/0006-use-asm-sgidefs.h.patch
+++ b/meta/recipes-devtools/gdb/gdb/0005-use-asm-sgidefs.h.patch
@@ -1,7 +1,7 @@
1From 5077518c11e8d75e9bf65cdf9ca21c59564e1037 Mon Sep 17 00:00:00 2001 1From 25a75aaf29791f4302f0e4452f7ebaf735d4f083 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 06/10] use <asm/sgidefs.h> 4Subject: [PATCH 5/9] use <asm/sgidefs.h>
5 5
6Build fix for MIPS with musl libc 6Build fix for MIPS with musl libc
7 7
@@ -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 6614b4de31e..237eb6eb975 100644 22index 6adc61235aa..afb40066744 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 @@
@@ -32,5 +32,5 @@ index 6614b4de31e..237eb6eb975 100644
32 #include <asm/ptrace.h> 32 #include <asm/ptrace.h>
33 #include "inf-ptrace.h" 33 #include "inf-ptrace.h"
34-- 34--
352.33.1 352.36.1
36 36
diff --git a/meta/recipes-devtools/gdb/gdb/0007-Change-order-of-CFLAGS.patch b/meta/recipes-devtools/gdb/gdb/0006-Change-order-of-CFLAGS.patch
index 40d12579c0..58c9b1d0a7 100644
--- a/meta/recipes-devtools/gdb/gdb/0007-Change-order-of-CFLAGS.patch
+++ b/meta/recipes-devtools/gdb/gdb/0006-Change-order-of-CFLAGS.patch
@@ -1,7 +1,7 @@
1From 80080e6c8425ac51498f49c2063b960a08f9a27d Mon Sep 17 00:00:00 2001 1From c0e7c34134aa1f9644075c596a2338a50d3d923e 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 07/10] Change order of CFLAGS 4Subject: [PATCH 6/9] Change order of CFLAGS
5 5
6Lets us override Werror if need be 6Lets us override Werror if need be
7 7
@@ -13,10 +13,10 @@ 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 12e9b2777ae..ad44fbc3309 100644 16index 47648b8d962..5599779de57 100644
17--- a/gdbserver/Makefile.in 17--- a/gdbserver/Makefile.in
18+++ b/gdbserver/Makefile.in 18+++ b/gdbserver/Makefile.in
19@@ -172,7 +172,7 @@ WIN32APILIBS = @WIN32APILIBS@ 19@@ -156,7 +156,7 @@ WIN32APILIBS = @WIN32APILIBS@
20 INTERNAL_CFLAGS_BASE = ${GLOBAL_CFLAGS} \ 20 INTERNAL_CFLAGS_BASE = ${GLOBAL_CFLAGS} \
21 ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} ${CPPFLAGS} $(PTHREAD_CFLAGS) 21 ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} ${CPPFLAGS} $(PTHREAD_CFLAGS)
22 INTERNAL_WARN_CFLAGS = ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS) 22 INTERNAL_WARN_CFLAGS = ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS)
@@ -26,5 +26,5 @@ index 12e9b2777ae..ad44fbc3309 100644
26 # LDFLAGS is specifically reserved for setting from the command line 26 # LDFLAGS is specifically reserved for setting from the command line
27 # when running make. 27 # when running make.
28-- 28--
292.33.1 292.36.1
30 30
diff --git a/meta/recipes-devtools/gdb/gdb/0008-resolve-restrict-keyword-conflict.patch b/meta/recipes-devtools/gdb/gdb/0007-resolve-restrict-keyword-conflict.patch
index 9095f90582..bbd1f0b27f 100644
--- a/meta/recipes-devtools/gdb/gdb/0008-resolve-restrict-keyword-conflict.patch
+++ b/meta/recipes-devtools/gdb/gdb/0007-resolve-restrict-keyword-conflict.patch
@@ -1,7 +1,7 @@
1From 4ee7e8afb9ff259e889ac938c673fda9ddc5e15a Mon Sep 17 00:00:00 2001 1From 44fa1ecfbd8a5fe0cfea12a175fa041686842a0c 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 08/10] resolve restrict keyword conflict 4Subject: [PATCH 7/9] resolve restrict keyword conflict
5 5
6GCC detects that we call 'restrict' as param name in function 6GCC detects that we call 'restrict' as param name in function
7signatures and complains since both params are called 'restrict' 7signatures and complains since both params are called 'restrict'
@@ -44,5 +44,5 @@ index 90a67d18426..664641a1fe8 100644
44 _GL_CXXALIASWARN (gettimeofday); 44 _GL_CXXALIASWARN (gettimeofday);
45 # if defined __cplusplus && defined GNULIB_NAMESPACE 45 # if defined __cplusplus && defined GNULIB_NAMESPACE
46-- 46--
472.33.1 472.36.1
48 48
diff --git a/meta/recipes-devtools/gdb/gdb/0009-Fix-invalid-sigprocmask-call.patch b/meta/recipes-devtools/gdb/gdb/0008-Fix-invalid-sigprocmask-call.patch
index 5b9d1cfaf9..ed1310ced2 100644
--- a/meta/recipes-devtools/gdb/gdb/0009-Fix-invalid-sigprocmask-call.patch
+++ b/meta/recipes-devtools/gdb/gdb/0008-Fix-invalid-sigprocmask-call.patch
@@ -1,7 +1,7 @@
1From 5740876d92ddb67b039d5fbcd1b71e6c58823c08 Mon Sep 17 00:00:00 2001 1From 5bdd15553daef7370ca3c1f12d8f14247fdd4907 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 09/10] Fix invalid sigprocmask call 4Subject: [PATCH 8/9] Fix invalid sigprocmask call
5MIME-Version: 1.0 5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8 6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit 7Content-Transfer-Encoding: 8bit
@@ -32,7 +32,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
32 1 file changed, 1 insertion(+), 1 deletion(-) 32 1 file changed, 1 insertion(+), 1 deletion(-)
33 33
34diff --git a/gdbsupport/signals-state-save-restore.cc b/gdbsupport/signals-state-save-restore.cc 34diff --git a/gdbsupport/signals-state-save-restore.cc b/gdbsupport/signals-state-save-restore.cc
35index 95c156e5036..f4aa512d105 100644 35index 92e799d3551..a4a0234272a 100644
36--- a/gdbsupport/signals-state-save-restore.cc 36--- a/gdbsupport/signals-state-save-restore.cc
37+++ b/gdbsupport/signals-state-save-restore.cc 37+++ b/gdbsupport/signals-state-save-restore.cc
38@@ -38,7 +38,7 @@ save_original_signals_state (bool quiet) 38@@ -38,7 +38,7 @@ save_original_signals_state (bool quiet)
@@ -45,5 +45,5 @@ index 95c156e5036..f4aa512d105 100644
45 perror_with_name (("sigprocmask")); 45 perror_with_name (("sigprocmask"));
46 46
47-- 47--
482.33.1 482.36.1
49 49
diff --git a/meta/recipes-devtools/gdb/gdb/0010-gdbserver-ctrl-c-handling.patch b/meta/recipes-devtools/gdb/gdb/0009-gdbserver-ctrl-c-handling.patch
index cb4744e5dd..f53d3bd1e5 100644
--- a/meta/recipes-devtools/gdb/gdb/0010-gdbserver-ctrl-c-handling.patch
+++ b/meta/recipes-devtools/gdb/gdb/0009-gdbserver-ctrl-c-handling.patch
@@ -1,7 +1,7 @@
1From d611a68f05c0c86af27bf6beae189a90a946e2e3 Mon Sep 17 00:00:00 2001 1From bc3b1f6aacf2d8fe66b022fbfcf28cd82c76e52f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 29 Nov 2018 18:00:23 -0800 3Date: Thu, 29 Nov 2018 18:00:23 -0800
4Subject: [PATCH 10/10] gdbserver ctrl-c handling 4Subject: [PATCH 9/9] gdbserver ctrl-c handling
5 5
6This problem was created by the upstream commit 78708b7c8c 6This problem was created by the upstream commit 78708b7c8c
7After applying the commit, it will send SIGINT to the process 7After applying the commit, it will send SIGINT to the process
@@ -23,10 +23,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
23 1 file changed, 1 insertion(+), 1 deletion(-) 23 1 file changed, 1 insertion(+), 1 deletion(-)
24 24
25diff --git a/gdbserver/linux-low.cc b/gdbserver/linux-low.cc 25diff --git a/gdbserver/linux-low.cc b/gdbserver/linux-low.cc
26index 5c6191d941c..7f7acf6700d 100644 26index 7726a4a0c36..f750e074a03 100644
27--- a/gdbserver/linux-low.cc 27--- a/gdbserver/linux-low.cc
28+++ b/gdbserver/linux-low.cc 28+++ b/gdbserver/linux-low.cc
29@@ -5733,7 +5733,7 @@ linux_process_target::request_interrupt () 29@@ -5496,7 +5496,7 @@ linux_process_target::request_interrupt ()
30 { 30 {
31 /* Send a SIGINT to the process group. This acts just like the user 31 /* Send a SIGINT to the process group. This acts just like the user
32 typed a ^C on the controlling terminal. */ 32 typed a ^C on the controlling terminal. */
@@ -36,5 +36,5 @@ index 5c6191d941c..7f7acf6700d 100644
36 36
37 bool 37 bool
38-- 38--
392.33.1 392.36.1
40 40
diff --git a/meta/recipes-devtools/gdb/gdb_11.2.bb b/meta/recipes-devtools/gdb/gdb_12.1.bb
index 9c6db4ca2c..9c6db4ca2c 100644
--- a/meta/recipes-devtools/gdb/gdb_11.2.bb
+++ b/meta/recipes-devtools/gdb/gdb_12.1.bb