rpms/gdb/devel .cvsignore, 1.35, 1.36 gdb-6.3-readnever-20050907.patch, 1.7, 1.8 gdb-6.8-fortran-tag-constant.patch, 1.6, 1.7 gdb-archer.patch, 1.23, 1.24 gdb.spec, 1.374, 1.375 sources, 1.34, 1.35 gdb-6.6-multifork-debugreg.patch, 1.10, NONE

Jan Kratochvil jkratoch at fedoraproject.org
Tue Aug 18 18:51:18 UTC 2009


Author: jkratoch

Update of /cvs/pkgs/rpms/gdb/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26587

Modified Files:
	.cvsignore gdb-6.3-readnever-20050907.patch 
	gdb-6.8-fortran-tag-constant.patch gdb-archer.patch gdb.spec 
	sources 
Removed Files:
	gdb-6.6-multifork-debugreg.patch 
Log Message:
* Tue Aug 18 2009 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.8.50.20090818-1
- Upgrade to the FSF GDB gdb-6.8.50 snapshot: 6.8.50.20090818
- archer-jankratochvil-fedora12 commit: 5e0d1cc74f119391a2c3ae25ef5749fc28674f06



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/.cvsignore,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -p -r1.35 -r1.36
--- .cvsignore	11 Aug 2009 14:42:46 -0000	1.35
+++ .cvsignore	18 Aug 2009 18:51:17 -0000	1.36
@@ -1 +1 @@
-gdb-6.8.50.20090811.tar.bz2
+gdb-6.8.50.20090818.tar.bz2

gdb-6.3-readnever-20050907.patch:
 doc/gdb.texinfo |    6 ++++++
 dwarf2read.c    |    4 +++-
 main.c          |    2 ++
 symfile.c       |    1 +
 top.h           |    1 +
 5 files changed, 13 insertions(+), 1 deletion(-)

Index: gdb-6.3-readnever-20050907.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb-6.3-readnever-20050907.patch,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- gdb-6.3-readnever-20050907.patch	4 Aug 2009 05:37:27 -0000	1.7
+++ gdb-6.3-readnever-20050907.patch	18 Aug 2009 18:51:17 -0000	1.8
@@ -11,10 +11,10 @@
 
         * gdb.texinfo (File Options): Document --readnever.
 
-Index: gdb-6.8.50.20090802/gdb/doc/gdb.texinfo
+Index: gdb-6.8.50.20090811/gdb/doc/gdb.texinfo
 ===================================================================
---- gdb-6.8.50.20090802.orig/gdb/doc/gdb.texinfo	2009-08-03 09:50:57.000000000 +0200
-+++ gdb-6.8.50.20090802/gdb/doc/gdb.texinfo	2009-08-03 12:29:58.000000000 +0200
+--- gdb-6.8.50.20090811.orig/gdb/doc/gdb.texinfo	2009-08-13 10:14:15.000000000 +0200
++++ gdb-6.8.50.20090811/gdb/doc/gdb.texinfo	2009-08-13 10:14:18.000000000 +0200
 @@ -991,6 +991,12 @@ Read each symbol file's entire symbol ta
  the default, which is to read it incrementally as it is needed.
  This makes startup slower, but makes future operations faster.
@@ -28,10 +28,10 @@ Index: gdb-6.8.50.20090802/gdb/doc/gdb.t
  @end table
  
  @node Mode Options
-Index: gdb-6.8.50.20090802/gdb/main.c
+Index: gdb-6.8.50.20090811/gdb/main.c
 ===================================================================
---- gdb-6.8.50.20090802.orig/gdb/main.c	2009-08-03 12:29:03.000000000 +0200
-+++ gdb-6.8.50.20090802/gdb/main.c	2009-08-03 12:29:58.000000000 +0200
+--- gdb-6.8.50.20090811.orig/gdb/main.c	2009-08-13 10:14:15.000000000 +0200
++++ gdb-6.8.50.20090811/gdb/main.c	2009-08-13 10:14:18.000000000 +0200
 @@ -382,6 +382,7 @@ captured_main (void *data)
        {"xdb", no_argument, &xdb_commands, 1},
        {"dbx", no_argument, &dbx_commands, 1},
