[rtems-crossrpms commit] Upgrade to gcc-7.6.1.

Ralf Corsepius ralf at rtems.org
Sun Dec 8 18:17:58 UTC 2013


Module:    rtems-crossrpms
Branch:    master
Commit:    569d72aff72b82e168048b585dd30a38bed34cbf
Changeset: http://git.rtems.org/rtems-crossrpms/commit/?id=569d72aff72b82e168048b585dd30a38bed34cbf

Author:    Ralf Corsépius <ralf.corsepius at rtems.org>
Date:      Sat Aug 31 05:35:33 2013 +0200

Upgrade to gcc-7.6.1.

---

 rtems4.11/arm/Makefile.am                          |    4 +-
 rtems4.11/arm/Makefile.in                          |    4 +-
 rtems4.11/arm/gdb-sources.add                      |   20 +++------------
 rtems4.11/arm/rtems-4.11-arm-rtems4.11-gdb.spec    |   26 +++++--------------
 rtems4.11/avr/Makefile.am                          |    2 +-
 rtems4.11/avr/Makefile.in                          |    2 +-
 rtems4.11/avr/gdb-sources.add                      |   20 +++------------
 rtems4.11/avr/rtems-4.11-avr-rtems4.11-gdb.spec    |   24 ++++-------------
 rtems4.11/bfin/Makefile.am                         |    2 +-
 rtems4.11/bfin/Makefile.in                         |    2 +-
 rtems4.11/bfin/gdb-sources.add                     |   20 +++------------
 rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gdb.spec  |   24 ++++-------------
 rtems4.11/h8300/Makefile.am                        |    2 +-
 rtems4.11/h8300/Makefile.in                        |    2 +-
 rtems4.11/h8300/gdb-sources.add                    |   20 +++------------
 .../h8300/rtems-4.11-h8300-rtems4.11-gdb.spec      |   24 ++++-------------
 rtems4.11/i386/Makefile.am                         |    2 +-
 rtems4.11/i386/Makefile.in                         |    2 +-
 rtems4.11/i386/gdb-sources.add                     |   20 +++------------
 rtems4.11/i386/rtems-4.11-i386-rtems4.11-gdb.spec  |   24 ++++-------------
 rtems4.11/lm32/Makefile.am                         |    2 +-
 rtems4.11/lm32/Makefile.in                         |    2 +-
 rtems4.11/lm32/gdb-sources.add                     |   20 +++------------
 rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gdb.spec  |   24 ++++-------------
 rtems4.11/m32c/Makefile.am                         |    2 +-
 rtems4.11/m32c/Makefile.in                         |    2 +-
 rtems4.11/m32c/gdb-sources.add                     |   20 +++------------
 rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gdb.spec  |   24 ++++-------------
 rtems4.11/m32r/Makefile.am                         |    2 +-
 rtems4.11/m32r/Makefile.in                         |    2 +-
 rtems4.11/m32r/gdb-sources.add                     |   20 +++------------
 rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gdb.spec  |   24 ++++-------------
 rtems4.11/m68k/Makefile.am                         |    2 +-
 rtems4.11/m68k/Makefile.in                         |    2 +-
 rtems4.11/m68k/gdb-sources.add                     |   20 +++------------
 rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gdb.spec  |   24 ++++-------------
 rtems4.11/microblaze/Makefile.am                   |    2 +-
 rtems4.11/microblaze/Makefile.in                   |    2 +-
 rtems4.11/microblaze/gdb-sources.add               |   20 +++------------
 .../rtems-4.11-microblaze-rtems4.11-gdb.spec       |   24 ++++-------------
 rtems4.11/mips/Makefile.am                         |    2 +-
 rtems4.11/mips/Makefile.in                         |    2 +-
 rtems4.11/mips/gdb-sources.add                     |   20 +++------------
 rtems4.11/mips/rtems-4.11-mips-rtems4.11-gdb.spec  |   24 ++++-------------
 rtems4.11/mipstx39/Makefile.am                     |    2 +-
 rtems4.11/mipstx39/Makefile.in                     |    2 +-
 rtems4.11/mipstx39/gdb-sources.add                 |   20 +++------------
 .../rtems-4.11-mipstx39-rtems4.11-gdb.spec         |   24 ++++-------------
 rtems4.11/powerpc/Makefile.am                      |    2 +-
 rtems4.11/powerpc/Makefile.in                      |    2 +-
 rtems4.11/powerpc/gdb-sources.add                  |   20 +++------------
 .../powerpc/rtems-4.11-powerpc-rtems4.11-gdb.spec  |   24 ++++-------------
 rtems4.11/sh/Makefile.am                           |    2 +-
 rtems4.11/sh/Makefile.in                           |    2 +-
 rtems4.11/sh/gdb-sources.add                       |   20 +++------------
 rtems4.11/sh/rtems-4.11-sh-rtems4.11-gdb.spec      |   24 ++++-------------
 rtems4.11/sparc/Makefile.am                        |    2 +-
 rtems4.11/sparc/Makefile.in                        |    2 +-
 rtems4.11/sparc/gdb-sources.add                    |   20 +++------------
 .../sparc/rtems-4.11-sparc-rtems4.11-gdb.spec      |   24 ++++-------------
 rtems4.11/sparc64/Makefile.am                      |    2 +-
 rtems4.11/sparc64/Makefile.in                      |    2 +-
 rtems4.11/sparc64/gdb-sources.add                  |   20 +++------------
 .../sparc64/rtems-4.11-sparc64-rtems4.11-gdb.spec  |   24 ++++-------------
 rtems4.11/v850/Makefile.am                         |    2 +-
 rtems4.11/v850/Makefile.in                         |    2 +-
 rtems4.11/v850/gdb-sources.add                     |   20 +++------------
 rtems4.11/v850/rtems-4.11-v850-rtems4.11-gdb.spec  |   24 ++++-------------
 68 files changed, 207 insertions(+), 615 deletions(-)

