rpms/gdb/devel gdb-archer.patch,1.36,1.37 gdb.spec,1.395,1.396

Jan Kratochvil jkratoch at fedoraproject.org
Thu Jan 21 18:25:34 UTC 2010


Author: jkratoch

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

Modified Files:
	gdb-archer.patch gdb.spec 
Log Message:
* Thu Jan 21 2010 Jan Kratochvil <jan.kratochvil at redhat.com> - 7.0.50.20100121-2.fc13
- archer-jankratochvil-fedora13 commit: 21e418c04290aa5d2e75543d31fe3fe5d70d6d41
- [expr-cumulative] Fix "break expr if (cond)" regression.


gdb-archer.patch:
 Makefile.in                                              |   93 
 ada-lang.c                                               |   41 
 amd64-linux-nat.c                                        |   15 
 ax-gdb.c                                                 |    2 
 block.c                                                  |   24 
 block.h                                                  |   12 
 breakpoint.c                                             |  231 +-
 breakpoint.h                                             |   17 
 c-exp.y                                                  |   73 
 c-lang.c                                                 |    1 
 c-typeprint.c                                            |   47 
 coffread.c                                               |    1 
 config.in                                                |    8 
 configure                                                |   76 
 configure.ac                                             |   47 
 cp-name-parser.y                                         |    2 
 cp-namespace.c                                           |  286 ++
 cp-support.c                                             |    7 
 cp-support.h                                             |   48 
 dbxread.c                                                |    1 
 doc/gdb.texinfo                                          |  407 ++++
 doc/gdbint.texinfo                                       |   62 
 doc/observer.texi                                        |    5 
 dwarf2-frame.c                                           |    9 
 dwarf2expr.c                                             |    7 
 dwarf2expr.h                                             |    2 
 dwarf2loc.c                                              |  227 ++
 dwarf2loc.h                                              |    6 
 dwarf2read.c                                             | 1477 +++++++++++----
 elfread.c                                                |   28 
 eval.c                                                   |  162 +
 expression.h                                             |    6 
 f-lang.c                                                 |   44 
 f-lang.h                                                 |   11 
 f-typeprint.c                                            |   36 
 f-valprint.c                                             |   59 
 findcmd.c                                                |  111 -
 findvar.c                                                |  126 -
 gdbinit.in                                               |   10 
 gdbthread.h                                              |    7 
 gdbtypes.c                                               |  641 +++++-
 gdbtypes.h                                               |  168 +
 gnu-v3-abi.c                                             |   18 
 i386-linux-nat.c                                         |   16 
 i386-nat.c                                               |   12 
 i386-nat.h                                               |    5 
 infcmd.c                                                 |   34 
 inferior.h                                               |    2 
 infrun.c                                                 |  183 +
 jv-lang.c                                                |    1 
 language.h                                               |    1 
 linespec.c                                               |  187 -
 linux-nat.c                                              |   35 
 m2-lang.c                                                |    1 
 machoread.c                                              |    1 
 main.c                                                   |   80 
 maint.c                                                  |    8 
 mi/mi-cmd-var.c                                          |    1 
 mipsread.c                                               |    1 
 objfiles.c                                               |   20 
 objfiles.h                                               |   21 
 parse.c                                                  |  149 +
 parser-defs.h                                            |   25 
 ppc-linux-nat.c                                          |   19 
 printcmd.c                                               |   92 
 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/py-block.c                                        |  265 ++
 python/py-breakpoint.c                                   |  666 ++++++
 python/py-cmd.c                                          |   16 
 python/py-frame.c                                        |  116 +
 python/py-hooks.c                                        |   50 
 python/py-inferior.c                                     |  934 +++++++++
 python/py-infthread.c                                    |  285 ++
 python/py-membuf.c                                       |  268 ++
 python/py-param.c                                        |  606 ++++++
 python/py-prettyprint.c                                  |   20 
 python/py-symbol.c                                       |  336 +++
 python/py-symtab.c                                       |  322 +++
 python/py-type.c                                         |  165 +
 python/py-utils.c                                        |   46 
 python/py-value.c                                        |   55 
 python/python-internal.h                                 |   69 
 python/python.c                                          |  340 +++
 python/python.h                                          |    2 
 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 
 stack.c                                                  |   36 
 symfile.c                                                |   12 
 symfile.h                                                |   11 
 symmisc.c                                                |    4 
 symtab.c                                                 |  317 +--
 symtab.h                                                 |   14 
 target.c                                                 |   20 
 target.h                                                 |   24 
 testsuite/gdb.arch/x86_64-vla-pointer-foo.S              |  457 ++++
 testsuite/gdb.arch/x86_64-vla-pointer.c                  |   43 
 testsuite/gdb.arch/x86_64-vla-pointer.exp                |   66 
 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/internal-var-field-address.c          |   20 
 testsuite/gdb.base/internal-var-field-address.exp        |   26 
 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/Makefile.in                             |    2 
 testsuite/gdb.cp/cp-relocate.exp                         |    6 
 testsuite/gdb.cp/cplusfuncs.cc                           |    6 
 testsuite/gdb.cp/cplusfuncs.exp                          |  195 +
 testsuite/gdb.cp/ctti.exp                                |    5 
 testsuite/gdb.cp/expand-sals.exp                         |    2 
 testsuite/gdb.cp/gdb9593.cc                              |  180 +
 testsuite/gdb.cp/gdb9593.exp                             |  185 +
 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                  |   47 
 testsuite/gdb.cp/namespace-recursive.exp                 |   75 
 testsuite/gdb.cp/namespace-stress-declarations.cc        |   93 
 testsuite/gdb.cp/namespace-stress-declarations.exp       |   50 
 testsuite/gdb.cp/namespace-stress.cc                     |   60 
 testsuite/gdb.cp/namespace-stress.exp                    |   50 
 testsuite/gdb.cp/namespace-using.cc                      |  128 +
 testsuite/gdb.cp/namespace-using.exp                     |  132 +
 testsuite/gdb.cp/namespace.exp                           |   23 
 testsuite/gdb.cp/overload.exp                            |    8 
 testsuite/gdb.cp/ovldbreak.exp                           |   46 
 testsuite/gdb.cp/realcpp.cc                              |  409 ++++
 testsuite/gdb.cp/realcpp.exp                             |  891 +++++++++
 testsuite/gdb.cp/shadowing.cc                            |   48 
 testsuite/gdb.cp/shadowing.exp                           |   91 
 testsuite/gdb.dwarf2/dw2-aranges.S                       |  140 +
 testsuite/gdb.dwarf2/dw2-aranges.exp                     |   40 
 testsuite/gdb.dwarf2/dw2-empty-namespace.S               |  108 +
 testsuite/gdb.dwarf2/dw2-empty-namespace.exp             |   43 
 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/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/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.java/jnpe.exp                              |   77 
 testsuite/gdb.java/jnpe.java                             |   38 
 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.opt/fortran-string.exp                     |   41 
 testsuite/gdb.opt/fortran-string.f90                     |   28 
 testsuite/gdb.python/py-cmd.exp                          |   27 
 testsuite/gdb.python/py-frame.exp                        |   48 
 testsuite/gdb.python/py-function.exp                     |   27 
 testsuite/gdb.python/py-inferior.c                       |   49 
 testsuite/gdb.python/py-inferior.exp                     |  201 ++
 testsuite/gdb.python/py-infthread.c                      |   14 
 testsuite/gdb.python/py-infthread.exp                    |   58 
 testsuite/gdb.python/py-prettyprint.exp                  |   22 
 testsuite/gdb.python/py-template.exp                     |   25 
 testsuite/gdb.python/py-value.exp                        |   31 
 testsuite/gdb.threads/watchpoint-fork-forkoff.c          |  175 +
 testsuite/gdb.threads/watchpoint-fork-mt.c               |  157 +
 testsuite/gdb.threads/watchpoint-fork.c                  |   57 
 testsuite/gdb.threads/watchpoint-fork.exp                |  130 +
 testsuite/lib/cp-support.exp                             |    3 
 testsuite/lib/gdb.exp                                    |    1 
 testsuite/lib/python-support.exp                         |   53 
 thread.c                                                 |    3 
 top.c                                                    |    1 
 typeprint.c                                              |   13 
 typeprint.h                                              |    3 
 ui-file.c                                                |   20 
 ui-file.h                                                |    6 
 utils.c                                                  |    7 
 valarith.c                                               |   45 
 valops.c                                                 |  159 +
 valprint.c                                               |    4 
 value.c                                                  |  146 +
 value.h                                                  |    7 
 varobj.c                                                 |    4 
 xcoffread.c                                              |    1 
 218 files changed, 17371 insertions(+), 1483 deletions(-)

