summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gdb.spec
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gdb.spec')
-rw-r--r--contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gdb.spec16
1 files changed, 9 insertions, 7 deletions
diff --git a/contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gdb.spec b/contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gdb.spec
index a4d6c8b8d9..a89978fd0a 100644
--- a/contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gdb.spec
+++ b/contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gdb.spec
@@ -45,14 +45,14 @@
%define _host_rpmprefix %{nil}
%endif
-%define gdb_version 7.1
-%define gdb_rpmvers %{expand:%(echo 7.1 | tr - _)}
+%define gdb_version 7.2
+%define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)}
Name: rtems-4.10-powerpc-rtems4.10-gdb
Summary: Gdb for target powerpc-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
-Release: 4%{?dist}
+Release: 1%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -64,6 +64,8 @@ BuildRequires: %{_host_rpmprefix}gcc
%if "%{_build}" != "%{_host}"
# psim doesn't support Cdn-X
%define build_sim --disable-sim
+%else
+%define build_sim --enable-sim --enable-sim-trace
%endif
%if "%{gdb_version}" >= "6.6"
@@ -104,15 +106,15 @@ BuildRequires: texinfo >= 4.2
Requires: rtems-4.10-gdb-common
+%if "%{gdb_version}" == "7.2"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.2-rtems4.10-20100903.diff
+%endif
%if "%{gdb_version}" == "7.1"
Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.1.tar.bz2
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-7.1-rtems4.10-20100812.diff
%endif
-%if "%{gdb_version}" == "7.0.1"
-Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-%{gdb_version}.tar.bz2
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/gdb-%{gdb_version}-rtems4.10-20091222.diff
-%endif
%description
GDB for target powerpc-rtems4.10