change log for rtems (2011-08-31)

rtems-vc at rtems.org rtems-vc at rtems.org
Thu Sep 1 04:12:15 UTC 2011


 *ralf*:
Move python into package specific subdir.

M   1.17  contrib/crossrpms/gdb/build.add
M   1.37  contrib/crossrpms/gdb/gdb.add
M    1.9  contrib/crossrpms/gdb/install.add
M    1.8  contrib/crossrpms/gdb/target-gdb.add

diff -u rtems/contrib/crossrpms/gdb/build.add:1.16 rtems/contrib/crossrpms/gdb/build.add:1.17
--- rtems/contrib/crossrpms/gdb/build.add:1.16	Wed Aug 31 04:21:53 2011
+++ rtems/contrib/crossrpms/gdb/build.add	Wed Aug 31 22:48:10 2011
@@ -19,6 +19,7 @@
     %{?with_system_readline:--with-system-readline} \
     --with-expat \
     %{?with_python:--with-python}%{!?with_python:--without-python} \
+    --with-gdb-datadir=%{_datadir}/@tool_target at -gdb \
     --with-sysroot=%{_prefix}/@tool_target@/sys-root \
     --prefix=%{_prefix} --bindir=%{_bindir} \
     --includedir=%{_includedir} --libdir=%{_libdir} \

diff -u rtems/contrib/crossrpms/gdb/gdb.add:1.36 rtems/contrib/crossrpms/gdb/gdb.add:1.37
--- rtems/contrib/crossrpms/gdb/gdb.add:1.36	Wed Aug 31 04:21:53 2011
+++ rtems/contrib/crossrpms/gdb/gdb.add	Wed Aug 31 22:48:10 2011
@@ -12,7 +12,7 @@
 
 BuildRequires:  %{_host_rpmprefix}gcc
 
-%define build_sim --enable-sim
+%global build_sim --enable-sim
 
 # Whether to build against system readline
 # Default: yes
@@ -23,24 +23,16 @@
 # Can't build python Cdn-X
 %bcond_with python
 %else
-%if "%{gdb_version}" >= "7.3"
-# Python support is broken
-%bcond_with python
-%elseif "%{gdb_version}" >= "6.8.50"
 %bcond_without python
