rpms/gdb/F-12 gdb-field-check_typedef-revert.patch, NONE, 1.1 .cvsignore, 1.44, 1.45 gdb-7.0-upstream.patch, 1.6, 1.7 gdb.spec, 1.409, 1.410 sources, 1.43, 1.44

Jan Kratochvil jkratoch at fedoraproject.org
Fri Jan 1 19:07:42 UTC 2010


Author: jkratoch

Update of /cvs/pkgs/rpms/gdb/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7632

Modified Files:
	.cvsignore gdb-7.0-upstream.patch gdb.spec sources 
Added Files:
	gdb-field-check_typedef-revert.patch 
Log Message:
* Fri Jan  1 2010 Jan Kratochvil <jan.kratochvil at 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.


gdb-field-check_typedef-revert.patch:
 testsuite/gdb.mi/mi-var-cmd.exp |    2 --
 testsuite/gdb.mi/var-cmd.c      |   35 -----------------------------------
 value.c                         |    1 -
 3 files changed, 38 deletions(-)

--- NEW FILE gdb-field-check_typedef-revert.patch ---
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 */
 


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/F-12/.cvsignore,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -p -r1.44 -r1.45
--- .cvsignore	23 Oct 2009 20:05:49 -0000	1.44
+++ .cvsignore	1 Jan 2010 19:07:40 -0000	1.45
@@ -1,2 +1,2 @@
-gdb-7.0.tar.bz2
+gdb-7.0.1.tar.bz2
 libstdc++-v3-python-r151798.tar.bz2

gdb-7.0-upstream.patch:
 gdb/dbxread.c                            |    9 +++++++--
 src/gdb/doc/gdb.texinfo                  |   13 +++++++++++--
 src/gdb/testsuite/gdb.base/condbreak.exp |    9 +++++++--
 src/gdb/testsuite/gdb.base/default.exp   |    7 ++++++-
 src/gdb/testsuite/gdb.cp/expand-sals.cc  |    2 +-
 src/gdb/testsuite/gdb.cp/expand-sals.exp |    6 ------
 src/gdb/top.c                            |    7 +++++--
 7 files changed, 37 insertions(+), 16 deletions(-)

