Regenerate.

This commit is contained in:
Ralf Corsepius
2009-01-22 14:45:06 +00:00
parent bf0597efe4
commit 3b35bcc57d
13 changed files with 364 additions and 65 deletions

View File

@@ -21,14 +21,22 @@
%ifos cygwin cygwin32 mingw mingw32
%define _exeext .exe
%define debug_package %{nil}
%define debug_package %{nil}
%define _libdir %{_exec_prefix}/lib
%else
%define _exeext %{nil}
%endif
%ifos cygwin cygwin32
%define optflags -O3 -pipe -march=i486 -funroll-loops
%define _libdir %{_exec_prefix}/lib
%endif
%ifos mingw mingw32
%if %{defined _mingw32_cflags}
%define optflags %{_mingw32_cflags}
%else
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
%endif
%endif
%if "%{_build}" != "%{_host}"
@@ -44,13 +52,28 @@ Name: rtems-4.10-arm-rtems4.10-gdb
Summary: Gdb for target arm-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 5%{?dist}
Release: 7%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{_host_rpmprefix}gcc
%define build_sim --enable-sim
# psim doesn't support Cdn-X
%if ("arm-rtems4.10" == "powerpc-rtems4.10") && ("%{_build}" != "%{_host}")
%define build_sim --disable-sim
%endif
%ifos mingw mingw32
# Mingw lacks functions required by the simulator
%if "arm-rtems4.10" == "sparc-rtems4.10"
%define build_sim --disable-sim
%endif
%if "arm-rtems4.10" == "h8300-rtems4.10"
%define build_sim --disable-sim
%endif
%endif
%if "%{gdb_version}" >= "6.6"
# suse
%if "%{?suse}"
@@ -81,7 +104,7 @@ 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-20081003.diff
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8-rtems4.10-20090122.diff
%description
GDB for target arm-rtems4.10
@@ -112,7 +135,7 @@ rm -f gdb-%{gdb_version}/readline/configure
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
%{build_sim} \
%if "%{gdb_version}" >= "6.7"
--with-system-readline \
%endif

View File

@@ -21,14 +21,22 @@
%ifos cygwin cygwin32 mingw mingw32
%define _exeext .exe
%define debug_package %{nil}
%define debug_package %{nil}
%define _libdir %{_exec_prefix}/lib
%else
%define _exeext %{nil}
%endif
%ifos cygwin cygwin32
%define optflags -O3 -pipe -march=i486 -funroll-loops
%define _libdir %{_exec_prefix}/lib
%endif
%ifos mingw mingw32
%if %{defined _mingw32_cflags}
%define optflags %{_mingw32_cflags}
%else
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
%endif
%endif
%if "%{_build}" != "%{_host}"
@@ -44,13 +52,28 @@ Name: rtems-4.10-avr-rtems4.10-gdb
Summary: Gdb for target avr-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 5%{?dist}
Release: 7%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{_host_rpmprefix}gcc
%define build_sim --enable-sim
# psim doesn't support Cdn-X
%if ("avr-rtems4.10" == "powerpc-rtems4.10") && ("%{_build}" != "%{_host}")
%define build_sim --disable-sim
%endif
%ifos mingw mingw32
# Mingw lacks functions required by the simulator
%if "avr-rtems4.10" == "sparc-rtems4.10"
%define build_sim --disable-sim
%endif
%if "avr-rtems4.10" == "h8300-rtems4.10"
%define build_sim --disable-sim
%endif
%endif
%if "%{gdb_version}" >= "6.6"
# suse
%if "%{?suse}"
@@ -81,7 +104,7 @@ 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-20081003.diff
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8-rtems4.10-20090122.diff
%description
GDB for target avr-rtems4.10
@@ -112,7 +135,7 @@ rm -f gdb-%{gdb_version}/readline/configure
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
%{build_sim} \
%if "%{gdb_version}" >= "6.7"
--with-system-readline \
%endif

View File