diff --git a/rtems4.11/arm/Makefile.am b/rtems4.11/arm/Makefile.am
index c7ca139..fa036e6 100644
--- a/rtems4.11/arm/Makefile.am
+++ b/rtems4.11/arm/Makefile.am
@@ -19,9 +19,9 @@ NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 25`
 include ../gcc.am
 GCC_OPTS += --languages=cxx
 
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 2
+GDB_RPMREL = 1
 include ../gdb.am
 GDB_OPTS +=
 
diff --git a/rtems4.11/arm/Makefile.in b/rtems4.11/arm/Makefile.in
index 0562669..f0df438 100644
--- a/rtems4.11/arm/Makefile.in
+++ b/rtems4.11/arm/Makefile.in
@@ -257,9 +257,9 @@ GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/gcc/target-objc.add \
 	$(top_srcdir)/gcc/target-newlib.add \
 	$(top_srcdir)/gcc/base-newlib.add
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 2
+GDB_RPMREL = 1
 GDB_OPTS =
 GDB_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/gdb/gdb.add $(top_srcdir)/gdb/prep.add \
diff --git a/rtems4.11/arm/gdb-sources.add b/rtems4.11/arm/gdb-sources.add
index d70efba..13dae04 100644
--- a/rtems4.11/arm/gdb-sources.add
+++ b/rtems4.11/arm/gdb-sources.add
@@ -1,20 +1,8 @@
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
diff --git a/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gdb.spec b/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gdb.spec
index b2089f0..ea4f0b8 100644
--- a/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gdb.spec
+++ b/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gdb.spec
@@ -46,14 +46,14 @@
 %endif
 
 %{?!el5:%global _with_noarch_subpackages 1}
-%define gdb_version 7.6
-%define gdb_rpmvers %{expand:%(echo 7.6 | tr - _)} 
+%define gdb_version 7.6.1
+%define gdb_rpmvers %{expand:%(echo 7.6.1 | tr - _)} 
 
 Name:		rtems-4.11-arm-rtems4.11-gdb
 Summary:	Gdb for target arm-rtems4.11
 Group:		Development/Tools
 Version:	%{gdb_rpmvers}
-Release:	2%{?dist}
+Release:	1%{?dist}
 License:	GPL/LGPL
 URL: 		http://sourceware.org/gdb
 %{?el5:BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)}
@@ -102,26 +102,14 @@ BuildRequires:	%{?suse:makeinfo}%{!?suse:texinfo}
 Obsoletes:	rtems-4.11-arm-rtemseabi4.11-gdb < %{version}-%{release}
 Provides:	rtems-4.11-arm-rtemseabi4.11-gdb = %{version}-%{release}
 
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
 
 %description
 GDB for target arm-rtems4.11
diff --git a/rtems4.11/avr/Makefile.am b/rtems4.11/avr/Makefile.am
index af6d453..f63760b 100644
--- a/rtems4.11/avr/Makefile.am
+++ b/rtems4.11/avr/Makefile.am
@@ -18,7 +18,7 @@ NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 22`
 include ../gcc.am
 GCC_OPTS +=
 
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 include ../gdb.am
diff --git a/rtems4.11/avr/Makefile.in b/rtems4.11/avr/Makefile.in
index 72404be..72ee64b 100644
--- a/rtems4.11/avr/Makefile.in
+++ b/rtems4.11/avr/Makefile.in
@@ -257,7 +257,7 @@ GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/gcc/target-objc.add \
 	$(top_srcdir)/gcc/target-newlib.add \
 	$(top_srcdir)/gcc/base-newlib.add
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 GDB_OPTS =
diff --git a/rtems4.11/avr/gdb-sources.add b/rtems4.11/avr/gdb-sources.add
index d70efba..13dae04 100644
--- a/rtems4.11/avr/gdb-sources.add
+++ b/rtems4.11/avr/gdb-sources.add
@@ -1,20 +1,8 @@
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
diff --git a/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gdb.spec b/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gdb.spec
index 3cbb2e1..ddfa543 100644
--- a/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gdb.spec
+++ b/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gdb.spec
@@ -46,8 +46,8 @@
 %endif
 
 %{?!el5:%global _with_noarch_subpackages 1}
-%define gdb_version 7.6
-%define gdb_rpmvers %{expand:%(echo 7.6 | tr - _)} 
+%define gdb_version 7.6.1
+%define gdb_rpmvers %{expand:%(echo 7.6.1 | tr - _)} 
 
 Name:		rtems-4.11-avr-rtems4.11-gdb
 Summary:	Gdb for target avr-rtems4.11
@@ -99,26 +99,14 @@ BuildRequires:	/sbin/install-info
 Requires:	rtems-4.11-gdb-common
 BuildRequires:	%{?suse:makeinfo}%{!?suse:texinfo}
 
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
 
 %description
 GDB for target avr-rtems4.11