View full diff with command:
/usr/bin/cvs -n -f diff -kk -u -p -N -r 1.6 -r 1.7 gdb-7.0-upstream.patchIndex: gdb-7.0-upstream.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/F-12/gdb-7.0-upstream.patch,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- gdb-7.0-upstream.patch	1 Jan 2010 11:06:08 -0000	1.6
+++ gdb-7.0-upstream.patch	1 Jan 2010 19:07:41 -0000	1.7
@@ -1,3059 +1,3 @@
---- a/gdb/COPYING
-+++ b/gdb/COPYING
-@@ -1,286 +1,626 @@
--		    GNU GENERAL PUBLIC LICENSE
--		       Version 2, June 1991
-+                    GNU GENERAL PUBLIC LICENSE
-+                       Version 3, 29 June 2007
- 
-- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
--                       51 Franklin Street, Fifth Floor, 
--		       Boston, MA 02110-1301, USA
-+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
-  Everyone is permitted to copy and distribute verbatim copies
-  of this license document, but changing it is not allowed.
- 
--			    Preamble
-+                            Preamble
- 
--  The licenses for most software are designed to take away your
--freedom to share and change it.  By contrast, the GNU General Public
--License is intended to guarantee your freedom to share and change free
--software--to make sure the software is free for all its users.  This
--General Public License applies to most of the Free Software
--Foundation's software and to any other program whose authors commit to
--using it.  (Some other Free Software Foundation software is covered by
--the GNU Library General Public License instead.)  You can apply it to
-+  The GNU General Public License is a free, copyleft license for
-+software and other kinds of works.
-+
-+  The licenses for most software and other practical works are designed
-+to take away your freedom to share and change the works.  By contrast,
-+the GNU General Public License is intended to guarantee your freedom to
-+share and change all versions of a program--to make sure it remains free
-+software for all its users.  We, the Free Software Foundation, use the
-+GNU General Public License for most of our software; it applies also to
-+any other work released this way by its authors.  You can apply it to
- your programs, too.
- 
-   When we speak of free software, we are referring to freedom, not
- price.  Our General Public Licenses are designed to make sure that you
- have the freedom to distribute copies of free software (and charge for
--this service if you wish), that you receive source code or can get it
--if you want it, that you can change the software or use pieces of it
--in new free programs; and that you know you can do these things.
-+them if you wish), that you receive source code or can get it if you
-+want it, that you can change the software or use pieces of it in new
-+free programs, and that you know you can do these things.
- 
--  To protect your rights, we need to make restrictions that forbid
--anyone to deny you these rights or to ask you to surrender the rights.
--These restrictions translate to certain responsibilities for you if you
--distribute copies of the software, or if you modify it.
-+  To protect your rights, we need to prevent others from denying you
-+these rights or asking you to surrender the rights.  Therefore, you have
-+certain responsibilities if you distribute copies of the software, or if
-+you modify it: responsibilities to respect the freedom of others.
- 
-   For example, if you distribute copies of such a program, whether
--gratis or for a fee, you must give the recipients all the rights that
--you have.  You must make sure that they, too, receive or can get the
--source code.  And you must show them these terms so they know their
--rights.
--
--  We protect your rights with two steps: (1) copyright the software, and
--(2) offer you this license which gives you legal permission to copy,
--distribute and/or modify the software.
--
--  Also, for each author's protection and ours, we want to make certain
--that everyone understands that there is no warranty for this free
--software.  If the software is modified by someone else and passed on, we
--want its recipients to know that what they have is not the original, so
--that any problems introduced by others will not reflect on the original
--authors' reputations.
--
--  Finally, any free program is threatened constantly by software
--patents.  We wish to avoid the danger that redistributors of a free
--program will individually obtain patent licenses, in effect making the
--program proprietary.  To prevent this, we have made it clear that any
--patent must be licensed for everyone's free use or not licensed at all.
-+gratis or for a fee, you must pass on to the recipients the same
-+freedoms that you received.  You must make sure that they, too, receive
-+or can get the source code.  And you must show them these terms so they
-+know their rights.
-+
-+  Developers that use the GNU GPL protect your rights with two steps:
-+(1) assert copyright on the software, and (2) offer you this License
-+giving you legal permission to copy, distribute and/or modify it.
-+
-+  For the developers' and authors' protection, the GPL clearly explains
-+that there is no warranty for this free software.  For both users' and
-+authors' sake, the GPL requires that modified versions be marked as
-+changed, so that their problems will not be attributed erroneously to
-+authors of previous versions.
-+
-+  Some devices are designed to deny users access to install or run
-+modified versions of the software inside them, although the manufacturer
-+can do so.  This is fundamentally incompatible with the aim of
-+protecting users' freedom to change the software.  The systematic
-+pattern of such abuse occurs in the area of products for individuals to
-+use, which is precisely where it is most unacceptable.  Therefore, we
-+have designed this version of the GPL to prohibit the practice for those
-+products.  If such problems arise substantially in other domains, we
-+stand ready to extend this provision to those domains in future versions
-+of the GPL, as needed to protect the freedom of users.
-+
-+  Finally, every program is threatened constantly by software patents.
-+States should not allow patents to restrict development and use of
-+software on general-purpose computers, but in those that do, we wish to
-+avoid the special danger that patents applied to a free program could
-+make it effectively proprietary.  To prevent this, the GPL assures that
-+patents cannot be used to render the program non-free.
- 
-   The precise terms and conditions for copying, distribution and
- modification follow.
--

--		    GNU GENERAL PUBLIC LICENSE
--   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
--
--  0. This License applies to any program or other work which contains
--a notice placed by the copyright holder saying it may be distributed
--under the terms of this General Public License.  The "Program", below,
--refers to any such program or work, and a "work based on the Program"
--means either the Program or any derivative work under copyright law:
--that is to say, a work containing the Program or a portion of it,
--either verbatim or with modifications and/or translated into another
--language.  (Hereinafter, translation is included without limitation in
--the term "modification".)  Each licensee is addressed as "you".
--
--Activities other than copying, distribution and modification are not
--covered by this License; they are outside its scope.  The act of
--running the Program is not restricted, and the output from the Program
--is covered only if its contents constitute a work based on the
--Program (independent of having been made by running the Program).
--Whether that is true depends on what the Program does.
--
--  1. You may copy and distribute verbatim copies of the Program's
--source code as you receive it, in any medium, provided that you
--conspicuously and appropriately publish on each copy an appropriate
--copyright notice and disclaimer of warranty; keep intact all the
--notices that refer to this License and to the absence of any warranty;
--and give any other recipients of the Program a copy of this License
--along with the Program.
--
--You may charge a fee for the physical act of transferring a copy, and
--you may at your option offer warranty protection in exchange for a fee.
--
--  2. You may modify your copy or copies of the Program or any portion
--of it, thus forming a work based on the Program, and copy and
--distribute such modifications or work under the terms of Section 1
--above, provided that you also meet all of these conditions:
--
--    a) You must cause the modified files to carry prominent notices
--    stating that you changed the files and the date of any change.
--
--    b) You must cause any work that you distribute or publish, that in
--    whole or in part contains or is derived from the Program or any
--    part thereof, to be licensed as a whole at no charge to all third
--    parties under the terms of this License.
--
--    c) If the modified program normally reads commands interactively
--    when run, you must cause it, when started running for such
--    interactive use in the most ordinary way, to print or display an
--    announcement including an appropriate copyright notice and a
--    notice that there is no warranty (or else, saying that you provide
--    a warranty) and that users may redistribute the program under
--    these conditions, and telling the user how to view a copy of this
--    License.  (Exception: if the Program itself is interactive but
--    does not normally print such an announcement, your work based on
--    the Program is not required to print an announcement.)
--