@@ -21,14 +21,22 @@
%ifos cygwin cygwin32 mingw mingw32
%define _exeext .exe
%define debug_package %{nil}
%define debug_package %{nil}
%define _libdir %{_exec_prefix}/lib
%else
%define _exeext %{nil}
%endif
%ifos cygwin cygwin32
%define optflags -O3 -pipe -march=i486 -funroll-loops
%define _libdir %{_exec_prefix}/lib
%endif
%ifos mingw mingw32
%if %{defined _mingw32_cflags}
%define optflags %{_mingw32_cflags}
%else
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
%endif
%endif
%if "%{_build}" != "%{_host}"
@@ -44,13 +52,28 @@ Name: rtems-4.10-bfin-rtems4.10-gdb
Summary: Gdb for target bfin-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 3%{?dist}
Release: 4%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{_host_rpmprefix}gcc
%define build_sim --enable-sim
# psim doesn't support Cdn-X
%if ("bfin-rtems4.10" == "powerpc-rtems4.10") && ("%{_build}" != "%{_host}")
%define build_sim --disable-sim
%endif
%ifos mingw mingw32
# Mingw lacks functions required by the simulator
%if "bfin-rtems4.10" == "sparc-rtems4.10"
%define build_sim --disable-sim
%endif
%if "bfin-rtems4.10" == "h8300-rtems4.10"
%define build_sim --disable-sim
%endif
%endif
%if "%{gdb_version}" >= "6.6"
# suse
%if "%{?suse}"
@@ -82,7 +105,7 @@ Requires: rtems-4.10-gdb-common
Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0}
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.5-bfinrtems-20071114.diff
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.5-bfinrtems-20090122.diff
%description
GDB for target bfin-rtems4.10
@@ -113,7 +136,7 @@ rm -f gdb-%{gdb_version}/readline/configure
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
%{build_sim} \
%if "%{gdb_version}" >= "6.7"
--with-system-readline \
%endif

View File

@@ -21,14 +21,22 @@
%ifos cygwin cygwin32 mingw mingw32
%define _exeext .exe
%define debug_package %{nil}
%define debug_package %{nil}
%define _libdir %{_exec_prefix}/lib
%else
%define _exeext %{nil}
%endif
%ifos cygwin cygwin32
%define optflags -O3 -pipe -march=i486 -funroll-loops
%define _libdir %{_exec_prefix}/lib
%endif
%ifos mingw mingw32
%if %{defined _mingw32_cflags}
%define optflags %{_mingw32_cflags}
%else
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
%endif
%endif
%if "%{_build}" != "%{_host}"
@@ -44,13 +52,28 @@ Name: rtems-4.10-h8300-rtems4.10-gdb
Summary: Gdb for target h8300-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 5%{?dist}
Release: 7%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{_host_rpmprefix}gcc
%define build_sim --enable-sim
# psim doesn't support Cdn-X
%if ("h8300-rtems4.10" == "powerpc-rtems4.10") && ("%{_build}" != "%{_host}")
%define build_sim --disable-sim
%endif
%ifos mingw mingw32
# Mingw lacks functions required by the simulator
%if "h8300-rtems4.10" == "sparc-rtems4.10"
%define build_sim --disable-sim
%endif
%if "h8300-rtems4.10" == "h8300-rtems4.10"
%define build_sim --disable-sim
%endif
%endif
%if "%{gdb_version}" >= "6.6"
# suse
%if "%{?suse}"
@@ -81,7 +104,7 @@ 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-20081003.diff
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8-rtems4.10-20090122.diff
%description
GDB for target h8300-rtems4.10
@@ -112,7 +135,7 @@ rm -f gdb-%{gdb_version}/readline/configure
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
%{build_sim} \
%if "%{gdb_version}" >= "6.7"
--with-system-readline \
%endif

View File