-%else
-# python is unsupported
-%bcond_with python
-%endif
 %endif
 %{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
 
 %if "@tool_target@" == "powerpc-rtems at rtems_api@"
 %if "%{_build}" != "%{_host}"
 # psim doesn't support Cdn-X
-%define build_sim --disable-sim
+%global build_sim --disable-sim
 %else
-%define build_sim --enable-sim --enable-sim-trace
+%global build_sim --enable-sim --enable-sim-trace
 %endif
 %endif
 %if "@tool_target@" == "sparc-rtems at rtems_api@"
@@ -85,18 +77,13 @@
 %{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel}
 BuildRequires:  %{_host_rpmprefix}ncurses-devel
 
-
 %if %build_infos
 # Required for building the infos
 BuildRequires:	/sbin/install-info
 BuildRequires:	texinfo >= 4.2
-%endif
-
-%if %build_infos
-
 Requires:	@rpmprefix at gdb-common
-%endif
 
+%endif
 @SOURCES@
 
 %description

diff -u rtems/contrib/crossrpms/gdb/install.add:1.8 rtems/contrib/crossrpms/gdb/install.add:1.9
--- rtems/contrib/crossrpms/gdb/install.add:1.8	Wed Aug 31 09:28:22 2011
+++ rtems/contrib/crossrpms/gdb/install.add	Wed Aug 31 22:48:10 2011
@@ -26,24 +26,22 @@
 # host library, installed to a bogus directory
   rm -f ${RPM_BUILD_ROOT}%{_libdir}/lib at tool_target@-sim.a
 
-%if "%{gdb_version}" >= "7.0"
 # Bug in gdb-7.0, bogusly installs linux-only files
   somethinguseful=0
-  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
+  for f in ${RPM_BUILD_ROOT}%{_datadir}/@tool_target at -gdb/syscalls/*.xml; do
     case $f in
     *linux.xml) rm -f $f;;
     *.xml) somethinguseful=1;;
     esac
   done
   if test $somethinguseful -eq 0; then
-    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
+    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/@tool_target at -gdb/syscalls"
   fi
-%endif
 
 %if "{gdb_version}" >= "7.3"
 %if ! %{with python}
 # gdb-7.3 doesn't honor --without-python correctly
-  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/gdb/python
+  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/@tool_target at -gdb/python
 %endif
 %endif
   cd ..

diff -u rtems/contrib/crossrpms/gdb/target-gdb.add:1.7 rtems/contrib/crossrpms/gdb/target-gdb.add:1.8
--- rtems/contrib/crossrpms/gdb/target-gdb.add:1.7	Wed Sep  2 01:39:31 2009
+++ rtems/contrib/crossrpms/gdb/target-gdb.add	Wed Aug 31 22:48:10 2011
@@ -15,6 +15,7 @@
 %defattr(-,root,root)
 %sysdir %{_prefix}
 %sysdir %{_prefix}/share
+%{?with_python:%{_datadir}/@tool_target at -gdb}
 
 %sysdir %{_mandir}
 %sysdir %{_mandir}/man1


 *ralf*:
gdb-7.3

M   1.12  contrib/crossrpms/rtems4.11/arm-eabi/Makefile.am
M    1.3  contrib/crossrpms/rtems4.11/arm-eabi/gdb-sources.add
M   1.57  contrib/crossrpms/rtems4.11/arm/Makefile.am
M    1.7  contrib/crossrpms/rtems4.11/arm/gdb-sources.add
M   1.58  contrib/crossrpms/rtems4.11/avr/Makefile.am
M    1.7  contrib/crossrpms/rtems4.11/avr/gdb-sources.add
M   1.57  contrib/crossrpms/rtems4.11/h8300/Makefile.am
M    1.7  contrib/crossrpms/rtems4.11/h8300/gdb-sources.add
M   1.59  contrib/crossrpms/rtems4.11/i386/Makefile.am
M    1.7  contrib/crossrpms/rtems4.11/i386/gdb-sources.add
M   1.59  contrib/crossrpms/rtems4.11/lm32/Makefile.am
M    1.7  contrib/crossrpms/rtems4.11/lm32/gdb-sources.add
M   1.60  contrib/crossrpms/rtems4.11/m32c/Makefile.am
M    1.7  contrib/crossrpms/rtems4.11/m32c/gdb-sources.add
M   1.57  contrib/crossrpms/rtems4.11/m32r/Makefile.am
M    1.7  contrib/crossrpms/rtems4.11/m32r/gdb-sources.add
M   1.59  contrib/crossrpms/rtems4.11/m68k/Makefile.am
M    1.7  contrib/crossrpms/rtems4.11/m68k/gdb-sources.add
M   1.59  contrib/crossrpms/rtems4.11/mips/Makefile.am
M    1.7  contrib/crossrpms/rtems4.11/mips/gdb-sources.add
M    1.9  contrib/crossrpms/rtems4.11/mipstx39/Makefile.am
M    1.7  contrib/crossrpms/rtems4.11/mipstx39/gdb-sources.add
M   1.60  contrib/crossrpms/rtems4.11/powerpc/Makefile.am
M    1.7  contrib/crossrpms/rtems4.11/powerpc/gdb-sources.add
M   1.59  contrib/crossrpms/rtems4.11/sh/Makefile.am
M    1.7  contrib/crossrpms/rtems4.11/sh/gdb-sources.add
M   1.62  contrib/crossrpms/rtems4.11/sparc/Makefile.am
M    1.7  contrib/crossrpms/rtems4.11/sparc/gdb-sources.add
M   1.49  contrib/crossrpms/rtems4.11/sparc64/Makefile.am
M    1.6  contrib/crossrpms/rtems4.11/sparc64/gdb-sources.add

diff -u rtems/contrib/crossrpms/rtems4.11/arm-eabi/Makefile.am:1.11 rtems/contrib/crossrpms/rtems4.11/arm-eabi/Makefile.am:1.12
--- rtems/contrib/crossrpms/rtems4.11/arm-eabi/Makefile.am:1.11	Wed Aug 31 04:15:16 2011
+++ rtems/contrib/crossrpms/rtems4.11/arm-eabi/Makefile.am	Wed Aug 31 22:52:29 2011
@@ -20,9 +20,9 @@
 include ../gcc.am
 GCC_OPTS += --languages=cxx
 
-GDB_VERS = 7.2
+GDB_VERS = 7.3
 GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 2
+GDB_RPMREL = 1
 include ../gdb.am
 GDB_OPTS +=
 

diff -u rtems/contrib/crossrpms/rtems4.11/arm-eabi/gdb-sources.add:1.2 rtems/contrib/crossrpms/rtems4.11/arm-eabi/gdb-sources.add:1.3
--- rtems/contrib/crossrpms/rtems4.11/arm-eabi/gdb-sources.add:1.2	Wed Aug 31 04:15:39 2011
+++ rtems/contrib/crossrpms/rtems4.11/arm-eabi/gdb-sources.add	Wed Aug 31 22:54:08 2011
@@ -1,3 +1,7 @@
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff

diff -u rtems/contrib/crossrpms/rtems4.11/arm/Makefile.am:1.56 rtems/contrib/crossrpms/rtems4.11/arm/Makefile.am:1.57
--- rtems/contrib/crossrpms/rtems4.11/arm/Makefile.am:1.56	Wed Aug 31 04:15:16 2011
+++ rtems/contrib/crossrpms/rtems4.11/arm/Makefile.am	Wed Aug 31 22:52:29 2011
@@ -21,9 +21,9 @@
 include ../gcc.am
 GCC_OPTS += --languages=cxx
 
-GDB_VERS = 7.2
+GDB_VERS = 7.3
 GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 2
+GDB_RPMREL = 1
 include ../gdb.am
 GDB_OPTS +=
 

diff -u rtems/contrib/crossrpms/rtems4.11/arm/gdb-sources.add:1.6 rtems/contrib/crossrpms/rtems4.11/arm/gdb-sources.add:1.7
--- rtems/contrib/crossrpms/rtems4.11/arm/gdb-sources.add:1.6	Wed Aug 31 04:15:39 2011
+++ rtems/contrib/crossrpms/rtems4.11/arm/gdb-sources.add	Wed Aug 31 22:54:09 2011
@@ -1,3 +1,7 @@
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff

diff -u rtems/contrib/crossrpms/rtems4.11/avr/Makefile.am:1.57 rtems/contrib/crossrpms/rtems4.11/avr/Makefile.am:1.58
--- rtems/contrib/crossrpms/rtems4.11/avr/Makefile.am:1.57	Wed Aug 31 04:15:16 2011
+++ rtems/contrib/crossrpms/rtems4.11/avr/Makefile.am	Wed Aug 31 22:52:29 2011
@@ -20,9 +20,9 @@
 include ../gcc.am
 GCC_OPTS +=
 
-GDB_VERS = 7.2
+GDB_VERS = 7.3
 GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 2
+GDB_RPMREL = 1
 include ../gdb.am
 GDB_OPTS +=
 

diff -u rtems/contrib/crossrpms/rtems4.11/avr/gdb-sources.add:1.6 rtems/contrib/crossrpms/rtems4.11/avr/gdb-sources.add:1.7
--- rtems/contrib/crossrpms/rtems4.11/avr/gdb-sources.add:1.6	Wed Aug 31 04:15:39 2011
+++ rtems/contrib/crossrpms/rtems4.11/avr/gdb-sources.add	Wed Aug 31 22:54:09 2011
@@ -1,3 +1,7 @@
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff

diff -u rtems/contrib/crossrpms/rtems4.11/h8300/Makefile.am:1.56 rtems/contrib/crossrpms/rtems4.11/h8300/Makefile.am:1.57
--- rtems/contrib/crossrpms/rtems4.11/h8300/Makefile.am:1.56	Wed Aug 31 04:15:16 2011
+++ rtems/contrib/crossrpms/rtems4.11/h8300/Makefile.am	Wed Aug 31 22:52:29 2011
@@ -20,9 +20,9 @@
 include ../gcc.am
 GCC_OPTS += --languages=cxx
 
-GDB_VERS = 7.2
+GDB_VERS = 7.3
 GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 2
+GDB_RPMREL = 1
 include ../gdb.am
 GDB_OPTS +=
 

diff -u rtems/contrib/crossrpms/rtems4.11/h8300/gdb-sources.add:1.6 rtems/contrib/crossrpms/rtems4.11/h8300/gdb-sources.add:1.7
--- rtems/contrib/crossrpms/rtems4.11/h8300/gdb-sources.add:1.6	Wed Aug 31 04:15:39 2011
+++ rtems/contrib/crossrpms/rtems4.11/h8300/gdb-sources.add	Wed Aug 31 22:54:09 2011
@@ -1,3 +1,7 @@
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff

diff -u rtems/contrib/crossrpms/rtems4.11/i386/Makefile.am:1.58 rtems/contrib/crossrpms/rtems4.11/i386/Makefile.am:1.59
--- rtems/contrib/crossrpms/rtems4.11/i386/Makefile.am:1.58	Wed Aug 31 04:15:16 2011
+++ rtems/contrib/crossrpms/rtems4.11/i386/Makefile.am	Wed Aug 31 22:52:29 2011
@@ -20,9 +20,9 @@
 include ../gcc.am
 GCC_OPTS += --languages=cxx
 
-GDB_VERS = 7.2
+GDB_VERS = 7.3
 GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 2
+GDB_RPMREL = 1
 include ../gdb.am
 GDB_OPTS +=
 

diff -u rtems/contrib/crossrpms/rtems4.11/i386/gdb-sources.add:1.6 rtems/contrib/crossrpms/rtems4.11/i386/gdb-sources.add:1.7
--- rtems/contrib/crossrpms/rtems4.11/i386/gdb-sources.add:1.6	Wed Aug 31 04:15:39 2011
+++ rtems/contrib/crossrpms/rtems4.11/i386/gdb-sources.add	Wed Aug 31 22:54:09 2011
@@ -1,3 +1,7 @@
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff

diff -u rtems/contrib/crossrpms/rtems4.11/lm32/Makefile.am:1.58 rtems/contrib/crossrpms/rtems4.11/lm32/Makefile.am:1.59
--- rtems/contrib/crossrpms/rtems4.11/lm32/Makefile.am:1.58	Wed Aug 31 04:15:16 2011
+++ rtems/contrib/crossrpms/rtems4.11/lm32/Makefile.am	Wed Aug 31 22:52:29 2011
@@ -20,9 +20,9 @@
 include ../gcc.am
 GCC_OPTS += --languages=cxx
 
-GDB_VERS = 7.2
+GDB_VERS = 7.3
 GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 2
+GDB_RPMREL = 1
 include ../gdb.am
 GDB_OPTS +=
 

diff -u rtems/contrib/crossrpms/rtems4.11/lm32/gdb-sources.add:1.6 rtems/contrib/crossrpms/rtems4.11/lm32/gdb-sources.add:1.7
--- rtems/contrib/crossrpms/rtems4.11/lm32/gdb-sources.add:1.6	Wed Aug 31 04:15:39 2011
+++ rtems/contrib/crossrpms/rtems4.11/lm32/gdb-sources.add	Wed Aug 31 22:54:09 2011
@@ -1,3 +1,7 @@
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff

diff -u rtems/contrib/crossrpms/rtems4.11/m32c/Makefile.am:1.59 rtems/contrib/crossrpms/rtems4.11/m32c/Makefile.am:1.60
--- rtems/contrib/crossrpms/rtems4.11/m32c/Makefile.am:1.59	Wed Aug 31 04:15:16 2011
+++ rtems/contrib/crossrpms/rtems4.11/m32c/Makefile.am	Wed Aug 31 22:52:29 2011
@@ -20,9 +20,9 @@
 include ../gcc.am
 GCC_OPTS +=
 
-GDB_VERS = 7.2
+GDB_VERS = 7.3
 GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 2
+GDB_RPMREL = 1
 include ../gdb.am
 GDB_OPTS +=
 

diff -u rtems/contrib/crossrpms/rtems4.11/m32c/gdb-sources.add:1.6 rtems/contrib/crossrpms/rtems4.11/m32c/gdb-sources.add:1.7
--- rtems/contrib/crossrpms/rtems4.11/m32c/gdb-sources.add:1.6	Wed Aug 31 04:15:39 2011
+++ rtems/contrib/crossrpms/rtems4.11/m32c/gdb-sources.add	Wed Aug 31 22:54:09 2011
@@ -1,3 +1,7 @@
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff

diff -u rtems/contrib/crossrpms/rtems4.11/m32r/Makefile.am:1.56 rtems/contrib/crossrpms/rtems4.11/m32r/Makefile.am:1.57
--- rtems/contrib/crossrpms/rtems4.11/m32r/Makefile.am:1.56	Wed Aug 31 04:15:16 2011
+++ rtems/contrib/crossrpms/rtems4.11/m32r/Makefile.am	Wed Aug 31 22:52:29 2011
@@ -20,9 +20,9 @@
 include ../gcc.am
 GCC_OPTS +=
 
-GDB_VERS = 7.2
+GDB_VERS = 7.3
 GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 2
+GDB_RPMREL = 1
 include ../gdb.am
 GDB_OPTS +=
 

diff -u rtems/contrib/crossrpms/rtems4.11/m32r/gdb-sources.add:1.6 rtems/contrib/crossrpms/rtems4.11/m32r/gdb-sources.add:1.7
--- rtems/contrib/crossrpms/rtems4.11/m32r/gdb-sources.add:1.6	Wed Aug 31 04:15:39 2011
+++ rtems/contrib/crossrpms/rtems4.11/m32r/gdb-sources.add	Wed Aug 31 22:54:09 2011
@@ -1,3 +1,7 @@
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff

diff -u rtems/contrib/crossrpms/rtems4.11/m68k/Makefile.am:1.58 rtems/contrib/crossrpms/rtems4.11/m68k/Makefile.am:1.59
--- rtems/contrib/crossrpms/rtems4.11/m68k/Makefile.am:1.58	Wed Aug 31 04:15:16 2011
+++ rtems/contrib/crossrpms/rtems4.11/m68k/Makefile.am	Wed Aug 31 22:52:29 2011
@@ -20,9 +20,9 @@
 include ../gcc.am
 GCC_OPTS += --languages=cxx
 
-GDB_VERS = 7.2
+GDB_VERS = 7.3
 GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 2
+GDB_RPMREL = 1
 include ../gdb.am
 GDB_OPTS +=
 

diff -u rtems/contrib/crossrpms/rtems4.11/m68k/gdb-sources.add:1.6 rtems/contrib/crossrpms/rtems4.11/m68k/gdb-sources.add:1.7
--- rtems/contrib/crossrpms/rtems4.11/m68k/gdb-sources.add:1.6	Wed Aug 31 04:15:39 2011
+++ rtems/contrib/crossrpms/rtems4.11/m68k/gdb-sources.add	Wed Aug 31 22:54:09 2011
@@ -1,3 +1,7 @@
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff

diff -u rtems/contrib/crossrpms/rtems4.11/mips/Makefile.am:1.58 rtems/contrib/crossrpms/rtems4.11/mips/Makefile.am:1.59
--- rtems/contrib/crossrpms/rtems4.11/mips/Makefile.am:1.58	Wed Aug 31 04:15:16 2011
+++ rtems/contrib/crossrpms/rtems4.11/mips/Makefile.am	Wed Aug 31 22:52:29 2011
@@ -20,9 +20,9 @@
 include ../gcc.am
 GCC_OPTS += --languages=cxx
 
-GDB_VERS = 7.2
+GDB_VERS = 7.3
 GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 2
+GDB_RPMREL = 1
 include ../gdb.am
 GDB_OPTS +=
 

diff -u rtems/contrib/crossrpms/rtems4.11/mips/gdb-sources.add:1.6 rtems/contrib/crossrpms/rtems4.11/mips/gdb-sources.add:1.7
--- rtems/contrib/crossrpms/rtems4.11/mips/gdb-sources.add:1.6	Wed Aug 31 04:15:39 2011
+++ rtems/contrib/crossrpms/rtems4.11/mips/gdb-sources.add	Wed Aug 31 22:54:09 2011
@@ -1,3 +1,7 @@
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff

diff -u rtems/contrib/crossrpms/rtems4.11/mipstx39/Makefile.am:1.8 rtems/contrib/crossrpms/rtems4.11/mipstx39/Makefile.am:1.9
--- rtems/contrib/crossrpms/rtems4.11/mipstx39/Makefile.am:1.8	Wed Aug 31 04:15:16 2011
+++ rtems/contrib/crossrpms/rtems4.11/mipstx39/Makefile.am	Wed Aug 31 22:52:29 2011
@@ -6,8 +6,8 @@
 include $(top_srcdir)/mkspec.am
 
 # We only want a gdb with a tx39 simulator in it.  We share the other tools
-GDB_VERS = 7.2
+GDB_VERS = 7.3
 GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 2
+GDB_RPMREL = 1
 include ../gdb.am
 GDB_OPTS +=

diff -u rtems/contrib/crossrpms/rtems4.11/mipstx39/gdb-sources.add:1.6 rtems/contrib/crossrpms/rtems4.11/mipstx39/gdb-sources.add:1.7
--- rtems/contrib/crossrpms/rtems4.11/mipstx39/gdb-sources.add:1.6	Wed Aug 31 04:15:39 2011
+++ rtems/contrib/crossrpms/rtems4.11/mipstx39/gdb-sources.add	Wed Aug 31 22:54:09 2011
@@ -1,3 +1,7 @@
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff

diff -u rtems/contrib/crossrpms/rtems4.11/powerpc/Makefile.am:1.59 rtems/contrib/crossrpms/rtems4.11/powerpc/Makefile.am:1.60
--- rtems/contrib/crossrpms/rtems4.11/powerpc/Makefile.am:1.59	Fri Aug 26 00:28:39 2011
+++ rtems/contrib/crossrpms/rtems4.11/powerpc/Makefile.am	Wed Aug 31 22:52:29 2011
@@ -20,9 +20,9 @@
 include ../gcc.am
 GCC_OPTS += --languages=cxx
 
-GDB_VERS = 7.2
+GDB_VERS = 7.3
 GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 2
+GDB_RPMREL = 1
 include ../gdb.am
 GDB_OPTS +=
 

diff -u rtems/contrib/crossrpms/rtems4.11/powerpc/gdb-sources.add:1.6 rtems/contrib/crossrpms/rtems4.11/powerpc/gdb-sources.add:1.7
--- rtems/contrib/crossrpms/rtems4.11/powerpc/gdb-sources.add:1.6	Tue Sep  7 12:07:44 2010
+++ rtems/contrib/crossrpms/rtems4.11/powerpc/gdb-sources.add	Wed Aug 31 22:54:09 2011
@@ -1,3 +1,7 @@
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff

diff -u rtems/contrib/crossrpms/rtems4.11/sh/Makefile.am:1.58 rtems/contrib/crossrpms/rtems4.11/sh/Makefile.am:1.59
--- rtems/contrib/crossrpms/rtems4.11/sh/Makefile.am:1.58	Wed Aug 31 04:15:16 2011
+++ rtems/contrib/crossrpms/rtems4.11/sh/Makefile.am	Wed Aug 31 22:52:29 2011
@@ -20,9 +20,9 @@
 include ../gcc.am
 GCC_OPTS += --languages=cxx
 
-GDB_VERS = 7.2
+GDB_VERS = 7.3
 GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 2
+GDB_RPMREL = 1
 include ../gdb.am
 GDB_OPTS +=
 

diff -u rtems/contrib/crossrpms/rtems4.11/sh/gdb-sources.add:1.6 rtems/contrib/crossrpms/rtems4.11/sh/gdb-sources.add:1.7
--- rtems/contrib/crossrpms/rtems4.11/sh/gdb-sources.add:1.6	Wed Aug 31 04:15:39 2011
+++ rtems/contrib/crossrpms/rtems4.11/sh/gdb-sources.add	Wed Aug 31 22:54:09 2011
@@ -1,3 +1,7 @@
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff

diff -u rtems/contrib/crossrpms/rtems4.11/sparc/Makefile.am:1.61 rtems/contrib/crossrpms/rtems4.11/sparc/Makefile.am:1.62
--- rtems/contrib/crossrpms/rtems4.11/sparc/Makefile.am:1.61	Wed Aug 31 04:15:16 2011
+++ rtems/contrib/crossrpms/rtems4.11/sparc/Makefile.am	Wed Aug 31 22:52:30 2011
@@ -20,9 +20,9 @@
 include ../gcc.am
 GCC_OPTS += --languages=cxx
 
-GDB_VERS = 7.2
+GDB_VERS = 7.3
 GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 2
+GDB_RPMREL = 1
 include ../gdb.am
 GDB_OPTS +=
 

diff -u rtems/contrib/crossrpms/rtems4.11/sparc/gdb-sources.add:1.6 rtems/contrib/crossrpms/rtems4.11/sparc/gdb-sources.add:1.7
--- rtems/contrib/crossrpms/rtems4.11/sparc/gdb-sources.add:1.6	Wed Aug 31 04:15:39 2011
+++ rtems/contrib/crossrpms/rtems4.11/sparc/gdb-sources.add	Wed Aug 31 22:54:09 2011
@@ -1,3 +1,7 @@
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff

diff -u rtems/contrib/crossrpms/rtems4.11/sparc64/Makefile.am:1.48 rtems/contrib/crossrpms/rtems4.11/sparc64/Makefile.am:1.49
--- rtems/contrib/crossrpms/rtems4.11/sparc64/Makefile.am:1.48	Wed Aug 31 04:15:16 2011
+++ rtems/contrib/crossrpms/rtems4.11/sparc64/Makefile.am	Wed Aug 31 22:52:29 2011
@@ -20,9 +20,9 @@
 include ../gcc.am
 GCC_OPTS += --languages=cxx
 
-GDB_VERS = 7.2
+GDB_VERS = 7.3
 GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 2
+GDB_RPMREL = 1
 include ../gdb.am
 GDB_OPTS +=
 

diff -u rtems/contrib/crossrpms/rtems4.11/sparc64/gdb-sources.add:1.5 rtems/contrib/crossrpms/rtems4.11/sparc64/gdb-sources.add:1.6
--- rtems/contrib/crossrpms/rtems4.11/sparc64/gdb-sources.add:1.5	Wed Aug 31 04:15:39 2011
+++ rtems/contrib/crossrpms/rtems4.11/sparc64/gdb-sources.add	Wed Aug 31 22:54:09 2011
@@ -1,3 +1,7 @@
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff


 *ralf*:
Regenerate.

M    1.3  contrib/crossrpms/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-gdb.spec
M    1.8  contrib/crossrpms/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gdb.spec
M    1.8  contrib/crossrpms/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gdb.spec
M    1.5  contrib/crossrpms/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gdb.spec
M    1.9  contrib/crossrpms/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gdb.spec
M    1.8  contrib/crossrpms/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gdb.spec
M    1.9  contrib/crossrpms/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gdb.spec
M    1.9  contrib/crossrpms/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gdb.spec
M    1.8  contrib/crossrpms/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gdb.spec
M    1.8  contrib/crossrpms/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gdb.spec
M    1.8  contrib/crossrpms/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gdb.spec
M    1.9  contrib/crossrpms/rtems4.11/mipstx39/rtems-4.11-mipstx39-rtems4.11-gdb.spec
M   1.10  contrib/crossrpms/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gdb.spec
M    1.8  contrib/crossrpms/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gdb.spec
M    1.9  contrib/crossrpms/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gdb.spec
M    1.6  contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gdb.spec

diff -u rtems/contrib/crossrpms/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-gdb.spec:1.2 rtems/contrib/crossrpms/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-gdb.spec:1.3
--- rtems/contrib/crossrpms/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-gdb.spec:1.2	Wed Aug 31 04:17:31 2011
+++ rtems/contrib/crossrpms/rtems4.11/arm-eabi/rtems-4.11-arm-rtemseabi4.11-gdb.spec	Wed Aug 31 22:55:46 2011
@@ -45,21 +45,21 @@
 %define _host_rpmprefix %{nil}
 %endif
 
-%define gdb_version 7.2
-%define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)} 
+%define gdb_version 7.3
+%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)} 
 
 Name:		rtems-4.11-arm-rtemseabi4.11-gdb
 Summary:	Gdb for target arm-rtemseabi4.11
 Group:		Development/Tools
 Version:	%{gdb_rpmvers}
-Release:	2%{?dist}
+Release:	1%{?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
+%global build_sim --enable-sim
 
 # Whether to build against system readline
 # Default: yes
@@ -70,15 +70,7 @@
 # Can't build python Cdn-X
 %bcond_with python
 %else
-%if "%{gdb_version}" >= "7.3"
-# Python support is broken
-%bcond_with python
-%elseif "%{gdb_version}" >= "6.8.50"
 %bcond_without python
-%else
-# python is unsupported
-%bcond_with python
-%endif
 %endif
 %{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
 
@@ -94,14 +86,15 @@
 %{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel}
 BuildRequires:  %{_host_rpmprefix}ncurses-devel
 
-
 # Required for building the infos
 BuildRequires:	/sbin/install-info
 BuildRequires:	texinfo >= 4.2
-
-
 Requires:	rtems-4.11-gdb-common
 
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff
@@ -142,6 +135,7 @@
     %{?with_system_readline:--with-system-readline} \
     --with-expat \
     %{?with_python:--with-python}%{!?with_python:--without-python} \
+    --with-gdb-datadir=%{_datadir}/arm-rtemseabi4.11-gdb \
     --prefix=%{_prefix} --bindir=%{_bindir} \
     --includedir=%{_includedir} --libdir=%{_libdir} \
     --mandir=%{_mandir} --infodir=%{_infodir}
@@ -171,20 +165,24 @@
 # host library, installed to a bogus directory
   rm -f ${RPM_BUILD_ROOT}%{_libdir}/libarm-rtemseabi4.11-sim.a
 
-%if "%{gdb_version}" >= "7.0"
 # Bug in gdb-7.0, bogusly installs linux-only files
   somethinguseful=0
-  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
+  for f in ${RPM_BUILD_ROOT}%{_datadir}/arm-rtemseabi4.11-gdb/syscalls/*.xml; do
     case $f in
     *linux.xml) rm -f $f;;
     *.xml) somethinguseful=1;;
     esac
   done
   if test $somethinguseful -eq 0; then
-    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
+    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/arm-rtemseabi4.11-gdb/syscalls"
   fi
-%endif
 
+%if "{gdb_version}" >= "7.3"
+%if ! %{with python}
+# gdb-7.3 doesn't honor --without-python correctly
+  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/arm-rtemseabi4.11-gdb/python
+%endif
+%endif
   cd ..
 
 # Extract %%__os_install_post into os_install_post~
@@ -235,6 +233,7 @@
 %defattr(-,root,root)
 %dir %{_prefix}
 %dir %{_prefix}/share
+%{?with_python:%{_datadir}/arm-rtemseabi4.11-gdb}
 
 %dir %{_mandir}
 %dir %{_mandir}/man1

diff -u rtems/contrib/crossrpms/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gdb.spec:1.7 rtems/contrib/crossrpms/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gdb.spec:1.8
--- rtems/contrib/crossrpms/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gdb.spec:1.7	Wed Aug 31 04:17:31 2011
+++ rtems/contrib/crossrpms/rtems4.11/arm/rtems-4.11-arm-rtems4.11-gdb.spec	Wed Aug 31 22:55:46 2011
@@ -45,21 +45,21 @@
 %define _host_rpmprefix %{nil}
 %endif
 
-%define gdb_version 7.2
-%define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)} 
+%define gdb_version 7.3
+%define gdb_rpmvers %{expand:%(echo 7.3 | 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://sources.redhat.com/gdb
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  %{_host_rpmprefix}gcc
 
-%define build_sim --enable-sim
+%global build_sim --enable-sim
 
 # Whether to build against system readline
 # Default: yes
@@ -70,15 +70,7 @@
 # Can't build python Cdn-X
 %bcond_with python
 %else
-%if "%{gdb_version}" >= "7.3"
-# Python support is broken
-%bcond_with python
-%elseif "%{gdb_version}" >= "6.8.50"
 %bcond_without python
-%else
-# python is unsupported
-%bcond_with python
-%endif
 %endif
 %{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
 
@@ -94,14 +86,15 @@
 %{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel}
 BuildRequires:  %{_host_rpmprefix}ncurses-devel
 
-
 # Required for building the infos
 BuildRequires:	/sbin/install-info
 BuildRequires:	texinfo >= 4.2
-
-
 Requires:	rtems-4.11-gdb-common
 
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff
@@ -142,6 +135,7 @@
     %{?with_system_readline:--with-system-readline} \
     --with-expat \
     %{?with_python:--with-python}%{!?with_python:--without-python} \
+    --with-gdb-datadir=%{_datadir}/arm-rtems4.11-gdb \
     --prefix=%{_prefix} --bindir=%{_bindir} \
     --includedir=%{_includedir} --libdir=%{_libdir} \
     --mandir=%{_mandir} --infodir=%{_infodir}
@@ -171,20 +165,24 @@
 # host library, installed to a bogus directory
   rm -f ${RPM_BUILD_ROOT}%{_libdir}/libarm-rtems4.11-sim.a
 
-%if "%{gdb_version}" >= "7.0"
 # Bug in gdb-7.0, bogusly installs linux-only files
   somethinguseful=0
-  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
+  for f in ${RPM_BUILD_ROOT}%{_datadir}/arm-rtems4.11-gdb/syscalls/*.xml; do
     case $f in
     *linux.xml) rm -f $f;;
     *.xml) somethinguseful=1;;
     esac
   done
   if test $somethinguseful -eq 0; then
-    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
+    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/arm-rtems4.11-gdb/syscalls"
   fi
-%endif
 
+%if "{gdb_version}" >= "7.3"
+%if ! %{with python}
+# gdb-7.3 doesn't honor --without-python correctly
+  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/arm-rtems4.11-gdb/python
+%endif
+%endif
   cd ..
 
 # Extract %%__os_install_post into os_install_post~
@@ -235,6 +233,7 @@
 %defattr(-,root,root)
 %dir %{_prefix}
 %dir %{_prefix}/share
+%{?with_python:%{_datadir}/arm-rtems4.11-gdb}
 
 %dir %{_mandir}
 %dir %{_mandir}/man1

diff -u rtems/contrib/crossrpms/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gdb.spec:1.7 rtems/contrib/crossrpms/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gdb.spec:1.8
--- rtems/contrib/crossrpms/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gdb.spec:1.7	Wed Aug 31 04:17:31 2011
+++ rtems/contrib/crossrpms/rtems4.11/avr/rtems-4.11-avr-rtems4.11-gdb.spec	Wed Aug 31 22:55:46 2011
@@ -45,21 +45,21 @@
 %define _host_rpmprefix %{nil}
 %endif
 
-%define gdb_version 7.2
-%define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)} 
+%define gdb_version 7.3
+%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)} 
 
 Name:		rtems-4.11-avr-rtems4.11-gdb
 Summary:	Gdb for target avr-rtems4.11
 Group:		Development/Tools
 Version:	%{gdb_rpmvers}
-Release:	2%{?dist}
+Release:	1%{?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
+%global build_sim --enable-sim
 
 # Whether to build against system readline
 # Default: yes
@@ -70,15 +70,7 @@
 # Can't build python Cdn-X
 %bcond_with python
 %else
-%if "%{gdb_version}" >= "7.3"
-# Python support is broken
-%bcond_with python
-%elseif "%{gdb_version}" >= "6.8.50"
 %bcond_without python
-%else
-# python is unsupported
-%bcond_with python
-%endif
 %endif
 %{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
 
@@ -94,14 +86,15 @@
 %{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel}
 BuildRequires:  %{_host_rpmprefix}ncurses-devel
 
-
 # Required for building the infos
 BuildRequires:	/sbin/install-info
 BuildRequires:	texinfo >= 4.2
-
-
 Requires:	rtems-4.11-gdb-common
 
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff
@@ -142,6 +135,7 @@
     %{?with_system_readline:--with-system-readline} \
     --with-expat \
     %{?with_python:--with-python}%{!?with_python:--without-python} \
+    --with-gdb-datadir=%{_datadir}/avr-rtems4.11-gdb \
     --prefix=%{_prefix} --bindir=%{_bindir} \
     --includedir=%{_includedir} --libdir=%{_libdir} \
     --mandir=%{_mandir} --infodir=%{_infodir}
@@ -171,20 +165,24 @@
 # host library, installed to a bogus directory
   rm -f ${RPM_BUILD_ROOT}%{_libdir}/libavr-rtems4.11-sim.a
 
-%if "%{gdb_version}" >= "7.0"
 # Bug in gdb-7.0, bogusly installs linux-only files
   somethinguseful=0
-  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
+  for f in ${RPM_BUILD_ROOT}%{_datadir}/avr-rtems4.11-gdb/syscalls/*.xml; do
     case $f in
     *linux.xml) rm -f $f;;
     *.xml) somethinguseful=1;;
     esac
   done
   if test $somethinguseful -eq 0; then
-    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
+    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/avr-rtems4.11-gdb/syscalls"
   fi
-%endif
 
+%if "{gdb_version}" >= "7.3"
+%if ! %{with python}
+# gdb-7.3 doesn't honor --without-python correctly
+  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/avr-rtems4.11-gdb/python
+%endif
+%endif
   cd ..
 
 # Extract %%__os_install_post into os_install_post~
@@ -235,6 +233,7 @@
 %defattr(-,root,root)
 %dir %{_prefix}
 %dir %{_prefix}/share
+%{?with_python:%{_datadir}/avr-rtems4.11-gdb}
 
 %dir %{_mandir}
 %dir %{_mandir}/man1

diff -u rtems/contrib/crossrpms/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gdb.spec:1.4 rtems/contrib/crossrpms/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gdb.spec:1.5
--- rtems/contrib/crossrpms/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gdb.spec:1.4	Wed Aug 31 09:30:21 2011
+++ rtems/contrib/crossrpms/rtems4.11/bfin/rtems-4.11-bfin-rtems4.11-gdb.spec	Wed Aug 31 22:55:46 2011
@@ -59,7 +59,7 @@
 
 BuildRequires:  %{_host_rpmprefix}gcc
 
-%define build_sim --enable-sim
+%global build_sim --enable-sim
 
 # Whether to build against system readline
 # Default: yes
@@ -70,15 +70,7 @@
 # Can't build python Cdn-X
 %bcond_with python
 %else
-%if "%{gdb_version}" >= "7.3"
-# Python support is broken
-%bcond_with python
-%elseif "%{gdb_version}" >= "6.8.50"
 %bcond_without python
-%else
-# python is unsupported
-%bcond_with python
-%endif
 %endif
 %{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
 
@@ -94,9 +86,6 @@
 %{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel}
 BuildRequires:  %{_host_rpmprefix}ncurses-devel
 
-
-
-
 BuildRequires:  rtems-4.11-bfin-rtems4.11-binutils
 BuildRequires:  texinfo
 
@@ -140,6 +129,7 @@
     %{?with_system_readline:--with-system-readline} \
     --with-expat \
     %{?with_python:--with-python}%{!?with_python:--without-python} \
+    --with-gdb-datadir=%{_datadir}/bfin-rtems4.11-gdb \
     --prefix=%{_prefix} --bindir=%{_bindir} \
     --includedir=%{_includedir} --libdir=%{_libdir} \
     --mandir=%{_mandir} --infodir=%{_infodir}
@@ -163,24 +153,22 @@
 # host library, installed to a bogus directory
   rm -f ${RPM_BUILD_ROOT}%{_libdir}/libbfin-rtems4.11-sim.a
 
-%if "%{gdb_version}" >= "7.0"
 # Bug in gdb-7.0, bogusly installs linux-only files
   somethinguseful=0
-  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
+  for f in ${RPM_BUILD_ROOT}%{_datadir}/bfin-rtems4.11-gdb/syscalls/*.xml; do
     case $f in
     *linux.xml) rm -f $f;;
     *.xml) somethinguseful=1;;
     esac
   done
   if test $somethinguseful -eq 0; then
-    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
+    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/bfin-rtems4.11-gdb/syscalls"
   fi
-%endif
 
 %if "{gdb_version}" >= "7.3"
 %if ! %{with python}
 # gdb-7.3 doesn't honor --without-python correctly
-  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/gdb/python
+  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/bfin-rtems4.11-gdb/python
 %endif
 %endif
   cd ..
@@ -233,6 +221,7 @@
 %defattr(-,root,root)
 %dir %{_prefix}
 %dir %{_prefix}/share
+%{?with_python:%{_datadir}/bfin-rtems4.11-gdb}
 
 %dir %{_mandir}
 %dir %{_mandir}/man1

diff -u rtems/contrib/crossrpms/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gdb.spec:1.8 rtems/contrib/crossrpms/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gdb.spec:1.9
--- rtems/contrib/crossrpms/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gdb.spec:1.8	Wed Aug 31 04:17:31 2011
+++ rtems/contrib/crossrpms/rtems4.11/h8300/rtems-4.11-h8300-rtems4.11-gdb.spec	Wed Aug 31 22:55:46 2011
@@ -45,21 +45,21 @@
 %define _host_rpmprefix %{nil}
 %endif
 
-%define gdb_version 7.2
-%define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)} 
+%define gdb_version 7.3
+%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)} 
 
 Name:		rtems-4.11-h8300-rtems4.11-gdb
 Summary:	Gdb for target h8300-rtems4.11
 Group:		Development/Tools
 Version:	%{gdb_rpmvers}
-Release:	2%{?dist}
+Release:	1%{?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
+%global build_sim --enable-sim
 
 # Whether to build against system readline
 # Default: yes
@@ -70,15 +70,7 @@
 # Can't build python Cdn-X
 %bcond_with python
 %else
-%if "%{gdb_version}" >= "7.3"
-# Python support is broken
-%bcond_with python
-%elseif "%{gdb_version}" >= "6.8.50"
 %bcond_without python
-%else
-# python is unsupported
-%bcond_with python
-%endif
 %endif
 %{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
 
@@ -98,14 +90,15 @@
 %{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel}
 BuildRequires:  %{_host_rpmprefix}ncurses-devel
 
-
 # Required for building the infos
 BuildRequires:	/sbin/install-info
 BuildRequires:	texinfo >= 4.2
-
-
 Requires:	rtems-4.11-gdb-common
 
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff
@@ -146,6 +139,7 @@
     %{?with_system_readline:--with-system-readline} \
     --with-expat \
     %{?with_python:--with-python}%{!?with_python:--without-python} \
+    --with-gdb-datadir=%{_datadir}/h8300-rtems4.11-gdb \
     --prefix=%{_prefix} --bindir=%{_bindir} \
     --includedir=%{_includedir} --libdir=%{_libdir} \
     --mandir=%{_mandir} --infodir=%{_infodir}
@@ -175,20 +169,24 @@
 # host library, installed to a bogus directory
   rm -f ${RPM_BUILD_ROOT}%{_libdir}/libh8300-rtems4.11-sim.a
 
-%if "%{gdb_version}" >= "7.0"
 # Bug in gdb-7.0, bogusly installs linux-only files
   somethinguseful=0
-  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
+  for f in ${RPM_BUILD_ROOT}%{_datadir}/h8300-rtems4.11-gdb/syscalls/*.xml; do
     case $f in
     *linux.xml) rm -f $f;;
     *.xml) somethinguseful=1;;
     esac
   done
   if test $somethinguseful -eq 0; then
-    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
+    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/h8300-rtems4.11-gdb/syscalls"
   fi
-%endif
 
+%if "{gdb_version}" >= "7.3"
+%if ! %{with python}
+# gdb-7.3 doesn't honor --without-python correctly
+  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/h8300-rtems4.11-gdb/python
+%endif
+%endif
   cd ..
 
 # Extract %%__os_install_post into os_install_post~
@@ -239,6 +237,7 @@
 %defattr(-,root,root)
 %dir %{_prefix}
 %dir %{_prefix}/share
+%{?with_python:%{_datadir}/h8300-rtems4.11-gdb}
 
 %dir %{_mandir}
 %dir %{_mandir}/man1

diff -u rtems/contrib/crossrpms/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gdb.spec:1.7 rtems/contrib/crossrpms/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gdb.spec:1.8
--- rtems/contrib/crossrpms/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gdb.spec:1.7	Wed Aug 31 04:17:31 2011
+++ rtems/contrib/crossrpms/rtems4.11/i386/rtems-4.11-i386-rtems4.11-gdb.spec	Wed Aug 31 22:55:46 2011
@@ -45,21 +45,21 @@
 %define _host_rpmprefix %{nil}
 %endif
 
-%define gdb_version 7.2
-%define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)} 
+%define gdb_version 7.3
+%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)} 
 
 Name:		rtems-4.11-i386-rtems4.11-gdb
 Summary:	Gdb for target i386-rtems4.11
 Group:		Development/Tools
 Version:	%{gdb_rpmvers}
-Release:	2%{?dist}
+Release:	1%{?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
+%global build_sim --enable-sim
 
 # Whether to build against system readline
 # Default: yes
@@ -70,15 +70,7 @@
 # Can't build python Cdn-X
 %bcond_with python
 %else
-%if "%{gdb_version}" >= "7.3"
-# Python support is broken
-%bcond_with python
-%elseif "%{gdb_version}" >= "6.8.50"
 %bcond_without python
-%else
-# python is unsupported
-%bcond_with python
-%endif
 %endif
 %{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
 
@@ -94,14 +86,15 @@
 %{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel}
 BuildRequires:  %{_host_rpmprefix}ncurses-devel
 
-
 # Required for building the infos
 BuildRequires:	/sbin/install-info
 BuildRequires:	texinfo >= 4.2
-
-
 Requires:	rtems-4.11-gdb-common
 
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff
@@ -142,6 +135,7 @@
     %{?with_system_readline:--with-system-readline} \
     --with-expat \
     %{?with_python:--with-python}%{!?with_python:--without-python} \
+    --with-gdb-datadir=%{_datadir}/i386-rtems4.11-gdb \
     --prefix=%{_prefix} --bindir=%{_bindir} \
     --includedir=%{_includedir} --libdir=%{_libdir} \
     --mandir=%{_mandir} --infodir=%{_infodir}
@@ -171,20 +165,24 @@
 # host library, installed to a bogus directory
   rm -f ${RPM_BUILD_ROOT}%{_libdir}/libi386-rtems4.11-sim.a
 
-%if "%{gdb_version}" >= "7.0"
 # Bug in gdb-7.0, bogusly installs linux-only files
   somethinguseful=0
-  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
+  for f in ${RPM_BUILD_ROOT}%{_datadir}/i386-rtems4.11-gdb/syscalls/*.xml; do
     case $f in
     *linux.xml) rm -f $f;;
     *.xml) somethinguseful=1;;
     esac
   done
   if test $somethinguseful -eq 0; then
-    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
+    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/i386-rtems4.11-gdb/syscalls"
   fi
-%endif
 
+%if "{gdb_version}" >= "7.3"
+%if ! %{with python}
+# gdb-7.3 doesn't honor --without-python correctly
+  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/i386-rtems4.11-gdb/python
+%endif
+%endif
   cd ..
 
 # Extract %%__os_install_post into os_install_post~
@@ -235,6 +233,7 @@
 %defattr(-,root,root)
 %dir %{_prefix}
 %dir %{_prefix}/share
+%{?with_python:%{_datadir}/i386-rtems4.11-gdb}
 
 %dir %{_mandir}
 %dir %{_mandir}/man1

diff -u rtems/contrib/crossrpms/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gdb.spec:1.8 rtems/contrib/crossrpms/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gdb.spec:1.9
--- rtems/contrib/crossrpms/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gdb.spec:1.8	Wed Aug 31 04:17:31 2011
+++ rtems/contrib/crossrpms/rtems4.11/lm32/rtems-4.11-lm32-rtems4.11-gdb.spec	Wed Aug 31 22:55:46 2011
@@ -45,21 +45,21 @@
 %define _host_rpmprefix %{nil}
 %endif
 
-%define gdb_version 7.2
-%define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)} 
+%define gdb_version 7.3
+%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)} 
 
 Name:		rtems-4.11-lm32-rtems4.11-gdb
 Summary:	Gdb for target lm32-rtems4.11
 Group:		Development/Tools
 Version:	%{gdb_rpmvers}
-Release:	2%{?dist}
+Release:	1%{?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
+%global build_sim --enable-sim
 
 # Whether to build against system readline
 # Default: yes
@@ -70,15 +70,7 @@
 # Can't build python Cdn-X
 %bcond_with python
 %else
-%if "%{gdb_version}" >= "7.3"
-# Python support is broken
-%bcond_with python
-%elseif "%{gdb_version}" >= "6.8.50"
 %bcond_without python
-%else
-# python is unsupported
-%bcond_with python
-%endif
 %endif
 %{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
 
@@ -98,14 +90,15 @@
 %{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel}
 BuildRequires:  %{_host_rpmprefix}ncurses-devel
 
-
 # Required for building the infos
 BuildRequires:	/sbin/install-info
 BuildRequires:	texinfo >= 4.2
-
-
 Requires:	rtems-4.11-gdb-common
 
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff
@@ -146,6 +139,7 @@
     %{?with_system_readline:--with-system-readline} \
     --with-expat \
     %{?with_python:--with-python}%{!?with_python:--without-python} \
+    --with-gdb-datadir=%{_datadir}/lm32-rtems4.11-gdb \
     --prefix=%{_prefix} --bindir=%{_bindir} \
     --includedir=%{_includedir} --libdir=%{_libdir} \
     --mandir=%{_mandir} --infodir=%{_infodir}
@@ -175,20 +169,24 @@
 # host library, installed to a bogus directory
   rm -f ${RPM_BUILD_ROOT}%{_libdir}/liblm32-rtems4.11-sim.a
 
-%if "%{gdb_version}" >= "7.0"
 # Bug in gdb-7.0, bogusly installs linux-only files
   somethinguseful=0
-  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
+  for f in ${RPM_BUILD_ROOT}%{_datadir}/lm32-rtems4.11-gdb/syscalls/*.xml; do
     case $f in
     *linux.xml) rm -f $f;;
     *.xml) somethinguseful=1;;
     esac
   done
   if test $somethinguseful -eq 0; then
-    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
+    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/lm32-rtems4.11-gdb/syscalls"
   fi
-%endif
 
+%if "{gdb_version}" >= "7.3"
+%if ! %{with python}
+# gdb-7.3 doesn't honor --without-python correctly
+  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/lm32-rtems4.11-gdb/python
+%endif
+%endif
   cd ..
 
 # Extract %%__os_install_post into os_install_post~
@@ -239,6 +237,7 @@
 %defattr(-,root,root)
 %dir %{_prefix}
 %dir %{_prefix}/share
+%{?with_python:%{_datadir}/lm32-rtems4.11-gdb}
 
 %dir %{_mandir}
 %dir %{_mandir}/man1

diff -u rtems/contrib/crossrpms/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gdb.spec:1.8 rtems/contrib/crossrpms/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gdb.spec:1.9
--- rtems/contrib/crossrpms/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gdb.spec:1.8	Wed Aug 31 04:17:31 2011
+++ rtems/contrib/crossrpms/rtems4.11/m32c/rtems-4.11-m32c-rtems4.11-gdb.spec	Wed Aug 31 22:55:46 2011
@@ -45,21 +45,21 @@
 %define _host_rpmprefix %{nil}
 %endif
 
-%define gdb_version 7.2
-%define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)} 
+%define gdb_version 7.3
+%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)} 
 
 Name:		rtems-4.11-m32c-rtems4.11-gdb
 Summary:	Gdb for target m32c-rtems4.11
 Group:		Development/Tools
 Version:	%{gdb_rpmvers}
-Release:	2%{?dist}
+Release:	1%{?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
+%global build_sim --enable-sim
 
 # Whether to build against system readline
 # Default: yes
@@ -70,15 +70,7 @@
 # Can't build python Cdn-X
 %bcond_with python
 %else
-%if "%{gdb_version}" >= "7.3"
-# Python support is broken
-%bcond_with python
-%elseif "%{gdb_version}" >= "6.8.50"
 %bcond_without python
-%else
-# python is unsupported
-%bcond_with python
-%endif
 %endif
 %{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
 
@@ -98,14 +90,15 @@
 %{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel}
 BuildRequires:  %{_host_rpmprefix}ncurses-devel
 
-
 # Required for building the infos
 BuildRequires:	/sbin/install-info
 BuildRequires:	texinfo >= 4.2
-
-
 Requires:	rtems-4.11-gdb-common
 
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff
@@ -146,6 +139,7 @@
     %{?with_system_readline:--with-system-readline} \
     --with-expat \
     %{?with_python:--with-python}%{!?with_python:--without-python} \
+    --with-gdb-datadir=%{_datadir}/m32c-rtems4.11-gdb \
     --prefix=%{_prefix} --bindir=%{_bindir} \
     --includedir=%{_includedir} --libdir=%{_libdir} \
     --mandir=%{_mandir} --infodir=%{_infodir}
@@ -175,20 +169,24 @@
 # host library, installed to a bogus directory
   rm -f ${RPM_BUILD_ROOT}%{_libdir}/libm32c-rtems4.11-sim.a
 
-%if "%{gdb_version}" >= "7.0"
 # Bug in gdb-7.0, bogusly installs linux-only files
   somethinguseful=0
-  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
+  for f in ${RPM_BUILD_ROOT}%{_datadir}/m32c-rtems4.11-gdb/syscalls/*.xml; do
     case $f in
     *linux.xml) rm -f $f;;
     *.xml) somethinguseful=1;;
     esac
   done
   if test $somethinguseful -eq 0; then
-    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
+    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/m32c-rtems4.11-gdb/syscalls"
   fi
-%endif
 
+%if "{gdb_version}" >= "7.3"
+%if ! %{with python}
+# gdb-7.3 doesn't honor --without-python correctly
+  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/m32c-rtems4.11-gdb/python
+%endif
+%endif
   cd ..
 
 # Extract %%__os_install_post into os_install_post~
@@ -239,6 +237,7 @@
 %defattr(-,root,root)
 %dir %{_prefix}
 %dir %{_prefix}/share
+%{?with_python:%{_datadir}/m32c-rtems4.11-gdb}
 
 %dir %{_mandir}
 %dir %{_mandir}/man1

diff -u rtems/contrib/crossrpms/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gdb.spec:1.7 rtems/contrib/crossrpms/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gdb.spec:1.8
--- rtems/contrib/crossrpms/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gdb.spec:1.7	Wed Aug 31 04:17:31 2011
+++ rtems/contrib/crossrpms/rtems4.11/m32r/rtems-4.11-m32r-rtems4.11-gdb.spec	Wed Aug 31 22:55:47 2011
@@ -45,21 +45,21 @@
 %define _host_rpmprefix %{nil}
 %endif
 
-%define gdb_version 7.2
-%define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)} 
+%define gdb_version 7.3
+%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)} 
 
 Name:		rtems-4.11-m32r-rtems4.11-gdb
 Summary:	Gdb for target m32r-rtems4.11
 Group:		Development/Tools
 Version:	%{gdb_rpmvers}
-Release:	2%{?dist}
+Release:	1%{?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
+%global build_sim --enable-sim
 
 # Whether to build against system readline
 # Default: yes
@@ -70,15 +70,7 @@
 # Can't build python Cdn-X
 %bcond_with python
 %else
-%if "%{gdb_version}" >= "7.3"
-# Python support is broken
-%bcond_with python
-%elseif "%{gdb_version}" >= "6.8.50"
 %bcond_without python
-%else
-# python is unsupported
-%bcond_with python
-%endif
 %endif
 %{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
 
@@ -94,14 +86,15 @@
 %{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel}
 BuildRequires:  %{_host_rpmprefix}ncurses-devel
 
-
 # Required for building the infos
 BuildRequires:	/sbin/install-info
 BuildRequires:	texinfo >= 4.2
-
-
 Requires:	rtems-4.11-gdb-common
 
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff
@@ -142,6 +135,7 @@
     %{?with_system_readline:--with-system-readline} \
     --with-expat \
     %{?with_python:--with-python}%{!?with_python:--without-python} \
+    --with-gdb-datadir=%{_datadir}/m32r-rtems4.11-gdb \
     --prefix=%{_prefix} --bindir=%{_bindir} \
     --includedir=%{_includedir} --libdir=%{_libdir} \
     --mandir=%{_mandir} --infodir=%{_infodir}
@@ -171,20 +165,24 @@
 # host library, installed to a bogus directory
   rm -f ${RPM_BUILD_ROOT}%{_libdir}/libm32r-rtems4.11-sim.a
 
-%if "%{gdb_version}" >= "7.0"
 # Bug in gdb-7.0, bogusly installs linux-only files
   somethinguseful=0
-  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
+  for f in ${RPM_BUILD_ROOT}%{_datadir}/m32r-rtems4.11-gdb/syscalls/*.xml; do
     case $f in
     *linux.xml) rm -f $f;;
     *.xml) somethinguseful=1;;
     esac
   done
   if test $somethinguseful -eq 0; then
-    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
+    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/m32r-rtems4.11-gdb/syscalls"
   fi
-%endif
 
+%if "{gdb_version}" >= "7.3"
+%if ! %{with python}
+# gdb-7.3 doesn't honor --without-python correctly
+  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/m32r-rtems4.11-gdb/python
+%endif
+%endif
   cd ..
 
 # Extract %%__os_install_post into os_install_post~
@@ -235,6 +233,7 @@
 %defattr(-,root,root)
 %dir %{_prefix}
 %dir %{_prefix}/share
+%{?with_python:%{_datadir}/m32r-rtems4.11-gdb}
 
 %dir %{_mandir}
 %dir %{_mandir}/man1

diff -u rtems/contrib/crossrpms/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gdb.spec:1.7 rtems/contrib/crossrpms/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gdb.spec:1.8
--- rtems/contrib/crossrpms/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gdb.spec:1.7	Wed Aug 31 04:17:31 2011
+++ rtems/contrib/crossrpms/rtems4.11/m68k/rtems-4.11-m68k-rtems4.11-gdb.spec	Wed Aug 31 22:55:47 2011
@@ -45,21 +45,21 @@
 %define _host_rpmprefix %{nil}
 %endif
 
-%define gdb_version 7.2
-%define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)} 
+%define gdb_version 7.3
+%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)} 
 
 Name:		rtems-4.11-m68k-rtems4.11-gdb
 Summary:	Gdb for target m68k-rtems4.11
 Group:		Development/Tools
 Version:	%{gdb_rpmvers}
-Release:	2%{?dist}
+Release:	1%{?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
+%global build_sim --enable-sim
 
 # Whether to build against system readline
 # Default: yes
@@ -70,15 +70,7 @@
 # Can't build python Cdn-X
 %bcond_with python
 %else
-%if "%{gdb_version}" >= "7.3"
-# Python support is broken
-%bcond_with python
-%elseif "%{gdb_version}" >= "6.8.50"
 %bcond_without python
-%else
-# python is unsupported
-%bcond_with python
-%endif
 %endif
 %{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
 
@@ -94,14 +86,15 @@
 %{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel}
 BuildRequires:  %{_host_rpmprefix}ncurses-devel
 
-
 # Required for building the infos
 BuildRequires:	/sbin/install-info
 BuildRequires:	texinfo >= 4.2
-
-
 Requires:	rtems-4.11-gdb-common
 
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff
@@ -142,6 +135,7 @@
     %{?with_system_readline:--with-system-readline} \
     --with-expat \
     %{?with_python:--with-python}%{!?with_python:--without-python} \
+    --with-gdb-datadir=%{_datadir}/m68k-rtems4.11-gdb \
     --prefix=%{_prefix} --bindir=%{_bindir} \
     --includedir=%{_includedir} --libdir=%{_libdir} \
     --mandir=%{_mandir} --infodir=%{_infodir}
@@ -171,20 +165,24 @@
 # host library, installed to a bogus directory
   rm -f ${RPM_BUILD_ROOT}%{_libdir}/libm68k-rtems4.11-sim.a
 
-%if "%{gdb_version}" >= "7.0"
 # Bug in gdb-7.0, bogusly installs linux-only files
   somethinguseful=0
-  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
+  for f in ${RPM_BUILD_ROOT}%{_datadir}/m68k-rtems4.11-gdb/syscalls/*.xml; do
     case $f in
     *linux.xml) rm -f $f;;
     *.xml) somethinguseful=1;;
     esac
   done
   if test $somethinguseful -eq 0; then
-    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
+    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/m68k-rtems4.11-gdb/syscalls"
   fi
-%endif
 
+%if "{gdb_version}" >= "7.3"
+%if ! %{with python}
+# gdb-7.3 doesn't honor --without-python correctly
+  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/m68k-rtems4.11-gdb/python
+%endif
+%endif
   cd ..
 
 # Extract %%__os_install_post into os_install_post~
@@ -235,6 +233,7 @@
 %defattr(-,root,root)
 %dir %{_prefix}
 %dir %{_prefix}/share
+%{?with_python:%{_datadir}/m68k-rtems4.11-gdb}
 
 %dir %{_mandir}
 %dir %{_mandir}/man1

diff -u rtems/contrib/crossrpms/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gdb.spec:1.7 rtems/contrib/crossrpms/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gdb.spec:1.8
--- rtems/contrib/crossrpms/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gdb.spec:1.7	Wed Aug 31 04:17:31 2011
+++ rtems/contrib/crossrpms/rtems4.11/mips/rtems-4.11-mips-rtems4.11-gdb.spec	Wed Aug 31 22:55:47 2011
@@ -45,21 +45,21 @@
 %define _host_rpmprefix %{nil}
 %endif
 
-%define gdb_version 7.2
-%define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)} 
+%define gdb_version 7.3
+%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)} 
 
 Name:		rtems-4.11-mips-rtems4.11-gdb
 Summary:	Gdb for target mips-rtems4.11
 Group:		Development/Tools
 Version:	%{gdb_rpmvers}
-Release:	2%{?dist}
+Release:	1%{?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
+%global build_sim --enable-sim
 
 # Whether to build against system readline
 # Default: yes
@@ -70,15 +70,7 @@
 # Can't build python Cdn-X
 %bcond_with python
 %else
-%if "%{gdb_version}" >= "7.3"
-# Python support is broken
-%bcond_with python
-%elseif "%{gdb_version}" >= "6.8.50"
 %bcond_without python
-%else
-# python is unsupported
-%bcond_with python
-%endif
 %endif
 %{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
 
@@ -94,14 +86,15 @@
 %{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel}
 BuildRequires:  %{_host_rpmprefix}ncurses-devel
 
-
 # Required for building the infos
 BuildRequires:	/sbin/install-info
 BuildRequires:	texinfo >= 4.2
-
-
 Requires:	rtems-4.11-gdb-common
 
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff
@@ -142,6 +135,7 @@
     %{?with_system_readline:--with-system-readline} \
     --with-expat \
     %{?with_python:--with-python}%{!?with_python:--without-python} \
+    --with-gdb-datadir=%{_datadir}/mips-rtems4.11-gdb \
     --prefix=%{_prefix} --bindir=%{_bindir} \
     --includedir=%{_includedir} --libdir=%{_libdir} \
     --mandir=%{_mandir} --infodir=%{_infodir}
@@ -171,20 +165,24 @@
 # host library, installed to a bogus directory
   rm -f ${RPM_BUILD_ROOT}%{_libdir}/libmips-rtems4.11-sim.a
 
-%if "%{gdb_version}" >= "7.0"
 # Bug in gdb-7.0, bogusly installs linux-only files
   somethinguseful=0
-  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
+  for f in ${RPM_BUILD_ROOT}%{_datadir}/mips-rtems4.11-gdb/syscalls/*.xml; do
     case $f in
     *linux.xml) rm -f $f;;
     *.xml) somethinguseful=1;;
     esac
   done
   if test $somethinguseful -eq 0; then
-    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
+    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/mips-rtems4.11-gdb/syscalls"
   fi
-%endif
 
+%if "{gdb_version}" >= "7.3"
+%if ! %{with python}
+# gdb-7.3 doesn't honor --without-python correctly
+  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/mips-rtems4.11-gdb/python
+%endif
+%endif
   cd ..
 
 # Extract %%__os_install_post into os_install_post~
@@ -235,6 +233,7 @@
 %defattr(-,root,root)
 %dir %{_prefix}
 %dir %{_prefix}/share
+%{?with_python:%{_datadir}/mips-rtems4.11-gdb}
 
 %dir %{_mandir}
 %dir %{_mandir}/man1

diff -u rtems/contrib/crossrpms/rtems4.11/mipstx39/rtems-4.11-mipstx39-rtems4.11-gdb.spec:1.8 rtems/contrib/crossrpms/rtems4.11/mipstx39/rtems-4.11-mipstx39-rtems4.11-gdb.spec:1.9
--- rtems/contrib/crossrpms/rtems4.11/mipstx39/rtems-4.11-mipstx39-rtems4.11-gdb.spec:1.8	Wed Aug 31 04:17:31 2011
+++ rtems/contrib/crossrpms/rtems4.11/mipstx39/rtems-4.11-mipstx39-rtems4.11-gdb.spec	Wed Aug 31 22:55:47 2011
@@ -45,21 +45,21 @@
 %define _host_rpmprefix %{nil}
 %endif
 
-%define gdb_version 7.2
-%define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)} 
+%define gdb_version 7.3
+%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)} 
 
 Name:		rtems-4.11-mipstx39-rtems4.11-gdb
 Summary:	Gdb for target mipstx39-rtems4.11
 Group:		Development/Tools
 Version:	%{gdb_rpmvers}
-Release:	2%{?dist}
+Release:	1%{?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
+%global build_sim --enable-sim
 
 # Whether to build against system readline
 # Default: yes
@@ -70,15 +70,7 @@
 # Can't build python Cdn-X
 %bcond_with python
 %else
-%if "%{gdb_version}" >= "7.3"
-# Python support is broken
-%bcond_with python
-%elseif "%{gdb_version}" >= "6.8.50"
 %bcond_without python
-%else
-# python is unsupported
-%bcond_with python
-%endif
 %endif
 %{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
 
@@ -98,14 +90,15 @@
 %{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel}
 BuildRequires:  %{_host_rpmprefix}ncurses-devel
 
-
 # Required for building the infos
 BuildRequires:	/sbin/install-info
 BuildRequires:	texinfo >= 4.2
-
-
 Requires:	rtems-4.11-gdb-common
 
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff
@@ -146,6 +139,7 @@
     %{?with_system_readline:--with-system-readline} \
     --with-expat \
     %{?with_python:--with-python}%{!?with_python:--without-python} \
+    --with-gdb-datadir=%{_datadir}/mipstx39-rtems4.11-gdb \
     --prefix=%{_prefix} --bindir=%{_bindir} \
     --includedir=%{_includedir} --libdir=%{_libdir} \
     --mandir=%{_mandir} --infodir=%{_infodir}
@@ -175,20 +169,24 @@
 # host library, installed to a bogus directory
   rm -f ${RPM_BUILD_ROOT}%{_libdir}/libmipstx39-rtems4.11-sim.a
 
-%if "%{gdb_version}" >= "7.0"
 # Bug in gdb-7.0, bogusly installs linux-only files
   somethinguseful=0
-  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
+  for f in ${RPM_BUILD_ROOT}%{_datadir}/mipstx39-rtems4.11-gdb/syscalls/*.xml; do
     case $f in
     *linux.xml) rm -f $f;;
     *.xml) somethinguseful=1;;
     esac
   done
   if test $somethinguseful -eq 0; then
-    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
+    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/mipstx39-rtems4.11-gdb/syscalls"
   fi
-%endif
 
+%if "{gdb_version}" >= "7.3"
+%if ! %{with python}
+# gdb-7.3 doesn't honor --without-python correctly
+  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/mipstx39-rtems4.11-gdb/python
+%endif
+%endif
   cd ..
 
 # Extract %%__os_install_post into os_install_post~
@@ -239,6 +237,7 @@
 %defattr(-,root,root)
 %dir %{_prefix}
 %dir %{_prefix}/share
+%{?with_python:%{_datadir}/mipstx39-rtems4.11-gdb}
 
 %dir %{_mandir}
 %dir %{_mandir}/man1

diff -u rtems/contrib/crossrpms/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gdb.spec:1.9 rtems/contrib/crossrpms/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gdb.spec:1.10
--- rtems/contrib/crossrpms/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gdb.spec:1.9	Wed Aug 31 04:17:31 2011
+++ rtems/contrib/crossrpms/rtems4.11/powerpc/rtems-4.11-powerpc-rtems4.11-gdb.spec	Wed Aug 31 22:55:47 2011
@@ -45,21 +45,21 @@
 %define _host_rpmprefix %{nil}
 %endif
 
-%define gdb_version 7.2
-%define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)} 
+%define gdb_version 7.3
+%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)} 
 
 Name:		rtems-4.11-powerpc-rtems4.11-gdb
 Summary:	Gdb for target powerpc-rtems4.11
 Group:		Development/Tools
 Version:	%{gdb_rpmvers}
-Release:	2%{?dist}
+Release:	1%{?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
+%global build_sim --enable-sim
 
 # Whether to build against system readline
 # Default: yes
@@ -70,23 +70,15 @@
 # Can't build python Cdn-X
 %bcond_with python
 %else
-%if "%{gdb_version}" >= "7.3"
-# Python support is broken
-%bcond_with python
-%elseif "%{gdb_version}" >= "6.8.50"
 %bcond_without python
-%else
-# python is unsupported
-%bcond_with python
-%endif
 %endif
 %{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
 
 %if "%{_build}" != "%{_host}"
 # psim doesn't support Cdn-X
-%define build_sim --disable-sim
+%global build_sim --disable-sim
 %else
-%define build_sim --enable-sim --enable-sim-trace
+%global build_sim --enable-sim --enable-sim-trace
 %endif
 
 # suse
@@ -100,14 +92,15 @@
 %{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel}
 BuildRequires:  %{_host_rpmprefix}ncurses-devel
 
-
 # Required for building the infos
 BuildRequires:	/sbin/install-info
 BuildRequires:	texinfo >= 4.2
-
-
 Requires:	rtems-4.11-gdb-common
 
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff
@@ -148,6 +141,7 @@
     %{?with_system_readline:--with-system-readline} \
     --with-expat \
     %{?with_python:--with-python}%{!?with_python:--without-python} \
+    --with-gdb-datadir=%{_datadir}/powerpc-rtems4.11-gdb \
     --prefix=%{_prefix} --bindir=%{_bindir} \
     --includedir=%{_includedir} --libdir=%{_libdir} \
     --mandir=%{_mandir} --infodir=%{_infodir}
@@ -177,20 +171,24 @@
 # host library, installed to a bogus directory
   rm -f ${RPM_BUILD_ROOT}%{_libdir}/libpowerpc-rtems4.11-sim.a
 
-%if "%{gdb_version}" >= "7.0"
 # Bug in gdb-7.0, bogusly installs linux-only files
   somethinguseful=0
-  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
+  for f in ${RPM_BUILD_ROOT}%{_datadir}/powerpc-rtems4.11-gdb/syscalls/*.xml; do
     case $f in
     *linux.xml) rm -f $f;;
     *.xml) somethinguseful=1;;
     esac
   done
   if test $somethinguseful -eq 0; then
-    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
+    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/powerpc-rtems4.11-gdb/syscalls"
   fi
-%endif
 
+%if "{gdb_version}" >= "7.3"
+%if ! %{with python}
+# gdb-7.3 doesn't honor --without-python correctly
+  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/powerpc-rtems4.11-gdb/python
+%endif
+%endif
   cd ..
 
 # Extract %%__os_install_post into os_install_post~
@@ -241,6 +239,7 @@
 %defattr(-,root,root)
 %dir %{_prefix}
 %dir %{_prefix}/share
+%{?with_python:%{_datadir}/powerpc-rtems4.11-gdb}
 
 %dir %{_mandir}
 %dir %{_mandir}/man1

diff -u rtems/contrib/crossrpms/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gdb.spec:1.7 rtems/contrib/crossrpms/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gdb.spec:1.8
--- rtems/contrib/crossrpms/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gdb.spec:1.7	Wed Aug 31 04:17:31 2011
+++ rtems/contrib/crossrpms/rtems4.11/sh/rtems-4.11-sh-rtems4.11-gdb.spec	Wed Aug 31 22:55:47 2011
@@ -45,21 +45,21 @@
 %define _host_rpmprefix %{nil}
 %endif
 
-%define gdb_version 7.2
-%define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)} 
+%define gdb_version 7.3
+%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)} 
 
 Name:		rtems-4.11-sh-rtems4.11-gdb
 Summary:	Gdb for target sh-rtems4.11
 Group:		Development/Tools
 Version:	%{gdb_rpmvers}
-Release:	2%{?dist}
+Release:	1%{?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
+%global build_sim --enable-sim
 
 # Whether to build against system readline
 # Default: yes
@@ -70,15 +70,7 @@
 # Can't build python Cdn-X
 %bcond_with python
 %else
-%if "%{gdb_version}" >= "7.3"
-# Python support is broken
-%bcond_with python
-%elseif "%{gdb_version}" >= "6.8.50"
 %bcond_without python
-%else
-# python is unsupported
-%bcond_with python
-%endif
 %endif
 %{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
 
@@ -94,14 +86,15 @@
 %{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel}
 BuildRequires:  %{_host_rpmprefix}ncurses-devel
 
-
 # Required for building the infos
 BuildRequires:	/sbin/install-info
 BuildRequires:	texinfo >= 4.2
-
-
 Requires:	rtems-4.11-gdb-common
 
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff
@@ -142,6 +135,7 @@
     %{?with_system_readline:--with-system-readline} \
     --with-expat \
     %{?with_python:--with-python}%{!?with_python:--without-python} \
+    --with-gdb-datadir=%{_datadir}/sh-rtems4.11-gdb \
     --prefix=%{_prefix} --bindir=%{_bindir} \
     --includedir=%{_includedir} --libdir=%{_libdir} \
     --mandir=%{_mandir} --infodir=%{_infodir}
@@ -171,20 +165,24 @@
 # host library, installed to a bogus directory
   rm -f ${RPM_BUILD_ROOT}%{_libdir}/libsh-rtems4.11-sim.a
 
-%if "%{gdb_version}" >= "7.0"
 # Bug in gdb-7.0, bogusly installs linux-only files
   somethinguseful=0
-  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
+  for f in ${RPM_BUILD_ROOT}%{_datadir}/sh-rtems4.11-gdb/syscalls/*.xml; do
     case $f in
     *linux.xml) rm -f $f;;
     *.xml) somethinguseful=1;;
     esac
   done
   if test $somethinguseful -eq 0; then
-    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
+    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/sh-rtems4.11-gdb/syscalls"
   fi
-%endif
 
+%if "{gdb_version}" >= "7.3"
+%if ! %{with python}
+# gdb-7.3 doesn't honor --without-python correctly
+  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/sh-rtems4.11-gdb/python
+%endif
+%endif
   cd ..
 
 # Extract %%__os_install_post into os_install_post~
@@ -235,6 +233,7 @@
 %defattr(-,root,root)
 %dir %{_prefix}
 %dir %{_prefix}/share
+%{?with_python:%{_datadir}/sh-rtems4.11-gdb}
 
 %dir %{_mandir}
 %dir %{_mandir}/man1

diff -u rtems/contrib/crossrpms/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gdb.spec:1.8 rtems/contrib/crossrpms/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gdb.spec:1.9
--- rtems/contrib/crossrpms/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gdb.spec:1.8	Wed Aug 31 04:17:31 2011
+++ rtems/contrib/crossrpms/rtems4.11/sparc/rtems-4.11-sparc-rtems4.11-gdb.spec	Wed Aug 31 22:55:47 2011
@@ -45,21 +45,21 @@
 %define _host_rpmprefix %{nil}
 %endif
 
-%define gdb_version 7.2
-%define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)} 
+%define gdb_version 7.3
+%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)} 
 
 Name:		rtems-4.11-sparc-rtems4.11-gdb
 Summary:	Gdb for target sparc-rtems4.11
 Group:		Development/Tools
 Version:	%{gdb_rpmvers}
-Release:	2%{?dist}
+Release:	1%{?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
+%global build_sim --enable-sim
 
 # Whether to build against system readline
 # Default: yes
@@ -70,15 +70,7 @@
 # Can't build python Cdn-X
 %bcond_with python
 %else
-%if "%{gdb_version}" >= "7.3"
-# Python support is broken
-%bcond_with python
-%elseif "%{gdb_version}" >= "6.8.50"
 %bcond_without python
-%else
-# python is unsupported
-%bcond_with python
-%endif
 %endif
 %{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
 
@@ -98,14 +90,15 @@
 %{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel}
 BuildRequires:  %{_host_rpmprefix}ncurses-devel
 
-
 # Required for building the infos
 BuildRequires:	/sbin/install-info
 BuildRequires:	texinfo >= 4.2
-
-
 Requires:	rtems-4.11-gdb-common
 
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff
@@ -146,6 +139,7 @@
     %{?with_system_readline:--with-system-readline} \
     --with-expat \
     %{?with_python:--with-python}%{!?with_python:--without-python} \
+    --with-gdb-datadir=%{_datadir}/sparc-rtems4.11-gdb \
     --prefix=%{_prefix} --bindir=%{_bindir} \
     --includedir=%{_includedir} --libdir=%{_libdir} \
     --mandir=%{_mandir} --infodir=%{_infodir}
@@ -175,20 +169,24 @@
 # host library, installed to a bogus directory
   rm -f ${RPM_BUILD_ROOT}%{_libdir}/libsparc-rtems4.11-sim.a
 
-%if "%{gdb_version}" >= "7.0"
 # Bug in gdb-7.0, bogusly installs linux-only files
   somethinguseful=0
-  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
+  for f in ${RPM_BUILD_ROOT}%{_datadir}/sparc-rtems4.11-gdb/syscalls/*.xml; do
     case $f in
     *linux.xml) rm -f $f;;
     *.xml) somethinguseful=1;;
     esac
   done
   if test $somethinguseful -eq 0; then
-    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
+    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/sparc-rtems4.11-gdb/syscalls"
   fi
-%endif
 
+%if "{gdb_version}" >= "7.3"
+%if ! %{with python}
+# gdb-7.3 doesn't honor --without-python correctly
+  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/sparc-rtems4.11-gdb/python
+%endif
+%endif
   cd ..
 
 # Extract %%__os_install_post into os_install_post~
@@ -239,6 +237,7 @@
 %defattr(-,root,root)
 %dir %{_prefix}
 %dir %{_prefix}/share
+%{?with_python:%{_datadir}/sparc-rtems4.11-gdb}
 
 %dir %{_mandir}
 %dir %{_mandir}/man1

diff -u rtems/contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gdb.spec:1.5 rtems/contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gdb.spec:1.6
--- rtems/contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gdb.spec:1.5	Wed Aug 31 04:17:31 2011
+++ rtems/contrib/crossrpms/rtems4.11/sparc64/rtems-4.11-sparc64-rtems4.11-gdb.spec	Wed Aug 31 22:55:47 2011
@@ -45,21 +45,21 @@
 %define _host_rpmprefix %{nil}
 %endif
 
-%define gdb_version 7.2
-%define gdb_rpmvers %{expand:%(echo 7.2 | tr - _)} 
+%define gdb_version 7.3
+%define gdb_rpmvers %{expand:%(echo 7.3 | tr - _)} 
 
 Name:		rtems-4.11-sparc64-rtems4.11-gdb
 Summary:	Gdb for target sparc64-rtems4.11
 Group:		Development/Tools
 Version:	%{gdb_rpmvers}
-Release:	2%{?dist}
+Release:	1%{?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
+%global build_sim --enable-sim
 
 # Whether to build against system readline
 # Default: yes
@@ -70,15 +70,7 @@
 # Can't build python Cdn-X
 %bcond_with python
 %else
-%if "%{gdb_version}" >= "7.3"
-# Python support is broken
-%bcond_with python
-%elseif "%{gdb_version}" >= "6.8.50"
 %bcond_without python
-%else
-# python is unsupported
-%bcond_with python
-%endif
 %endif
 %{?with_python:BuildRequires: %{_host_rpmprefix}python-devel}
 
@@ -94,14 +86,15 @@
 %{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel}
 BuildRequires:  %{_host_rpmprefix}ncurses-devel
 
-
 # Required for building the infos
 BuildRequires:	/sbin/install-info
 BuildRequires:	texinfo >= 4.2
-
-
 Requires:	rtems-4.11-gdb-common
 
+%if "%{gdb_version}" == "7.3"
+Source0: ftp://ftp.gnu.org/gnu/gdb/gdb-7.3a.tar.bz2
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gdb-7.3-rtems4.11-20110831.diff
+%endif
 %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.11-20100907.diff
@@ -142,6 +135,7 @@
     %{?with_system_readline:--with-system-readline} \
     --with-expat \
     %{?with_python:--with-python}%{!?with_python:--without-python} \
+    --with-gdb-datadir=%{_datadir}/sparc64-rtems4.11-gdb \
     --prefix=%{_prefix} --bindir=%{_bindir} \
     --includedir=%{_includedir} --libdir=%{_libdir} \
     --mandir=%{_mandir} --infodir=%{_infodir}
@@ -171,20 +165,24 @@
 # host library, installed to a bogus directory
   rm -f ${RPM_BUILD_ROOT}%{_libdir}/libsparc64-rtems4.11-sim.a
 
-%if "%{gdb_version}" >= "7.0"
 # Bug in gdb-7.0, bogusly installs linux-only files
   somethinguseful=0
-  for f in ${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls/*.xml; do
+  for f in ${RPM_BUILD_ROOT}%{_datadir}/sparc64-rtems4.11-gdb/syscalls/*.xml; do
     case $f in
     *linux.xml) rm -f $f;;
     *.xml) somethinguseful=1;;
     esac
   done
   if test $somethinguseful -eq 0; then
-    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/gdb/syscalls"
+    rm -rf "${RPM_BUILD_ROOT}%{_datadir}/sparc64-rtems4.11-gdb/syscalls"
   fi
-%endif
 
+%if "{gdb_version}" >= "7.3"
+%if ! %{with python}
+# gdb-7.3 doesn't honor --without-python correctly
+  rm -rf ${RPM_BUILD_ROOT}%{_datadir}/sparc64-rtems4.11-gdb/python
+%endif
+%endif
   cd ..
 
 # Extract %%__os_install_post into os_install_post~
@@ -235,6 +233,7 @@
 %defattr(-,root,root)
 %dir %{_prefix}
 %dir %{_prefix}/share
+%{?with_python:%{_datadir}/sparc64-rtems4.11-gdb}
 
 %dir %{_mandir}
 %dir %{_mandir}/man1



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110831/5826ae0e/attachment.html>


More information about the vc mailing list