- Formal upgrade to the FSF GDB release gdb-7.0.1.

- Fix regression of gdb-7.0.1 not preserving typedef of a field.
This commit is contained in:
Jan Kratochvil 2010-01-01 19:07:41 +00:00
parent fe319bcb78
commit 2e0773b161
5 changed files with 91 additions and 3059 deletions

View File

@ -1,2 +1,2 @@
gdb-7.0.tar.bz2
gdb-7.0.1.tar.bz2
libstdc++-v3-python-r151798.tar.bz2

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,80 @@
http://sourceware.org/ml/gdb/2010-01/msg00017.html
revert:
http://sourceware.org/ml/gdb-cvs/2009-12/msg00104.html
http://sourceware.org/ml/gdb-cvs/2009-12/msg00103.html
Leftover testcase would severely hang the testsuite on timeouts.
--- ./gdb/testsuite/gdb.mi/mi-var-cmd.exp 2009-12-21 14:21:43.000000000 +0100
+++ ./gdb/testsuite/gdb.mi/mi-var-cmd.exp 2010-01-01 19:47:13.000000000 +0100
@@ -577,8 +577,6 @@ proc set_frozen {varobjs flag} {
mi_prepare_inline_tests $srcfile
mi_run_inline_test frozen
-mi_run_inline_test bitfield
-
# Since the inline test framework does not really work with
# function calls, first to inline tests and then do the reminder
# manually.
--- ./gdb/testsuite/gdb.mi/var-cmd.c 2009-12-21 14:21:43.000000000 +0100
+++ ./gdb/testsuite/gdb.mi/var-cmd.c 2010-01-01 19:47:13.000000000 +0100
@@ -468,40 +468,6 @@ void do_at_tests ()
/*: END: floating :*/
}
-/* Some header appear to define uint already, so apply some
- uglification. Note that without uglification, the compile
- does not fail, rather, we don't test what we want because
- something else calls check_typedef on 'uint' already. */
-typedef unsigned int uint_for_mi_testing;
-
-struct Data {
- int alloc;
- uint_for_mi_testing sharable : 4;
-};
-
-/* Accessing a value of a bitfield whose type is a typed used to
- result in division by zero. See:
-
- http://sourceware.org/bugzilla/show_bug.cgi?id=10884
-
- This tests for this bug. */
-
-void do_bitfield_tests ()
-{
- /*: BEGIN: bitfield :*/
- struct Data d = {0, 3};
- /*:
- mi_create_varobj V d "create varobj for Data"
- mi_list_varobj_children "V" {
- {"V.alloc" "alloc" "0" "int"}
- {"V.sharable" "sharable" "0" "unsigned int"}
- } "list children of Data"
- mi_check_varobj_value V.sharable 3 "access bitfield"
- :*/
- return;
- /*: END: bitfield :*/
-}
-
int
main (int argc, char *argv [])
{
@@ -511,7 +477,6 @@ main (int argc, char *argv [])
do_special_tests ();
do_frozen_tests ();
do_at_tests ();
- do_bitfield_tests ();
exit (0);
}
--- ./gdb/value.c 2010-01-01 19:46:58.000000000 +0100
+++ ./gdb/value.c 2010-01-01 19:47:13.000000000 +0100
@@ -1960,7 +1960,6 @@ value_primitive_field (struct value *arg
CHECK_TYPEDEF (arg_type);
type = TYPE_FIELD_TYPE (arg_type, fieldno);
- type = check_typedef (type);
/* Handle packed fields */

View File

@ -32,7 +32,7 @@ Name: gdb%{?_with_debug:-debug}
# Set version to contents of gdb/version.in.
# NOTE: the FSF gdb versions are numbered N.M for official releases, like 6.3
# and, since January 2005, X.Y.Z.date for daily snapshots, like 6.3.50.20050112 # (daily snapshot from mailine), or 6.3.0.20040112 (head of the release branch).
Version: 7.0
Version: 7.0.1
# 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.
@ -428,6 +428,9 @@ Patch397: gdb-follow-child-stale-parent.patch
# testsuite: Fix false MI "unknown output after running" regression.
Patch398: gdb-testsuite-unknown-output.patch
# Fix regression of gdb-7.0.1 not preserving typedef of a field.
Patch399: gdb-field-check_typedef-revert.patch
BuildRequires: ncurses-devel texinfo gettext flex bison expat-devel
Requires: readline
BuildRequires: readline-devel
@ -677,6 +680,7 @@ rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc-exp.c gdb/p-exp.c
%patch396 -p1
%patch397 -p1
%patch398 -p1
%patch399 -p1
find -name "*.orig" | xargs rm -f
! find -name "*.rej" # Should not happen.
@ -994,6 +998,10 @@ fi
%endif
%changelog
* Fri Jan 1 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0.1-17.fc12
- Formal upgrade to the FSF GDB release gdb-7.0.1.
- Fix regression of gdb-7.0.1 not preserving typedef of a field.
* Fri Jan 1 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0-16.fc12
- More RHEL-5 compatibility updates.
- Disable the build-id support by default.

View File

@ -1,2 +1,2 @@
3386a7b69c010785c920ffc1e9cb890a gdb-7.0.tar.bz2
53ebade39bfdc1d06744e5188b6438b1 gdb-7.0.1.tar.bz2
7507540c50a1edeb2fc22a37bc4a08b8 libstdc++-v3-python-r151798.tar.bz2