@@ -21,14 +21,22 @@
%ifos cygwin cygwin32 mingw mingw32
%define _exeext .exe
%define debug_package %{nil}
%define debug_package %{nil}
%define _libdir %{_exec_prefix}/lib
%else
%define _exeext %{nil}
%endif
%ifos cygwin cygwin32
%define optflags -O3 -pipe -march=i486 -funroll-loops
%define _libdir %{_exec_prefix}/lib
%endif
%ifos mingw mingw32
%if %{defined _mingw32_cflags}
%define optflags %{_mingw32_cflags}
%else
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
%endif
%endif
%if "%{_build}" != "%{_host}"
@@ -44,13 +52,28 @@ Name: rtems-4.10-i386-rtems4.10-gdb
Summary: Gdb for target i386-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 5%{?dist}
Release: 7%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{_host_rpmprefix}gcc
%define build_sim --enable-sim
# psim doesn't support Cdn-X
%if ("i386-rtems4.10" == "powerpc-rtems4.10") && ("%{_build}" != "%{_host}")
%define build_sim --disable-sim
%endif
%ifos mingw mingw32
# Mingw lacks functions required by the simulator
%if "i386-rtems4.10" == "sparc-rtems4.10"
%define build_sim --disable-sim
%endif
%if "i386-rtems4.10" == "h8300-rtems4.10"
%define build_sim --disable-sim
%endif
%endif
%if "%{gdb_version}" >= "6.6"
# suse
%if "%{?suse}"
@@ -81,7 +104,7 @@ 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-20081003.diff
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8-rtems4.10-20090122.diff
%description
GDB for target i386-rtems4.10
@@ -112,7 +135,7 @@ rm -f gdb-%{gdb_version}/readline/configure
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
%{build_sim} \
%if "%{gdb_version}" >= "6.7"
--with-system-readline \
%endif

View File

@@ -21,14 +21,22 @@
%ifos cygwin cygwin32 mingw mingw32
%define _exeext .exe
%define debug_package %{nil}
%define debug_package %{nil}
%define _libdir %{_exec_prefix}/lib
%else
%define _exeext %{nil}
%endif
%ifos cygwin cygwin32
%define optflags -O3 -pipe -march=i486 -funroll-loops
%define _libdir %{_exec_prefix}/lib
%endif
%ifos mingw mingw32
%if %{defined _mingw32_cflags}
%define optflags %{_mingw32_cflags}
%else
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
%endif
%endif
%if "%{_build}" != "%{_host}"
@@ -44,13 +52,28 @@ Name: rtems-4.10-m32c-rtems4.10-gdb
Summary: Gdb for target m32c-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 6%{?dist}
Release: 7%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{_host_rpmprefix}gcc
%define build_sim --enable-sim
# psim doesn't support Cdn-X
%if ("m32c-rtems4.10" == "powerpc-rtems4.10") && ("%{_build}" != "%{_host}")
%define build_sim --disable-sim
%endif
%ifos mingw mingw32
# Mingw lacks functions required by the simulator
%if "m32c-rtems4.10" == "sparc-rtems4.10"
%define build_sim --disable-sim
%endif
%if "m32c-rtems4.10" == "h8300-rtems4.10"
%define build_sim --disable-sim
%endif
%endif
%if "%{gdb_version}" >= "6.6"
# suse
%if "%{?suse}"
@@ -81,7 +104,7 @@ 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-20081217.diff
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8-rtems4.10-20090122.diff
%description
GDB for target m32c-rtems4.10
@@ -112,7 +135,7 @@ rm -f gdb-%{gdb_version}/readline/configure
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
%{build_sim} \
%if "%{gdb_version}" >= "6.7"
--with-system-readline \
%endif

View File

