From 77aa4297b009bd19ff00185b6ead65bee7835057 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 17 Apr 2009 16:54:47 +0000 Subject: Upgrade to gdb-6.8.50.20090329. --- contrib/crossrpms/rtems4.10/avr/Makefile.am | 4 ++-- contrib/crossrpms/rtems4.10/avr/gdb-sources.add | 11 ++++++++-- .../avr/rtems-4.10-avr-rtems4.10-gdb.spec | 25 +++++++++++++++++----- contrib/crossrpms/rtems4.10/lm32/Makefile.am | 2 +- contrib/crossrpms/rtems4.10/lm32/gdb-sources.add | 3 ++- .../lm32/rtems-4.10-lm32-rtems4.10-gdb.spec | 5 +++-- contrib/crossrpms/rtems4.10/m32c/Makefile.am | 2 +- contrib/crossrpms/rtems4.10/m32c/gdb-sources.add | 3 ++- .../m32c/rtems-4.10-m32c-rtems4.10-gdb.spec | 5 +++-- 9 files changed, 43 insertions(+), 17 deletions(-) diff --git a/contrib/crossrpms/rtems4.10/avr/Makefile.am b/contrib/crossrpms/rtems4.10/avr/Makefile.am index 68dce56837..8c9a297aa6 100644 --- a/contrib/crossrpms/rtems4.10/avr/Makefile.am +++ b/contrib/crossrpms/rtems4.10/avr/Makefile.am @@ -19,9 +19,9 @@ NEWLIB_RPMREL = `expr 21 + 12 + $(GCC_RPMREL)` include ../gcc.am GCC_OPTS += -GDB_VERS = 6.8 +GDB_VERS = 6.8.50.20090329 GDB_PKGVERS = $(GDB_VERS) -GDB_RPMREL = 9 +GDB_RPMREL = 2 include ../gdb.am GDB_OPTS += diff --git a/contrib/crossrpms/rtems4.10/avr/gdb-sources.add b/contrib/crossrpms/rtems4.10/avr/gdb-sources.add index 00171ece2c..c8ecde1b5e 100644 --- a/contrib/crossrpms/rtems4.10/avr/gdb-sources.add +++ b/contrib/crossrpms/rtems4.10/avr/gdb-sources.add @@ -1,2 +1,9 @@ -Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2 -Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8-rtems4.10-20090122.diff +# A copy of a gdb development snapshot having been retrieved from +# ftp://sources.redhat.com/pub/gdb/snapshots/current/gdb-%{gdb_version}.tar.bz2 +Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}.tar.bz2 + +# rtems-4.10 patches +# + lm32-sim/gdb http://sourceware.org/ml/gdb-patches/2008-12/msg00373.html +# + misc small fixes to lm32-sim/gdb +# + avr simulator +Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8.50.20090329-rtems4.10-20090417.diff diff --git a/contrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gdb.spec b/contrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gdb.spec index fd858e6934..44bcd9e7ef 100644 --- a/contrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gdb.spec +++ b/contrib/crossrpms/rtems4.10/avr/rtems-4.10-avr-rtems4.10-gdb.spec @@ -45,14 +45,14 @@ %define _host_rpmprefix %{nil} %endif -%define gdb_version 6.8 -%define gdb_rpmvers %{expand:%(echo 6.8 | tr - _)} +%define gdb_version 6.8.50.20090329 +%define gdb_rpmvers %{expand:%(echo 6.8.50.20090329 | tr - _)} Name: rtems-4.10-avr-rtems4.10-gdb Summary: Gdb for target avr-rtems4.10 Group: Development/Tools Version: %{gdb_rpmvers} -Release: 9%{?dist} +Release: 2%{?dist} License: GPL/LGPL URL: http://sources.redhat.com/gdb BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -75,6 +75,14 @@ BuildRequires: %{_host_rpmprefix}gcc %if "avr-rtems4.10" == "h8300-rtems4.10" %define build_sim --disable-sim %endif +%if "%{gdb_version}" >= "6.8.50" +%if "avr-rtems4.10" == "m32c-rtems4.10" +%define build_sim --disable-sim +%endif +%endif +%if "avr-rtems4.10" == "lm32-rtems4.10" +%define build_sim --disable-sim +%endif %if "avr-rtems4.10" == "mipstx39-rtems4.10" %define build_sim --disable-sim %endif @@ -105,8 +113,15 @@ BuildRequires: texinfo >= 4.2 Requires: rtems-4.10-gdb-common -Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2 -Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8-rtems4.10-20090122.diff +# A copy of a gdb development snapshot having been retrieved from +# ftp://sources.redhat.com/pub/gdb/snapshots/current/gdb-%{gdb_version}.tar.bz2 +Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}.tar.bz2 + +# rtems-4.10 patches +# + lm32-sim/gdb http://sourceware.org/ml/gdb-patches/2008-12/msg00373.html +# + misc small fixes to lm32-sim/gdb +# + avr simulator +Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8.50.20090329-rtems4.10-20090417.diff %description GDB for target avr-rtems4.10 diff --git a/contrib/crossrpms/rtems4.10/lm32/Makefile.am b/contrib/crossrpms/rtems4.10/lm32/Makefile.am index 33ece86e55..a0bad47342 100644 --- a/contrib/crossrpms/rtems4.10/lm32/Makefile.am +++ b/contrib/crossrpms/rtems4.10/lm32/Makefile.am @@ -21,7 +21,7 @@ GCC_OPTS += --languages=cxx GDB_VERS = 6.8.50.20090329 GDB_PKGVERS = $(GDB_VERS) -GDB_RPMREL = 1 +GDB_RPMREL = 2 include ../gdb.am GDB_OPTS += --disable-infos diff --git a/contrib/crossrpms/rtems4.10/lm32/gdb-sources.add b/contrib/crossrpms/rtems4.10/lm32/gdb-sources.add index d74a4f6fbc..c8ecde1b5e 100644 --- a/contrib/crossrpms/rtems4.10/lm32/gdb-sources.add +++ b/contrib/crossrpms/rtems4.10/lm32/gdb-sources.add @@ -5,4 +5,5 @@ Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}.tar.bz2 # rtems-4.10 patches # + lm32-sim/gdb http://sourceware.org/ml/gdb-patches/2008-12/msg00373.html # + misc small fixes to lm32-sim/gdb -Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8.50.20090224-rtems4.10-20090225.diff +# + avr simulator +Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8.50.20090329-rtems4.10-20090417.diff diff --git a/contrib/crossrpms/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gdb.spec b/contrib/crossrpms/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gdb.spec index cbd165bd1f..7d121915b0 100644 --- a/contrib/crossrpms/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gdb.spec +++ b/contrib/crossrpms/rtems4.10/lm32/rtems-4.10-lm32-rtems4.10-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.10-lm32-rtems4.10-gdb Summary: Gdb for target lm32-rtems4.10 Group: Development/Tools Version: %{gdb_rpmvers} -Release: 1%{?dist} +Release: 2%{?dist} License: GPL/LGPL URL: http://sources.redhat.com/gdb BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -115,7 +115,8 @@ Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}.tar.bz2 # rtems-4.10 patches # + lm32-sim/gdb http://sourceware.org/ml/gdb-patches/2008-12/msg00373.html # + misc small fixes to lm32-sim/gdb -Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8.50.20090224-rtems4.10-20090225.diff +# + avr simulator +Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8.50.20090329-rtems4.10-20090417.diff %description GDB for target lm32-rtems4.10 diff --git a/contrib/crossrpms/rtems4.10/m32c/Makefile.am b/contrib/crossrpms/rtems4.10/m32c/Makefile.am index 764819f1d4..b51ea88d97 100644 --- a/contrib/crossrpms/rtems4.10/m32c/Makefile.am +++ b/contrib/crossrpms/rtems4.10/m32c/Makefile.am @@ -21,7 +21,7 @@ GCC_OPTS += --disable-infos GDB_VERS = 6.8.50.20090329 GDB_PKGVERS = $(GDB_VERS) -GDB_RPMREL = 1 +GDB_RPMREL = 2 include ../gdb.am GDB_OPTS += --disable-infos diff --git a/contrib/crossrpms/rtems4.10/m32c/gdb-sources.add b/contrib/crossrpms/rtems4.10/m32c/gdb-sources.add index d74a4f6fbc..c8ecde1b5e 100644 --- a/contrib/crossrpms/rtems4.10/m32c/gdb-sources.add +++ b/contrib/crossrpms/rtems4.10/m32c/gdb-sources.add @@ -5,4 +5,5 @@ Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}.tar.bz2 # rtems-4.10 patches # + lm32-sim/gdb http://sourceware.org/ml/gdb-patches/2008-12/msg00373.html # + misc small fixes to lm32-sim/gdb -Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8.50.20090224-rtems4.10-20090225.diff +# + avr simulator +Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8.50.20090329-rtems4.10-20090417.diff diff --git a/contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec b/contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec index 5b853d3693..e6b1df2c7d 100644 --- a/contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec +++ b/contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.10-m32c-rtems4.10-gdb Summary: Gdb for target m32c-rtems4.10 Group: Development/Tools Version: %{gdb_rpmvers} -Release: 1%{?dist} +Release: 2%{?dist} License: GPL/LGPL URL: http://sources.redhat.com/gdb BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -115,7 +115,8 @@ Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}.tar.bz2 # rtems-4.10 patches # + lm32-sim/gdb http://sourceware.org/ml/gdb-patches/2008-12/msg00373.html # + misc small fixes to lm32-sim/gdb -Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8.50.20090224-rtems4.10-20090225.diff +# + avr simulator +Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8.50.20090329-rtems4.10-20090417.diff %description GDB for target m32c-rtems4.10 -- cgit v1.2.3