rpms/gdb/F-11 gdb-bz508406-vla-type-objfile.patch, NONE, 1.1 gdb.spec, 1.361, 1.362
Jan Kratochvil
jkratoch at fedoraproject.org
Thu Aug 27 11:48:24 UTC 2009
Author: jkratoch
Update of /cvs/pkgs/rpms/gdb/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26545
Modified Files:
gdb.spec
Added Files:
gdb-bz508406-vla-type-objfile.patch
Log Message:
* Thu Aug 27 2009 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.8.50.20090302-38
- Remove wrong assertion on types objfile (BZ 508406).
gdb-bz508406-vla-type-objfile.patch:
gdbtypes.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--- NEW FILE gdb-bz508406-vla-type-objfile.patch ---
--- ./gdb/gdbtypes.c 2009-08-27 10:33:50.000000000 +0200
+++ ./gdb/gdbtypes.c 2009-08-27 10:32:56.000000000 +0200
@@ -3127,12 +3127,14 @@ copy_type_recursive_1 (struct objfile *o
struct type *new_type;
if (TYPE_OBJFILE (type) == OBJFILE_INTERNAL
- || (objfile == OBJFILE_MALLOC && !TYPE_DYNAMIC (type)))
+ || (TYPE_OBJFILE (type) == OBJFILE_MALLOC && !TYPE_DYNAMIC (type)))
return type;
+#if 0 /* Backward compatibility only. */
/* This type shouldn't be pointing to any types in other objfiles;
if it did, the type might disappear unexpectedly. */
gdb_assert (TYPE_OBJFILE (type) == objfile);
+#endif
pair.old = type;
slot = htab_find_slot (copied_types, &pair, INSERT);
Index: gdb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/F-11/gdb.spec,v
retrieving revision 1.361
retrieving revision 1.362
diff -u -p -r1.361 -r1.362
--- gdb.spec 15 Aug 2009 15:51:34 -0000 1.361
+++ gdb.spec 27 Aug 2009 11:48:24 -0000 1.362
@@ -13,7 +13,7 @@ Version: 6.8.50.20090302
# 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: 37%{?_with_upstream:.upstream}%{?dist}
+Release: 38%{?_with_upstream:.upstream}%{?dist}
License: GPLv3+
Group: Development/Debuggers
@@ -394,6 +394,9 @@ Patch376: gdb-python-gdbserver-tp-crash.
# Fix GDB crash/hang on corrupted .debug_aranges (from old GCCs).
Patch377: gdb-delayed-symfile-aranges.patch
+# Remove wrong assertion on types objfile (BZ 508406).
+Patch379: gdb-bz508406-vla-type-objfile.patch
+
BuildRequires: ncurses-devel texinfo gettext flex bison expat-devel
Requires: readline
BuildRequires: readline-devel
@@ -595,6 +598,7 @@ rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc
%patch374 -p1
%patch376 -p1
%patch377 -p1
+%patch379 -p1
%patch124 -p1
find -name "*.orig" | xargs rm -f
@@ -875,6 +879,9 @@ fi
%endif
%changelog
+* Thu Aug 27 2009 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.8.50.20090302-38
+- Remove wrong assertion on types objfile (BZ 508406).
+
* Sat Aug 15 2009 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.8.50.20090302-37
- Fix GDB crash/hang on corrupted .debug_aranges (from old GCCs).
- Temporarily disabled orphanripper on Fedora 11.
More information about the scm-commits
mailing list