@@ -21,14 +21,22 @@
%ifos cygwin cygwin32 mingw mingw32
%define _exeext .exe
%define debug_package %{nil}
%define debug_package %{nil}
%define _libdir %{_exec_prefix}/lib
%else
%define _exeext %{nil}
%endif
%ifos cygwin cygwin32
%define optflags -O3 -pipe -march=i486 -funroll-loops
%define _libdir %{_exec_prefix}/lib
%endif
%ifos mingw mingw32
%if %{defined _mingw32_cflags}
%define optflags %{_mingw32_cflags}
%else
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
%endif
%endif
%if "%{_build}" != "%{_host}"
@@ -44,13 +52,28 @@ Name: rtems-4.10-m32r-rtems4.10-gdb
Summary: Gdb for target m32r-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 5%{?dist}
Release: 7%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{_host_rpmprefix}gcc
%define build_sim --enable-sim
# psim doesn't support Cdn-X
%if ("m32r-rtems4.10" == "powerpc-rtems4.10") && ("%{_build}" != "%{_host}")
%define build_sim --disable-sim
%endif
%ifos mingw mingw32
# Mingw lacks functions required by the simulator
%if "m32r-rtems4.10" == "sparc-rtems4.10"
%define build_sim --disable-sim
%endif
%if "m32r-rtems4.10" == "h8300-rtems4.10"
%define build_sim --disable-sim
%endif
%endif
%if "%{gdb_version}" >= "6.6"
# suse
%if "%{?suse}"
@@ -81,7 +104,7 @@ 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-20081003.diff
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8-rtems4.10-20090122.diff
%description
GDB for target m32r-rtems4.10
@@ -112,7 +135,7 @@ rm -f gdb-%{gdb_version}/readline/configure
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
%{build_sim} \
%if "%{gdb_version}" >= "6.7"
--with-system-readline \
%endif

View File

@@ -21,14 +21,22 @@
%ifos cygwin cygwin32 mingw mingw32
%define _exeext .exe
%define debug_package %{nil}
%define debug_package %{nil}
%define _libdir %{_exec_prefix}/lib
%else
%define _exeext %{nil}
%endif
%ifos cygwin cygwin32
%define optflags -O3 -pipe -march=i486 -funroll-loops
%define _libdir %{_exec_prefix}/lib
%endif
%ifos mingw mingw32
%if %{defined _mingw32_cflags}
%define optflags %{_mingw32_cflags}
%else
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
%endif
%endif
%if "%{_build}" != "%{_host}"
@@ -44,13 +52,28 @@ Name: rtems-4.10-m68k-rtems4.10-gdb
Summary: Gdb for target m68k-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 5%{?dist}
Release: 7%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{_host_rpmprefix}gcc
%define build_sim --enable-sim
# psim doesn't support Cdn-X
%if ("m68k-rtems4.10" == "powerpc-rtems4.10") && ("%{_build}" != "%{_host}")
%define build_sim --disable-sim
%endif
%ifos mingw mingw32
# Mingw lacks functions required by the simulator
%if "m68k-rtems4.10" == "sparc-rtems4.10"
%define build_sim --disable-sim
%endif
%if "m68k-rtems4.10" == "h8300-rtems4.10"
%define build_sim --disable-sim
%endif
%endif
%if "%{gdb_version}" >= "6.6"
# suse
%if "%{?suse}"
@@ -81,7 +104,7 @@ 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-20081003.diff
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8-rtems4.10-20090122.diff
%description
GDB for target m68k-rtems4.10
@@ -112,7 +135,7 @@ rm -f gdb-%{gdb_version}/readline/configure
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
%{build_sim} \
%if "%{gdb_version}" >= "6.7"
--with-system-readline \
%endif

View File

@@ -21,14 +21,22 @@
%ifos cygwin cygwin32 mingw mingw32
%define _exeext .exe
%define debug_package %{nil}
%define debug_package %{nil}
%define _libdir %{_exec_prefix}/lib
%else
%define _exeext %{nil}
%endif
%ifos cygwin cygwin32
%define optflags -O3 -pipe -march=i486 -funroll-loops
%define _libdir %{_exec_prefix}/lib
%endif
%ifos mingw mingw32
%if %{defined _mingw32_cflags}
%define optflags %{_mingw32_cflags}
%else
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
%endif
%endif
%if "%{_build}" != "%{_host}"
@@ -44,13 +52,28 @@ Name: rtems-4.10-mips-rtems4.10-gdb
Summary: Gdb for target mips-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 5%{?dist}
Release: 7%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{_host_rpmprefix}gcc
%define build_sim --enable-sim
# psim doesn't support Cdn-X
%if ("mips-rtems4.10" == "powerpc-rtems4.10") && ("%{_build}" != "%{_host}")
%define build_sim --disable-sim
%endif
%ifos mingw mingw32
# Mingw lacks functions required by the simulator
%if "mips-rtems4.10" == "sparc-rtems4.10"
%define build_sim --disable-sim
%endif
%if "mips-rtems4.10" == "h8300-rtems4.10"
%define build_sim --disable-sim
%endif
%endif
%if "%{gdb_version}" >= "6.6"
# suse
%if "%{?suse}"
@@ -81,7 +104,7 @@ 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-20081003.diff
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8-rtems4.10-20090122.diff
%description
GDB for target mips-rtems4.10
@@ -112,7 +135,7 @@ rm -f gdb-%{gdb_version}/readline/configure
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
%{build_sim} \
%if "%{gdb_version}" >= "6.7"
--with-system-readline \
%endif

