gdb-6.7.1-4

This commit is contained in:
Ralf Corsepius
2007-11-01 05:58:05 +00:00
parent 724eab7ad0
commit 25eda206eb
21 changed files with 224 additions and 73 deletions

View File

@@ -19,7 +19,7 @@ GCC_OPTS += --languages=cxx
GDB_VERS = 6.7.1
GDB_PKGVERS = $(GDB_VERS)
GDB_RPMREL = 2%{?dist}
GDB_RPMREL = 4%{?dist}
include ../gdb.am
GDB_OPTS +=

View File

@@ -13,22 +13,28 @@
%define _exeext %{nil}
%endif
%define gdb_version 6.7
%define gdb_rpmvers %{expand:%(echo 6.7 | tr - _)}
%define gdb_version 6.7.1
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
Name: rtems-4.9-arm-rtems4.9-gdb
Summary: Gdb for target arm-rtems4.9
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 2%{?dist}
Release: 4%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if "%{gdb_version}" >= "6.6"
# suse
%if "%{?suse}"
BuildRequires: expat
%else
%if "%{?suse}" >= "10.3"
BuildRequires: libexpat-devel
%else
BuildRequires: expat
%endif
%else
# fedora/redhat
BuildRequires: expat-devel
%endif
%endif
@@ -36,8 +42,9 @@ BuildRequires: expat-devel
BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
%if "arm-rtems4.9" == "sparc-rtems4.9"
BuildRequires: libtermcap-devel
BuildConflicts: libtermcap-devel termcap-devel
%endif
BuildRequires: readline-devel
BuildRequires: ncurses-devel
Requires: rtems-4.9-gdb-common
@@ -53,6 +60,9 @@ Patch0: gdb-6.6-rtems4.8-20070306.diff
%if "%{gdb_version}" == "6.7"
Patch0: gdb-6.7-rtems4.9-20071011.diff
%endif
%if "%{gdb_version}" == "6.7.1"
Patch0: gdb-6.7.1-rtems4.9-20071031.diff
%endif
%description
GDB for target arm-rtems4.9
@@ -76,6 +86,10 @@ cd ..
--disable-win32-registry \
--disable-werror \
--enable-sim \
%if "%{gdb_version}" >= "6.6"
--with-system-readline \
--with-expat \
%endif
--prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir}

View File

@@ -18,7 +18,7 @@ include ../gcc.am
GDB_VERS = 6.7.1
GDB_PKGVERS = $(GDB_VERS)
GDB_RPMREL = 2%{?dist}
GDB_RPMREL = 4%{?dist}
include ../gdb.am
GDB_OPTS +=

View File

@@ -13,22 +13,28 @@
%define _exeext %{nil}
%endif
%define gdb_version 6.7
%define gdb_rpmvers %{expand:%(echo 6.7 | tr - _)}
%define gdb_version 6.7.1
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
Name: rtems-4.9-avr-rtems4.9-gdb
Summary: Gdb for target avr-rtems4.9
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 2%{?dist}
Release: 4%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if "%{gdb_version}" >= "6.6"
# suse
%if "%{?suse}"
BuildRequires: expat
%else
%if "%{?suse}" >= "10.3"
BuildRequires: libexpat-devel
%else
BuildRequires: expat
%endif
%else
# fedora/redhat
BuildRequires: expat-devel
%endif
%endif
@@ -36,8 +42,9 @@ BuildRequires: expat-devel
BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
%if "avr-rtems4.9" == "sparc-rtems4.9"
BuildRequires: libtermcap-devel
BuildConflicts: libtermcap-devel termcap-devel
%endif
BuildRequires: readline-devel
BuildRequires: ncurses-devel
Requires: rtems-4.9-gdb-common
@@ -53,6 +60,9 @@ Patch0: gdb-6.6-rtems4.8-20070306.diff
%if "%{gdb_version}" == "6.7"
Patch0: gdb-6.7-rtems4.9-20071011.diff
%endif
%if "%{gdb_version}" == "6.7.1"
Patch0: gdb-6.7.1-rtems4.9-20071031.diff
%endif
%description
GDB for target avr-rtems4.9
@@ -76,6 +86,10 @@ cd ..
--disable-win32-registry \
--disable-werror \
--enable-sim \
%if "%{gdb_version}" >= "6.6"
--with-system-readline \
--with-expat \
%endif
--prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir}

View File