--These requirements apply to the modified work as a whole.  If
--identifiable sections of that work are not derived from the Program,
--and can be reasonably considered independent and separate works in
--themselves, then this License, and its terms, do not apply to those
--sections when you distribute them as separate works.  But when you
--distribute the same sections as part of a whole which is a work based
--on the Program, the distribution of the whole must be on the terms of
--this License, whose permissions for other licensees extend to the
--entire whole, and thus to each and every part regardless of who wrote it.
--
--Thus, it is not the intent of this section to claim rights or contest
--your rights to work written entirely by you; rather, the intent is to
--exercise the right to control the distribution of derivative or
--collective works based on the Program.
--
--In addition, mere aggregation of another work not based on the Program
--with the Program (or with a work based on the Program) on a volume of
--a storage or distribution medium does not bring the other work under
--the scope of this License.
--
--  3. You may copy and distribute the Program (or a work based on it,
[...2668 lines suppressed...]
--
--#endif /* WITH_SIM */
--
- #endif /* SCORE_TDEP_H */
---- a/gdb/testsuite/ChangeLog
-+++ b/gdb/testsuite/ChangeLog
-@@ -1,3 +1,24 @@
-+2009-12-21  Jan Kratochvil  <jan.kratochvil at redhat.com>
-+
-+	* gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
-+	Force $srcfile file.
-+	* gdb.base/foll-fork.c (callee): Comment out the printf call.
-+
-+2009-12-21  Jan Kratochvil  <jan.kratochvil at redhat.com>
-+
-+	Fix spurious false FAILs.
-+	* gdb.base/structs.c (chartest): New.
-+	(main): Fill-in chartest.
-+	* gdb.base/structs.exp (anychar_re, first): New.
-+	(start_structs_test): Import global anychar_re and first.
-+	New gdb_test call "set print elements 300; ${testfile}"
-+	(start_structs_test <$first>): New block.
-+	(any): Import global anychar_re.  New variable ac.  Use ${ac}.
-+
-+2009-12-21  Jan Kratochvil  <jan.kratochvil at redhat.com>
-+
-+	* gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
-+
- 2009-09-29  Jan Kratochvil  <jan.kratochvil at redhat.com>
- 
- 	* gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
---- a/gdb/testsuite/gdb.base/bigcore.exp
-+++ b/gdb/testsuite/gdb.base/bigcore.exp
-@@ -96,7 +96,7 @@ proc extract_heap { dir } {
- 	}
- 	-re " = \\(struct list \\*\\) (0x\[0-9a-f\]*).*$gdb_prompt $" {
- 	    set heap [concat $heap $expect_out(1,string)]
--	    if { $lim >= 50 } {
-+	    if { $lim >= 200 } {
- 		pass "$test (stop at $lim)"
- 	    } else {
- 		incr lim
---- a/gdb/testsuite/gdb.base/foll-fork.c
-+++ b/gdb/testsuite/gdb.base/foll-fork.c
-@@ -9,7 +9,8 @@ void callee (i)
-   int  i;
- #endif
- {
--  printf("callee: %d\n", i);
-+  /* Any output corrupts GDB CLI expect strings.
-+     printf("callee: %d\n", i);  */
- }
- 
- #ifdef PROTOTYPES
---- a/gdb/testsuite/gdb.base/foll-fork.exp
-+++ b/gdb/testsuite/gdb.base/foll-fork.exp
-@@ -240,7 +240,8 @@ proc catch_fork_unpatch_child {} {
-    # Delete all breakpoints and catchpoints.
-    delete_breakpoints
- 
--   gdb_test "break $bp_exit" \
-+   # Force $srcfile as the current GDB source can be in glibc sourcetree.
-+   gdb_test "break $srcfile:$bp_exit" \
-        "Breakpoint .*file .*$srcfile, line .*" \
-        "unpatch child, breakpoint at exit call"
- 
---- a/gdb/testsuite/gdb.base/structs.c
-+++ b/gdb/testsuite/gdb.base/structs.c
-@@ -396,6 +396,8 @@ zed ()
-   L18.r = 'Z';
- }
- 
-+static struct { char c; } chartest[256];
-+
- int main()
- {
- #ifdef usestubs
-@@ -404,6 +406,10 @@ int main()
- #endif
-   int i;
- 
-+  for (i = 0; i < 256; i++)
-+    chartest[i].c = i;
-+  chartest[0].c = 0;  /* chartest-done */
-+
-   Fun1(foo1);	
-   Fun2(foo2);	
-   Fun3(foo3);	
---- a/gdb/testsuite/gdb.base/structs.exp
-+++ b/gdb/testsuite/gdb.base/structs.exp
-@@ -36,6 +36,9 @@ set testfile "structs"
- set srcfile ${testfile}.c
- set binfile ${objdir}/${subdir}/${testfile}
- 
-+# Regex matching any value of `char' type like: a = 65 'A'
-+set anychar_re {-?[0-9]{1,3} '(.|\\([0-7]{3}|[a-z]|\\|'))'}
-+
- # Create and source the file that provides information about the
- # compiler used to compile the test case.
- 
-@@ -48,6 +51,7 @@ if [get_compiler_info ${binfile}] {
- # the last TYPES field).  Run the compmiled program up to "main".
- # Also updates the global "testfile" to reflect the most recent build.
- 
-+set first 1
- proc start_structs_test { types } {
-     global testfile
-     global srcfile
-@@ -56,6 +60,8 @@ proc start_structs_test { types } {
-     global subdir
-     global srcdir
-     global gdb_prompt
-+    global anychar_re
-+    global first
- 
-     # Create the additional flags
-     set flags "debug"
-@@ -91,6 +97,8 @@ proc start_structs_test { types } {
- 	    "set print address off; ${testfile}"
-     gdb_test "set width 0" "" \
- 	    "set width 0; ${testfile}"
-+    gdb_test "set print elements 300" "" \
-+	    "set print elements 300; ${testfile}"
- 
-     # Advance to main
-     if { ![runto_main] } then {
-@@ -100,6 +108,16 @@ proc start_structs_test { types } {
-     # Get the debug format
-     get_debug_format
- 
-+    # Limit the slow $anychar_re{256} matching for better performance.
-+    if $first {
-+	set first 0
-+
-+	# Verify $anychar_re can match all the values of `char' type.
-+	gdb_breakpoint [gdb_get_line_number "chartest-done"]
-+	gdb_continue_to_breakpoint "chartest-done" ".*chartest-done.*"
-+	gdb_test "p chartest" "= {({c = ${anychar_re}}, ){255}{c = ${anychar_re}}}"
-+    }
-+
-     # check that at the struct containing all the relevant types is correct
-     set foo_t "type = struct struct[llength ${types}] \{"
-     for {set n 0} {$n<[llength ${types}]} {incr n} {
-@@ -161,26 +179,28 @@ proc zed { n } {
- }
- 
- proc any { n } {
--    return [lindex {
--	"{}"
--	"{a = \[^,\}\]*}"
--	"{a = \[^,\}\]*, b = \[^,\}\]*}"
--	"{a = \[^,\}\]*, b = \[^,\}\]*, c = \[^,\}\]*}"
--	"{a = \[^,\}\]*, b = \[^,\}\]*, c = \[^,\}\]*, d = \[^,\}\]*}"
--	"{a = \[^,\}\]*, b = \[^,\}\]*, c = \[^,\}\]*, d = \[^,\}\]*, e = \[^,\}\]*}"
--	"{a = \[^,\}\]*, b = \[^,\}\]*, c = \[^,\}\]*, d = \[^,\}\]*, e = \[^,\}\]*, f = \[^,\}\]*}"
--	"{a = \[^,\}\]*, b = \[^,\}\]*, c = \[^,\}\]*, d = \[^,\}\]*, e = \[^,\}\]*, f = \[^,\}\]*, g = \[^,\}\]*}"
--	"{a = \[^,\}\]*, b = \[^,\}\]*, c = \[^,\}\]*, d = \[^,\}\]*, e = \[^,\}\]*, f = \[^,\}\]*, g = \[^,\}\]*, h = \[^,\}\]*}"
--	"{a = \[^,\}\]*, b = \[^,\}\]*, c = \[^,\}\]*, d = \[^,\}\]*, e = \[^,\}\]*, f = \[^,\}\]*, g = \[^,\}\]*, h = \[^,\}\]*, i = \[^,\}\]*}"
--	"{a = \[^,\}\]*, b = \[^,\}\]*, c = \[^,\}\]*, d = \[^,\}\]*, e = \[^,\}\]*, f = \[^,\}\]*, g = \[^,\}\]*, h = \[^,\}\]*, i = \[^,\}\]*, j = \[^,\}\]*}"
--	"{a = \[^,\}\]*, b = \[^,\}\]*, c = \[^,\}\]*, d = \[^,\}\]*, e = \[^,\}\]*, f = \[^,\}\]*, g = \[^,\}\]*, h = \[^,\}\]*, i = \[^,\}\]*, j = \[^,\}\]*, k = \[^,\}\]*}"
--	"{a = \[^,\}\]*, b = \[^,\}\]*, c = \[^,\}\]*, d = \[^,\}\]*, e = \[^,\}\]*, f = \[^,\}\]*, g = \[^,\}\]*, h = \[^,\}\]*, i = \[^,\}\]*, j = \[^,\}\]*, k = \[^,\}\]*, l = \[^,\}\]*}"
--	"{a = \[^,\}\]*, b = \[^,\}\]*, c = \[^,\}\]*, d = \[^,\}\]*, e = \[^,\}\]*, f = \[^,\}\]*, g = \[^,\}\]*, h = \[^,\}\]*, i = \[^,\}\]*, j = \[^,\}\]*, k = \[^,\}\]*, l = \[^,\}\]*, m = \[^,\}\]*}"
--	"{a = \[^,\}\]*, b = \[^,\}\]*, c = \[^,\}\]*, d = \[^,\}\]*, e = \[^,\}\]*, f = \[^,\}\]*, g = \[^,\}\]*, h = \[^,\}\]*, i = \[^,\}\]*, j = \[^,\}\]*, k = \[^,\}\]*, l = \[^,\}\]*, m = \[^,\}\]*, n = \[^,\}\]*}"
--	"{a = \[^,\}\]*, b = \[^,\}\]*, c = \[^,\}\]*, d = \[^,\}\]*, e = \[^,\}\]*, f = \[^,\}\]*, g = \[^,\}\]*, h = \[^,\}\]*, i = \[^,\}\]*, j = \[^,\}\]*, k = \[^,\}\]*, l = \[^,\}\]*, m = \[^,\}\]*, n = \[^,\}\]*, o = \[^,\}\]*}"
--	"{a = \[^,\}\]*, b = \[^,\}\]*, c = \[^,\}\]*, d = \[^,\}\]*, e = \[^,\}\]*, f = \[^,\}\]*, g = \[^,\}\]*, h = \[^,\}\]*, i = \[^,\}\]*, j = \[^,\}\]*, k = \[^,\}\]*, l = \[^,\}\]*, m = \[^,\}\]*, n = \[^,\}\]*, o = \[^,\}\]*, p = \[^,\}\]*}"
--	"{a = \[^,\}\]*, b = \[^,\}\]*, c = \[^,\}\]*, d = \[^,\}\]*, e = \[^,\}\]*, f = \[^,\}\]*, g = \[^,\}\]*, h = \[^,\}\]*, i = \[^,\}\]*, j = \[^,\}\]*, k = \[^,\}\]*, l = \[^,\}\]*, m = \[^,\}\]*, n = \[^,\}\]*, o = \[^,\}\]*, p = \[^,\}\]*, q = \[^,\}\]*}"
--    } $n]
-+    global anychar_re
-+    set ac $anychar_re
-+    return [lindex [list \
-+	"{}" \
-+	"{a = ${ac}}" \
-+	"{a = ${ac}, b = ${ac}}" \
-+	"{a = ${ac}, b = ${ac}, c = ${ac}}" \
-+	"{a = ${ac}, b = ${ac}, c = ${ac}, d = ${ac}}" \
-+	"{a = ${ac}, b = ${ac}, c = ${ac}, d = ${ac}, e = ${ac}}" \
-+	"{a = ${ac}, b = ${ac}, c = ${ac}, d = ${ac}, e = ${ac}, f = ${ac}}" \
-+	"{a = ${ac}, b = ${ac}, c = ${ac}, d = ${ac}, e = ${ac}, f = ${ac}, g = ${ac}}" \
-+	"{a = ${ac}, b = ${ac}, c = ${ac}, d = ${ac}, e = ${ac}, f = ${ac}, g = ${ac}, h = ${ac}}" \
-+	"{a = ${ac}, b = ${ac}, c = ${ac}, d = ${ac}, e = ${ac}, f = ${ac}, g = ${ac}, h = ${ac}, i = ${ac}}" \
-+	"{a = ${ac}, b = ${ac}, c = ${ac}, d = ${ac}, e = ${ac}, f = ${ac}, g = ${ac}, h = ${ac}, i = ${ac}, j = ${ac}}" \
-+	"{a = ${ac}, b = ${ac}, c = ${ac}, d = ${ac}, e = ${ac}, f = ${ac}, g = ${ac}, h = ${ac}, i = ${ac}, j = ${ac}, k = ${ac}}" \
-+	"{a = ${ac}, b = ${ac}, c = ${ac}, d = ${ac}, e = ${ac}, f = ${ac}, g = ${ac}, h = ${ac}, i = ${ac}, j = ${ac}, k = ${ac}, l = ${ac}}" \
-+	"{a = ${ac}, b = ${ac}, c = ${ac}, d = ${ac}, e = ${ac}, f = ${ac}, g = ${ac}, h = ${ac}, i = ${ac}, j = ${ac}, k = ${ac}, l = ${ac}, m = ${ac}}" \
-+	"{a = ${ac}, b = ${ac}, c = ${ac}, d = ${ac}, e = ${ac}, f = ${ac}, g = ${ac}, h = ${ac}, i = ${ac}, j = ${ac}, k = ${ac}, l = ${ac}, m = ${ac}, n = ${ac}}" \
-+	"{a = ${ac}, b = ${ac}, c = ${ac}, d = ${ac}, e = ${ac}, f = ${ac}, g = ${ac}, h = ${ac}, i = ${ac}, j = ${ac}, k = ${ac}, l = ${ac}, m = ${ac}, n = ${ac}, o = ${ac}}" \
-+	"{a = ${ac}, b = ${ac}, c = ${ac}, d = ${ac}, e = ${ac}, f = ${ac}, g = ${ac}, h = ${ac}, i = ${ac}, j = ${ac}, k = ${ac}, l = ${ac}, m = ${ac}, n = ${ac}, o = ${ac}, p = ${ac}}" \
-+	"{a = ${ac}, b = ${ac}, c = ${ac}, d = ${ac}, e = ${ac}, f = ${ac}, g = ${ac}, h = ${ac}, i = ${ac}, j = ${ac}, k = ${ac}, l = ${ac}, m = ${ac}, n = ${ac}, o = ${ac}, p = ${ac}, q = ${ac}}" \
-+    ] $n]
- }
- 
- # Given N (0..25), return the corresponding alphabetic letter in lower
-### a/gdb/version.in
-### b/gdb/version.in
-## -1 +1 @@
--7.0
-+7.0.0.20091221-cvs
 
 
 


Index: gdb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/F-12/gdb.spec,v
retrieving revision 1.409
retrieving revision 1.410
diff -u -p -r1.409 -r1.410
--- gdb.spec	1 Jan 2010 15:15:34 -0000	1.409
+++ gdb.spec	1 Jan 2010 19:07:41 -0000	1.410
@@ -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.
 # 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
 %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 at 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 at redhat.com> - 7.0-16.fc12
 - More RHEL-5 compatibility updates.
   - Disable the build-id support by default.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/F-12/sources,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -p -r1.43 -r1.44
--- sources	23 Oct 2009 20:05:50 -0000	1.43
+++ sources	1 Jan 2010 19:07:41 -0000	1.44
@@ -1,2 +1,2 @@
-3386a7b69c010785c920ffc1e9cb890a  gdb-7.0.tar.bz2
+53ebade39bfdc1d06744e5188b6438b1  gdb-7.0.1.tar.bz2
 7507540c50a1edeb2fc22a37bc4a08b8  libstdc++-v3-python-r151798.tar.bz2




More information about the fedora-extras-commits mailing list