diff --git a/rtems4.11/bfin/Makefile.am b/rtems4.11/bfin/Makefile.am
index c5e94ad..155ba00 100644
--- a/rtems4.11/bfin/Makefile.am
+++ b/rtems4.11/bfin/Makefile.am
@@ -18,7 +18,7 @@ NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 21`
 include ../gcc.am
 GCC_OPTS += --languages=cxx
 
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 include ../gdb.am
diff --git a/rtems4.11/bfin/Makefile.in b/rtems4.11/bfin/Makefile.in
index 257dcf2..85fc5a9 100644
--- a/rtems4.11/bfin/Makefile.in
+++ b/rtems4.11/bfin/Makefile.in
@@ -257,7 +257,7 @@ GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/gcc/target-objc.add \
 	$(top_srcdir)/gcc/target-newlib.add \
 	$(top_srcdir)/gcc/base-newlib.add
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 GDB_OPTS =
diff --git a/rtems4.11/bfin/gdb-sources.add b/rtems4.11/bfin/gdb-sources.add
index d70efba..13dae04 100644
--- a/rtems4.11/bfin/gdb-sources.add
+++ b/rtems4.11/bfin/gdb-sources.add
@@ -1,20 +1,8 @@
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
diff --git a/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gdb.spec b/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gdb.spec
index 6dd9079..9f95977 100644
--- a/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gdb.spec
+++ b/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gdb.spec
@@ -46,8 +46,8 @@
 %endif
 
 %{?!el5:%global _with_noarch_subpackages 1}
-%define gdb_version 7.6
-%define gdb_rpmvers %{expand:%(echo 7.6 | tr - _)} 
+%define gdb_version 7.6.1
+%define gdb_rpmvers %{expand:%(echo 7.6.1 | tr - _)} 
 
 Name:		rtems-4.11-bfin-rtems4.11-gdb
 Summary:	Gdb for target bfin-rtems4.11
@@ -99,26 +99,14 @@ BuildRequires:	/sbin/install-info
 Requires:	rtems-4.11-gdb-common
 BuildRequires:	%{?suse:makeinfo}%{!?suse:texinfo}
 
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
 
 %description
 GDB for target bfin-rtems4.11
diff --git a/rtems4.11/h8300/Makefile.am b/rtems4.11/h8300/Makefile.am
index b29f161..97dfbe9 100644
--- a/rtems4.11/h8300/Makefile.am
+++ b/rtems4.11/h8300/Makefile.am
@@ -18,7 +18,7 @@ NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 21`
 include ../gcc.am
 GCC_OPTS += --languages=cxx
 
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 include ../gdb.am
diff --git a/rtems4.11/h8300/Makefile.in b/rtems4.11/h8300/Makefile.in
index 3f97a25..9c3679f 100644
--- a/rtems4.11/h8300/Makefile.in
+++ b/rtems4.11/h8300/Makefile.in
@@ -257,7 +257,7 @@ GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/gcc/target-objc.add \
 	$(top_srcdir)/gcc/target-newlib.add \
 	$(top_srcdir)/gcc/base-newlib.add
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 GDB_OPTS =
diff --git a/rtems4.11/h8300/gdb-sources.add b/rtems4.11/h8300/gdb-sources.add
index d70efba..13dae04 100644
--- a/rtems4.11/h8300/gdb-sources.add
+++ b/rtems4.11/h8300/gdb-sources.add
@@ -1,20 +1,8 @@
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
diff --git a/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gdb.spec b/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gdb.spec
index 44a024a..e8360c2 100644
--- a/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gdb.spec
+++ b/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gdb.spec
@@ -46,8 +46,8 @@
 %endif
 
 %{?!el5:%global _with_noarch_subpackages 1}
-%define gdb_version 7.6
-%define gdb_rpmvers %{expand:%(echo 7.6 | tr - _)} 
+%define gdb_version 7.6.1
+%define gdb_rpmvers %{expand:%(echo 7.6.1 | tr - _)} 
 
 Name:		rtems-4.11-h8300-rtems4.11-gdb
 Summary:	Gdb for target h8300-rtems4.11
@@ -103,26 +103,14 @@ BuildRequires:	/sbin/install-info
 Requires:	rtems-4.11-gdb-common
 BuildRequires:	%{?suse:makeinfo}%{!?suse:texinfo}
 
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
 
 %description
 GDB for target h8300-rtems4.11
diff --git a/rtems4.11/i386/Makefile.am b/rtems4.11/i386/Makefile.am
index ffc2819..be2cc2f 100644
--- a/rtems4.11/i386/Makefile.am
+++ b/rtems4.11/i386/Makefile.am
@@ -18,7 +18,7 @@ NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 21`
 include ../gcc.am
 GCC_OPTS += --languages=cxx
 
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 include ../gdb.am
diff --git a/rtems4.11/i386/Makefile.in b/rtems4.11/i386/Makefile.in
index 219e8cf..6b44e86 100644
--- a/rtems4.11/i386/Makefile.in
+++ b/rtems4.11/i386/Makefile.in
@@ -257,7 +257,7 @@ GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/gcc/target-objc.add \
 	$(top_srcdir)/gcc/target-newlib.add \
 	$(top_srcdir)/gcc/base-newlib.add
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 GDB_OPTS =
diff --git a/rtems4.11/i386/gdb-sources.add b/rtems4.11/i386/gdb-sources.add
index d70efba..13dae04 100644
--- a/rtems4.11/i386/gdb-sources.add
+++ b/rtems4.11/i386/gdb-sources.add
@@ -1,20 +1,8 @@
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
diff --git a/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gdb.spec b/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gdb.spec
index 0aee10c..68adb44 100644
--- a/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gdb.spec
+++ b/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gdb.spec
@@ -46,8 +46,8 @@
 %endif
 
 %{?!el5:%global _with_noarch_subpackages 1}
-%define gdb_version 7.6
-%define gdb_rpmvers %{expand:%(echo 7.6 | tr - _)} 
+%define gdb_version 7.6.1
+%define gdb_rpmvers %{expand:%(echo 7.6.1 | tr - _)} 
 
 Name:		rtems-4.11-i386-rtems4.11-gdb
 Summary:	Gdb for target i386-rtems4.11
@@ -99,26 +99,14 @@ BuildRequires:	/sbin/install-info
 Requires:	rtems-4.11-gdb-common
 BuildRequires:	%{?suse:makeinfo}%{!?suse:texinfo}
 
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
 
 %description
 GDB for target i386-rtems4.11
diff --git a/rtems4.11/lm32/Makefile.am b/rtems4.11/lm32/Makefile.am
index ec33eb8..cd9e6af 100644
--- a/rtems4.11/lm32/Makefile.am
+++ b/rtems4.11/lm32/Makefile.am
@@ -23,7 +23,7 @@ NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 6`
 include ../gcc.am
 GCC_OPTS += --languages=cxx
 
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 include ../gdb.am
diff --git a/rtems4.11/lm32/Makefile.in b/rtems4.11/lm32/Makefile.in
index 0c4ea8e..1217661 100644
--- a/rtems4.11/lm32/Makefile.in
+++ b/rtems4.11/lm32/Makefile.in
@@ -257,7 +257,7 @@ GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/gcc/target-objc.add \
 	$(top_srcdir)/gcc/target-newlib.add \
 	$(top_srcdir)/gcc/base-newlib.add
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 GDB_OPTS =
diff --git a/rtems4.11/lm32/gdb-sources.add b/rtems4.11/lm32/gdb-sources.add
index d70efba..13dae04 100644
--- a/rtems4.11/lm32/gdb-sources.add
+++ b/rtems4.11/lm32/gdb-sources.add
@@ -1,20 +1,8 @@
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
diff --git a/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gdb.spec b/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gdb.spec
index 08203b5..1327b7b 100644
--- a/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gdb.spec
+++ b/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gdb.spec
@@ -46,8 +46,8 @@
 %endif
 
 %{?!el5:%global _with_noarch_subpackages 1}
