Ver código fonte

gdb: update to 16.2

Waldemar Brodkorb 3 meses atrás
pai
commit
2251aeff08

+ 2 - 2
package/gdb/Makefile

@@ -4,9 +4,9 @@
 include ${ADK_TOPDIR}/rules.mk
 
 PKG_NAME:=		gdb
-PKG_VERSION:=		16.1
+PKG_VERSION:=		16.2
 PKG_RELEASE:=		1
-PKG_HASH:=		c2cc5ccca029b7a7c3879ce8a96528fdfd056b4d884f2b0511e8f7bc723355c6
+PKG_HASH:=		4002cb7f23f45c37c790536a13a720942ce4be0402d929c9085e92f10d480119
 PKG_DESCR:=		program debugger
 PKG_SECTION:=		app/debug
 PKG_SITES:=		${MASTER_SITE_GNU:=gdb/}

+ 3 - 3
package/gdbserver/Makefile

@@ -4,12 +4,12 @@
 include ${ADK_TOPDIR}/rules.mk
 
 PKG_NAME:=		gdbserver
-PKG_VERSION:=		15.1
+PKG_VERSION:=		16.2
 PKG_RELEASE:=		1
-PKG_HASH:=		38254eacd4572134bca9c5a5aa4d4ca564cbbd30c369d881f733fb6b903354f2
+PKG_HASH:=		4002cb7f23f45c37c790536a13a720942ce4be0402d929c9085e92f10d480119
 PKG_DESCR:=		remote program debugger utility
 PKG_SECTION:=		app/debug
-PKG_NEEDS:=		c++
+PKG_NEEDS:=		c++ iconv
 PKG_SITES:=		${MASTER_SITE_GNU:=gdb/}
 PKG_DEPENDS:=		libthread-db libgmp
 PKG_BUILDDEP:=		gmp

+ 7 - 1
target/config/Config.in.gdb

@@ -21,7 +21,7 @@ choice
 prompt "GNU debugger version"
 depends on ADK_TOOLCHAIN_WITH_GDB
 default ADK_TOOLCHAIN_GDB_H8300_GIT if ADK_TARGET_ARCH_H8300
-default ADK_TOOLCHAIN_GDB_15_1
+default ADK_TOOLCHAIN_GDB_16_2
 
 config ADK_TOOLCHAIN_GDB_GIT
 	bool "git"
@@ -33,6 +33,12 @@ config ADK_TOOLCHAIN_GDB_H8300_GIT
 	bool "h8300-git"
 	depends on ADK_TARGET_ARCH_H8300
 
+config ADK_TOOLCHAIN_GDB_16_2
+	bool "16.2"
+	depends on !ADK_TARGET_ARCH_AVR32
+	depends on !ADK_TARGET_ARCH_H8300
+	depends on !ADK_TARGET_ARCH_NDS32
+
 config ADK_TOOLCHAIN_GDB_15_1
 	bool "15.1"
 	depends on !ADK_TARGET_ARCH_AVR32

+ 7 - 0
toolchain/gdb/Makefile.inc

@@ -2,6 +2,13 @@
 # material, please see the LICENCE file in the top-level directory.
 
 PKG_NAME:=		gdb
+ifeq ($(ADK_TOOLCHAIN_GDB_16_2),y)
+PKG_VERSION:=		16.2
+PKG_RELEASE:=		1
+PKG_HASH:=		bdc1da4a033280ac752e7d34b0418efaa45bed093235cb88e62ea961752a37f8
+PKG_SITES:=		${MASTER_SITE_GNU:=gdb/}
+DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz
+endif
 ifeq ($(ADK_TOOLCHAIN_GDB_15_1),y)
 PKG_VERSION:=		15.1
 PKG_RELEASE:=		1