@@ -26,9 +26,15 @@ URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if "%{gdb_version}" >= "6.6"
# suse
%if "%{?suse}"
BuildRequires: expat
%else
%if "%{?suse}" >= "10.3"
BuildRequires: libexpat-devel
%else
BuildRequires: expat
%endif
%else
# fedora/redhat
BuildRequires: expat-devel
%endif
%endif
@@ -36,8 +42,9 @@ BuildRequires: expat-devel
BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
%if "bfin-rtems4.9" == "sparc-rtems4.9"
BuildRequires: libtermcap-devel
BuildConflicts: libtermcap-devel termcap-devel
%endif
BuildRequires: readline-devel
BuildRequires: ncurses-devel
Requires: rtems-4.9-gdb-common
@@ -68,6 +75,10 @@ cd ..
--disable-win32-registry \
--disable-werror \
--enable-sim \
%if "%{gdb_version}" >= "6.6"
--with-system-readline \
--with-expat \
%endif
--prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir}

View File

@@ -19,7 +19,7 @@ GCC_OPTS += --languages=cxx
GDB_VERS = 6.7.1
GDB_PKGVERS = $(GDB_VERS)
GDB_RPMREL = 2%{?dist}
GDB_RPMREL = 4%{?dist}
include ../gdb.am
GDB_OPTS +=

View File

@@ -13,22 +13,28 @@
%define _exeext %{nil}
%endif
%define gdb_version 6.7
%define gdb_rpmvers %{expand:%(echo 6.7 | tr - _)}
%define gdb_version 6.7.1
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
Name: rtems-4.9-h8300-rtems4.9-gdb
Summary: Gdb for target h8300-rtems4.9
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 2%{?dist}
Release: 4%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if "%{gdb_version}" >= "6.6"
# suse
%if "%{?suse}"
BuildRequires: expat
%else
%if "%{?suse}" >= "10.3"
BuildRequires: libexpat-devel
%else
BuildRequires: expat
%endif
%else
# fedora/redhat
BuildRequires: expat-devel
%endif
%endif
@@ -36,8 +42,9 @@ BuildRequires: expat-devel
BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
%if "h8300-rtems4.9" == "sparc-rtems4.9"
BuildRequires: libtermcap-devel
BuildConflicts: libtermcap-devel termcap-devel
%endif
BuildRequires: readline-devel
BuildRequires: ncurses-devel
Requires: rtems-4.9-gdb-common
@@ -53,6 +60,9 @@ Patch0: gdb-6.6-rtems4.8-20070306.diff
%if "%{gdb_version}" == "6.7"
Patch0: gdb-6.7-rtems4.9-20071011.diff
%endif
%if "%{gdb_version}" == "6.7.1"
Patch0: gdb-6.7.1-rtems4.9-20071031.diff
%endif
%description
GDB for target h8300-rtems4.9
@@ -76,6 +86,10 @@ cd ..
--disable-win32-registry \
--disable-werror \
--enable-sim \
%if "%{gdb_version}" >= "6.6"
--with-system-readline \
--with-expat \
%endif
--prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir}

View File

@@ -19,7 +19,7 @@ GCC_OPTS += --languages=cxx
GDB_VERS = 6.7.1
GDB_PKGVERS = $(GDB_VERS)
GDB_RPMREL = 2%{?dist}
GDB_RPMREL = 4%{?dist}
include ../gdb.am
GDB_OPTS +=

View File

@@ -13,22 +13,28 @@
%define _exeext %{nil}
%endif
%define gdb_version 6.7
%define gdb_rpmvers %{expand:%(echo 6.7 | tr - _)}
%define gdb_version 6.7.1
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
Name: rtems-4.9-i386-rtems4.9-gdb
Summary: Gdb for target i386-rtems4.9
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 2%{?dist}
Release: 4%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if "%{gdb_version}" >= "6.6"
# suse
%if "%{?suse}"
BuildRequires: expat
%else
%if "%{?suse}" >= "10.3"
BuildRequires: libexpat-devel
%else
BuildRequires: expat
%endif
%else
# fedora/redhat
BuildRequires: expat-devel
%endif
%endif
@@ -36,8 +42,9 @@ BuildRequires: expat-devel
BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
%if "i386-rtems4.9" == "sparc-rtems4.9"
BuildRequires: libtermcap-devel
BuildConflicts: libtermcap-devel termcap-devel
%endif
BuildRequires: readline-devel
BuildRequires: ncurses-devel
Requires: rtems-4.9-gdb-common
@@ -53,6 +60,9 @@ Patch0: gdb-6.6-rtems4.8-20070306.diff
%if "%{gdb_version}" == "6.7"
Patch0: gdb-6.7-rtems4.9-20071011.diff
%endif
%if "%{gdb_version}" == "6.7.1"
Patch0: gdb-6.7.1-rtems4.9-20071031.diff
%endif
%description
GDB for target i386-rtems4.9
@@ -76,6 +86,10 @@ cd ..
--disable-win32-registry \
--disable-werror \
--enable-sim \
%if "%{gdb_version}" >= "6.6"
--with-system-readline \
--with-expat \
%endif
--prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir}