-%define gdb_version 7.6
-%define gdb_rpmvers %{expand:%(echo 7.6 | tr - _)} 
+%define gdb_version 7.6.1
+%define gdb_rpmvers %{expand:%(echo 7.6.1 | tr - _)} 
 
 Name:		rtems-4.11-lm32-rtems4.11-gdb
 Summary:	Gdb for target lm32-rtems4.11
@@ -103,26 +103,14 @@ BuildRequires:	/sbin/install-info
 Requires:	rtems-4.11-gdb-common
 BuildRequires:	%{?suse:makeinfo}%{!?suse:texinfo}
 
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
 
 %description
 GDB for target lm32-rtems4.11
diff --git a/rtems4.11/m32c/Makefile.am b/rtems4.11/m32c/Makefile.am
index 063c5bf..e6d569b 100644
--- a/rtems4.11/m32c/Makefile.am
+++ b/rtems4.11/m32c/Makefile.am
@@ -20,7 +20,7 @@ NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 22`
 include ../gcc.am
 GCC_OPTS +=
 
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 include ../gdb.am
diff --git a/rtems4.11/m32c/Makefile.in b/rtems4.11/m32c/Makefile.in
index 82302a6..013fdbb 100644
--- a/rtems4.11/m32c/Makefile.in
+++ b/rtems4.11/m32c/Makefile.in
@@ -257,7 +257,7 @@ GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/gcc/target-objc.add \
 	$(top_srcdir)/gcc/target-newlib.add \
 	$(top_srcdir)/gcc/base-newlib.add
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 GDB_OPTS =
diff --git a/rtems4.11/m32c/gdb-sources.add b/rtems4.11/m32c/gdb-sources.add
index d70efba..13dae04 100644
--- a/rtems4.11/m32c/gdb-sources.add
+++ b/rtems4.11/m32c/gdb-sources.add
@@ -1,20 +1,8 @@
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
diff --git a/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gdb.spec b/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gdb.spec
index 95fba4c..78e4e11 100644
--- a/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gdb.spec
+++ b/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gdb.spec
@@ -46,8 +46,8 @@
 %endif
 
 %{?!el5:%global _with_noarch_subpackages 1}
-%define gdb_version 7.6
-%define gdb_rpmvers %{expand:%(echo 7.6 | tr - _)} 
+%define gdb_version 7.6.1
+%define gdb_rpmvers %{expand:%(echo 7.6.1 | tr - _)} 
 
 Name:		rtems-4.11-m32c-rtems4.11-gdb
 Summary:	Gdb for target m32c-rtems4.11
@@ -103,26 +103,14 @@ BuildRequires:	/sbin/install-info
 Requires:	rtems-4.11-gdb-common
 BuildRequires:	%{?suse:makeinfo}%{!?suse:texinfo}
 
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
 
 %description
 GDB for target m32c-rtems4.11
diff --git a/rtems4.11/m32r/Makefile.am b/rtems4.11/m32r/Makefile.am
index a4f3696..bfd9d83 100644
--- a/rtems4.11/m32r/Makefile.am
+++ b/rtems4.11/m32r/Makefile.am
@@ -18,7 +18,7 @@ NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 21`
 include ../gcc.am
 GCC_OPTS += --languages=cxx
 
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 include ../gdb.am
diff --git a/rtems4.11/m32r/Makefile.in b/rtems4.11/m32r/Makefile.in
index 5a86a11..57ea5cf 100644
--- a/rtems4.11/m32r/Makefile.in
+++ b/rtems4.11/m32r/Makefile.in
@@ -257,7 +257,7 @@ GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/gcc/target-objc.add \
 	$(top_srcdir)/gcc/target-newlib.add \
 	$(top_srcdir)/gcc/base-newlib.add
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 GDB_OPTS =
diff --git a/rtems4.11/m32r/gdb-sources.add b/rtems4.11/m32r/gdb-sources.add
index d70efba..13dae04 100644
--- a/rtems4.11/m32r/gdb-sources.add
+++ b/rtems4.11/m32r/gdb-sources.add
@@ -1,20 +1,8 @@
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
diff --git a/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gdb.spec b/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gdb.spec
index 6e71cc3..54f394c 100644
--- a/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gdb.spec
+++ b/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gdb.spec
@@ -46,8 +46,8 @@
 %endif
 
 %{?!el5:%global _with_noarch_subpackages 1}
