rpms/gdb/F-12 gdb-rhel5-compat.patch,1.1,1.2 gdb.spec,1.408,1.409
Jan Kratochvil
jkratoch at fedoraproject.org
Fri Jan 1 15:15:34 UTC 2010
- Previous message (by thread): rpms/xorg-x11-drv-radeonhd/F-11 xorg-x11-drv-radeonhd-Unify-xf86DrvMsg-calls.patch, NONE, 1.1 .cvsignore, 1.51, 1.52 sources, 1.52, 1.53 xorg-x11-drv-radeonhd-Fail-PciProbe-if-KMS-is-enabled.patch, 1.1, 1.2 xorg-x11-drv-radeonhd-README.fedora, 1.52, 1.53 xorg-x11-drv-radeonhd-snapshot.sh, 1.15, 1.16 xorg-x11-drv-radeonhd.spec, 1.65, 1.66
- Next message (by thread): File gdb-7.0.1.tar.bz2 uploaded to lookaside cache by jkratoch
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jkratoch
Update of /cvs/pkgs/rpms/gdb/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1848
Modified Files:
gdb-rhel5-compat.patch gdb.spec
Log Message:
* Fri Jan 1 2010 Jan Kratochvil <jan.kratochvil at redhat.com> - 7.0-16.fc12
- More RHEL-5 compatibility updates.
- Disable the build-id support by default.
- Bundle back gdbserver to the base gdb package.
- Remove bundled pstack.
- Drop the BuildRequires of rpm-devel.
gdb-rhel5-compat.patch:
./gdb/corelow.c | 2 +-
./gdb/symfile.c | 2 +-
gdb/linux-nat.c | 18 ++++++++++++++++--
symfile.c | 2 ++
4 files changed, 20 insertions(+), 4 deletions(-)
Index: gdb-rhel5-compat.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/F-12/gdb-rhel5-compat.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- gdb-rhel5-compat.patch 21 Dec 2009 11:26:48 -0000 1.1
+++ gdb-rhel5-compat.patch 1 Jan 2010 15:15:34 -0000 1.2
@@ -14,6 +14,28 @@ gdb/linux-nat.c:
xfree (build_id_name);
}
else if (build_id_name != NULL)
+--- ./gdb/corelow.c 2010-01-01 16:04:34.000000000 +0100
++++ ./gdb/corelow.c 2010-01-01 16:06:26.000000000 +0100
+@@ -277,7 +277,7 @@ add_to_thread_list (bfd *abfd, asection
+ inferior_ptid = ptid; /* Yes, make it current */
+ }
+
+-static int build_id_core_loads = 1;
++static int build_id_core_loads = 0;
+
+ static void
+ build_id_locate_exec (int from_tty)
+--- ./gdb/symfile.c 2010-01-01 16:04:35.000000000 +0100
++++ ./gdb/symfile.c 2010-01-01 16:06:12.000000000 +0100
+@@ -1249,7 +1249,7 @@ symbol_file_clear (int from_tty)
+ #define BUILD_ID_VERBOSE_NONE 0
+ #define BUILD_ID_VERBOSE_FILENAMES 1
+ #define BUILD_ID_VERBOSE_BINARY_PARSE 2
+-static int build_id_verbose = BUILD_ID_VERBOSE_FILENAMES;
++static int build_id_verbose = BUILD_ID_VERBOSE_NONE;
+ static void
+ show_build_id_verbose (struct ui_file *file, int from_tty,
+ struct cmd_list_element *c, const char *value)
--- gdb-7.0-orig/gdb/linux-nat.c 2009-12-19 20:53:46.000000000 +0100
+++ gdb-7.0/gdb/linux-nat.c 2009-12-19 20:55:02.000000000 +0100
@@ -1604,8 +1604,22 @@ GPT: lwp %s had signal %s, but it is in
Index: gdb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/F-12/gdb.spec,v
retrieving revision 1.408
retrieving revision 1.409
diff -u -p -r1.408 -r1.409
--- gdb.spec 1 Jan 2010 11:06:50 -0000 1.408
+++ gdb.spec 1 Jan 2010 15:15:34 -0000 1.409
@@ -36,7 +36,7 @@ Version: 7.0
# The release always contains a leading reserved number, start it at 1.
# `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
-Release: 15%{?_with_upstream:.upstream}%{dist}
+Release: 16%{?_with_upstream:.upstream}%{dist}
License: GPLv3+
Group: Development/Debuggers
@@ -61,11 +61,13 @@ URL: http://gnu.org/software/gdb/
Obsoletes: gdb64 < 5.3.91
%endif
+%if 0%{!?el5:1}
%if 0%{!?_with_upstream:1}
# The last Rawhide release was (no dist tag) pstack-1.2-7.2.2
Obsoletes: pstack < 1.2-7.2.2.1
Provides: pstack = 1.2-7.2.2.1
%endif # 0%{!?_with_upstream:1}
+%endif # 0%{!?el5:1}
# GDB patches have the format `gdb-<version>-bz<red-hat-bz-#>-<desc>.patch'.
# They should be created using patch level 1: diff -up ./gdb (or gdb-6.3/gdb).
@@ -429,9 +431,11 @@ Patch398: gdb-testsuite-unknown-output.p
BuildRequires: ncurses-devel texinfo gettext flex bison expat-devel
Requires: readline
BuildRequires: readline-devel
+%if 0%{!?el5:1}
# dlopen() no longer makes rpm-libs a mandatory dependency.
#Requires: rpm-libs
BuildRequires: rpm-devel
+%endif # 0%{!?el5:1}
Requires: zlib
BuildRequires: zlib-devel
%if 0%{!?_without_python:1}
@@ -514,6 +518,7 @@ GDB, the GNU debugger, allows you to deb
Java, and other languages, by executing them in a controlled fashion
and printing their data.
+%if 0%{!?el5:1}
%package gdbserver
Summary: A standalone server for GDB (the GNU source-level debugger)
Group: Development/Debuggers
@@ -524,6 +529,7 @@ Java, and other languages, by executing
and printing their data.
This package provides a program that allows you to run GDB on a different machine than the one which is running the program being debugged.
+%endif # 0%{!?el5:1}
%prep
@@ -920,8 +926,10 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
# pstack obsoletion
cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/man1/gstack.1
+%if 0%{!?el5:1}
ln -s gstack.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/pstack.1.gz
ln -s gstack $RPM_BUILD_ROOT%{_bindir}/pstack
+%endif # 0%{!?el5:1}
%endif # 0%{!?_with_upstream:1}
%clean
@@ -963,9 +971,11 @@ fi
%{_mandir}/*/gdbtui.1*
%if 0%{!?_with_upstream:1}
%{_bindir}/gstack
-%{_bindir}/pstack
%{_mandir}/*/gstack.1*
+%if 0%{!?el5:1}
+%{_bindir}/pstack
%{_mandir}/*/pstack.1*
+%endif # 0%{!?el5:1}
%endif # 0%{!?_with_upstream:1}
%{_datadir}/gdb
%{_infodir}/annotate.info*
@@ -976,12 +986,21 @@ fi
# don't include the files in include, they are part of binutils
%ifnarch sparcv9
+%if 0%{!?el5:1}
%files gdbserver
+%endif
%{_bindir}/gdbserver
%{_mandir}/*/gdbserver.1*
%endif
%changelog
+* Fri Jan 1 2010 Jan Kratochvil <jan.kratochvil at redhat.com> - 7.0-16.fc12
+- More RHEL-5 compatibility updates.
+ - Disable the build-id support by default.
+ - Bundle back gdbserver to the base gdb package.
+ - Remove bundled pstack.
+ - Drop the BuildRequires of rpm-devel.
+
* Fri Jan 1 2010 Jan Kratochvil <jan.kratochvil at redhat.com> - 7.0-15.fc12
- Fix error on a sw watchpoint active at function epilogue (hit on s390x).
- testsuite: Fix false MI "unknown output after running" regression.
- Previous message (by thread): rpms/xorg-x11-drv-radeonhd/F-11 xorg-x11-drv-radeonhd-Unify-xf86DrvMsg-calls.patch, NONE, 1.1 .cvsignore, 1.51, 1.52 sources, 1.52, 1.53 xorg-x11-drv-radeonhd-Fail-PciProbe-if-KMS-is-enabled.patch, 1.1, 1.2 xorg-x11-drv-radeonhd-README.fedora, 1.52, 1.53 xorg-x11-drv-radeonhd-snapshot.sh, 1.15, 1.16 xorg-x11-drv-radeonhd.spec, 1.65, 1.66
- Next message (by thread): File gdb-7.0.1.tar.bz2 uploaded to lookaside cache by jkratoch
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list