Browse Source

update gdb, enable sim only for supported architectures

Waldemar Brodkorb 9 years ago
parent
commit
f37da1684f
3 changed files with 12 additions and 6 deletions
  1. 3 3
      target/config/Config.in.gdb.choice
  2. 6 0
      toolchain/gdb/Makefile
  3. 3 3
      toolchain/gdb/Makefile.inc

+ 3 - 3
target/config/Config.in.gdb.choice

@@ -1,13 +1,13 @@
 choice
 prompt "GNU debugger version"
-default ADK_TOOLCHAIN_GDB_7_9
+default ADK_TOOLCHAIN_GDB_7_9_1
 
 config ADK_TOOLCHAIN_GDB_GIT
 	bool "git"
 	depends on !ADK_TARGET_ARCH_AVR32
 
-config ADK_TOOLCHAIN_GDB_7_9
-	bool "7.9"
+config ADK_TOOLCHAIN_GDB_7_9_1
+	bool "7.9.1"
 	depends on !ADK_TARGET_ARCH_AVR32
 
 config ADK_TOOLCHAIN_GDB_7_8_2

+ 6 - 0
toolchain/gdb/Makefile

@@ -15,6 +15,12 @@ else
 CONFIGURE_ARGS:=	--disable-sim
 endif
 
+ifeq ($(ADK_TARGET_SIM),y)
+CONFIGURE_ARGS:=	--enable-sim
+else
+CONFIGURE_ARGS:= 	--disable-sim
+endif
+
 $(WRKBUILD)/.headers:
 $(WRKBUILD)/.configured:
 	$(SED) 's/install_to_$(INSTALL_DEST) //' ${WRKBUILD}/libiberty/Makefile.in

+ 3 - 3
toolchain/gdb/Makefile.inc

@@ -2,10 +2,10 @@
 # material, please see the LICENCE file in the top-level directory.
 
 PKG_NAME:=		gdb
-ifeq ($(ADK_TOOLCHAIN_GDB_7_9),y)
-PKG_VERSION:=		7.9
+ifeq ($(ADK_TOOLCHAIN_GDB_7_9_1),y)
+PKG_VERSION:=		7.9.1
 PKG_RELEASE:=		1
-PKG_HASH:=		9b315651a16528f7af8c7d8284699fb0c965df316cc7339bb0b7bae335848392
+PKG_HASH:=		cd9c543a411a05b2b647dd38936034b68c2b5d6f10e0d51dc168c166c973ba40
 PKG_SITES:=		${MASTER_SITE_GNU:=gdb/}
 DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.xz
 endif