-%define gdb_version 7.6
-%define gdb_rpmvers %{expand:%(echo 7.6 | tr - _)} 
+%define gdb_version 7.6.1
+%define gdb_rpmvers %{expand:%(echo 7.6.1 | tr - _)} 
 
 Name:		rtems-4.11-m32r-rtems4.11-gdb
 Summary:	Gdb for target m32r-rtems4.11
@@ -99,26 +99,14 @@ BuildRequires:	/sbin/install-info
 Requires:	rtems-4.11-gdb-common
 BuildRequires:	%{?suse:makeinfo}%{!?suse:texinfo}
 
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
 
 %description
 GDB for target m32r-rtems4.11
diff --git a/rtems4.11/m68k/Makefile.am b/rtems4.11/m68k/Makefile.am
index 6ef13ec..97ce9f2 100644
--- a/rtems4.11/m68k/Makefile.am
+++ b/rtems4.11/m68k/Makefile.am
@@ -18,7 +18,7 @@ NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 21`
 include ../gcc.am
 GCC_OPTS += --languages=cxx
 
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 include ../gdb.am
diff --git a/rtems4.11/m68k/Makefile.in b/rtems4.11/m68k/Makefile.in
index 3290abc..d8c7085 100644
--- a/rtems4.11/m68k/Makefile.in
+++ b/rtems4.11/m68k/Makefile.in
@@ -257,7 +257,7 @@ GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/gcc/target-objc.add \
 	$(top_srcdir)/gcc/target-newlib.add \
 	$(top_srcdir)/gcc/base-newlib.add
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 GDB_OPTS =
diff --git a/rtems4.11/m68k/gdb-sources.add b/rtems4.11/m68k/gdb-sources.add
index d70efba..13dae04 100644
--- a/rtems4.11/m68k/gdb-sources.add
+++ b/rtems4.11/m68k/gdb-sources.add
@@ -1,20 +1,8 @@
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
diff --git a/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gdb.spec b/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gdb.spec
index f3e5d20..5ecccb0 100644
--- a/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gdb.spec
+++ b/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gdb.spec
@@ -46,8 +46,8 @@
 %endif
 
 %{?!el5:%global _with_noarch_subpackages 1}
-%define gdb_version 7.6
-%define gdb_rpmvers %{expand:%(echo 7.6 | tr - _)} 
+%define gdb_version 7.6.1
+%define gdb_rpmvers %{expand:%(echo 7.6.1 | tr - _)} 
 
 Name:		rtems-4.11-m68k-rtems4.11-gdb
 Summary:	Gdb for target m68k-rtems4.11
@@ -99,26 +99,14 @@ BuildRequires:	/sbin/install-info
 Requires:	rtems-4.11-gdb-common
 BuildRequires:	%{?suse:makeinfo}%{!?suse:texinfo}
 
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
 
 %description
 GDB for target m68k-rtems4.11
diff --git a/rtems4.11/microblaze/Makefile.am b/rtems4.11/microblaze/Makefile.am
index b7f5a83..5a5733b 100644
--- a/rtems4.11/microblaze/Makefile.am
+++ b/rtems4.11/microblaze/Makefile.am
@@ -21,7 +21,7 @@ NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 22`
 include ../gcc.am
 GCC_OPTS += --languages=cxx
 
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 include ../gdb.am
diff --git a/rtems4.11/microblaze/Makefile.in b/rtems4.11/microblaze/Makefile.in
index 63e4611..2e996d8 100644
--- a/rtems4.11/microblaze/Makefile.in
+++ b/rtems4.11/microblaze/Makefile.in
@@ -257,7 +257,7 @@ GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/gcc/target-objc.add \
 	$(top_srcdir)/gcc/target-newlib.add \
 	$(top_srcdir)/gcc/base-newlib.add
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 GDB_OPTS =
diff --git a/rtems4.11/microblaze/gdb-sources.add b/rtems4.11/microblaze/gdb-sources.add
index d70efba..13dae04 100644
--- a/rtems4.11/microblaze/gdb-sources.add
+++ b/rtems4.11/microblaze/gdb-sources.add
@@ -1,20 +1,8 @@
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
diff --git a/rtems4.11/microblaze/rtems-4.11-microblaze-rtems4.11-gdb.spec b/rtems4.11/microblaze/rtems-4.11-microblaze-rtems4.11-gdb.spec
index 70bfdc2..5321d40 100644
--- a/rtems4.11/microblaze/rtems-4.11-microblaze-rtems4.11-gdb.spec
+++ b/rtems4.11/microblaze/rtems-4.11-microblaze-rtems4.11-gdb.spec
@@ -46,8 +46,8 @@
 %endif
 
 %{?!el5:%global _with_noarch_subpackages 1}
-%define gdb_version 7.6
-%define gdb_rpmvers %{expand:%(echo 7.6 | tr - _)} 
+%define gdb_version 7.6.1
+%define gdb_rpmvers %{expand:%(echo 7.6.1 | tr - _)} 
 
 Name:		rtems-4.11-microblaze-rtems4.11-gdb
 Summary:	Gdb for target microblaze-rtems4.11
@@ -99,26 +99,14 @@ BuildRequires:	/sbin/install-info
 Requires:	rtems-4.11-gdb-common
 BuildRequires:	%{?suse:makeinfo}%{!?suse:texinfo}
 
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
 
 %description
 GDB for target microblaze-rtems4.11
