rpms/gdb/devel gdb-archer.patch,1.4,1.5 gdb.spec,1.330,1.331
Jan Kratochvil
jkratoch at fedoraproject.org
Mon Mar 9 19:32:16 UTC 2009
- Previous message (by thread): rpms/geoqo/F-9 .cvsignore, 1.4, 1.5 geoqo.spec, 1.6, 1.7 sources, 1.4, 1.5
- Next message (by thread): rpms/bluez/devel bluez-port-cups-to-bluez4.patch, NONE, 1.1 bluez.spec, 1.48, 1.49
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jkratoch
Update of /cvs/pkgs/rpms/gdb/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22711
Modified Files:
gdb-archer.patch gdb.spec
Log Message:
* Mon Mar 9 2009 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.8.50.20090302-7
- Archer update to the snapshot: ec29855686f2a78d90ebcc63765681249bbbe808
- Temporarily place libstdc++ pretty printers in this gdb.rpm.
gdb-archer.patch:
Index: gdb-archer.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb-archer.patch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- gdb-archer.patch 7 Mar 2009 22:10:22 -0000 1.4
+++ gdb-archer.patch 9 Mar 2009 19:31:44 -0000 1.5
@@ -2,7 +2,7 @@
http://sourceware.org/gdb/wiki/ArcherBranchManagement
GIT snapshot:
-commit 543fb2154d3bd551344b990b911be5c6cc703504
+commit ec29855686f2a78d90ebcc63765681249bbbe808
branch `archer' - the merge of branches:
archer-jankratochvil-merge-expr
@@ -20860,10 +20860,10 @@
+register_libstdcxx_printers (gdb.current_objfile ())
diff --git a/gdb/python/lib/gdb/libstdcxx/v6/printers.py b/gdb/python/lib/gdb/libstdcxx/v6/printers.py
new file mode 100644
-index 0000000..ccef97d
+index 0000000..c0dc987
--- /dev/null
+++ b/gdb/python/lib/gdb/libstdcxx/v6/printers.py
-@@ -0,0 +1,646 @@
+@@ -0,0 +1,647 @@
+# Pretty-printers for libstc++.
+
+# Copyright (C) 2008, 2009 Free Software Foundation, Inc.
@@ -21481,6 +21481,7 @@
+ pretty_printers_dict[re.compile('^std::stack<.*>$')] = lambda val: StdStackOrQueuePrinter("std::stack", val)
+ pretty_printers_dict[re.compile('^std::unique_ptr<.*>$')] = UniquePointerPrinter
+ pretty_printers_dict[re.compile('^std::vector<.*>$')] = StdVectorPrinter
++ # vector<bool>
+
+ # These are the C++0x printers. They also exist in the standard namespace.
+ # For array - the default GDB pretty-printer seems reasonable.
@@ -21492,7 +21493,7 @@
+ pretty_printers_dict[re.compile('^std::(tr1::)?unordered_multiset<.*>$')] = lambda val: Tr1UnorderedSetPrinter ('std::tr1::unordered_multiset', val)
+
+
-+ # Extensions to std, tr1 pretty-printers.
++ # Extensions.
+ pretty_printers_dict[re.compile('^__gnu_cxx::slist<.*>$')] = StdSlistPrinter
+
+ if True:
Index: gdb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb.spec,v
retrieving revision 1.330
retrieving revision 1.331
diff -u -r1.330 -r1.331
--- gdb.spec 7 Mar 2009 22:10:23 -0000 1.330
+++ gdb.spec 9 Mar 2009 19:31:45 -0000 1.331
@@ -13,7 +13,7 @@
# 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: 6%{?_with_upstream:.upstream}%{?dist}
+Release: 7%{?_with_upstream:.upstream}%{?dist}
License: GPLv3+
Group: Development/Debuggers
@@ -384,6 +384,8 @@
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Requires: python-libs
BuildRequires: python-devel
+# Temporarily before it gets moved to libstdc++.rpm
+BuildRequires: libstdc++
%if 0%{?_with_testsuite:1}
BuildRequires: sharutils dejagnu
@@ -762,8 +764,17 @@
cmp $RPM_BUILD_ROOT%{_mandir}/*/gdb.1 $RPM_BUILD_ROOT%{_mandir}/*/gdbtui.1
ln -sf gdb.1 $RPM_BUILD_ROOT%{_mandir}/*/gdbtui.1
-# A part of the libstdc++ rpm.
-rm -rf $RPM_BUILD_ROOT%{python_sitelib}/gdb/libstdcxx
+# In the future:
+#%# A part of the libstdc++ rpm.
+#%rm -rf $RPM_BUILD_ROOT%{python_sitelib}/gdb/libstdcxx
+# Temporarily now:
+for LIB in lib lib64;do
+ LIBPATH="$RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{_prefix}/$LIB"
+ mkdir -p $LIBPATH
+ # basename is being run only for the native (non-biarch) file.
+ sed -e 's, at dir@,%{python_sitelib}/gdb,' <$RPM_BUILD_DIR/%{gdb_src}/gdb/python/lib/gdb/libstdcxx/v6/hook.in \
+ >$LIBPATH/$(basename %{_prefix}/%{_lib}/libstdc++.so.6.*)-gdb.py
+done
# Remove the files that are part of a gdb build but that are owned and
# provided by other packages.
@@ -840,6 +851,10 @@
%endif
%changelog
+* Mon Mar 9 2009 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.8.50.20090302-7
+- Archer update to the snapshot: ec29855686f2a78d90ebcc63765681249bbbe808
+- Temporarily place libstdc++ pretty printers in this gdb.rpm.
+
* Sat Mar 7 2009 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.8.50.20090302-6
- Archer update to the snapshot: 543fb2154d3bd551344b990b911be5c6cc703504
- Fixes [delayed-symfile] excessive `(no debugging symbols found)' messages.
- Previous message (by thread): rpms/geoqo/F-9 .cvsignore, 1.4, 1.5 geoqo.spec, 1.6, 1.7 sources, 1.4, 1.5
- Next message (by thread): rpms/bluez/devel bluez-port-cups-to-bluez4.patch, NONE, 1.1 bluez.spec, 1.48, 1.49
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list