View File

@@ -19,7 +19,7 @@ GCC_OPTS += --languages=cxx
GDB_VERS = 6.7.1
GDB_PKGVERS = $(GDB_VERS)
GDB_RPMREL = 2%{?dist}
GDB_RPMREL = 4%{?dist}
include ../gdb.am
GDB_OPTS +=

View File

@@ -13,22 +13,28 @@
%define _exeext %{nil}
%endif
%define gdb_version 6.7
%define gdb_rpmvers %{expand:%(echo 6.7 | tr - _)}
%define gdb_version 6.7.1
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
Name: rtems-4.9-m68k-rtems4.9-gdb
Summary: Gdb for target m68k-rtems4.9
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 2%{?dist}
Release: 4%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if "%{gdb_version}" >= "6.6"
# suse
%if "%{?suse}"
BuildRequires: expat
%else
%if "%{?suse}" >= "10.3"
BuildRequires: libexpat-devel
%else
BuildRequires: expat
%endif
%else
# fedora/redhat
BuildRequires: expat-devel
%endif
%endif
@@ -36,8 +42,9 @@ BuildRequires: expat-devel
BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
%if "m68k-rtems4.9" == "sparc-rtems4.9"
BuildRequires: libtermcap-devel
BuildConflicts: libtermcap-devel termcap-devel
%endif
BuildRequires: readline-devel
BuildRequires: ncurses-devel
Requires: rtems-4.9-gdb-common
@@ -53,6 +60,9 @@ Patch0: gdb-6.6-rtems4.8-20070306.diff
%if "%{gdb_version}" == "6.7"
Patch0: gdb-6.7-rtems4.9-20071011.diff
%endif
%if "%{gdb_version}" == "6.7.1"
Patch0: gdb-6.7.1-rtems4.9-20071031.diff
%endif
%description
GDB for target m68k-rtems4.9
@@ -76,6 +86,10 @@ cd ..
--disable-win32-registry \
--disable-werror \
--enable-sim \
%if "%{gdb_version}" >= "6.6"
--with-system-readline \
--with-expat \
%endif
--prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir}

View File

@@ -19,7 +19,7 @@ GCC_OPTS += --languages=cxx
GDB_VERS = 6.7.1
GDB_PKGVERS = $(GDB_VERS)
GDB_RPMREL = 2%{?dist}
GDB_RPMREL = 4%{?dist}
include ../gdb.am
GDB_OPTS +=

View File

@@ -13,22 +13,28 @@
%define _exeext %{nil}
%endif
%define gdb_version 6.7
%define gdb_rpmvers %{expand:%(echo 6.7 | tr - _)}
%define gdb_version 6.7.1
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
Name: rtems-4.9-mips-rtems4.9-gdb
Summary: Gdb for target mips-rtems4.9
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 2%{?dist}
Release: 4%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if "%{gdb_version}" >= "6.6"
# suse
%if "%{?suse}"
BuildRequires: expat
%else
%if "%{?suse}" >= "10.3"
BuildRequires: libexpat-devel
%else
BuildRequires: expat
%endif
%else
# fedora/redhat
BuildRequires: expat-devel
%endif
%endif
@@ -36,8 +42,9 @@ BuildRequires: expat-devel
BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
%if "mips-rtems4.9" == "sparc-rtems4.9"
BuildRequires: libtermcap-devel
BuildConflicts: libtermcap-devel termcap-devel
%endif
BuildRequires: readline-devel
BuildRequires: ncurses-devel
Requires: rtems-4.9-gdb-common
@@ -53,6 +60,9 @@ Patch0: gdb-6.6-rtems4.8-20070306.diff
%if "%{gdb_version}" == "6.7"
Patch0: gdb-6.7-rtems4.9-20071011.diff
%endif
%if "%{gdb_version}" == "6.7.1"
Patch0: gdb-6.7.1-rtems4.9-20071031.diff
%endif
%description
GDB for target mips-rtems4.9
@@ -76,6 +86,10 @@ cd ..
--disable-win32-registry \
--disable-werror \
--enable-sim \
%if "%{gdb_version}" >= "6.6"
--with-system-readline \
--with-expat \
%endif
--prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir}