diff --git a/rtems4.11/mips/Makefile.am b/rtems4.11/mips/Makefile.am
index bccaac7..7b8f7cb 100644
--- a/rtems4.11/mips/Makefile.am
+++ b/rtems4.11/mips/Makefile.am
@@ -18,7 +18,7 @@ NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 21`
 include ../gcc.am
 GCC_OPTS += --languages=cxx
 
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 include ../gdb.am
diff --git a/rtems4.11/mips/Makefile.in b/rtems4.11/mips/Makefile.in
index f9f3923..f905ea2 100644
--- a/rtems4.11/mips/Makefile.in
+++ b/rtems4.11/mips/Makefile.in
@@ -257,7 +257,7 @@ GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/gcc/target-objc.add \
 	$(top_srcdir)/gcc/target-newlib.add \
 	$(top_srcdir)/gcc/base-newlib.add
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 GDB_OPTS =
diff --git a/rtems4.11/mips/gdb-sources.add b/rtems4.11/mips/gdb-sources.add
index d70efba..13dae04 100644
--- a/rtems4.11/mips/gdb-sources.add
+++ b/rtems4.11/mips/gdb-sources.add
@@ -1,20 +1,8 @@
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
diff --git a/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gdb.spec b/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gdb.spec
index e02ea24..438f5e7 100644
--- a/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gdb.spec
+++ b/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gdb.spec
@@ -46,8 +46,8 @@
 %endif
 
 %{?!el5:%global _with_noarch_subpackages 1}
-%define gdb_version 7.6
-%define gdb_rpmvers %{expand:%(echo 7.6 | tr - _)} 
+%define gdb_version 7.6.1
+%define gdb_rpmvers %{expand:%(echo 7.6.1 | tr - _)} 
 
 Name:		rtems-4.11-mips-rtems4.11-gdb
 Summary:	Gdb for target mips-rtems4.11
@@ -99,26 +99,14 @@ BuildRequires:	/sbin/install-info
 Requires:	rtems-4.11-gdb-common
 BuildRequires:	%{?suse:makeinfo}%{!?suse:texinfo}
 
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
 
 %description
 GDB for target mips-rtems4.11
diff --git a/rtems4.11/mipstx39/Makefile.am b/rtems4.11/mipstx39/Makefile.am
index 31b32f4..03275a7 100644
--- a/rtems4.11/mipstx39/Makefile.am
+++ b/rtems4.11/mipstx39/Makefile.am
@@ -4,7 +4,7 @@ TARGET = mipstx39-rtems4.11
 include $(top_srcdir)/mkspec.am
 
 # We only want a gdb with a tx39 simulator in it.  We share the other tools
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 include ../gdb.am
diff --git a/rtems4.11/mipstx39/Makefile.in b/rtems4.11/mipstx39/Makefile.in
index 57752ed..1e4ed8b 100644
--- a/rtems4.11/mipstx39/Makefile.in
+++ b/rtems4.11/mipstx39/Makefile.in
@@ -217,7 +217,7 @@ MKSPEC0 = sed \
 
 
 # We only want a gdb with a tx39 simulator in it.  We share the other tools
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 GDB_OPTS =
diff --git a/rtems4.11/mipstx39/gdb-sources.add b/rtems4.11/mipstx39/gdb-sources.add
index d70efba..13dae04 100644
--- a/rtems4.11/mipstx39/gdb-sources.add
+++ b/rtems4.11/mipstx39/gdb-sources.add
@@ -1,20 +1,8 @@
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
diff --git a/rtems4.11/mipstx39/rtems-4.11-mipstx39-rtems4.11-gdb.spec b/rtems4.11/mipstx39/rtems-4.11-mipstx39-rtems4.11-gdb.spec
index 7c38a11..9d8e1f5 100644
--- a/rtems4.11/mipstx39/rtems-4.11-mipstx39-rtems4.11-gdb.spec
+++ b/rtems4.11/mipstx39/rtems-4.11-mipstx39-rtems4.11-gdb.spec
@@ -46,8 +46,8 @@
 %endif
 
 %{?!el5:%global _with_noarch_subpackages 1}
-%define gdb_version 7.6
-%define gdb_rpmvers %{expand:%(echo 7.6 | tr - _)} 
+%define gdb_version 7.6.1
+%define gdb_rpmvers %{expand:%(echo 7.6.1 | tr - _)} 
 
 Name:		rtems-4.11-mipstx39-rtems4.11-gdb
 Summary:	Gdb for target mipstx39-rtems4.11
@@ -103,26 +103,14 @@ BuildRequires:	/sbin/install-info
 Requires:	rtems-4.11-gdb-common
 BuildRequires:	%{?suse:makeinfo}%{!?suse:texinfo}
 
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
 
 %description
 GDB for target mipstx39-rtems4.11
diff --git a/rtems4.11/powerpc/Makefile.am b/rtems4.11/powerpc/Makefile.am
index a45238e..81be852 100644
--- a/rtems4.11/powerpc/Makefile.am
+++ b/rtems4.11/powerpc/Makefile.am
@@ -18,7 +18,7 @@ NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 21`
 include ../gcc.am
 GCC_OPTS += --languages=cxx
 
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 include ../gdb.am
diff --git a/rtems4.11/powerpc/Makefile.in b/rtems4.11/powerpc/Makefile.in
index 5983bf1..2ee501b 100644
--- a/rtems4.11/powerpc/Makefile.in
+++ b/rtems4.11/powerpc/Makefile.in
@@ -257,7 +257,7 @@ GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/gcc/target-objc.add \
 	$(top_srcdir)/gcc/target-newlib.add \
 	$(top_srcdir)/gcc/base-newlib.add
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 GDB_OPTS =
diff --git a/rtems4.11/powerpc/gdb-sources.add b/rtems4.11/powerpc/gdb-sources.add
index d70efba..13dae04 100644
--- a/rtems4.11/powerpc/gdb-sources.add
+++ b/rtems4.11/powerpc/gdb-sources.add
@@ -1,20 +1,8 @@
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
diff --git a/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gdb.spec b/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gdb.spec
index 3baaeff..104e5b6 100644
--- a/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gdb.spec
+++ b/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gdb.spec
@@ -46,8 +46,8 @@
 %endif
 
 %{?!el5:%global _with_noarch_subpackages 1}