View File

@@ -21,14 +21,22 @@
%ifos cygwin cygwin32 mingw mingw32
%define _exeext .exe
%define debug_package %{nil}
%define debug_package %{nil}
%define _libdir %{_exec_prefix}/lib
%else
%define _exeext %{nil}
%endif
%ifos cygwin cygwin32
%define optflags -O3 -pipe -march=i486 -funroll-loops
%define _libdir %{_exec_prefix}/lib
%endif
%ifos mingw mingw32
%if %{defined _mingw32_cflags}
%define optflags %{_mingw32_cflags}
%else
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
%endif
%endif
%if "%{_build}" != "%{_host}"
@@ -44,13 +52,28 @@ Name: rtems-4.10-mipstx39-rtems4.10-gdb
Summary: Gdb for target mipstx39-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 5%{?dist}
Release: 7%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{_host_rpmprefix}gcc
%define build_sim --enable-sim
# psim doesn't support Cdn-X
%if ("mipstx39-rtems4.10" == "powerpc-rtems4.10") && ("%{_build}" != "%{_host}")
%define build_sim --disable-sim
%endif
%ifos mingw mingw32
# Mingw lacks functions required by the simulator
%if "mipstx39-rtems4.10" == "sparc-rtems4.10"
%define build_sim --disable-sim
%endif
%if "mipstx39-rtems4.10" == "h8300-rtems4.10"
%define build_sim --disable-sim
%endif
%endif
%if "%{gdb_version}" >= "6.6"
# suse
%if "%{?suse}"
@@ -83,7 +106,7 @@ Requires: rtems-4.10-gdb-common
Source0: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-%{gdb_version}.tar.bz2
%{?_without_sources:NoSource: 0}
%if "%{gdb_version}" == "6.8"
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8-rtems4.10-20080917.diff
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8-rtems4.10-20090122.diff
%endif
%description
@@ -115,7 +138,7 @@ rm -f gdb-%{gdb_version}/readline/configure
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
%{build_sim} \
%if "%{gdb_version}" >= "6.7"
--with-system-readline \
%endif

View File

@@ -21,14 +21,22 @@
%ifos cygwin cygwin32 mingw mingw32
%define _exeext .exe
%define debug_package %{nil}
%define debug_package %{nil}
%define _libdir %{_exec_prefix}/lib
%else
%define _exeext %{nil}
%endif
%ifos cygwin cygwin32
%define optflags -O3 -pipe -march=i486 -funroll-loops
%define _libdir %{_exec_prefix}/lib
%endif
%ifos mingw mingw32
%if %{defined _mingw32_cflags}
%define optflags %{_mingw32_cflags}
%else
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
%endif
%endif
%if "%{_build}" != "%{_host}"
@@ -44,13 +52,28 @@ Name: rtems-4.10-powerpc-rtems4.10-gdb
Summary: Gdb for target powerpc-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 5%{?dist}
Release: 7%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{_host_rpmprefix}gcc
%define build_sim --enable-sim
# psim doesn't support Cdn-X
%if ("powerpc-rtems4.10" == "powerpc-rtems4.10") && ("%{_build}" != "%{_host}")
%define build_sim --disable-sim
%endif
%ifos mingw mingw32
# Mingw lacks functions required by the simulator
%if "powerpc-rtems4.10" == "sparc-rtems4.10"
%define build_sim --disable-sim
%endif
%if "powerpc-rtems4.10" == "h8300-rtems4.10"
%define build_sim --disable-sim
%endif
%endif
%if "%{gdb_version}" >= "6.6"
# suse
%if "%{?suse}"
@@ -81,7 +104,7 @@ 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-20081003.diff
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8-rtems4.10-20090122.diff
%description
GDB for target powerpc-rtems4.10
@@ -112,7 +135,7 @@ rm -f gdb-%{gdb_version}/readline/configure
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
%{build_sim} \
%if "%{gdb_version}" >= "6.7"
--with-system-readline \
%endif