View File

@@ -7,6 +7,6 @@ include $(top_srcdir)/mkspec.am
# We only want a gdb with a tx39 simulator in it. We share the other tools
GDB_VERS = 6.7.1
GDB_PKGVERS = $(GDB_VERS)
GDB_RPMREL = 2%{?dist}
GDB_RPMREL = 4%{?dist}
include ../gdb.am
GDB_OPTS +=

View File

@@ -13,22 +13,28 @@
%define _exeext %{nil}
%endif
%define gdb_version 6.7
%define gdb_rpmvers %{expand:%(echo 6.7 | tr - _)}
%define gdb_version 6.7.1
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
Name: rtems-4.9-mipstx39-rtems4.9-gdb
Summary: Gdb for target mipstx39-rtems4.9
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 2%{?dist}
Release: 4%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if "%{gdb_version}" >= "6.6"
# suse
%if "%{?suse}"
BuildRequires: expat
%else
%if "%{?suse}" >= "10.3"
BuildRequires: libexpat-devel
%else
BuildRequires: expat
%endif
%else
# fedora/redhat
BuildRequires: expat-devel
%endif
%endif
@@ -36,8 +42,9 @@ BuildRequires: expat-devel
BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
%if "mipstx39-rtems4.9" == "sparc-rtems4.9"
BuildRequires: libtermcap-devel
BuildConflicts: libtermcap-devel termcap-devel
%endif
BuildRequires: readline-devel
BuildRequires: ncurses-devel
Requires: rtems-4.9-gdb-common
@@ -53,6 +60,9 @@ Patch0: gdb-6.6-rtems4.8-20070306.diff
%if "%{gdb_version}" == "6.7"
Patch0: gdb-6.7-rtems4.9-20071011.diff
%endif
%if "%{gdb_version}" == "6.7.1"
Patch0: gdb-6.7.1-rtems4.9-20071031.diff
%endif
%description
GDB for target mipstx39-rtems4.9
@@ -76,6 +86,10 @@ cd ..
--disable-win32-registry \
--disable-werror \
--enable-sim \
%if "%{gdb_version}" >= "6.6"
--with-system-readline \
--with-expat \
%endif
--prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir}

View File

@@ -19,7 +19,7 @@ GCC_OPTS += --languages=cxx
GDB_VERS = 6.7.1
GDB_PKGVERS = $(GDB_VERS)
GDB_RPMREL = 2%{?dist}
GDB_RPMREL = 4%{?dist}
include ../gdb.am
GDB_OPTS +=

View File

@@ -13,22 +13,28 @@
%define _exeext %{nil}
%endif
%define gdb_version 6.7
%define gdb_rpmvers %{expand:%(echo 6.7 | tr - _)}
%define gdb_version 6.7.1
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
Name: rtems-4.9-powerpc-rtems4.9-gdb
Summary: Gdb for target powerpc-rtems4.9
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 2%{?dist}
Release: 4%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if "%{gdb_version}" >= "6.6"
# suse
%if "%{?suse}"
BuildRequires: expat
%else
%if "%{?suse}" >= "10.3"
BuildRequires: libexpat-devel
%else
BuildRequires: expat
%endif
%else
# fedora/redhat
BuildRequires: expat-devel
%endif
%endif
@@ -36,8 +42,9 @@ BuildRequires: expat-devel
BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
%if "powerpc-rtems4.9" == "sparc-rtems4.9"
BuildRequires: libtermcap-devel
BuildConflicts: libtermcap-devel termcap-devel
%endif
BuildRequires: readline-devel
BuildRequires: ncurses-devel
Requires: rtems-4.9-gdb-common
@@ -53,6 +60,9 @@ Patch0: gdb-6.6-rtems4.8-20070306.diff
%if "%{gdb_version}" == "6.7"
Patch0: gdb-6.7-rtems4.9-20071011.diff
%endif
%if "%{gdb_version}" == "6.7.1"
Patch0: gdb-6.7.1-rtems4.9-20071031.diff
%endif
%description
GDB for target powerpc-rtems4.9
@@ -76,6 +86,10 @@ cd ..
--disable-win32-registry \
--disable-werror \
--enable-sim \
%if "%{gdb_version}" >= "6.6"
--with-system-readline \
--with-expat \
%endif
--prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir}