-%define gdb_version 7.6
-%define gdb_rpmvers %{expand:%(echo 7.6 | tr - _)} 
+%define gdb_version 7.6.1
+%define gdb_rpmvers %{expand:%(echo 7.6.1 | tr - _)} 
 
 Name:		rtems-4.11-powerpc-rtems4.11-gdb
 Summary:	Gdb for target powerpc-rtems4.11
@@ -105,26 +105,14 @@ BuildRequires:	/sbin/install-info
 Requires:	rtems-4.11-gdb-common
 BuildRequires:	%{?suse:makeinfo}%{!?suse:texinfo}
 
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
 
 %description
 GDB for target powerpc-rtems4.11
diff --git a/rtems4.11/sh/Makefile.am b/rtems4.11/sh/Makefile.am
index 2b39943..fd96bcb 100644
--- a/rtems4.11/sh/Makefile.am
+++ b/rtems4.11/sh/Makefile.am
@@ -18,7 +18,7 @@ NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 21`
 include ../gcc.am
 GCC_OPTS += --languages=cxx
 
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 include ../gdb.am
diff --git a/rtems4.11/sh/Makefile.in b/rtems4.11/sh/Makefile.in
index 388f504..a9820c5 100644
--- a/rtems4.11/sh/Makefile.in
+++ b/rtems4.11/sh/Makefile.in
@@ -257,7 +257,7 @@ GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/gcc/target-objc.add \
 	$(top_srcdir)/gcc/target-newlib.add \
 	$(top_srcdir)/gcc/base-newlib.add
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 GDB_OPTS =
diff --git a/rtems4.11/sh/gdb-sources.add b/rtems4.11/sh/gdb-sources.add
index d70efba..13dae04 100644
--- a/rtems4.11/sh/gdb-sources.add
+++ b/rtems4.11/sh/gdb-sources.add
@@ -1,20 +1,8 @@
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
diff --git a/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gdb.spec b/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gdb.spec
index bc3dbd6..794a6aa 100644
--- a/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gdb.spec
+++ b/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gdb.spec
@@ -46,8 +46,8 @@
 %endif
 
 %{?!el5:%global _with_noarch_subpackages 1}
-%define gdb_version 7.6
-%define gdb_rpmvers %{expand:%(echo 7.6 | tr - _)} 
+%define gdb_version 7.6.1
+%define gdb_rpmvers %{expand:%(echo 7.6.1 | tr - _)} 
 
 Name:		rtems-4.11-sh-rtems4.11-gdb
 Summary:	Gdb for target sh-rtems4.11
@@ -99,26 +99,14 @@ BuildRequires:	/sbin/install-info
 Requires:	rtems-4.11-gdb-common
 BuildRequires:	%{?suse:makeinfo}%{!?suse:texinfo}
 
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
 
 %description
 GDB for target sh-rtems4.11
diff --git a/rtems4.11/sparc/Makefile.am b/rtems4.11/sparc/Makefile.am
index e30d81d..5746f1b 100644
--- a/rtems4.11/sparc/Makefile.am
+++ b/rtems4.11/sparc/Makefile.am
@@ -18,7 +18,7 @@ NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 21`
 include ../gcc.am
 GCC_OPTS += --languages=cxx
 
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 include ../gdb.am
diff --git a/rtems4.11/sparc/Makefile.in b/rtems4.11/sparc/Makefile.in
index 11b04fc..85d605a 100644
--- a/rtems4.11/sparc/Makefile.in
+++ b/rtems4.11/sparc/Makefile.in
@@ -257,7 +257,7 @@ GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/gcc/target-objc.add \
 	$(top_srcdir)/gcc/target-newlib.add \
 	$(top_srcdir)/gcc/base-newlib.add
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 GDB_OPTS =
diff --git a/rtems4.11/sparc/gdb-sources.add b/rtems4.11/sparc/gdb-sources.add
index d70efba..13dae04 100644
--- a/rtems4.11/sparc/gdb-sources.add
+++ b/rtems4.11/sparc/gdb-sources.add
@@ -1,20 +1,8 @@
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
diff --git a/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gdb.spec b/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gdb.spec
index 9fcdaac..ffebd2a 100644
--- a/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gdb.spec
+++ b/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gdb.spec
@@ -46,8 +46,8 @@
 %endif
 
 %{?!el5:%global _with_noarch_subpackages 1}
-%define gdb_version 7.6
-%define gdb_rpmvers %{expand:%(echo 7.6 | tr - _)} 
+%define gdb_version 7.6.1
+%define gdb_rpmvers %{expand:%(echo 7.6.1 | tr - _)} 
 
 Name:		rtems-4.11-sparc-rtems4.11-gdb
 Summary:	Gdb for target sparc-rtems4.11
@@ -103,26 +103,14 @@ BuildRequires:	/sbin/install-info
 Requires:	rtems-4.11-gdb-common
 BuildRequires:	%{?suse:makeinfo}%{!?suse:texinfo}
 
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
 
 %description
 GDB for target sparc-rtems4.11