@@ -48,11 +48,11 @@ Index: gdb-6.8.50.20090802/gdb/main.c
  "), stream);
    fputs_unfiltered (_("\
    --se=FILE          Use FILE as symbol file and executable file.\n\
-Index: gdb-6.8.50.20090802/gdb/symfile.c
+Index: gdb-6.8.50.20090811/gdb/symfile.c
 ===================================================================
---- gdb-6.8.50.20090802.orig/gdb/symfile.c	2009-08-03 12:28:14.000000000 +0200
-+++ gdb-6.8.50.20090802/gdb/symfile.c	2009-08-03 12:29:58.000000000 +0200
-@@ -78,6 +78,7 @@ static void clear_symtab_users_cleanup (
+--- gdb-6.8.50.20090811.orig/gdb/symfile.c	2009-08-13 10:14:15.000000000 +0200
++++ gdb-6.8.50.20090811/gdb/symfile.c	2009-08-13 10:14:18.000000000 +0200
+@@ -79,6 +79,7 @@ static void clear_symtab_users_cleanup (
  
  /* Global variables owned by this file */
  int readnow_symbol_files;	/* Read full symbols immediately */
@@ -60,19 +60,19 @@ Index: gdb-6.8.50.20090802/gdb/symfile.c
  
  /* External variables and functions referenced. */
  
-Index: gdb-6.8.50.20090802/gdb/dwarf2read.c
+Index: gdb-6.8.50.20090811/gdb/dwarf2read.c
 ===================================================================
---- gdb-6.8.50.20090802.orig/gdb/dwarf2read.c	2009-08-03 09:50:57.000000000 +0200
-+++ gdb-6.8.50.20090802/gdb/dwarf2read.c	2009-08-03 12:31:01.000000000 +0200
-@@ -52,6 +52,7 @@
- #include "jv-lang.h"
+--- gdb-6.8.50.20090811.orig/gdb/dwarf2read.c	2009-08-13 10:14:15.000000000 +0200
++++ gdb-6.8.50.20090811/gdb/dwarf2read.c	2009-08-13 10:14:29.000000000 +0200
+@@ -53,6 +53,7 @@
  #include "typeprint.h"
  #include "vec.h"
+ #include "block.h"
 +#include "top.h"
  
  #include <fcntl.h>
  #include "gdb_string.h"
-@@ -1225,7 +1226,8 @@ dwarf2_has_info (struct objfile *objfile
+@@ -1245,7 +1246,8 @@ dwarf2_has_info (struct objfile *objfile
  
        bfd_map_over_sections (objfile->obfd, dwarf2_locate_sections, NULL);
      }
@@ -82,10 +82,10 @@ Index: gdb-6.8.50.20090802/gdb/dwarf2rea
  	  && dwarf2_per_objfile->abbrev.asection != NULL);
  }
  
-Index: gdb-6.8.50.20090802/gdb/top.h
+Index: gdb-6.8.50.20090811/gdb/top.h
 ===================================================================
---- gdb-6.8.50.20090802.orig/gdb/top.h	2009-01-03 06:57:53.000000000 +0100
-+++ gdb-6.8.50.20090802/gdb/top.h	2009-08-03 12:29:58.000000000 +0200
+--- gdb-6.8.50.20090811.orig/gdb/top.h	2009-01-03 06:57:53.000000000 +0100
++++ gdb-6.8.50.20090811/gdb/top.h	2009-08-13 10:14:18.000000000 +0200
 @@ -59,6 +59,7 @@ extern void set_prompt (char *);
  
  /* From random places.  */

gdb-6.8-fortran-tag-constant.patch:
 dwarf2read.c |   17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

Index: gdb-6.8-fortran-tag-constant.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb-6.8-fortran-tag-constant.patch,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- gdb-6.8-fortran-tag-constant.patch	4 Aug 2009 05:37:28 -0000	1.6
+++ gdb-6.8-fortran-tag-constant.patch	18 Aug 2009 18:51:17 -0000	1.7
@@ -1,8 +1,8 @@
-Index: gdb-6.8.50.20090803/gdb/dwarf2read.c
+Index: gdb-6.8.50.20090811/gdb/dwarf2read.c
 ===================================================================
---- gdb-6.8.50.20090803.orig/gdb/dwarf2read.c	2009-08-04 06:32:58.000000000 +0200
-+++ gdb-6.8.50.20090803/gdb/dwarf2read.c	2009-08-04 06:33:18.000000000 +0200
-@@ -2459,6 +2459,7 @@ scan_partial_symbols (struct partial_die
+--- gdb-6.8.50.20090811.orig/gdb/dwarf2read.c	2009-08-13 10:14:45.000000000 +0200
++++ gdb-6.8.50.20090811/gdb/dwarf2read.c	2009-08-13 10:22:36.000000000 +0200
+@@ -2480,6 +2480,7 @@ scan_partial_symbols (struct partial_die
  	      add_partial_subprogram (pdi, lowpc, highpc, need_pc, cu);
  	      break;
  	    case DW_TAG_variable:
@@ -10,7 +10,7 @@ Index: gdb-6.8.50.20090803/gdb/dwarf2rea
  	    case DW_TAG_typedef:
  	    case DW_TAG_union_type:
  	      if (!pdi->is_declaration)
-@@ -2654,6 +2655,7 @@ add_partial_symbol (struct partial_die_i
+@@ -2675,6 +2676,7 @@ add_partial_symbol (struct partial_die_i
  	}
        break;
      case DW_TAG_variable:
@@ -18,7 +18,15 @@ Index: gdb-6.8.50.20090803/gdb/dwarf2rea
        if (pdi->is_external)
  	{
  	  /* Global Variable.
-@@ -4790,7 +4792,8 @@ dwarf2_add_field (struct field_info *fip
+@@ -2805,6 +2807,7 @@ die_needs_namespace (struct die_info *di
+       return 1;
+ 
+     case DW_TAG_variable:
++    case DW_TAG_constant:
+       {
+ 	struct attribute *attr;
+ 	attr = dwarf2_attr (die, DW_AT_specification, cu);
+@@ -4741,7 +4744,8 @@ dwarf2_add_field (struct field_info *fip
  	  fip->non_public_fields = 1;
  	}
      }
@@ -28,7 +36,7 @@ Index: gdb-6.8.50.20090803/gdb/dwarf2rea
      {
        /* C++ static member.  */
  
-@@ -5297,7 +5300,8 @@ read_structure_type (struct die_info *di
+@@ -5233,7 +5237,8 @@ read_structure_type (struct die_info *di
        while (child_die && child_die->tag)
  	{
  	  if (child_die->tag == DW_TAG_member
@@ -38,7 +46,7 @@ Index: gdb-6.8.50.20090803/gdb/dwarf2rea
  	    {
  	      /* NOTE: carlton/2002-11-05: A C++ static data member
  		 should be a DW_TAG_member that is a declaration, but
-@@ -5416,6 +5420,7 @@ process_structure_scope (struct die_info
+@@ -5352,6 +5357,7 @@ process_structure_scope (struct die_info
      {
        if (child_die->tag == DW_TAG_member
  	  || child_die->tag == DW_TAG_variable
@@ -46,15 +54,15 @@ Index: gdb-6.8.50.20090803/gdb/dwarf2rea
  	  || child_die->tag == DW_TAG_inheritance)
  	{
  	  /* Do nothing.  */
-@@ -6926,6 +6931,7 @@ load_partial_dies (bfd *abfd, gdb_byte *
+@@ -6980,6 +6986,7 @@ load_partial_dies (bfd *abfd, gdb_byte *
  	  && abbrev->tag != DW_TAG_subprogram
  	  && abbrev->tag != DW_TAG_lexical_block
  	  && abbrev->tag != DW_TAG_variable
 +	  && abbrev->tag != DW_TAG_constant
  	  && abbrev->tag != DW_TAG_namespace
+ 	  && abbrev->tag != DW_TAG_module
  	  && abbrev->tag != DW_TAG_member)
- 	{
-@@ -7033,6 +7039,7 @@ load_partial_dies (bfd *abfd, gdb_byte *
+@@ -7088,6 +7095,7 @@ load_partial_dies (bfd *abfd, gdb_byte *
        if (load_all
  	  || abbrev->tag == DW_TAG_subprogram
  	  || abbrev->tag == DW_TAG_variable
@@ -62,7 +70,7 @@ Index: gdb-6.8.50.20090803/gdb/dwarf2rea
  	  || abbrev->tag == DW_TAG_namespace
  	  || part_die->is_declaration)
  	{
-@@ -8840,6 +8847,11 @@ new_symbol (struct die_info *die, struct
+@@ -8901,6 +8909,11 @@ new_symbol (struct die_info *die, struct
  	  /* Do not add the symbol to any lists.  It will be found via
  	     BLOCK_FUNCTION from the blockvector.  */
  	  break;

gdb-archer.patch:
 Makefile.in                                              |   95 
 NEWS                                                     |    7 
 ada-lang.c                                               |   43 
 block.c                                                  |   24 
 block.h                                                  |   12 
 breakpoint.c                                             |  102 
 breakpoint.h                                             |    3 
 c-exp.y                                                  |  252 +-
 c-lang.c                                                 |    6 
 c-typeprint.c                                            |   47 
 cli/cli-cmds.c                                           |   72 
 coffread.c                                               |    3 
 config.in                                                |    8 
 config/i386/nm-i386.h                                    |  125 +
 config/i386/nm-linux64.h                                 |   54 
 config/mips/nm-irix5.h                                   |   44 
 configure                                                |   79 
 configure.ac                                             |   47 
 cp-name-parser.y                                         |    5 
 cp-namespace.c                                           |  245 +
 cp-support.c                                             |   88 
 cp-support.h                                             |   49 
 dbxread.c                                                |    1 
 doc/gdb.texinfo                                          |  504 ++++
 doc/gdbint.texinfo                                       |   62 
 doc/observer.texi                                        |    5 
 dwarf2-frame.c                                           |   28 
 dwarf2-frame.h                                           |    4 
 dwarf2expr.c                                             |   86 
 dwarf2expr.h                                             |   68 
 dwarf2loc.c                                              |  357 ++
 dwarf2loc.h                                              |    6 
 dwarf2read.c                                             | 1842 ++++++++++-----
 elfread.c                                                |   11 
 eval.c                                                   |  170 +
 expression.h                                             |   11 
 f-exp.y                                                  |    4 
 f-lang.c                                                 |  457 ---
 f-lang.h                                                 |   45 
 f-typeprint.c                                            |   36 
 f-valprint.c                                             |  267 --
 findcmd.c                                                |  111 
 findvar.c                                                |  126 -
 frame.c                                                  |   19 
 frame.h                                                  |    6 
 gdbinit.in                                               |   10 
 gdbserver/linux-i386-low.c                               |  210 +
 gdbserver/linux-x86-64-low.c                             |  184 +
 gdbthread.h                                              |    3 
 gdbtypes.c                                               |  596 ++++
 gdbtypes.h                                               |  146 +
 gnu-v3-abi.c                                             |   18 
 gnulib/Makefile.in                                       |    4 
 jv-lang.c                                                |    1 
 language.h                                               |    1 
 linespec.c                                               |   62 
 m2-lang.c                                                |    1 
 machoread.c                                              |    1 
 main.c                                                   |   80 
 maint.c                                                  |    8 
 mdebugread.c                                             |    2 
 mi/mi-cmd-var.c                                          |  165 -
 mi/mi-cmds.c                                             |    2 
 mi/mi-cmds.h                                             |    2 
 mi/mi-main.c                                             |    5 
 mipsread.c                                               |    1 
 objfiles.c                                               |   21 
 objfiles.h                                               |   21 
 parse.c                                                  |  154 +
 parser-defs.h                                            |   25 
 printcmd.c                                               |   90 
 python/lib/gdb/FrameIterator.py                          |   33 
 python/lib/gdb/FrameWrapper.py                           |  112 
 python/lib/gdb/__init__.py                               |   19 
 python/lib/gdb/backtrace.py                              |   42 
 python/lib/gdb/command/__init__.py                       |    1 
 python/lib/gdb/command/alias.py                          |   59 
 python/lib/gdb/command/backtrace.py                      |  106 
 python/lib/gdb/command/ignore_errors.py                  |   37 
 python/lib/gdb/command/pahole.py                         |   75 
 python/lib/gdb/command/require.py                        |   57 
 python/lib/gdb/command/save_breakpoints.py               |   65 
 python/lib/gdb/command/upto.py                           |  129 +
 python/lib/gdb/function/__init__.py                      |    1 
 python/lib/gdb/function/caller_is.py                     |   58 
 python/lib/gdb/function/in_scope.py                      |   47 
 python/python-block.c                                    |  265 ++
 python/python-breakpoint.c                               |  665 +++++
 python/python-cmd.c                                      |   17 
 python/python-frame.c                                    |  116 
 python/python-hooks.c                                    |   50 
 python/python-inferior.c                                 |  926 +++++++
 python/python-infthread.c                                |  285 ++
 python/python-internal.h                                 |   69 
 python/python-membuf.c                                   |  268 ++
 python/python-param.c                                    |  606 ++++
 python/python-prettyprint.c                              |   21 
 python/python-symbol.c                                   |  336 ++
 python/python-symtab.c                                   |  322 ++
 python/python-type.c                                     |  170 +
 python/python-utils.c                                    |   46 
 python/python-value.c                                    |   55 
 python/python.c                                          |  384 +++
 python/python.h                                          |    4 
 scm-lang.c                                               |    1 
 scm-valprint.c                                           |    4 
 solib-darwin.c                                           |    1 
 solib-spu.c                                              |    7 
 solib-svr4.c                                             |    4 
 solib.c                                                  |    3 
 solist.h                                                 |    2 
 somread.c                                                |    1 
 spu-tdep.c                                               |    2 
 stabsread.c                                              |    4 
 stack.c                                                  |   38 
 symfile.c                                                |   42 
 symfile.h                                                |   12 
 symmisc.c                                                |    4 
 symtab.c                                                 |  321 +-
 symtab.h                                                 |   20 
 target.h                                                 |   22 
 testsuite/gdb.arch/powerpc-power7.exp                    |  175 +
 testsuite/gdb.arch/powerpc-power7.s                      |  107 
 testsuite/gdb.arch/x86_64-vla-typedef-foo.S              |  455 +++
 testsuite/gdb.arch/x86_64-vla-typedef.c                  |   43 
 testsuite/gdb.arch/x86_64-vla-typedef.exp                |   64 
 testsuite/gdb.base/arrayidx.c                            |    7 
 testsuite/gdb.base/arrayidx.exp                          |   10 
 testsuite/gdb.base/help.exp                              |    2 
 testsuite/gdb.base/lineno-makeup-func.c                  |   21 
 testsuite/gdb.base/lineno-makeup.c                       |   35 
 testsuite/gdb.base/lineno-makeup.exp                     |   78 
 testsuite/gdb.base/macscp.exp                            |    8 
 testsuite/gdb.base/radix.exp                             |    7 
 testsuite/gdb.base/valgrind-attach.c                     |   28 
 testsuite/gdb.base/valgrind-attach.exp                   |   94 
 testsuite/gdb.base/valgrind-attach.sh                    |   20 
 testsuite/gdb.base/vla-overflow.c                        |   30 
 testsuite/gdb.base/vla-overflow.exp                      |  108 
 testsuite/gdb.base/vla.c                                 |   55 
 testsuite/gdb.base/vla.exp                               |   62 
 testsuite/gdb.cp/cp-relocate.exp                         |    6 
 testsuite/gdb.cp/cplusfuncs.cc                           |    6 
 testsuite/gdb.cp/cplusfuncs.exp                          |  195 +
 testsuite/gdb.cp/expand-sals.exp                         |    2 
 testsuite/gdb.cp/member-ptr.cc                           |   17 
 testsuite/gdb.cp/member-ptr.exp                          |   34 
 testsuite/gdb.cp/namespace-multiple-imports.cc           |   20 
 testsuite/gdb.cp/namespace-multiple-imports.exp          |   49 
 testsuite/gdb.cp/namespace-nested-imports.cc             |   36 
 testsuite/gdb.cp/namespace-nested-imports.exp            |   57 
 testsuite/gdb.cp/namespace-no-imports.cc                 |   37 
 testsuite/gdb.cp/namespace-no-imports.exp                |   76 
 testsuite/gdb.cp/namespace-recursive.cc                  |   30 
 testsuite/gdb.cp/namespace-recursive.exp                 |   66 
 testsuite/gdb.cp/namespace-using.cc                      |  128 -
 testsuite/gdb.cp/namespace-using.exp                     |  130 +
 testsuite/gdb.cp/namespace.exp                           |   23 
 testsuite/gdb.cp/overload.exp                            |    8 
 testsuite/gdb.cp/ovldbreak.exp                           |   46 
 testsuite/gdb.cp/shadowing.cc                            |   48 
 testsuite/gdb.cp/shadowing.exp                           |   91 
 testsuite/gdb.dwarf2/callframecfa.S                      |  309 ++
 testsuite/gdb.dwarf2/callframecfa.exp                    |   55 
 testsuite/gdb.dwarf2/dw2-aranges.S                       |  140 +
 testsuite/gdb.dwarf2/dw2-aranges.exp                     |   40 
 testsuite/gdb.dwarf2/dw2-stripped.c                      |   42 
 testsuite/gdb.dwarf2/dw2-stripped.exp                    |   79 
 testsuite/gdb.dwarf2/dw2-struct-member-data-location.S   |   83 
 testsuite/gdb.dwarf2/dw2-struct-member-data-location.exp |   37 
 testsuite/gdb.fortran/common-block.exp                   |  101 
 testsuite/gdb.fortran/common-block.f90                   |   67 
 testsuite/gdb.fortran/dwarf-stride.exp                   |   42 
 testsuite/gdb.fortran/dwarf-stride.f90                   |   40 
 testsuite/gdb.fortran/dynamic.exp                        |  145 +
 testsuite/gdb.fortran/dynamic.f90                        |   98 
 testsuite/gdb.fortran/library-module-lib.f90             |   28 
 testsuite/gdb.fortran/library-module-main.f90            |   23 
 testsuite/gdb.fortran/library-module.exp                 |   53 
 testsuite/gdb.fortran/logical.exp                        |   44 
 testsuite/gdb.fortran/logical.f90                        |   33 
 testsuite/gdb.fortran/module.exp                         |   28 
 testsuite/gdb.fortran/module.f90                         |   37 
 testsuite/gdb.fortran/string.exp                         |   59 
 testsuite/gdb.fortran/string.f90                         |   37 
 testsuite/gdb.gdb/selftest.exp                           |    4 
 testsuite/gdb.mi/gdb701.exp                              |    2 
 testsuite/gdb.mi/mi-var-display.exp                      |    4 
 testsuite/gdb.mi/mi2-var-display.exp                     |    4 
 testsuite/gdb.opt/array-from-register-func.c             |   22 
 testsuite/gdb.opt/array-from-register.c                  |   28 
 testsuite/gdb.opt/array-from-register.exp                |   33 
 testsuite/gdb.python/Makefile.in                         |    2 
 testsuite/gdb.python/python-cmd.exp                      |   27 
 testsuite/gdb.python/python-frame.exp                    |   48 
 testsuite/gdb.python/python-function.exp                 |   27 
 testsuite/gdb.python/python-inferior.c                   |   49 
 testsuite/gdb.python/python-inferior.exp                 |  201 +
 testsuite/gdb.python/python-infthread.c                  |   14 
 testsuite/gdb.python/python-infthread.exp                |   58 
 testsuite/gdb.python/python-mi.exp                       |   96 
 testsuite/gdb.python/python-prettyprint.c                |   13 
 testsuite/gdb.python/python-prettyprint.exp              |   11 
 testsuite/gdb.python/python-prettyprint.py               |   12 
 testsuite/gdb.python/python-template.exp                 |   25 
 testsuite/gdb.python/python-value.exp                    |   68 
 testsuite/gdb.python/python.exp                          |   27 
 testsuite/lib/cp-support.exp                             |    3 
 testsuite/lib/gdb.exp                                    |    1 
 testsuite/lib/mi-support.exp                             |   86 
 testsuite/lib/python-support.exp                         |   53 
 thread.c                                                 |   18 
 top.c                                                    |    1 
 typeprint.c                                              |   14 
 typeprint.h                                              |    3 
 ui-file.c                                                |   20 
 ui-file.h                                                |    6 
 utils.c                                                  |    7 
 valarith.c                                               |   45 
 valops.c                                                 |  254 +-
 valprint.c                                               |    3 
 value.c                                                  |  145 +
 value.h                                                  |    8 
 varobj.c                                                 |  610 +++-
 varobj.h                                                 |   32 
 xcoffread.c                                              |    1 
 226 files changed, 17007 insertions(+), 2595 deletions(-)

View full diff with command:
/usr/bin/cvs -n -f diff -kk -u -p -N -r 1.23 -r 1.24 gdb-archer.patchIndex: gdb-archer.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb-archer.patch,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -p -r1.23 -r1.24
--- gdb-archer.patch	11 Aug 2009 21:15:13 -0000	1.23
+++ gdb-archer.patch	18 Aug 2009 18:51:17 -0000	1.24
@@ -2,7 +2,7 @@ http://sourceware.org/gdb/wiki/ProjectAr
 http://sourceware.org/gdb/wiki/ArcherBranchManagement
 
 GIT snapshot:
-commit 2888fafe63889757c6fd27ccc2f25661d43fd1a4
+commit 5e0d1cc74f119391a2c3ae25ef5749fc28674f06
 
 branch `archer' - the merge of branches:
 archer-tromey-call-frame-cfa
@@ -12,10 +12,12 @@ archer-jankratochvil-vla
 archer-jankratochvil-misc
 archer-keiths-expr-cumulative
 archer-tromey-python
+archer-jankratochvil-fortran-module
+archer-jankratochvil-watchpoint
 
 
 diff --git a/gdb/Makefile.in b/gdb/Makefile.in
-index ccc4db8..496c9f2 100644
+index 9c2b9c7..032b0cf 100644
 --- a/gdb/Makefile.in
 +++ b/gdb/Makefile.in
 @@ -166,6 +166,13 @@ INTL_CFLAGS = @INCINTL@
@@ -70,7 +72,7 @@ index ccc4db8..496c9f2 100644
  	python/python-type.c \
  	python/python-utils.c \
  	python/python-value.c
-@@ -746,7 +769,7 @@ config/rs6000/nm-rs6000.h top.h bsd-kvm.h gdb-stabs.h reggroups.h \
+@@ -745,7 +768,7 @@ config/rs6000/nm-rs6000.h top.h bsd-kvm.h gdb-stabs.h reggroups.h \
  annotate.h sim-regno.h dictionary.h dfp.h main.h frame-unwind.h	\
  remote-fileio.h i386-linux-tdep.h vax-tdep.h objc-lang.h \
  sentinel-frame.h bcache.h symfile.h windows-tdep.h linux-tdep.h \
@@ -79,7 +81,7 @@ index ccc4db8..496c9f2 100644
  
  # Header files that already have srcdir in them, or which are in objdir.
  
-@@ -863,7 +886,7 @@ generated_files = config.h observer.h observer.inc ada-lex.c \
+@@ -862,7 +885,7 @@ generated_files = config.h observer.h observer.inc ada-lex.c \
  	$(COMPILE) $<
  	$(POSTCOMPILE)
  
@@ -88,11 +90,11 @@ index ccc4db8..496c9f2 100644
  	@$(MAKE) $(FLAGS_TO_PASS) DO=all "DODIRS=`echo $(SUBDIRS) | sed 's/testsuite//'`" subdir_do
  .PHONY: all-tui
  all-tui: $(TUI)$(EXEEXT)
-@@ -1219,6 +1242,12 @@ stamp-h: $(srcdir)/config.in config.status
+@@ -1218,6 +1241,12 @@ stamp-h: $(srcdir)/config.in config.status
  	  CONFIG_LINKS= \
  	  $(SHELL) config.status
  
-+.gdbinit: gdbinit.in config.status
++.gdbinit: $(srcdir)/gdbinit.in config.status
 +	CONFIG_FILES=".gdbinit:gdbinit.in" \
 +	  CONFIG_COMMANDS= \
 +	  CONFIG_HEADERS= \
@@ -101,7 +103,7 @@ index ccc4db8..496c9f2 100644
  config.status: $(srcdir)/configure configure.tgt configure.host
  	$(SHELL) config.status --recheck
  
-@@ -1918,6 +1947,14 @@ python.o: $(srcdir)/python/python.c
+@@ -1917,6 +1946,14 @@ python.o: $(srcdir)/python/python.c
  	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/python.c
  	$(POSTCOMPILE)
  
@@ -116,7 +118,7 @@ index ccc4db8..496c9f2 100644
  python-cmd.o: $(srcdir)/python/python-cmd.c
  	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/python-cmd.c
  	$(POSTCOMPILE)
-@@ -1930,14 +1967,38 @@ python-function.o: $(srcdir)/python/python-function.c
+@@ -1929,14 +1966,38 @@ python-function.o: $(srcdir)/python/python-function.c
  	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/python-function.c
  	$(POSTCOMPILE)
  
@@ -155,7 +157,7 @@ index ccc4db8..496c9f2 100644
  python-type.o: $(srcdir)/python/python-type.c
  	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/python-type.c
  	$(POSTCOMPILE)
-@@ -1950,6 +2011,36 @@ python-value.o: $(srcdir)/python/python-value.c
+@@ -1949,6 +2010,36 @@ python-value.o: $(srcdir)/python/python-value.c
  	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/python-value.c
  	$(POSTCOMPILE)
  
@@ -289,7 +291,7 @@ index 9b5d2c6..61676a9 100644
    ada_dump_subexp_body,
    ada_evaluate_subexp
 diff --git a/gdb/block.c b/gdb/block.c
-index 1889ecd..498e710 100644
+index 1889ecd..37fa342 100644
 --- a/gdb/block.c
 +++ b/gdb/block.c
 @@ -223,8 +223,9 @@ block_set_scope (struct block *block, const char *scope,
@@ -304,7 +306,11 @@ index 1889ecd..498e710 100644
  
  struct using_direct *
  block_using (const struct block *block)
-@@ -317,3 +318,21 @@ allocate_block (struct obstack *obstack)
+@@ -314,6 +315,25 @@ allocate_block (struct obstack *obstack)
+   BLOCK_SUPERBLOCK (bl) = NULL;
+   BLOCK_DICT (bl) = NULL;
+   BLOCK_NAMESPACE (bl) = NULL;
++  BLOCK_FORTRAN_USE (bl) = NULL;
  
    return bl;
  }
@@ -327,10 +333,34 @@ index 1889ecd..498e710 100644
 +  return SYMBOL_SYMTAB (func)->objfile;
 +}
 diff --git a/gdb/block.h b/gdb/block.h
-index 53e7371..8290adc 100644
+index 53e7371..d373f8a 100644
 --- a/gdb/block.h
 +++ b/gdb/block.h
-@@ -166,4 +166,6 @@ extern const struct block *block_global_block (const struct block *block);
+@@ -96,6 +96,15 @@ struct block
+     cplus_specific;
+   }
+   language_specific;
++
++  /* FIXME: It should be in the LANGUAGE_SPECIFIC region but the
++     BLOCK_NAMESPACE accessor is not protected by the C language check.  */
++
++  struct
++    {
++      struct fortran_using *use;
++    }
++  fortran_specific;
+ };
+ 
+ #define BLOCK_START(bl)		(bl)->startaddr
+@@ -104,6 +113,7 @@ struct block
+ #define BLOCK_SUPERBLOCK(bl)	(bl)->superblock
+ #define BLOCK_DICT(bl)		(bl)->dict
+ #define BLOCK_NAMESPACE(bl)   (bl)->language_specific.cplus_specific.namespace
++#define BLOCK_FORTRAN_USE(bl)	(bl)->fortran_specific.use
+ 
+ /* Macro to loop through all symbols in a block BL, in no particular
+    order.  ITER helps keep track of the iteration, and should be a
+@@ -166,4 +176,6 @@ extern const struct block *block_global_block (const struct block *block);
  
  extern struct block *allocate_block (struct obstack *obstack);
  
@@ -1718,26 +1748,30 @@ index 62800b8..97d587b 100644
  			{ $$ = $1.comp;
  			  if ($2) $$ = fill_comp (DEMANGLE_COMPONENT_LOCAL_NAME, $$, $2); }
 diff --git a/gdb/cp-namespace.c b/gdb/cp-namespace.c
-index d2d8f2e..cc259e7 100644
+index d2d8f2e..5805a30 100644
 --- a/gdb/cp-namespace.c
 +++ b/gdb/cp-namespace.c
-@@ -35,15 +35,7 @@
- static struct using_direct *cp_copy_usings (struct using_direct *using,
+@@ -36,14 +36,17 @@ static struct using_direct *cp_copy_usings (struct using_direct *using,
  					    struct obstack *obstack);
  
--static struct symbol *lookup_namespace_scope (const char *name,
+ static struct symbol *lookup_namespace_scope (const char *name,
 -					      const char *linkage_name,
--					      const struct block *block,
--					      const domain_enum domain,
--					      const char *scope,
--					      int scope_len);
--
+ 					      const struct block *block,
+ 					      const domain_enum domain,
+ 					      const char *scope,
+ 					      int scope_len);
+ 
++static struct symbol *cp_lookup_symbol_in_namespace (const char *namespace,
++                                                     const char *name,
++                                                     const struct block *block,
++                                                     const domain_enum domain);
++
  static struct symbol *lookup_symbol_file (const char *name,
 -					  const char *linkage_name,
  					  const struct block *block,
  					  const domain_enum domain,
  					  int anonymous_namespace);
-@@ -119,7 +111,7 @@ cp_scan_for_anonymous_namespaces (const struct symbol *symbol)
+@@ -119,7 +122,7 @@ cp_scan_for_anonymous_namespaces (const struct symbol *symbol)
  		 anonymous namespace.  So add symbols in it to the
  		 namespace given by the previous component if there is
  		 one, or to the global namespace if there isn't.  */
@@ -1746,7 +1780,7 @@ index d2d8f2e..cc259e7 100644
  	    }
  	  /* The "+ 2" is for the "::".  */
  	  previous_component = next_component + 2;
-@@ -134,7 +126,8 @@ cp_scan_for_anonymous_namespaces (const struct symbol *symbol)
+@@ -134,7 +137,8 @@ cp_scan_for_anonymous_namespaces (const struct symbol *symbol)
     has already been added, don't add it twice.  */
  
  void
@@ -1756,7 +1790,7 @@ index d2d8f2e..cc259e7 100644
[...4856 lines suppressed...]
+ char *
+ varobj_get_formatted_value (struct varobj *var,
+ 			    enum varobj_display_formats format)
+@@ -1159,6 +1279,115 @@ varobj_set_value (struct varobj *var, char *expression)
    return 1;
  }
  
@@ -26114,7 +26795,28 @@ index 4a94988..f2654f0 100644
  /* Assign a new value to a variable object.  If INITIAL is non-zero,
     this is the first assignement after the variable object was just
     created, or changed type.  In that case, just assign the value 
-@@ -1274,7 +1488,7 @@ install_new_value (struct varobj *var, struct value *value, int initial)
+@@ -1199,10 +1428,7 @@ install_new_value (struct varobj *var, struct value *value, int initial)
+      that in C++ a reference is not rebindable, it cannot
+      meaningfully change.  So, get hold of the real value.  */
+   if (value)
+-    {
+-      value = coerce_ref (value);
+-      release_value (value);
+-    }
++    value = coerce_ref (value);
+ 
+   if (var->type && TYPE_CODE (var->type) == TYPE_CODE_UNION)
+     /* For unions, we need to fetch the value implicitly because
+@@ -1249,7 +1475,7 @@ install_new_value (struct varobj *var, struct value *value, int initial)
+      values.  Don't get string rendering if the value is
+      lazy -- if it is, the code above has decided that the value
+      should not be fetched.  */
+-  if (value && !value_lazy (value))
++  if (value && !value_lazy (value) && !var->pretty_printer)
+     print_value = value_get_print_value (value, var->format, var);
+ 
+   /* If the type is changeable, compare the old and the new values.
+@@ -1265,7 +1491,7 @@ install_new_value (struct varobj *var, struct value *value, int initial)
  	{
  	  changed = 1;
  	}
@@ -26123,7 +26825,16 @@ index 4a94988..f2654f0 100644
  	{
  	  /* Try to compare the values.  That requires that both
  	     values are non-lazy.  */
-@@ -1328,65 +1542,32 @@ install_new_value (struct varobj *var, struct value *value, int initial)
+@@ -1310,6 +1536,8 @@ install_new_value (struct varobj *var, struct value *value, int initial)
+   if (var->value != NULL && var->value != value)
+     value_free (var->value);
+   var->value = value;
++  if (value != NULL)
++    value_incref (value);
+   if (var->print_value)
+     xfree (var->print_value);
+   var->print_value = print_value;
+@@ -1319,65 +1547,32 @@ install_new_value (struct varobj *var, struct value *value, int initial)
      var->not_fetched = 0;
    var->updated = 0;
  
@@ -26206,7 +26917,7 @@ index 4a94988..f2654f0 100644
  }
  
  void 
-@@ -1404,31 +1585,19 @@ varobj_set_visualizer (struct varobj *var, const char *visualizer)
+@@ -1395,31 +1590,19 @@ varobj_set_visualizer (struct varobj *var, const char *visualizer)
    make_cleanup_py_decref (globals);
  
    constructor = PyRun_String (visualizer, Py_eval_input, globals, globals);
@@ -26219,9 +26930,9 @@ index 4a94988..f2654f0 100644
 -    }
 -  else
 -    pretty_printer = instantiate_pretty_printer (constructor, var->value);
- 
--  Py_XDECREF (constructor);
 -
+-  Py_XDECREF (constructor);
+ 
 -  if (! pretty_printer)
 +  if (! constructor)
      {
@@ -26244,7 +26955,7 @@ index 4a94988..f2654f0 100644
  
    do_cleanups (back_to);
  #else
-@@ -1543,7 +1712,7 @@ VEC(varobj_update_result) *varobj_update (struct varobj **varp, int explicit)
+@@ -1534,7 +1717,7 @@ VEC(varobj_update_result) *varobj_update (struct varobj **varp, int explicit)
  	 UI, so we need not bother getting it.  */
        if (v->pretty_printer)
  	{
@@ -26253,7 +26964,7 @@ index 4a94988..f2654f0 100644
  	  int i, children_changed;
  	  varobj_p tmp;
  
-@@ -1555,28 +1724,28 @@ VEC(varobj_update_result) *varobj_update (struct varobj **varp, int explicit)
+@@ -1546,28 +1729,28 @@ VEC(varobj_update_result) *varobj_update (struct varobj **varp, int explicit)
  
  	  /* If update_dynamic_varobj_children returns 0, then we have
  	     a non-conforming pretty-printer, so we skip it.  */
@@ -26294,7 +27005,7 @@ index 4a94988..f2654f0 100644
  	      continue;
  	    }
  	}
-@@ -1864,7 +2033,12 @@ new_variable (void)
+@@ -1855,7 +2038,12 @@ new_variable (void)
    var->frozen = 0;
    var->not_fetched = 0;
    var->children_requested = 0;
@@ -26307,7 +27018,7 @@ index 4a94988..f2654f0 100644
  
    return var;
  }
-@@ -1894,7 +2068,10 @@ free_variable (struct varobj *var)
+@@ -1885,7 +2073,10 @@ free_variable (struct varobj *var)
    if (var->pretty_printer)
      {
        struct cleanup *cleanup = varobj_ensure_python_env (var);
@@ -26319,7 +27030,7 @@ index 4a94988..f2654f0 100644
        do_cleanups (cleanup);
      }
  #endif
-@@ -1927,6 +2104,18 @@ make_cleanup_free_variable (struct varobj *var)
+@@ -1918,6 +2109,18 @@ make_cleanup_free_variable (struct varobj *var)
    return make_cleanup (do_free_variable_cleanup, var);
  }
  
@@ -26338,7 +27049,7 @@ index 4a94988..f2654f0 100644
  /* This returns the type of the variable. It also skips past typedefs
     to return the real type of the variable.
  
-@@ -2141,6 +2330,8 @@ value_of_root (struct varobj **var_handle, int *type_changed)
+@@ -2132,6 +2335,8 @@ value_of_root (struct varobj **var_handle, int *type_changed)
        else
  	{
  	  tmp_var->obj_name = xstrdup (var->obj_name);
@@ -26347,7 +27058,32 @@ index 4a94988..f2654f0 100644
  	  varobj_delete (var, NULL, 0);
  
  	  install_variable (tmp_var);
-@@ -3173,6 +3364,19 @@ java_value_of_variable (struct varobj *var, enum varobj_display_formats format)
+@@ -2166,7 +2371,11 @@ static char *
+ my_value_of_variable (struct varobj *var, enum varobj_display_formats format)
+ {
+   if (var->root->is_valid)
+-    return (*var->root->lang->value_of_variable) (var, format);
++    {
++      if (var->pretty_printer)
++	return value_get_print_value (var->value, var->format, var);
++      return (*var->root->lang->value_of_variable) (var, format);
++    }
+   else
+     return NULL;
+ }
+@@ -2954,10 +3163,7 @@ cplus_describe_child (struct varobj *parent, int index,
+ 	    *cname = xstrdup (TYPE_FIELD_NAME (type, index));
+ 
+ 	  if (cvalue && value)
+-	    {
+-	      *cvalue = value_cast (TYPE_FIELD_TYPE (type, index), value);
+-	      release_value (*cvalue);
+-	    }
++	    *cvalue = value_cast (TYPE_FIELD_TYPE (type, index), value);
+ 
+ 	  if (ctype)
+ 	    {
+@@ -3163,6 +3369,19 @@ java_value_of_variable (struct varobj *var, enum varobj_display_formats format)
    return cplus_value_of_variable (var, format);
  }
  
@@ -26367,7 +27103,7 @@ index 4a94988..f2654f0 100644
  /* Iterate all the existing _root_ VAROBJs and call the FUNC callback for them
     with an arbitrary caller supplied DATA pointer.  */
  
-@@ -3190,6 +3394,43 @@ all_root_varobjs (void (*func) (struct varobj *var, void *data), void *data)
+@@ -3180,6 +3399,43 @@ all_root_varobjs (void (*func) (struct varobj *var, void *data), void *data)
        (*func) (var_root->rootvar, data);
      }
  }
@@ -26412,7 +27148,7 @@ index 4a94988..f2654f0 100644
  extern void _initialize_varobj (void);
  void
 diff --git a/gdb/varobj.h b/gdb/varobj.h
-index 7297243..0744cc3 100644
+index 7297243..f43c593 100644
 --- a/gdb/varobj.h
 +++ b/gdb/varobj.h
 @@ -78,6 +78,12 @@ typedef struct varobj_update_result_t
@@ -26456,7 +27192,7 @@ index 7297243..0744cc3 100644
  
  extern char *varobj_get_type (struct varobj *var);
  
-@@ -149,6 +166,11 @@ extern int varobj_editable_p (struct varobj *var);
+@@ -149,6 +166,13 @@ extern int varobj_editable_p (struct varobj *var);
  
  extern int varobj_floating_p (struct varobj *var);
  
@@ -26467,6 +27203,8 @@ index 7297243..0744cc3 100644
 +extern void varobj_enable_pretty_printing (void);
 +
 +extern int varobj_has_more (struct varobj *var, int to);
++
++extern int varobj_pretty_printed_p (struct varobj *var);
  
  #endif /* VAROBJ_H */
 diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c


Index: gdb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb.spec,v
retrieving revision 1.374
retrieving revision 1.375
diff -u -p -r1.374 -r1.375
--- gdb.spec	12 Aug 2009 14:36:09 -0000	1.374
+++ gdb.spec	18 Aug 2009 18:51:17 -0000	1.375
@@ -10,11 +10,11 @@ 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: 6.8.50.20090811
+Version: 6.8.50.20090818
 
 # 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: 4%{?_with_upstream:.upstream}%{?dist}
+Release: 1%{?_with_upstream:.upstream}%{?dist}
 
 License: GPLv3+
 Group: Development/Debuggers
@@ -218,8 +218,8 @@ Patch229: gdb-6.3-bz140532-ppc-unwinding
 # Testcase for exec() from threaded program (BZ 202689).
 Patch231: gdb-6.3-bz202689-exec-from-pthread-test.patch
 
-# Backported post gdb-6.8.50.20090811 snapshot fixups.
-#Patch232: gdb-6.8.50.20090811-upstream.patch
+# Backported post gdb-6.8.50.20090818 snapshot fixups.
+#Patch232: gdb-6.8.50.20090818-upstream.patch
 
 # Testcase for PPC Power6/DFP instructions disassembly (BZ 230000).
 Patch234: gdb-6.6-bz230000-power6-disassembly-test.patch
@@ -265,11 +265,6 @@ Patch271: gdb-6.5-bz243845-stale-testing
 Patch274: gdb-6.6-buildid-locate.patch
 Patch353: gdb-6.6-buildid-locate-rpm.patch
 
-# Fix hardware watchpoints after inferior forks-off some process.
-# Threaded `set follow-fork-mode child' still not fixed there, glibc fixes reqd.
-# `set detach-on-fork off' not fixed there in general - it already assert-fails.
-Patch280: gdb-6.6-multifork-debugreg.patch
-
 # Fix displaying of numeric char arrays as strings (BZ 224128).
 Patch282: gdb-6.7-charsign-test.patch
 
@@ -521,7 +516,6 @@ rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc
 %patch271 -p1
 %patch274 -p1
 %patch353 -p1
-%patch280 -p1
 %patch282 -p1
 %patch284 -p1
 %patch287 -p1
@@ -827,6 +821,10 @@ fi
 %endif
 
 %changelog
+* Tue Aug 18 2009 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.8.50.20090818-1
+- Upgrade to the FSF GDB gdb-6.8.50 snapshot: 6.8.50.20090818
+- archer-jankratochvil-fedora12 commit: 5e0d1cc74f119391a2c3ae25ef5749fc28674f06
+
 * Wed Aug 12 2009 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.8.50.20090811-4
 - Fix minor regressions introduced by the rebase from F-11 (6.8.50.20090302).
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/sources,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -p -r1.34 -r1.35
--- sources	11 Aug 2009 14:42:47 -0000	1.34
+++ sources	18 Aug 2009 18:51:17 -0000	1.35
@@ -1 +1 @@
-f3e0cfce127982d0f14777188d8fa4c5  gdb-6.8.50.20090811.tar.bz2
+63d848cfdd9a43a9b2b412a220d00366  gdb-6.8.50.20090818.tar.bz2


--- gdb-6.6-multifork-debugreg.patch DELETED ---




More information about the scm-commits mailing list