View File

@@ -19,7 +19,7 @@ GCC_OPTS += --languages=cxx
GDB_VERS = 6.7.1
GDB_PKGVERS = $(GDB_VERS)
GDB_RPMREL = 2%{?dist}
GDB_RPMREL = 4%{?dist}
include ../gdb.am
GDB_OPTS +=

View File

@@ -13,22 +13,28 @@
%define _exeext %{nil}
%endif
%define gdb_version 6.7
%define gdb_rpmvers %{expand:%(echo 6.7 | tr - _)}
%define gdb_version 6.7.1
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
Name: rtems-4.9-sh-rtems4.9-gdb
Summary: Gdb for target sh-rtems4.9
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 2%{?dist}
Release: 4%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if "%{gdb_version}" >= "6.6"
# suse
%if "%{?suse}"
BuildRequires: expat
%else
%if "%{?suse}" >= "10.3"
BuildRequires: libexpat-devel
%else
BuildRequires: expat
%endif
%else
# fedora/redhat
BuildRequires: expat-devel
%endif
%endif
@@ -36,8 +42,9 @@ BuildRequires: expat-devel
BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
%if "sh-rtems4.9" == "sparc-rtems4.9"
BuildRequires: libtermcap-devel
BuildConflicts: libtermcap-devel termcap-devel
%endif
BuildRequires: readline-devel
BuildRequires: ncurses-devel
Requires: rtems-4.9-gdb-common
@@ -53,6 +60,9 @@ Patch0: gdb-6.6-rtems4.8-20070306.diff
%if "%{gdb_version}" == "6.7"
Patch0: gdb-6.7-rtems4.9-20071011.diff
%endif
%if "%{gdb_version}" == "6.7.1"
Patch0: gdb-6.7.1-rtems4.9-20071031.diff
%endif
%description
GDB for target sh-rtems4.9
@@ -76,6 +86,10 @@ cd ..
--disable-win32-registry \
--disable-werror \
--enable-sim \
%if "%{gdb_version}" >= "6.6"
--with-system-readline \
--with-expat \
%endif
--prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir}

View File

@@ -19,7 +19,7 @@ GCC_OPTS += --languages=cxx
GDB_VERS = 6.7.1
GDB_PKGVERS = $(GDB_VERS)
GDB_RPMREL = 3%{?dist}
GDB_RPMREL = 4%{?dist}
include ../gdb.am
GDB_OPTS +=

View File

@@ -13,22 +13,28 @@
%define _exeext %{nil}
%endif
%define gdb_version 6.7
%define gdb_rpmvers %{expand:%(echo 6.7 | tr - _)}
%define gdb_version 6.7.1
%define gdb_rpmvers %{expand:%(echo 6.7.1 | tr - _)}
Name: rtems-4.9-sparc-rtems4.9-gdb
Summary: Gdb for target sparc-rtems4.9
Group: Development/Tools
Version: %{gdb_rpmvers}
Release: 2%{?dist}
Release: 4%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if "%{gdb_version}" >= "6.6"
# suse
%if "%{?suse}"
BuildRequires: expat
%else
%if "%{?suse}" >= "10.3"
BuildRequires: libexpat-devel
%else
BuildRequires: expat
%endif
%else
# fedora/redhat
BuildRequires: expat-devel
%endif
%endif
@@ -36,8 +42,9 @@ BuildRequires: expat-devel
BuildRequires: /sbin/install-info
BuildRequires: texinfo >= 4.2
%if "sparc-rtems4.9" == "sparc-rtems4.9"
BuildRequires: libtermcap-devel
BuildConflicts: libtermcap-devel termcap-devel
%endif
BuildRequires: readline-devel
BuildRequires: ncurses-devel
Requires: rtems-4.9-gdb-common
@@ -53,6 +60,9 @@ Patch0: gdb-6.6-rtems4.8-20070306.diff
%if "%{gdb_version}" == "6.7"
Patch0: gdb-6.7-rtems4.9-20071011.diff
%endif
%if "%{gdb_version}" == "6.7.1"
Patch0: gdb-6.7.1-rtems4.9-20071031.diff
%endif
%description
GDB for target sparc-rtems4.9
@@ -76,6 +86,10 @@ cd ..
--disable-win32-registry \
--disable-werror \
--enable-sim \
%if "%{gdb_version}" >= "6.6"
--with-system-readline \
--with-expat \
%endif
--prefix=%{_prefix} --bindir=%{_bindir} \
--includedir=%{_includedir} --libdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir}