Browse Source

gdb: update to 14.1

Waldemar Brodkorb 3 months ago
parent
commit
f590e7e918
4 changed files with 21 additions and 7 deletions
  1. 5 4
      package/gdb/Makefile
  2. 2 2
      package/gdbserver/Makefile
  3. 7 1
      target/config/Config.in.gdb
  4. 7 0
      toolchain/gdb/Makefile.inc

+ 5 - 4
package/gdb/Makefile

@@ -4,14 +4,14 @@
 include ${ADK_TOPDIR}/rules.mk
 
 PKG_NAME:=		gdb
-PKG_VERSION:=		13.2
+PKG_VERSION:=		14.1
 PKG_RELEASE:=		1
-PKG_HASH:=		fd5bebb7be1833abdb6e023c2f498a354498281df9d05523d8915babeb893f0a
+PKG_HASH:=		d66df51276143451fcbff464cc8723d68f1e9df45a6a2d5635a54e71643edb80
 PKG_DESCR:=		program debugger
 PKG_SECTION:=		app/debug
 PKG_SITES:=		${MASTER_SITE_GNU:=gdb/}
-PKG_DEPENDS:=		libncurses libreadline zlib libexpat libthread-db libgmp
-PKG_BUILDDEP:=		ncurses readline expat zlib gmp
+PKG_DEPENDS:=		libncurses libreadline zlib libexpat libthread-db libgmp mpfr
+PKG_BUILDDEP:=		ncurses readline expat zlib gmp mpfr
 PKG_NEEDS:=		c++
 
 PKG_ARCH_DEPENDS:=	!cris !avr32 !microblaze
@@ -47,6 +47,7 @@ CONFIGURE_ARGS+=	--enable-static \
 			--with-curses \
 			--with-libexpat-prefix="${STAGING_TARGET_DIR}/usr" \
 			--with-gmp="${STAGING_TARGET_DIR}/usr" \
+			--with-mpfr="${STAGING_TARGET_DIR}/usr" \
 			--enable-gdbmi
 
 gdb-install:

+ 2 - 2
package/gdbserver/Makefile

@@ -4,9 +4,9 @@
 include ${ADK_TOPDIR}/rules.mk
 
 PKG_NAME:=		gdbserver
-PKG_VERSION:=		13.1
+PKG_VERSION:=		14.1
 PKG_RELEASE:=		1
-PKG_HASH:=		115ad5c18d69a6be2ab15882d365dda2a2211c14f480b3502c6eba576e2e95a0
+PKG_HASH:=		d66df51276143451fcbff464cc8723d68f1e9df45a6a2d5635a54e71643edb80
 PKG_DESCR:=		remote program debugger utility
 PKG_SECTION:=		app/debug
 PKG_NEEDS:=		c++

+ 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_13_2
+default ADK_TOOLCHAIN_GDB_14_1
 
 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_14_1
+	bool "14.1"
+	depends on !ADK_TARGET_ARCH_AVR32
+	depends on !ADK_TARGET_ARCH_H8300
+	depends on !ADK_TARGET_ARCH_NDS32
+
 config ADK_TOOLCHAIN_GDB_13_2
 	bool "13.2"
 	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_14_1),y)
+PKG_VERSION:=		14.1
+PKG_RELEASE:=		1
+PKG_HASH:=		d66df51276143451fcbff464cc8723d68f1e9df45a6a2d5635a54e71643edb80
+PKG_SITES:=		${MASTER_SITE_GNU:=gdb/}
+DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.xz
+endif
 ifeq ($(ADK_TOOLCHAIN_GDB_13_2),y)
 PKG_VERSION:=		13.2
 PKG_RELEASE:=		1