Index: gdb-archer.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb-archer.patch,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -p -r1.36 -r1.37
--- gdb-archer.patch	21 Jan 2010 16:09:09 -0000	1.36
+++ gdb-archer.patch	21 Jan 2010 18:25:33 -0000	1.37
@@ -2,7 +2,7 @@ http://sourceware.org/gdb/wiki/ProjectAr
 http://sourceware.org/gdb/wiki/ArcherBranchManagement
 
 GIT snapshot:
-commit ccde1530479cc966374351038057b9dda90aa251
+commit 21e418c04290aa5d2e75543d31fe3fe5d70d6d41
 
 branch `archer' - the merge of branches:
 archer-tromey-delayed-symfile
@@ -8076,10 +8076,18 @@ index aaefb03..c274572 100644
  						 const domain_enum);
  
 diff --git a/gdb/linespec.c b/gdb/linespec.c
-index 74902b6..a9b4f1e 100644
+index 74902b6..4e54a3a 100644
 --- a/gdb/linespec.c
 +++ b/gdb/linespec.c
-@@ -50,8 +50,6 @@ extern char *operator_chars (char *, char **);
+@@ -40,6 +40,7 @@
+ #include "interps.h"
+ #include "mi/mi-cmds.h"
+ #include "target.h"
++#include <ctype.h>
+ 
+ /* We share this one with symtab.c, but it is not exported widely. */
+ 
+@@ -50,8 +51,6 @@ extern char *operator_chars (char *, char **);
  static void initialize_defaults (struct symtab **default_symtab,
  				 int *default_line);
  
@@ -8088,7 +8096,7 @@ index 74902b6..a9b4f1e 100644
  static struct symtabs_and_lines decode_indirect (char **argptr);
  
  static char *locate_first_half (char **argptr, int *is_quote_enclosed);
-@@ -688,9 +686,6 @@ decode_line_1 (char **argptr, int funfirstline, struct symtab *default_symtab,
+@@ -688,9 +687,6 @@ decode_line_1 (char **argptr, int funfirstline, struct symtab *default_symtab,
    struct symtab *file_symtab = NULL;
  
    char *copy;
@@ -8098,7 +8106,7 @@ index 74902b6..a9b4f1e 100644
    /* This says whether or not something in *ARGPTR is quoted with
       completer_quotes (i.e. with single quotes).  */
    int is_quoted;
-@@ -711,12 +706,9 @@ decode_line_1 (char **argptr, int funfirstline, struct symtab *default_symtab,
+@@ -711,12 +707,9 @@ decode_line_1 (char **argptr, int funfirstline, struct symtab *default_symtab,
    if (**argptr == '*')
      return decode_indirect (argptr);
  
@@ -8114,7 +8122,7 @@ index 74902b6..a9b4f1e 100644
  
    /* Check to see if it's a multipart linespec (with colons or
       periods).  */
-@@ -732,10 +724,7 @@ decode_line_1 (char **argptr, int funfirstline, struct symtab *default_symtab,
+@@ -732,10 +725,7 @@ decode_line_1 (char **argptr, int funfirstline, struct symtab *default_symtab,
    /* Check if this is an Objective-C method (anything that starts with
       a '+' or '-' and a '[').  */
    if (is_objc_method_format (p))
@@ -8126,7 +8134,7 @@ index 74902b6..a9b4f1e 100644
  
    /* Check if the symbol could be an Objective-C selector.  */
  
-@@ -749,11 +738,11 @@ decode_line_1 (char **argptr, int funfirstline, struct symtab *default_symtab,
+@@ -749,11 +739,11 @@ decode_line_1 (char **argptr, int funfirstline, struct symtab *default_symtab,
  
    /* Does it look like there actually were two parts?  */
  
@@ -8140,7 +8148,7 @@ index 74902b6..a9b4f1e 100644
        /* Is it a C++ or Java compound data structure?
  	 The check on p[1] == ':' is capturing the case of "::",
  	 since p[0]==':' was checked above.  
-@@ -762,48 +751,31 @@ decode_line_1 (char **argptr, int funfirstline, struct symtab *default_symtab,
+@@ -762,48 +752,31 @@ decode_line_1 (char **argptr, int funfirstline, struct symtab *default_symtab,
  	 can return now. */
  	
        if (p[0] == '.' || p[1] == ':')
@@ -8205,7 +8213,7 @@ index 74902b6..a9b4f1e 100644
  
    /* file_symtab is specified file's symtab, or 0 if no file specified.
       arg no longer contains the file name.  */
-@@ -838,10 +810,6 @@ decode_line_1 (char **argptr, int funfirstline, struct symtab *default_symtab,
+@@ -838,10 +811,6 @@ decode_line_1 (char **argptr, int funfirstline, struct symtab *default_symtab,
        /* allow word separators in method names for Obj-C */
        p = skip_quoted_chars (*argptr, NULL, "");
      }
@@ -8216,14 +8224,20 @@ index 74902b6..a9b4f1e 100644
    else
      {
        p = skip_quoted (*argptr);
-@@ -851,6 +819,15 @@ decode_line_1 (char **argptr, int funfirstline, struct symtab *default_symtab,
+@@ -851,6 +820,21 @@ decode_line_1 (char **argptr, int funfirstline, struct symtab *default_symtab,
    if (*p == '<')
      p = find_template_name_end (p);
  
 +  /* Keep method overload information.  */
 +  q = strchr (p, '(');
 +  if (q != NULL)
-+    p = strrchr (q, ')') + 1;
++    {
++      /* Ignore '(' used after " if".  */
++      while (q > p && isspace (q[-1]))
++	q--;
++      if (!(q >= p + 3 && strncmp (&q[-2], "if", 2) == 0 && isspace (q[-3])))
++	p = strrchr (q, ')') + 1;
++    }
 +
 +  /* Make sure we keep important kewords like "const" */
 +  if (strncmp (p, " const", 6) == 0)
@@ -8232,7 +8246,7 @@ index 74902b6..a9b4f1e 100644
    copy = (char *) alloca (p - *argptr + 1);
    memcpy (copy, *argptr, p - *argptr);
    copy[p - *argptr] = '\0';
-@@ -926,44 +903,6 @@ initialize_defaults (struct symtab **default_symtab, int *default_line)
+@@ -926,44 +910,6 @@ initialize_defaults (struct symtab **default_symtab, int *default_line)
      }
  }
  
@@ -8277,7 +8291,7 @@ index 74902b6..a9b4f1e 100644
  
  
  /* Decode arg of the form *PC.  */
-@@ -1264,7 +1203,8 @@ decode_compound (char **argptr, int funfirstline, char ***canonical,
+@@ -1264,7 +1210,8 @@ decode_compound (char **argptr, int funfirstline, char ***canonical,
        /* PASS2: p2->"::fun", p->":fun" */
  
        /* Move pointer ahead to next double-colon.  */
@@ -8287,7 +8301,7 @@ index 74902b6..a9b4f1e 100644
  	{
  	  if (current_language->la_language == language_cplus)
  	    p += cp_validate_operator (p);
-@@ -1342,8 +1282,10 @@ decode_compound (char **argptr, int funfirstline, char ***canonical,
+@@ -1342,8 +1289,10 @@ decode_compound (char **argptr, int funfirstline, char ***canonical,
        else
  	{
  	  /* At this point argptr->"fun".  */
@@ -8299,7 +8313,7 @@ index 74902b6..a9b4f1e 100644
  	    p++;
  	  /* At this point p->"".  String ended.  */
  	  /* Nope, C++ operators could have spaces in them
-@@ -1355,6 +1297,19 @@ decode_compound (char **argptr, int funfirstline, char ***canonical,
+@@ -1355,6 +1304,19 @@ decode_compound (char **argptr, int funfirstline, char ***canonical,
  	      /* The above loop has already swallowed "operator".  */
  	      p += cp_validate_operator (p - 8) - 8;
  	    }
@@ -8319,7 +8333,7 @@ index 74902b6..a9b4f1e 100644
  	}
  
        /* Allocate our own copy of the substring between argptr and
-@@ -1509,8 +1464,39 @@ find_method (int funfirstline, char ***canonical, char *saved_arg,
+@@ -1509,8 +1471,39 @@ find_method (int funfirstline, char ***canonical, char *saved_arg,
      }
    if (i1 > 0)
      {
@@ -8361,7 +8375,7 @@ index 74902b6..a9b4f1e 100644
        return decode_line_2 (sym_arr, i1, funfirstline, canonical);
      }
    else
-@@ -1815,7 +1801,7 @@ symbol_found (int funfirstline, char ***canonical, char *copy,
+@@ -1815,7 +1808,7 @@ symbol_found (int funfirstline, char ***canonical, char *copy,
  	{
  	  struct blockvector *bv = BLOCKVECTOR (SYMBOL_SYMTAB (sym));
  	  struct block *b = BLOCKVECTOR_BLOCK (bv, STATIC_BLOCK);


Index: gdb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb.spec,v
retrieving revision 1.395
retrieving revision 1.396
diff -u -p -r1.395 -r1.396
--- gdb.spec	21 Jan 2010 16:09:11 -0000	1.395
+++ gdb.spec	21 Jan 2010 18:25:34 -0000	1.396
@@ -36,7 +36,7 @@ Version: 7.0.50.20100121
 
 # 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: 1%{?_with_upstream:.upstream}%{dist}
+Release: 2%{?_with_upstream:.upstream}%{dist}
 
 License: GPLv3+
 Group: Development/Debuggers
@@ -998,6 +998,10 @@ fi
 %endif
 
 %changelog
+* Thu Jan 21 2010 Jan Kratochvil <jan.kratochvil at redhat.com> - 7.0.50.20100121-2.fc13
+- archer-jankratochvil-fedora13 commit: 21e418c04290aa5d2e75543d31fe3fe5d70d6d41
+- [expr-cumulative] Fix "break expr if (cond)" regression.
+
 * Thu Jan 21 2010 Jan Kratochvil <jan.kratochvil at redhat.com> - 7.0.50.20100121-1.fc13
 - Upgrade to the FSF GDB snapshot: 7.0.50.20100121
 - archer-jankratochvil-fedora13 commit: ccde1530479cc966374351038057b9dda90aa251



More information about the scm-commits mailing list