#
-# Copyright (C) 2006-2011 OpenWrt.org
+# Copyright (C) 2006-2013 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
include $(TOPDIR)/rules.mk
PKG_NAME:=gdb
-PKG_REV:=7.5-2012.12-1
-PKG_VERSION_MAJOR:=7.5
+PKG_REV:=7.6-2013.05
+PKG_VERSION_MAJOR:=7.6
PKG_VERSION:=linaro-$(PKG_REV)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_MD5SUM:=016cf2c5ed06adf7c601e3301a14e370
-PKG_SOURCE_URL:=http://launchpad.net/gdb-linaro/$(PKG_VERSION_MAJOR)/$(PKG_REV)/+download/
+PKG_MD5SUM:=816290b91cff03912320089d353e8a12
+PKG_SOURCE_URL:=https://releases.linaro.org/13.05/components/toolchain/gdb-linaro/
HOST_BUILD_PARALLEL:=1
--- a/sim/ppc/Makefile.in
+++ b/sim/ppc/Makefile.in
-@@ -551,7 +551,7 @@ PACKAGE_SRC = @sim_pk_src@
+@@ -550,7 +550,7 @@ PACKAGE_SRC = @sim_pk_src@
PACKAGE_OBJ = @sim_pk_obj@
+++ /dev/null
-diff -urN gdb-linaro-7.5-2012.09/config.sub gdb-linaro-7.5-2012.09.new/config.sub
---- gdb-linaro-7.5-2012.09/config.sub 2012-09-13 16:01:23.000000000 +0200
-+++ gdb-linaro-7.5-2012.09.new/config.sub 2012-11-21 18:19:43.516916352 +0100
-@@ -126,7 +126,8 @@
- linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
- knetbsd*-gnu* | netbsd*-gnu* | \
- kopensolaris*-gnu* | \
-- storm-chaos* | os2-emx* | rtmk-nova*)
-+ storm-chaos* | os2-emx* | rtmk-nova* | \
-+ linux-musl*)
- os=-$maybe_os
- basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
- ;;
-@@ -1360,7 +1361,7 @@
- | -chorusos* | -chorusrdb* | -cegcc* \
- | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
- | -mingw32* | -linux-gnu* | -linux-android* \
-- | -linux-newlib* | -linux-uclibc* \
-+ | -linux-newlib* | -linux-uclibc* | -linux-musl* \
- | -uxpv* | -beos* | -mpeix* | -udk* \
- | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
- | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
---- a/gdb/configure 2012-09-13 16:01:22.000000000 +0200
-+++ b/gdb/configure 2012-10-12 17:48:06.863908023 +0200
-@@ -828,8 +828,7 @@
+--- a/gdb/configure
++++ b/gdb/configure
+@@ -834,8 +834,7 @@ MAKEINFOFLAGS
YACC
YFLAGS
XMKMF'
multi-ice
gdbserver'
-@@ -5023,7 +5022,7 @@
+@@ -5033,7 +5032,7 @@ $as_echo "$with_auto_load_safe_path" >&6
# Check whether to support alternative target configurations
---- a/gdb/gdbserver/configure 2012-09-13 16:01:22.000000000 +0200
-+++ b/gdb/gdbserver/configure 2012-10-12 17:49:29.775910147 +0200
-@@ -2173,7 +2173,7 @@
+--- a/gdb/gdbserver/configure
++++ b/gdb/gdbserver/configure
+@@ -2181,7 +2181,7 @@ $as_echo "$as_me: error: \`$ac_var' was
ac_cache_corrupted=: ;;
,);;
*)