[openwrt/openwrt] toolchain: gdb: Update to version 16.3

LEDE Commits lede-commits at lists.infradead.org
Sat Nov 8 11:59:23 PST 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/7f989ecb0342701b928a1da03e6f475197ca4730

commit 7f989ecb0342701b928a1da03e6f475197ca4730
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sat Oct 25 22:49:02 2025 +0200

    toolchain: gdb: Update to version 16.3
    
    This is a corrective release over GDB 16.2, fixing the following issues:
    
       PR symtab/32309 ([gdb/symtab, fission] gdb/dwarf2/read.h:289: internal-error: version: Assertion `m_dwarf_version != 0' failed)
       PR corefiles/32441 (gdb segfaults when generating a core file if target_fileio_read_alloc fails)
       PR tui/32623 (TUI console window doesn't update while inferior is running)
       PR corefiles/32634 ([gdb/corefiles] segfault in gdb.arch/i386-biarch-core.exp)
       PR backtrace/32757 ("Assertion `stashed' failed" when inline frame #0 is duplicated)
       PR tdep/32770 ([gdb/tdep, i386] FAIL: gdb.reverse/recvmsg-reverse.exp: continue to breakpoint: marker2)
       PR gdb/32775 ([AArch64] gdbserver crashes on SVE/SME-enabled systems)
       PR record/32784 ([gdb/record, aarch64] Stack smashing detected in aarch64_record_asimd_load_store)
       PR tui/32797 (Escape sequences to only reset foreground or background color to default fail)
       PR gdb/32828 (gstack regression: missing file names and line numbers)
    
    Link: https://github.com/openwrt/openwrt/pull/20543
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 toolchain/gdb/Makefile                                          | 4 ++--
 toolchain/gdb/patches/130-fix-build-error-with-Xcode-16.3.patch | 7 +------
 2 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/toolchain/gdb/Makefile b/toolchain/gdb/Makefile
index c91bae5fe3..8d1a106c22 100644
--- a/toolchain/gdb/Makefile
+++ b/toolchain/gdb/Makefile
@@ -7,12 +7,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=gdb
-PKG_VERSION:=16.2
+PKG_VERSION:=16.3
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GNU/gdb
-PKG_HASH:=4002cb7f23f45c37c790536a13a720942ce4be0402d929c9085e92f10d480119
+PKG_HASH:=bcfcd095528a987917acf9fff3f1672181694926cc18d609c99d0042c00224c5
 PKG_CPE_ID:=cpe:/a:gnu:gdb
 GDB_DIR:=$(PKG_NAME)-$(PKG_VERSION)
 
diff --git a/toolchain/gdb/patches/130-fix-build-error-with-Xcode-16.3.patch b/toolchain/gdb/patches/130-fix-build-error-with-Xcode-16.3.patch
index 4f76ed3c89..dd2b63368e 100644
--- a/toolchain/gdb/patches/130-fix-build-error-with-Xcode-16.3.patch
+++ b/toolchain/gdb/patches/130-fix-build-error-with-Xcode-16.3.patch
@@ -34,11 +34,9 @@ Signed-off-by: Georgi Valkov <gvalkov at gmail.com>
  zlib/zutil.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/zlib/zutil.h b/zlib/zutil.h
-index d9a20ae1bf4..183e51b96b6 100644
 --- a/zlib/zutil.h
 +++ b/zlib/zutil.h
-@@ -137,7 +137,7 @@ extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
+@@ -137,7 +137,7 @@ extern z_const char * const z_errmsg[10]
  #  endif
  #endif
  
@@ -47,6 +45,3 @@ index d9a20ae1bf4..183e51b96b6 100644
  #  define OS_CODE  7
  #  ifndef Z_SOLO
  #    if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os
--- 
-2.49.0
-




More information about the lede-commits mailing list