similarity index 100%
rename from meta/recipes-devtools/gdb/gdb-cross-canadian_17.2.bb
rename to meta/recipes-devtools/gdb/gdb-cross-canadian_18.1.bb
similarity index 100%
rename from meta/recipes-devtools/gdb/gdb-cross_17.2.bb
rename to meta/recipes-devtools/gdb/gdb-cross_18.1.bb
@@ -14,4 +14,4 @@ SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.xz \
file://0007-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \
file://0008-Add-fix-for-packages-that-are-not-compatible-with-C2.patch \
"
-SRC_URI[sha256sum] = "1c036c0d72e4b3d1fb5c94c88632add6f9d76f4d7c4d2ea793c12a9f19a3228c"
+SRC_URI[sha256sum] = "cd9fc3fe2b47743840e42c1592d3d87f8302eb18639c0b8b4ba0898002e2348f"
@@ -1,4 +1,4 @@
-From 8448967d9cfb09eb11fd3573a72a35ae94a89ba1 Mon Sep 17 00:00:00 2001
+From bb8d6121f63d29184816d8e685c1a7f683a26eda Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
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 <raj.khem@gmail.com>
1 file changed, 4 insertions(+)
diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c
-index 3d072ea935c..ca38caeacc2 100644
+index 9356431c..209c4d2b 100644
--- a/gdb/mips-linux-nat.c
+++ b/gdb/mips-linux-nat.c
@@ -40,6 +40,10 @@
@@ -1,4 +1,4 @@
-From ec49e6283bc6a4a99596410db9509bee6cd941ce Mon Sep 17 00:00:00 2001
+From a552e69a180bc3d821f469280e03deda0dc8861b Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 30 Apr 2016 18:32:14 -0700
Subject: [PATCH] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC systems
@@ -12,7 +12,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
2 files changed, 12 insertions(+)
diff --git a/gdb/nat/ppc-linux.h b/gdb/nat/ppc-linux.h
-index 3efc1b9a9bf..635d07486de 100644
+index 26b9af4e..6db93904 100644
--- a/gdb/nat/ppc-linux.h
+++ b/gdb/nat/ppc-linux.h
@@ -18,7 +18,13 @@
@@ -30,7 +30,7 @@ index 3efc1b9a9bf..635d07486de 100644
/* This sometimes isn't defined. */
diff --git a/gdbserver/linux-ppc-low.cc b/gdbserver/linux-ppc-low.cc
-index 3ce978f4c7c..38534297cdf 100644
+index 6a2c4136..23cb1831 100644
--- a/gdbserver/linux-ppc-low.cc
+++ b/gdbserver/linux-ppc-low.cc
@@ -22,7 +22,13 @@
@@ -1,4 +1,4 @@
-From 2fa91dec5f0ec5663861ca53bde8951e48557bb3 Mon Sep 17 00:00:00 2001
+From 16653ccd5f43b12ed29d573ba7e659021958ed82 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 30 Apr 2016 15:25:03 -0700
Subject: [PATCH] Dont disable libreadline.a when using --disable-static
@@ -19,7 +19,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile.def b/Makefile.def
-index 4896c5c692c..17e3256be7d 100644
+index e7f33345..fb182ef3 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -134,7 +134,8 @@ host_modules= { module= libiconv;
@@ -33,10 +33,10 @@ index 4896c5c692c..17e3256be7d 100644
host_modules= { module= sim; };
host_modules= { module= texinfo; no_install= true; };
diff --git a/Makefile.in b/Makefile.in
-index f12c251f9c8..17ea24e8012 100644
+index 0b04b71d..08c829a2 100644
--- a/Makefile.in
+++ b/Makefile.in
-@@ -31593,7 +31593,7 @@ configure-readline:
+@@ -31618,7 +31618,7 @@ configure-readline:
$$s/$$module_srcdir/configure \
--srcdir=$${topdir}/$$module_srcdir \
$(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
@@ -1,4 +1,4 @@
-From 6d37100388d45185a6e88ea7099a698c2c76b084 Mon Sep 17 00:00:00 2001
+From ed199bfc463ef489eba85c577710a6083abeea0b Mon Sep 17 00:00:00 2001
From: Andre McCurdy <amccurdy@gmail.com>
Date: Sat, 30 Apr 2016 15:29:06 -0700
Subject: [PATCH] use <asm/sgidefs.h>
@@ -19,7 +19,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c
-index ca38caeacc2..2f044ca508a 100644
+index 209c4d2b..7849b6fd 100644
--- a/gdb/mips-linux-nat.c
+++ b/gdb/mips-linux-nat.c
@@ -30,7 +30,7 @@
@@ -1,4 +1,4 @@
-From e7cab417080f3454ea984e19384d9f1bf9e48fba Mon Sep 17 00:00:00 2001
+From 31b6a49ee3b6dc394899224b960be84bb9f18064 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 30 Apr 2016 15:35:39 -0700
Subject: [PATCH] Change order of CFLAGS
@@ -13,10 +13,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 1 insertion(+)
diff --git a/gdbserver/Makefile.in b/gdbserver/Makefile.in
-index 365dcf23650..fc16218334f 100644
+index e45c89dc..0fb61097 100644
--- a/gdbserver/Makefile.in
+++ b/gdbserver/Makefile.in
-@@ -174,6 +174,7 @@ INTERNAL_CFLAGS = \
+@@ -170,6 +170,7 @@ INTERNAL_CFLAGS = \
$(PTHREAD_CFLAGS) \
$(WARN_CFLAGS) \
$(WERROR_CFLAGS) \
@@ -1,4 +1,4 @@
-From 13e61d515b74389e61fa52ca43656f9d1c294683 Mon Sep 17 00:00:00 2001
+From 7a405e07c213b25800eb79fa401c5bb9eccb91be Mon Sep 17 00:00:00 2001
From: Yousong Zhou <yszhou4tech@gmail.com>
Date: Fri, 24 Mar 2017 10:36:03 +0800
Subject: [PATCH] Fix invalid sigprocmask call
@@ -32,7 +32,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdbsupport/signals-state-save-restore.cc b/gdbsupport/signals-state-save-restore.cc
-index 60724f95c87..8b493271aa6 100644
+index f3b7541a..c1534254 100644
--- a/gdbsupport/signals-state-save-restore.cc
+++ b/gdbsupport/signals-state-save-restore.cc
@@ -37,7 +37,7 @@ save_original_signals_state (bool quiet)
@@ -1,4 +1,4 @@
-From 3d3d91ac1db8ee7f624d225734cb5b57b752e00b Mon Sep 17 00:00:00 2001
+From 4076be9abb5f500471f86ecff6f69a5dc888977b Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
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 <raj.khem@gmail.com>
1 file changed, 10 insertions(+)
diff --git a/libiberty/sha1.c b/libiberty/sha1.c
-index 49e8e0b6c2b..72de5cc8ad6 100644
+index 464919d2..90557b90 100644
--- a/libiberty/sha1.c
+++ b/libiberty/sha1.c
@@ -234,7 +234,17 @@ sha1_process_bytes (const void *buffer, size_t len, struct sha1_ctx *ctx)
@@ -1,4 +1,4 @@
-From f71cfa9db1a196f0fadb2090ac04ce3164e171d3 Mon Sep 17 00:00:00 2001
+From 3782818f994e6fdb99b4a5083e178a47d6629fb0 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sun, 16 Mar 2025 12:48:46 -0700
Subject: [PATCH] Add fix for packages that are not compatible with C23
@@ -15,7 +15,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/readline/readline/rlstdc.h b/readline/readline/rlstdc.h
-index 2aaa30babfb..a7a0ef30428 100644
+index 2aaa30ba..a7a0ef30 100644
--- a/readline/readline/rlstdc.h
+++ b/readline/readline/rlstdc.h
@@ -44,7 +44,7 @@
similarity index 100%
rename from meta/recipes-devtools/gdb/gdb_17.2.bb
rename to meta/recipes-devtools/gdb/gdb_18.1.bb
NEWS: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-18.1-release - Refresh existing patches Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech> --- ...-cross-canadian_17.2.bb => gdb-cross-canadian_18.1.bb} | 0 .../gdb/{gdb-cross_17.2.bb => gdb-cross_18.1.bb} | 0 meta/recipes-devtools/gdb/gdb.inc | 2 +- ...001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch | 4 ++-- ...ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch | 6 +++--- ...-disable-libreadline.a-when-using-disable-static.patch | 8 ++++---- .../recipes-devtools/gdb/gdb/0004-use-asm-sgidefs.h.patch | 4 ++-- .../gdb/gdb/0005-Change-order-of-CFLAGS.patch | 6 +++--- .../gdb/gdb/0006-Fix-invalid-sigprocmask-call.patch | 4 ++-- ...ne-alignof-using-_Alignof-when-using-C11-or-newe.patch | 4 ++-- ...fix-for-packages-that-are-not-compatible-with-C2.patch | 4 ++-- meta/recipes-devtools/gdb/{gdb_17.2.bb => gdb_18.1.bb} | 0 12 files changed, 21 insertions(+), 21 deletions(-) rename meta/recipes-devtools/gdb/{gdb-cross-canadian_17.2.bb => gdb-cross-canadian_18.1.bb} (100%) rename meta/recipes-devtools/gdb/{gdb-cross_17.2.bb => gdb-cross_18.1.bb} (100%) rename meta/recipes-devtools/gdb/{gdb_17.2.bb => gdb_18.1.bb} (100%)