diff --git a/rtems4.11/sparc64/Makefile.am b/rtems4.11/sparc64/Makefile.am
index 9ed0a0d..5221a8d 100644
--- a/rtems4.11/sparc64/Makefile.am
+++ b/rtems4.11/sparc64/Makefile.am
@@ -18,7 +18,7 @@ NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 21`
 include ../gcc.am
 GCC_OPTS += --languages=cxx
 
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 include ../gdb.am
diff --git a/rtems4.11/sparc64/Makefile.in b/rtems4.11/sparc64/Makefile.in
index 214bf1e..bb9e655 100644
--- a/rtems4.11/sparc64/Makefile.in
+++ b/rtems4.11/sparc64/Makefile.in
@@ -257,7 +257,7 @@ GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/gcc/target-objc.add \
 	$(top_srcdir)/gcc/target-newlib.add \
 	$(top_srcdir)/gcc/base-newlib.add
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 GDB_OPTS =
diff --git a/rtems4.11/sparc64/gdb-sources.add b/rtems4.11/sparc64/gdb-sources.add
index d70efba..13dae04 100644
--- a/rtems4.11/sparc64/gdb-sources.add
+++ b/rtems4.11/sparc64/gdb-sources.add
@@ -1,20 +1,8 @@
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
diff --git a/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gdb.spec b/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gdb.spec
index 51ab63d..f3e7f9a 100644
--- a/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gdb.spec
+++ b/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gdb.spec
@@ -46,8 +46,8 @@
 %endif
 
 %{?!el5:%global _with_noarch_subpackages 1}
-%define gdb_version 7.6
-%define gdb_rpmvers %{expand:%(echo 7.6 | tr - _)} 
+%define gdb_version 7.6.1
+%define gdb_rpmvers %{expand:%(echo 7.6.1 | tr - _)} 
 
 Name:		rtems-4.11-sparc64-rtems4.11-gdb
 Summary:	Gdb for target sparc64-rtems4.11
@@ -99,26 +99,14 @@ BuildRequires:	/sbin/install-info
 Requires:	rtems-4.11-gdb-common
 BuildRequires:	%{?suse:makeinfo}%{!?suse:texinfo}
 
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
 
 %description
 GDB for target sparc64-rtems4.11
diff --git a/rtems4.11/v850/Makefile.am b/rtems4.11/v850/Makefile.am
index 28d3de3..1f47eff 100644
--- a/rtems4.11/v850/Makefile.am
+++ b/rtems4.11/v850/Makefile.am
@@ -18,7 +18,7 @@ NEWLIB_RPMREL = `expr $(GCC_RPMREL) + 21`
 include ../gcc.am
 GCC_OPTS += --languages=cxx
 
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 include ../gdb.am
diff --git a/rtems4.11/v850/Makefile.in b/rtems4.11/v850/Makefile.in
index 9421890..9e50cce 100644
--- a/rtems4.11/v850/Makefile.in
+++ b/rtems4.11/v850/Makefile.in
@@ -257,7 +257,7 @@ GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
 	$(top_srcdir)/gcc/target-objc.add \
 	$(top_srcdir)/gcc/target-newlib.add \
 	$(top_srcdir)/gcc/base-newlib.add
-GDB_VERS = 7.6
+GDB_VERS = 7.6.1
 GDB_PKGVERS = $(GDB_VERS)
 GDB_RPMREL = 1
 GDB_OPTS =
diff --git a/rtems4.11/v850/gdb-sources.add b/rtems4.11/v850/gdb-sources.add
index d70efba..13dae04 100644
--- a/rtems4.11/v850/gdb-sources.add
+++ b/rtems4.11/v850/gdb-sources.add
@@ -1,20 +1,8 @@
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
diff --git a/rtems4.11/v850/rtems-4.11-v850-rtems4.11-gdb.spec b/rtems4.11/v850/rtems-4.11-v850-rtems4.11-gdb.spec
index 1fe7cb3..2720692 100644
--- a/rtems4.11/v850/rtems-4.11-v850-rtems4.11-gdb.spec
+++ b/rtems4.11/v850/rtems-4.11-v850-rtems4.11-gdb.spec
@@ -46,8 +46,8 @@
 %endif
 
 %{?!el5:%global _with_noarch_subpackages 1}
-%define gdb_version 7.6
-%define gdb_rpmvers %{expand:%(echo 7.6 | tr - _)} 
+%define gdb_version 7.6.1
+%define gdb_rpmvers %{expand:%(echo 7.6.1 | tr - _)} 
 
 Name:		rtems-4.11-v850-rtems4.11-gdb
 Summary:	Gdb for target v850-rtems4.11
@@ -99,26 +99,14 @@ BuildRequires:	/sbin/install-info
 Requires:	rtems-4.11-gdb-common
 BuildRequires:	%{?suse:makeinfo}%{!?suse:texinfo}
 
+%if "%{gdb_version}" == "7.6.1"
+Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.1.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6.1-rtems4.11-20130831.diff
+%endif
 %if "%{gdb_version}" == "7.6"
 Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.bz2
 Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.6-rtems4.11-20130426.diff
 %endif
-%if "%{gdb_version}" == "7.5.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5.1-rtems4.11-20121130.diff
-%endif
-%if "%{gdb_version}" == "7.5"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.5.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.5-rtems4.11-20121003.diff
-%endif
-%if "%{gdb_version}" == "7.4.1"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4.1-rtems4.11-20120706.diff
-%endif
-%if "%{gdb_version}" == "7.4"
-Source0:  ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.4-rtems4.11-20120125.diff
-%endif
 
 %description
 GDB for target v850-rtems4.11




More information about the vc mailing list