auto-import changelog data from gdb-6.0post-0.20040223.7.src.rpm
Tue Mar 09 2004 Elena Zannoni <ezannoni@redhat.com> 0.20040223.7 - Bump version number. Mon Mar 08 2004 Jeff Johnston <jjohnstn@redhat.com> 0.20040223.6 - Fix thread support to recognize new threads even when they reuse tids of expired threads. Also ensure that terminal is held by gdb while determining if a thread-create event has occurred. Mon Mar 08 2004 Andrew Cagney <cagney@redhat.com> 0.20040223.5 - Sync with 6.1 branch; eliminate all amd64 patches; add more robust 32x64 PPC64 patches. Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Tue Mar 02 2004 Andrew Cagney <cagney@redhat.com> 0.20040223.4 - 32x64 fixes that work with threads, replaced old non-thread 32x64 patch, add nat patch. Wed Feb 25 2004 Elena Zannoni <ezannoni@redhat.com> 0.20040223.3 - Add patch for x86_64 in 32 bit mode. Wed Feb 25 2004 Elena Zannoni <ezannoni@redhat.com> 0.20040223.2 - Remove ppc64 hacks. - Refresh some patches. Wed Feb 25 2004 Elena Zannoni <ezannoni@redhat.com> 0.20040223.1 - Import new gdb snapshot from mainline FSF. - Update patch list. Tue Feb 17 2004 Jeff Johnston <jjohnstn@redhat.com> 1.20031117.8 - Switch ia64-tdep.c to use new abi used by libunwind-0.95 and up. - Fix gate area specification for ia64-linux-tdep.c. - Fix long double support for ia64. Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt
This commit is contained in:
parent
95767172a4
commit
2473bd1660
@ -1 +1 @@
|
|||||||
gdb+dejagnu-20031117.tar.bz2
|
gdb+dejagnu-20040223.tar.bz2
|
||||||
|
151
gdb.spec
151
gdb.spec
@ -1,4 +1,4 @@
|
|||||||
%define cvsdate 20031117
|
%define cvsdate 20040223
|
||||||
# Define this if you want to skip the strip step and preserve debug info.
|
# Define this if you want to skip the strip step and preserve debug info.
|
||||||
# Useful for testing.
|
# Useful for testing.
|
||||||
#define __spec_install_post /usr/lib/rpm/brp-compress || :
|
#define __spec_install_post /usr/lib/rpm/brp-compress || :
|
||||||
@ -9,7 +9,7 @@ Version: 6.0post
|
|||||||
Release: 0.%{cvsdate}.7
|
Release: 0.%{cvsdate}.7
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Development/Debuggers
|
Group: Development/Debuggers
|
||||||
Source: ftp://sources.redhat.com/pub/gdb/snapshots/current/gdb+dejagnu-20031117.tar.bz2
|
Source: ftp://sources.redhat.com/pub/gdb/snapshots/current/gdb+dejagnu-20040223.tar.bz2
|
||||||
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
||||||
URL: http://sources.redhat.com/gdb/
|
URL: http://sources.redhat.com/gdb/
|
||||||
|
|
||||||
@ -17,38 +17,30 @@ URL: http://sources.redhat.com/gdb/
|
|||||||
Patch0: gdb-6.0post-ChangeLog.patch
|
Patch0: gdb-6.0post-ChangeLog.patch
|
||||||
# ChangeLogs patches for testsuite.
|
# ChangeLogs patches for testsuite.
|
||||||
Patch1: gdb-6.0post-ChangeLog-testsuite.patch
|
Patch1: gdb-6.0post-ChangeLog-testsuite.patch
|
||||||
|
####### start jumbo mainline patch
|
||||||
|
Patch2: gdb-6.0post-sync61-20040308.patch
|
||||||
####### start patches from the previous RPM.
|
####### start patches from the previous RPM.
|
||||||
# patch from previous release (Jim Blandy).
|
# patch from previous release.
|
||||||
Patch2: gdb-6.0post-symtab.patch
|
Patch3: gdb-6.0post-symtab.patch
|
||||||
# Changes to the testsuite that are Red Hat specific.
|
# Changes to the testsuite that are Red Hat specific.
|
||||||
Patch3: gdb-6.0post-testsuite.patch
|
Patch4: gdb-6.0post-testsuite.patch
|
||||||
# new unit test for separate debug info.
|
|
||||||
Patch4: gdb-6.0post-sepdebug-tst.patch
|
|
||||||
# Accept multiple outputs from backtrace.
|
# Accept multiple outputs from backtrace.
|
||||||
Patch5: gdb-6.0post-linuxdp-tst.patch
|
Patch5: gdb-6.0post-linuxdp-tst.patch
|
||||||
# Patch to add i386 support to x86-64
|
# New test to see if libunwind is used. (Red Hat specific)
|
||||||
Patch6: gdb-6.0post-x86i386base-aug2003.patch
|
Patch6: gdb-6.0post-libunwind-tst.patch
|
||||||
# ptrace i386 TLS on x86-64
|
|
||||||
Patch7: gdb-6.0post-x86i386tls-aug2003.patch
|
|
||||||
####### end patches from the previous RPM.
|
####### end patches from the previous RPM.
|
||||||
# Final libunwind support.
|
# Some -Wunused warnings fixes
|
||||||
Patch8: gdb-6.0post-ia64-nov2003.patch
|
Patch7: gdb-6.0post-warnings-feb2004.patch
|
||||||
# Fix to ignore segments with no protection.
|
# Fix some regressions on x86-64
|
||||||
Patch9: gdb-6.0post-gcore-nov2003.patch
|
Patch8: gdb-6.0post-frame-feb2004.patch
|
||||||
# Fix mi2-basics.exp test
|
# 32x64 corefile and thread support
|
||||||
Patch10: gdb-6.0post-mi-tst-nov2003.patch
|
Patch9: gdb-6.0post-ppc64regsets-mar2004.patch
|
||||||
# New test to see if libunwind is used.
|
# 32x54 register values (zero extend)
|
||||||
Patch11: gdb-6.0post-libunwind-tst-nov2003.patch
|
Patch10: gdb-6.0post-ppc64uregs-mar2004.patch
|
||||||
# Make sure that pthreads binaries have unique names.
|
# Better prologue skipping
|
||||||
Patch12: gdb-6.0post-pthreads-tst-jan2004.patch
|
Patch11: gdb-6.0post-ppc64prologue-mar2004.patch
|
||||||
# Disable pthreads.exp for s390/s390x. FIXME.
|
# Patch to fix new thread recognition
|
||||||
Patch13: gdb-6.0post-pthreads-tst-s390-jan2004.patch
|
Patch12: gdb-6.0post-thread-fix-mar2004.patch
|
||||||
# 4 Fixes for ppc32/64
|
|
||||||
Patch14: gdb-6.0post-ppc64-ptrace-nov2003.patch
|
|
||||||
Patch15: gdb-6.0post-ppc64-ntpldesc-nov2003.patch
|
|
||||||
Patch16: gdb-6.0post-ppc64-solibadd-nov2003.patch
|
|
||||||
Patch17: gdb-6.0post-ppc64-tdepgregset-nov2003.patch
|
|
||||||
|
|
||||||
|
|
||||||
%ifarch ia64
|
%ifarch ia64
|
||||||
BuildRequires: ncurses-devel glibc-devel gcc make gzip texinfo dejagnu libunwind
|
BuildRequires: ncurses-devel glibc-devel gcc make gzip texinfo dejagnu libunwind
|
||||||
@ -62,18 +54,6 @@ GDB, the GNU debugger, allows you to debug programs written in C, C++,
|
|||||||
and other languages, by executing them in a controlled fashion and
|
and other languages, by executing them in a controlled fashion and
|
||||||
printing their data.
|
printing their data.
|
||||||
|
|
||||||
%ifarch ppc64
|
|
||||||
%package -n gdb64
|
|
||||||
Summary: A GNU source-level debugger for C, C++ and other languages.
|
|
||||||
Group: Development/Debuggers
|
|
||||||
Prereq: info
|
|
||||||
|
|
||||||
%description -n gdb64
|
|
||||||
GDB, the GNU debugger, allows you to debug programs written in C, C++,
|
|
||||||
and other languages, by executing them in a controlled fashion and
|
|
||||||
printing their data.
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
# This allows the tarball name to be different from our version-release name.
|
# This allows the tarball name to be different from our version-release name.
|
||||||
%setup -q -n gdb+dejagnu-%{cvsdate}
|
%setup -q -n gdb+dejagnu-%{cvsdate}
|
||||||
@ -92,12 +72,6 @@ printing their data.
|
|||||||
%patch10 -p1
|
%patch10 -p1
|
||||||
%patch11 -p1
|
%patch11 -p1
|
||||||
%patch12 -p1
|
%patch12 -p1
|
||||||
%patch13 -p1
|
|
||||||
%patch14 -p1
|
|
||||||
%patch15 -p1
|
|
||||||
%patch16 -p1
|
|
||||||
%patch17 -p1
|
|
||||||
|
|
||||||
# Change the version that gets printed at GDB startup, so it is RedHat
|
# Change the version that gets printed at GDB startup, so it is RedHat
|
||||||
# specific.
|
# specific.
|
||||||
cat > gdb/version.in << _FOO
|
cat > gdb/version.in << _FOO
|
||||||
@ -112,6 +86,12 @@ rm -fr dejagnu tcl expect
|
|||||||
rm -f gdb/doc/*.info
|
rm -f gdb/doc/*.info
|
||||||
rm -f gdb/doc/*.info-*
|
rm -f gdb/doc/*.info-*
|
||||||
|
|
||||||
|
# ... and remove the objective-c testcases -- no objective-c
|
||||||
|
rm -fr gdb/testsuite/gdb.objc
|
||||||
|
# FIXME: remove gdb/gdbserver/config.h from the snapshot. Suspect a bug
|
||||||
|
# in the FSF snapshot process.
|
||||||
|
rm -f gdb/gdbserver/config.h
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
# Identify the build directory with the version of gdb as well as
|
# Identify the build directory with the version of gdb as well as
|
||||||
@ -192,24 +172,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
cp $RPM_BUILD_DIR/gdb+dejagnu-%{cvsdate}/gdb/gdb_gcore.sh $RPM_BUILD_ROOT%{_prefix}/bin/gcore
|
cp $RPM_BUILD_DIR/gdb+dejagnu-%{cvsdate}/gdb/gdb_gcore.sh $RPM_BUILD_ROOT%{_prefix}/bin/gcore
|
||||||
chmod 755 $RPM_BUILD_ROOT%{_prefix}/bin/gcore
|
chmod 755 $RPM_BUILD_ROOT%{_prefix}/bin/gcore
|
||||||
|
|
||||||
#FIXME: For the moment, rename the gdb binary to gdb64 on the ppc64
|
|
||||||
#architecture. Same for run and gcore. Unfortunately for gcore
|
|
||||||
#we also need to edit the file to make it use the correct gdb64.
|
|
||||||
%ifarch ppc64
|
|
||||||
mv $RPM_BUILD_ROOT%{_prefix}/bin/gdb $RPM_BUILD_ROOT%{_prefix}/bin/gdb64
|
|
||||||
sed 's/\/usr\/bin\/gdb/\/usr\/bin\/gdb64/' $RPM_BUILD_ROOT%{_prefix}/bin/gcore > $RPM_BUILD_ROOT%{_prefix}/bin/gcore64
|
|
||||||
rm $RPM_BUILD_ROOT%{_prefix}/bin/gcore
|
|
||||||
mv $RPM_BUILD_ROOT%{_prefix}/bin/run $RPM_BUILD_ROOT%{_prefix}/bin/run64
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%ifarch ppc
|
|
||||||
rm $RPM_BUILD_ROOT%{_prefix}/share/info/annotate.*
|
|
||||||
rm $RPM_BUILD_ROOT%{_prefix}/share/info/gdb.*
|
|
||||||
rm $RPM_BUILD_ROOT%{_prefix}/share/info/gdbint.*
|
|
||||||
rm $RPM_BUILD_ROOT%{_prefix}/share/info/mmalloc.*
|
|
||||||
rm $RPM_BUILD_ROOT%{_prefix}/share/info/stabs.*
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# Remove the files that are part of a gdb build but that are owned and
|
# Remove the files that are part of a gdb build but that are owned and
|
||||||
# provided by other packages.
|
# provided by other packages.
|
||||||
# These are part of binutils
|
# These are part of binutils
|
||||||
@ -227,13 +189,7 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%ifarch ppc64
|
|
||||||
%post -n gdb64
|
|
||||||
%else
|
|
||||||
%post
|
%post
|
||||||
%endif
|
|
||||||
%ifarch ppc
|
|
||||||
%else
|
|
||||||
# This step is part of the installation of the RPM. Not to be confused
|
# This step is part of the installation of the RPM. Not to be confused
|
||||||
# with the 'make install ' of the build (rpmbuild) process.
|
# with the 'make install ' of the build (rpmbuild) process.
|
||||||
|
|
||||||
@ -247,15 +203,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
[ -f %{_infodir}/mmalloc.info.gz ] && /sbin/install-info %{_infodir}/mmalloc.info.gz %{_infodir}/dir || :
|
[ -f %{_infodir}/mmalloc.info.gz ] && /sbin/install-info %{_infodir}/mmalloc.info.gz %{_infodir}/dir || :
|
||||||
[ -f %{_infodir}/stabs.info ] && /sbin/install-info %{_infodir}/stabs.info %{_infodir}/dir || :
|
[ -f %{_infodir}/stabs.info ] && /sbin/install-info %{_infodir}/stabs.info %{_infodir}/dir || :
|
||||||
[ -f %{_infodir}/stabs.info.gz ] && /sbin/install-info %{_infodir}/stabs.info.gz %{_infodir}/dir || :
|
[ -f %{_infodir}/stabs.info.gz ] && /sbin/install-info %{_infodir}/stabs.info.gz %{_infodir}/dir || :
|
||||||
%endif
|
|
||||||
|
|
||||||
%ifarch ppc64
|
|
||||||
%preun -n gdb64
|
|
||||||
%else
|
|
||||||
%preun
|
%preun
|
||||||
%endif
|
|
||||||
%ifarch ppc
|
|
||||||
%else
|
|
||||||
if [ $1 = 0 ]; then
|
if [ $1 = 0 ]; then
|
||||||
[ -f %{_infodir}/annotate.info ] && /sbin/install-info --delete %{_infodir}/annotate.info %{_infodir}/dir || :
|
[ -f %{_infodir}/annotate.info ] && /sbin/install-info --delete %{_infodir}/annotate.info %{_infodir}/dir || :
|
||||||
[ -f %{_infodir}/annotate.info.gz ] && /sbin/install-info --delete %{_infodir}/annotate.info.gz %{_infodir}/dir || :
|
[ -f %{_infodir}/annotate.info.gz ] && /sbin/install-info --delete %{_infodir}/annotate.info.gz %{_infodir}/dir || :
|
||||||
@ -268,30 +217,60 @@ if [ $1 = 0 ]; then
|
|||||||
[ -f %{_infodir}/stabs.info ] && /sbin/install-info --delete %{_infodir}/stabs.info %{_infodir}/dir || :
|
[ -f %{_infodir}/stabs.info ] && /sbin/install-info --delete %{_infodir}/stabs.info %{_infodir}/dir || :
|
||||||
[ -f %{_infodir}/stabs.info.gz ] && /sbin/install-info --delete %{_infodir}/stabs.info.gz %{_infodir}/dir || :
|
[ -f %{_infodir}/stabs.info.gz ] && /sbin/install-info --delete %{_infodir}/stabs.info.gz %{_infodir}/dir || :
|
||||||
fi
|
fi
|
||||||
%endif
|
|
||||||
|
|
||||||
%ifarch ppc64
|
|
||||||
%files -n gdb64
|
|
||||||
%else
|
|
||||||
%files
|
%files
|
||||||
%endif
|
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING COPYING.LIB README NEWS
|
%doc COPYING COPYING.LIB README NEWS
|
||||||
/usr/bin/*
|
/usr/bin/*
|
||||||
%{_libdir}/libmmalloc.a*
|
%{_libdir}/libmmalloc.a*
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
%ifarch ppc
|
|
||||||
%else
|
|
||||||
%{_infodir}/annotate.info*
|
%{_infodir}/annotate.info*
|
||||||
%{_infodir}/gdb.info*
|
%{_infodir}/gdb.info*
|
||||||
%{_infodir}/gdbint.info*
|
%{_infodir}/gdbint.info*
|
||||||
%{_infodir}/stabs.info*
|
%{_infodir}/stabs.info*
|
||||||
%{_infodir}/mmalloc.info*
|
%{_infodir}/mmalloc.info*
|
||||||
%endif
|
|
||||||
|
|
||||||
# don't include the files in include, they are part of binutils
|
# don't include the files in include, they are part of binutils
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 09 2004 Elena Zannoni <ezannoni@redhat.com> 0.20040223.7
|
||||||
|
- Bump version number.
|
||||||
|
|
||||||
|
* Mon Mar 08 2004 Jeff Johnston <jjohnstn@redhat.com> 0.20040223.6
|
||||||
|
- Fix thread support to recognize new threads even when they reuse
|
||||||
|
tids of expired threads. Also ensure that terminal is held by gdb
|
||||||
|
while determining if a thread-create event has occurred.
|
||||||
|
|
||||||
|
* Mon Mar 08 2004 Andrew Cagney <cagney@redhat.com> 0.20040223.5
|
||||||
|
- Sync with 6.1 branch; eliminate all amd64 patches;
|
||||||
|
add more robust 32x64 PPC64 patches.
|
||||||
|
|
||||||
|
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
||||||
|
- rebuilt
|
||||||
|
|
||||||
|
* Tue Mar 2 2004 Andrew Cagney <cagney@redhat.com> 0.20040223.4
|
||||||
|
- 32x64 fixes that work with threads, replaced old
|
||||||
|
non-thread 32x64 patch, add nat patch.
|
||||||
|
|
||||||
|
* Wed Feb 25 2004 Elena Zannoni <ezannoni@redhat.com> 0.20040223.3
|
||||||
|
- Add patch for x86_64 in 32 bit mode.
|
||||||
|
|
||||||
|
* Wed Feb 25 2004 Elena Zannoni <ezannoni@redhat.com> 0.20040223.2
|
||||||
|
- Remove ppc64 hacks.
|
||||||
|
- Refresh some patches.
|
||||||
|
|
||||||
|
* Wed Feb 25 2004 Elena Zannoni <ezannoni@redhat.com> 0.20040223.1
|
||||||
|
- Import new gdb snapshot from mainline FSF.
|
||||||
|
- Update patch list.
|
||||||
|
|
||||||
|
* Tue Feb 17 2004 Jeff Johnston <jjohnstn@redhat.com> 1.20031117.8
|
||||||
|
- Switch ia64-tdep.c to use new abi used by libunwind-0.95 and up.
|
||||||
|
- Fix gate area specification for ia64-linux-tdep.c.
|
||||||
|
- Fix long double support for ia64.
|
||||||
|
|
||||||
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
||||||
|
- rebuilt
|
||||||
|
|
||||||
* Thu Jan 08 2004 Elena Zannoni <ezannoni@redhat.com> 0.20031117.7
|
* Thu Jan 08 2004 Elena Zannoni <ezannoni@redhat.com> 0.20031117.7
|
||||||
- Add fixes for ppc32 support on ppc64 platform, from Andrew Cagney.
|
- Add fixes for ppc32 support on ppc64 platform, from Andrew Cagney.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user