View File

@@ -21,14 +21,22 @@
%ifos cygwin cygwin32 mingw mingw32
%define _exeext .exe
%define debug_package %{nil}
%define debug_package %{nil}
%define _libdir %{_exec_prefix}/lib
%else
%define _exeext %{nil}
%endif
%ifos cygwin cygwin32
%define optflags -O3 -pipe -march=i486 -funroll-loops
%define _libdir %{_exec_prefix}/lib
%endif
%ifos mingw mingw32
%if %{defined _mingw32_cflags}
%define optflags %{_mingw32_cflags}
%else
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
%endif
%endif
%if "%{_build}" != "%{_host}"
@@ -44,13 +52,28 @@ Name: rtems-4.10-sh-rtems4.10-gdb
Summary: Gdb for target sh-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 5%{?dist}
Release: 7%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{_host_rpmprefix}gcc
%define build_sim --enable-sim
# psim doesn't support Cdn-X
%if ("sh-rtems4.10" == "powerpc-rtems4.10") && ("%{_build}" != "%{_host}")
%define build_sim --disable-sim
%endif
%ifos mingw mingw32
# Mingw lacks functions required by the simulator
%if "sh-rtems4.10" == "sparc-rtems4.10"
%define build_sim --disable-sim
%endif
%if "sh-rtems4.10" == "h8300-rtems4.10"
%define build_sim --disable-sim
%endif
%endif
%if "%{gdb_version}" >= "6.6"
# suse
%if "%{?suse}"
@@ -81,7 +104,7 @@ 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-20081003.diff
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8-rtems4.10-20090122.diff
%description
GDB for target sh-rtems4.10
@@ -112,7 +135,7 @@ rm -f gdb-%{gdb_version}/readline/configure
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
%{build_sim} \
%if "%{gdb_version}" >= "6.7"
--with-system-readline \
%endif

View File

@@ -21,14 +21,22 @@
%ifos cygwin cygwin32 mingw mingw32
%define _exeext .exe
%define debug_package %{nil}
%define debug_package %{nil}
%define _libdir %{_exec_prefix}/lib
%else
%define _exeext %{nil}
%endif
%ifos cygwin cygwin32
%define optflags -O3 -pipe -march=i486 -funroll-loops
%define _libdir %{_exec_prefix}/lib
%endif
%ifos mingw mingw32
%if %{defined _mingw32_cflags}
%define optflags %{_mingw32_cflags}
%else
%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
%endif
%endif
%if "%{_build}" != "%{_host}"
@@ -44,13 +52,28 @@ Name: rtems-4.10-sparc-rtems4.10-gdb
Summary: Gdb for target sparc-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 5%{?dist}
Release: 7%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{_host_rpmprefix}gcc
%define build_sim --enable-sim
# psim doesn't support Cdn-X
%if ("sparc-rtems4.10" == "powerpc-rtems4.10") && ("%{_build}" != "%{_host}")
%define build_sim --disable-sim
%endif
%ifos mingw mingw32
# Mingw lacks functions required by the simulator
%if "sparc-rtems4.10" == "sparc-rtems4.10"
%define build_sim --disable-sim
%endif
%if "sparc-rtems4.10" == "h8300-rtems4.10"
%define build_sim --disable-sim
%endif
%endif
%if "%{gdb_version}" >= "6.6"
# suse
%if "%{?suse}"
@@ -81,7 +104,7 @@ 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-20081003.diff
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-6.8-rtems4.10-20090122.diff
%description
GDB for target sparc-rtems4.10
@@ -112,7 +135,7 @@ rm -f gdb-%{gdb_version}/readline/configure
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
%{build_sim} \
%if "%{gdb_version}" >= "6.7"
--with-system-readline \
%endif