[gdb/f19] Rebase to FSF GDB 7.6.1.

Jan Kratochvil jankratochvil at fedoraproject.org
Fri Aug 30 20:28:05 UTC 2013


commit 9823d71e511b901354d077bb32f2fd3fbdfd5eb0
Author: Jan Kratochvil <jan.kratochvil at redhat.com>
Date:   Fri Aug 30 22:27:48 2013 +0200

    Rebase to FSF GDB 7.6.1.

 .gitignore                         |    2 +-
 gdb-6.6-buildid-locate-rpm.patch   |    8 +-
 gdb-6.6-buildid-locate.patch       |   12 +-
 gdb-cxx-performance-1of2.patch     |  209 ------------
 gdb-cxx-performance-2of2.patch     |   58 ----
 gdb-rhbz795424-bitpos-20of25.patch |  618 ++++++++++++++++++------------------
 gdb-upstream.patch                 |   94 ------
 gdb.spec                           |   14 +-
 sources                            |    2 +-
 9 files changed, 326 insertions(+), 691 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7564965..a701155 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,2 @@
 /gdb-libstdc++-v3-python-r155978.tar.bz2
-/gdb-7.6.tar.bz2
+/gdb-7.6.1.tar.bz2
diff --git a/gdb-6.6-buildid-locate-rpm.patch b/gdb-6.6-buildid-locate-rpm.patch
index ce54a0b..9917fdc 100644
--- a/gdb-6.6-buildid-locate-rpm.patch
+++ b/gdb-6.6-buildid-locate-rpm.patch
@@ -430,17 +430,17 @@ Index: gdb-7.5.91.20130407/gdb/elfread.c
 +#ifdef HAVE_LIBRPM
 +  if (missing_exec == MISSING_EXEC_NOT_TRIED)
 +    {
-+      char *exec_filename;
++      char *execfilename;
  
 -  fprintf_unfiltered (gdb_stdlog,
 -		      _("Missing separate debuginfo for %s\n"), binary);
 -  if (debug != NULL)
 -    fprintf_unfiltered (gdb_stdlog, _("Try to install the hash file %s\n"),
 -			debug);
-+      exec_filename = get_exec_file (0);
-+      if (exec_filename != NULL)
++      execfilename = get_exec_file (0);
++      if (execfilename != NULL)
 +	{
-+	  if (missing_rpm_enlist (exec_filename) == 0)
++	  if (missing_rpm_enlist (execfilename) == 0)
 +	    missing_exec = MISSING_EXEC_NOT_FOUND;
 +	  else
 +	    missing_exec = MISSING_EXEC_ENLISTED;
diff --git a/gdb-6.6-buildid-locate.patch b/gdb-6.6-buildid-locate.patch
index 17730a8..de2485c 100644
--- a/gdb-6.6-buildid-locate.patch
+++ b/gdb-6.6-buildid-locate.patch
@@ -23,7 +23,7 @@ Index: gdb-7.6/gdb/corelow.c
 +{
 +  CORE_ADDR at_entry;
 +  struct elf_build_id *build_id;
-+  char *exec_filename, *debug_filename;
++  char *execfilename, *debug_filename;
 +  char *build_id_filename;
 +  struct cleanup *back_to;
 +
@@ -44,14 +44,14 @@ Index: gdb-7.6/gdb/corelow.c
 +     file - such .eh_frame would not be found if SYMFILE_OBJFILE would refer
 +     directly to the separate debug info file.  */
 +
-+  exec_filename = build_id_to_filename (build_id, &build_id_filename, 0);
++  execfilename = build_id_to_filename (build_id, &build_id_filename, 0);
 +  make_cleanup (xfree, build_id_filename);
 +
-+  if (exec_filename != NULL)
++  if (execfilename != NULL)
 +    {
-+      make_cleanup (xfree, exec_filename);
-+      exec_file_attach (exec_filename, from_tty);
-+      symbol_file_add_main (exec_filename, from_tty);
++      make_cleanup (xfree, execfilename);
++      exec_file_attach (execfilename, from_tty);
++      symbol_file_add_main (execfilename, from_tty);
 +      if (symfile_objfile != NULL)
 +        symfile_objfile->flags |= OBJF_BUILD_ID_CORE_LOADED;
 +    }
diff --git a/gdb-rhbz795424-bitpos-20of25.patch b/gdb-rhbz795424-bitpos-20of25.patch
index dd153b4..8390083 100644
--- a/gdb-rhbz795424-bitpos-20of25.patch
+++ b/gdb-rhbz795424-bitpos-20of25.patch
@@ -463,10 +463,10 @@ Content-Type: text/x-patch
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename=bitpos-main.patch
 
-Index: gdb-7.5.50.20130215/gdb/ada-lang.c
+Index: gdb-7.6.1/gdb/ada-lang.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/ada-lang.c	2013-02-15 22:31:37.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/ada-lang.c	2013-02-15 22:40:18.513622035 +0100
+--- gdb-7.6.1.orig/gdb/ada-lang.c	2013-08-30 21:54:18.725367534 +0200
++++ gdb-7.6.1/gdb/ada-lang.c	2013-08-30 21:54:20.446368186 +0200
 @@ -80,7 +80,7 @@ static struct type *desc_bounds_type (st
  
  static struct value *desc_bounds (struct value *);
@@ -680,7 +680,7 @@ Index: gdb-7.5.50.20130215/gdb/ada-lang.c
    
    val = value_cast (value_type (component), val);
  
-@@ -4084,7 +4087,7 @@ ensure_lval (struct value *val)
+@@ -4083,7 +4086,7 @@ ensure_lval (struct value *val)
    if (VALUE_LVAL (val) == not_lval
        || VALUE_LVAL (val) == lval_internalvar)
      {
@@ -689,7 +689,7 @@ Index: gdb-7.5.50.20130215/gdb/ada-lang.c
        const CORE_ADDR addr =
          value_as_long (value_allocate_space_in_inferior (len));
  
-@@ -4158,7 +4161,7 @@ static CORE_ADDR
+@@ -4157,7 +4160,7 @@ static CORE_ADDR
  value_pointer (struct value *value, struct type *type)
  {
    struct gdbarch *gdbarch = get_type_arch (type);
@@ -698,7 +698,7 @@ Index: gdb-7.5.50.20130215/gdb/ada-lang.c
    gdb_byte *buf = alloca (len);
    CORE_ADDR addr;
  
-@@ -6053,7 +6056,7 @@ value_tag_from_contents_and_address (str
+@@ -6077,7 +6080,7 @@ value_tag_from_contents_and_address (str
  				     const gdb_byte *valaddr,
                                       CORE_ADDR address)
  {
@@ -707,7 +707,7 @@ Index: gdb-7.5.50.20130215/gdb/ada-lang.c
    struct type *tag_type;
  
    if (find_struct_field ("_tag", type, 0, &tag_type, &tag_byte_offset,
-@@ -6518,7 +6521,7 @@ ada_in_variant (LONGEST val, struct type
+@@ -6542,7 +6545,7 @@ ada_in_variant (LONGEST val, struct type
     only in that it can handle packed values of arbitrary type.  */
  
  static struct value *
@@ -716,7 +716,7 @@ Index: gdb-7.5.50.20130215/gdb/ada-lang.c
                             struct type *arg_type)
  {
    struct type *type;
-@@ -6530,7 +6533,7 @@ ada_value_primitive_field (struct value
+@@ -6554,7 +6557,7 @@ ada_value_primitive_field (struct value
  
    if (TYPE_FIELD_BITSIZE (arg_type, fieldno) != 0)
      {
@@ -725,7 +725,7 @@ Index: gdb-7.5.50.20130215/gdb/ada-lang.c
        int bit_size = TYPE_FIELD_BITSIZE (arg_type, fieldno);
  
        return ada_value_primitive_packed_val (arg1, value_contents (arg1),
-@@ -6557,9 +6560,9 @@ ada_value_primitive_field (struct value
+@@ -6581,9 +6584,9 @@ ada_value_primitive_field (struct value
     Returns 1 if found, 0 otherwise.  */
  
  static int
@@ -737,7 +737,7 @@ Index: gdb-7.5.50.20130215/gdb/ada-lang.c
  		   int *index_p)
  {
    int i;
-@@ -6577,8 +6580,8 @@ find_struct_field (const char *name, str
+@@ -6601,8 +6604,8 @@ find_struct_field (const char *name, str
  
    for (i = 0; i < TYPE_NFIELDS (type); i += 1)
      {
@@ -748,7 +748,7 @@ Index: gdb-7.5.50.20130215/gdb/ada-lang.c
        const char *t_field_name = TYPE_FIELD_NAME (type, i);
  
        if (t_field_name == NULL)
-@@ -6648,7 +6651,7 @@ num_visible_fields (struct type *type)
+@@ -6672,7 +6675,7 @@ num_visible_fields (struct type *type)
     Searches recursively through wrapper fields (e.g., '_parent').  */
  
  static struct value *
@@ -757,7 +757,7 @@ Index: gdb-7.5.50.20130215/gdb/ada-lang.c
                           struct type *type)
  {
    int i;
-@@ -6681,7 +6684,7 @@ ada_search_struct_field (char *name, str
+@@ -6705,7 +6708,7 @@ ada_search_struct_field (char *name, str
            int j;
            struct type *field_type = ada_check_typedef (TYPE_FIELD_TYPE (type,
  									i));
@@ -766,7 +766,7 @@ Index: gdb-7.5.50.20130215/gdb/ada-lang.c
  
            for (j = 0; j < TYPE_NFIELDS (field_type); j += 1)
              {
-@@ -6699,8 +6702,8 @@ ada_search_struct_field (char *name, str
+@@ -6723,8 +6726,8 @@ ada_search_struct_field (char *name, str
    return NULL;
  }
  
@@ -777,7 +777,7 @@ Index: gdb-7.5.50.20130215/gdb/ada-lang.c
  
  
  /* Return field #INDEX in ARG, where the index is that returned by
-@@ -6709,7 +6712,7 @@ static struct value *ada_index_struct_fi
+@@ -6733,7 +6736,7 @@ static struct value *ada_index_struct_fi
   * If found, return value, else return NULL.  */
  
  static struct value *
@@ -786,7 +786,7 @@ Index: gdb-7.5.50.20130215/gdb/ada-lang.c
  			struct type *type)
  {
    return ada_index_struct_field_1 (&index, arg, offset, type);
-@@ -6721,7 +6724,7 @@ ada_index_struct_field (int index, struc
+@@ -6745,7 +6748,7 @@ ada_index_struct_field (int index, struc
   * *INDEX_P.  */
  
  static struct value *
@@ -795,7 +795,7 @@ Index: gdb-7.5.50.20130215/gdb/ada-lang.c
  			  struct type *type)
  {
    int i;
-@@ -6811,7 +6814,8 @@ ada_value_struct_elt (struct value *arg,
+@@ -6835,7 +6838,8 @@ ada_value_struct_elt (struct value *arg,
      v = ada_search_struct_field (name, arg, 0, t);
    else
      {
@@ -805,7 +805,7 @@ Index: gdb-7.5.50.20130215/gdb/ada-lang.c
        struct type *field_type;
        CORE_ADDR address;
  
-@@ -7124,8 +7128,8 @@ ada_coerce_ref (struct value *val0)
+@@ -7148,8 +7152,8 @@ ada_coerce_ref (struct value *val0)
  /* Return OFF rounded upward if necessary to a multiple of
     ALIGNMENT (a power of 2).  */
  
@@ -816,7 +816,7 @@ Index: gdb-7.5.50.20130215/gdb/ada-lang.c
  {
    return (off + alignment - 1) & ~(alignment - 1);
  }
-@@ -7504,10 +7508,9 @@ ada_template_to_fixed_record_type_1 (str
+@@ -7528,10 +7532,9 @@ ada_template_to_fixed_record_type_1 (str
    struct value *mark = value_mark ();
    struct value *dval;
    struct type *rtype;
@@ -829,7 +829,7 @@ Index: gdb-7.5.50.20130215/gdb/ada-lang.c
    int f;
  
    /* Compute the number of fields in this record type that are going
-@@ -7578,7 +7581,7 @@ ada_template_to_fixed_record_type_1 (str
+@@ -7602,7 +7605,7 @@ ada_template_to_fixed_record_type_1 (str
  	     that follow this one.  */
  	  if (ada_is_aligner_type (field_type))
  	    {
@@ -838,7 +838,7 @@ Index: gdb-7.5.50.20130215/gdb/ada-lang.c
  
  	      field_valaddr = cond_offset_host (field_valaddr, field_offset);
  	      field_address = cond_offset_target (field_address, field_offset);
-@@ -7707,11 +7710,11 @@ ada_template_to_fixed_record_type_1 (str
+@@ -7731,11 +7734,11 @@ ada_template_to_fixed_record_type_1 (str
    if (TYPE_LENGTH (type) <= 0)
      {
        if (TYPE_NAME (rtype))
@@ -854,7 +854,7 @@ Index: gdb-7.5.50.20130215/gdb/ada-lang.c
      }
    else
      {
-@@ -8048,7 +8051,8 @@ to_fixed_array_type (struct type *type0,
+@@ -8072,7 +8075,8 @@ to_fixed_array_type (struct type *type0,
  	 type was a regular (non-packed) array type.  As a result, the
  	 bitsize of the array elements needs to be set again, and the array
  	 length needs to be recomputed based on that bitsize.  */
@@ -864,10 +864,10 @@ Index: gdb-7.5.50.20130215/gdb/ada-lang.c
        int elt_bitsize = TYPE_FIELD_BITSIZE (type0, 0);
  
        TYPE_FIELD_BITSIZE (result, 0) = TYPE_FIELD_BITSIZE (type0, 0);
-Index: gdb-7.5.50.20130215/gdb/ada-lang.h
+Index: gdb-7.6.1/gdb/ada-lang.h
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/ada-lang.h	2013-01-24 19:04:34.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/ada-lang.h	2013-02-15 22:40:18.513622035 +0100
+--- gdb-7.6.1.orig/gdb/ada-lang.h	2013-08-30 21:54:18.727367534 +0200
++++ gdb-7.6.1/gdb/ada-lang.h	2013-08-30 21:54:20.446368186 +0200
 @@ -169,7 +169,7 @@ extern void ada_print_type (struct type
  extern void ada_print_typedef (struct type *type, struct symbol *new_symbol,
  			       struct ui_file *stream);
@@ -886,7 +886,7 @@ Index: gdb-7.5.50.20130215/gdb/ada-lang.h
  			  const struct value_print_options *);
  
  struct value *ada_convert_actual (struct value *actual,
-@@ -258,7 +258,7 @@ extern int ada_is_constrained_packed_arr
+@@ -257,7 +257,7 @@ extern int ada_is_constrained_packed_arr
  
  extern struct value *ada_value_primitive_packed_val (struct value *,
  						     const gdb_byte *,
@@ -895,10 +895,10 @@ Index: gdb-7.5.50.20130215/gdb/ada-lang.h
                                                       struct type *);
  
  extern struct type *ada_coerce_to_simple_array_type (struct type *);
-Index: gdb-7.5.50.20130215/gdb/ada-typeprint.c
+Index: gdb-7.6.1/gdb/ada-typeprint.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/ada-typeprint.c	2013-01-01 07:32:37.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/ada-typeprint.c	2013-02-15 22:40:18.514622038 +0100
+--- gdb-7.6.1.orig/gdb/ada-typeprint.c	2013-08-30 21:54:18.727367534 +0200
++++ gdb-7.6.1/gdb/ada-typeprint.c	2013-08-30 21:54:20.447368187 +0200
 @@ -829,8 +829,8 @@ ada_print_type (struct type *type0, cons
  	    const char *name = ada_type_name (type);
  
@@ -920,10 +920,10 @@ Index: gdb-7.5.50.20130215/gdb/ada-typeprint.c
  	break;
        case TYPE_CODE_ENUM:
  	if (show < 0)
-Index: gdb-7.5.50.20130215/gdb/ada-valprint.c
+Index: gdb-7.6.1/gdb/ada-valprint.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/ada-valprint.c	2013-02-01 21:08:45.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/ada-valprint.c	2013-02-15 22:40:18.514622038 +0100
+--- gdb-7.6.1.orig/gdb/ada-valprint.c	2013-08-30 21:54:18.728367535 +0200
++++ gdb-7.6.1/gdb/ada-valprint.c	2013-08-30 21:54:20.447368187 +0200
 @@ -41,16 +41,16 @@ static void print_record (struct type *,
  			  const struct value_print_options *);
  
@@ -1084,10 +1084,10 @@ Index: gdb-7.5.50.20130215/gdb/ada-valprint.c
  	      int bit_size = TYPE_FIELD_BITSIZE (type, i);
  	      struct value_print_options opts;
  
-Index: gdb-7.5.50.20130215/gdb/annotate.c
+Index: gdb-7.6.1/gdb/annotate.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/annotate.c	2013-01-22 21:22:38.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/annotate.c	2013-02-15 22:40:18.514622038 +0100
+--- gdb-7.6.1.orig/gdb/annotate.c	2013-08-30 21:54:18.728367535 +0200
++++ gdb-7.6.1/gdb/annotate.c	2013-08-30 21:54:20.447368187 +0200
 @@ -523,21 +523,21 @@ annotate_frame_end (void)
  }
  
@@ -1114,10 +1114,10 @@ Index: gdb-7.5.50.20130215/gdb/annotate.c
  }
  
  void
-Index: gdb-7.5.50.20130215/gdb/annotate.h
+Index: gdb-7.6.1/gdb/annotate.h
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/annotate.h	2013-01-22 21:19:38.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/annotate.h	2013-02-15 22:40:18.515622041 +0100
+--- gdb-7.6.1.orig/gdb/annotate.h	2013-08-30 21:54:18.728367535 +0200
++++ gdb-7.6.1/gdb/annotate.h	2013-08-30 21:54:20.448368187 +0200
 @@ -92,8 +92,8 @@ extern void annotate_frame_source_end (v
  extern void annotate_frame_where (void);
  extern void annotate_frame_end (void);
@@ -1129,10 +1129,10 @@ Index: gdb-7.5.50.20130215/gdb/annotate.h
  extern void annotate_elt_rep_end (void);
  extern void annotate_elt (void);
  extern void annotate_array_section_end (void);
-Index: gdb-7.5.50.20130215/gdb/arm-linux-nat.c
+Index: gdb-7.6.1/gdb/arm-linux-nat.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/arm-linux-nat.c	2013-01-01 07:32:38.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/arm-linux-nat.c	2013-02-15 22:40:18.515622041 +0100
+--- gdb-7.6.1.orig/gdb/arm-linux-nat.c	2013-08-30 21:54:18.729367535 +0200
++++ gdb-7.6.1/gdb/arm-linux-nat.c	2013-08-30 21:54:20.448368187 +0200
 @@ -1073,7 +1073,7 @@ arm_linux_remove_hw_breakpoint (struct g
  /* Are we able to use a hardware watchpoint for the LEN bytes starting at 
     ADDR?  */
@@ -1142,10 +1142,10 @@ Index: gdb-7.5.50.20130215/gdb/arm-linux-nat.c
  {
    const struct arm_linux_hwbp_cap *cap = arm_linux_get_hwbp_cap ();
    CORE_ADDR max_wp_length, aligned_addr;
-Index: gdb-7.5.50.20130215/gdb/ax-gdb.c
+Index: gdb-7.6.1/gdb/ax-gdb.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/ax-gdb.c	2013-01-31 17:27:50.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/ax-gdb.c	2013-02-15 22:40:18.516622043 +0100
+--- gdb-7.6.1.orig/gdb/ax-gdb.c	2013-08-30 21:54:18.730367536 +0200
++++ gdb-7.6.1/gdb/ax-gdb.c	2013-08-30 21:54:20.449368188 +0200
 @@ -83,12 +83,12 @@ static void gen_traced_pop (struct gdbar
  static void gen_sign_extend (struct agent_expr *, struct type *);
  static void gen_extend (struct agent_expr *, struct type *);
@@ -1245,10 +1245,10 @@ Index: gdb-7.5.50.20130215/gdb/ax-gdb.c
  {
    int i, rslt;
    int nbases = TYPE_N_BASECLASSES (type);
-Index: gdb-7.5.50.20130215/gdb/ax-general.c
+Index: gdb-7.6.1/gdb/ax-general.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/ax-general.c	2013-01-31 17:27:50.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/ax-general.c	2013-02-15 22:40:18.516622043 +0100
+--- gdb-7.6.1.orig/gdb/ax-general.c	2013-08-30 21:54:18.730367536 +0200
++++ gdb-7.6.1/gdb/ax-general.c	2013-08-30 21:54:20.449368188 +0200
 @@ -192,7 +192,7 @@ ax_zero_ext (struct agent_expr *x, int n
  
  /* Append a trace_quick instruction to EXPR, to record N bytes.  */
@@ -1258,10 +1258,10 @@ Index: gdb-7.5.50.20130215/gdb/ax-general.c
  {
    /* N must fit in a byte.  */
    if (n < 0 || n > 255)
-Index: gdb-7.5.50.20130215/gdb/ax.h
+Index: gdb-7.6.1/gdb/ax.h
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/ax.h	2013-01-01 07:32:39.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/ax.h	2013-02-15 22:40:18.517622045 +0100
+--- gdb-7.6.1.orig/gdb/ax.h	2013-08-30 21:54:18.730367536 +0200
++++ gdb-7.6.1/gdb/ax.h	2013-08-30 21:54:20.449368188 +0200
 @@ -190,7 +190,7 @@ extern void ax_ext (struct agent_expr *E
  extern void ax_zero_ext (struct agent_expr *EXPR, int N);
  
@@ -1271,11 +1271,11 @@ Index: gdb-7.5.50.20130215/gdb/ax.h
  
  /* Append a goto op to EXPR.  OP is the actual op (must be aop_goto or
     aop_if_goto).  We assume we don't know the target offset yet,
-Index: gdb-7.5.50.20130215/gdb/breakpoint.c
+Index: gdb-7.6.1/gdb/breakpoint.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/breakpoint.c	2013-02-15 22:37:35.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/breakpoint.c	2013-02-15 22:40:18.521622053 +0100
-@@ -6660,7 +6660,7 @@ breakpoint_address_match (struct address
+--- gdb-7.6.1.orig/gdb/breakpoint.c	2013-08-30 21:54:18.733367537 +0200
++++ gdb-7.6.1/gdb/breakpoint.c	2013-08-30 21:54:20.453368189 +0200
+@@ -6677,7 +6677,7 @@ breakpoint_address_match (struct address
  
  static int
  breakpoint_address_match_range (struct address_space *aspace1, CORE_ADDR addr1,
@@ -1284,7 +1284,7 @@ Index: gdb-7.5.50.20130215/gdb/breakpoint.c
  				CORE_ADDR addr2)
  {
    return ((gdbarch_has_global_breakpoints (target_gdbarch ())
-@@ -11182,7 +11182,7 @@ can_use_hardware_watchpoint (struct valu
+@@ -11216,7 +11216,7 @@ can_use_hardware_watchpoint (struct valu
  		      && TYPE_CODE (vtype) != TYPE_CODE_ARRAY))
  		{
  		  CORE_ADDR vaddr = value_address (v);
@@ -1293,10 +1293,10 @@ Index: gdb-7.5.50.20130215/gdb/breakpoint.c
  		  int num_regs;
  
  		  len = (target_exact_watchpoints
-Index: gdb-7.5.50.20130215/gdb/breakpoint.h
+Index: gdb-7.6.1/gdb/breakpoint.h
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/breakpoint.h	2013-02-15 22:37:47.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/breakpoint.h	2013-02-15 22:40:18.521622053 +0100
+--- gdb-7.6.1.orig/gdb/breakpoint.h	2013-08-30 21:54:18.734367537 +0200
++++ gdb-7.6.1/gdb/breakpoint.h	2013-08-30 21:54:20.454368190 +0200
 @@ -250,7 +250,7 @@ struct bp_target_info
  
    /* If this is a ranged breakpoint, then this field contains the
@@ -1315,10 +1315,10 @@ Index: gdb-7.5.50.20130215/gdb/breakpoint.h
  
    /* Type of hardware watchpoint.  */
    enum target_hw_bp_type watchpoint_type;
-Index: gdb-7.5.50.20130215/gdb/c-lang.c
+Index: gdb-7.6.1/gdb/c-lang.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/c-lang.c	2013-02-13 11:41:11.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/c-lang.c	2013-02-15 22:40:18.522622055 +0100
+--- gdb-7.6.1.orig/gdb/c-lang.c	2013-08-30 21:54:18.734367537 +0200
++++ gdb-7.6.1/gdb/c-lang.c	2013-08-30 21:54:20.454368190 +0200
 @@ -188,7 +188,7 @@ c_printchar (int c, struct type *type, s
  
  void
@@ -1346,10 +1346,10 @@ Index: gdb-7.5.50.20130215/gdb/c-lang.c
  
  		if (get_discrete_bounds (TYPE_INDEX_TYPE (expect_type),
  					 &low_bound, &high_bound) < 0)
-Index: gdb-7.5.50.20130215/gdb/c-lang.h
+Index: gdb-7.6.1/gdb/c-lang.h
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/c-lang.h	2013-01-01 07:32:40.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/c-lang.h	2013-02-15 22:40:18.522622055 +0100
+--- gdb-7.6.1.orig/gdb/c-lang.h	2013-08-30 21:54:18.734367537 +0200
++++ gdb-7.6.1/gdb/c-lang.h	2013-08-30 21:54:20.454368190 +0200
 @@ -73,7 +73,7 @@ extern void c_print_typedef (struct type
  			     struct ui_file *);
  
@@ -1385,10 +1385,10 @@ Index: gdb-7.5.50.20130215/gdb/c-lang.h
  					struct ui_file *, int,
  					const struct value *,
  					const struct value_print_options *,
-Index: gdb-7.5.50.20130215/gdb/c-valprint.c
+Index: gdb-7.6.1/gdb/c-valprint.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/c-valprint.c	2013-01-01 07:32:40.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/c-valprint.c	2013-02-15 22:40:18.522622055 +0100
+--- gdb-7.6.1.orig/gdb/c-valprint.c	2013-08-30 21:54:18.735367537 +0200
++++ gdb-7.6.1/gdb/c-valprint.c	2013-08-30 21:54:20.455368190 +0200
 @@ -132,7 +132,7 @@ static const struct generic_val_print_de
  
  void
@@ -1430,10 +1430,10 @@ Index: gdb-7.5.50.20130215/gdb/c-valprint.c
    struct value_print_options opts = *options;
  
    opts.deref_ref = 1;
-Index: gdb-7.5.50.20130215/gdb/cp-abi.c
+Index: gdb-7.6.1/gdb/cp-abi.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/cp-abi.c	2013-01-17 21:26:14.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/cp-abi.c	2013-02-15 22:40:18.523622057 +0100
+--- gdb-7.6.1.orig/gdb/cp-abi.c	2013-08-30 21:54:18.735367537 +0200
++++ gdb-7.6.1/gdb/cp-abi.c	2013-08-30 21:54:20.455368190 +0200
 @@ -68,13 +68,13 @@ is_operator_name (const char *name)
    return (*current_cp_abi.is_operator_name) (name);
  }
@@ -1469,10 +1469,10 @@ Index: gdb-7.5.50.20130215/gdb/cp-abi.c
  {
    struct type *ret = NULL;
    volatile struct gdb_exception e;
-Index: gdb-7.5.50.20130215/gdb/cp-abi.h
+Index: gdb-7.6.1/gdb/cp-abi.h
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/cp-abi.h	2013-01-01 07:32:40.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/cp-abi.h	2013-02-15 22:40:18.523622057 +0100
+--- gdb-7.6.1.orig/gdb/cp-abi.h	2013-08-30 21:54:18.735367537 +0200
++++ gdb-7.6.1/gdb/cp-abi.h	2013-08-30 21:54:20.455368190 +0200
 @@ -108,7 +108,7 @@ extern struct value *value_virtual_fn_fi
  					     struct fn_field *f,
  					     int j,
@@ -1527,10 +1527,10 @@ Index: gdb-7.5.50.20130215/gdb/cp-abi.h
    void (*print_method_ptr) (const gdb_byte *contents,
  			    struct type *type,
  			    struct ui_file *stream);
-Index: gdb-7.5.50.20130215/gdb/cp-valprint.c
+Index: gdb-7.6.1/gdb/cp-valprint.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/cp-valprint.c	2013-01-07 17:40:36.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/cp-valprint.c	2013-02-15 22:40:18.523622057 +0100
+--- gdb-7.6.1.orig/gdb/cp-valprint.c	2013-08-30 21:54:18.736367538 +0200
++++ gdb-7.6.1/gdb/cp-valprint.c	2013-08-30 21:54:20.456368190 +0200
 @@ -82,7 +82,7 @@ static void cp_print_static_field (struc
  				   const struct value_print_options *);
  
@@ -1604,10 +1604,10 @@ Index: gdb-7.5.50.20130215/gdb/cp-valprint.c
        int skip;
        struct type *baseclass = check_typedef (TYPE_BASECLASS (type, i));
        const char *basename = TYPE_NAME (baseclass);
-Index: gdb-7.5.50.20130215/gdb/d-lang.h
+Index: gdb-7.6.1/gdb/d-lang.h
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/d-lang.h	2013-01-01 07:32:41.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/d-lang.h	2013-02-15 22:40:18.523622057 +0100
+--- gdb-7.6.1.orig/gdb/d-lang.h	2013-08-30 21:54:18.736367538 +0200
++++ gdb-7.6.1/gdb/d-lang.h	2013-08-30 21:54:20.456368190 +0200
 @@ -25,7 +25,7 @@
  extern char *d_demangle (const char *mangled, int options);
  
@@ -1617,10 +1617,10 @@ Index: gdb-7.5.50.20130215/gdb/d-lang.h
  			 struct ui_file *stream, int recurse,
  			 const struct value *val,
  			 const struct value_print_options *options);
-Index: gdb-7.5.50.20130215/gdb/d-valprint.c
+Index: gdb-7.6.1/gdb/d-valprint.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/d-valprint.c	2013-01-01 07:32:41.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/d-valprint.c	2013-02-15 22:40:18.524622059 +0100
+--- gdb-7.6.1.orig/gdb/d-valprint.c	2013-08-30 21:54:18.736367538 +0200
++++ gdb-7.6.1/gdb/d-valprint.c	2013-08-30 21:54:20.456368190 +0200
 @@ -29,7 +29,7 @@
  
  static int
@@ -1643,10 +1643,10 @@ Index: gdb-7.5.50.20130215/gdb/d-valprint.c
               const struct value_print_options *options)
  {
    int ret;
-Index: gdb-7.5.50.20130215/gdb/doublest.c
+Index: gdb-7.6.1/gdb/doublest.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/doublest.c	2013-01-01 07:32:41.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/doublest.c	2013-02-15 22:40:18.524622059 +0100
+--- gdb-7.6.1.orig/gdb/doublest.c	2013-08-30 21:54:18.736367538 +0200
++++ gdb-7.6.1/gdb/doublest.c	2013-08-30 21:54:20.456368190 +0200
 @@ -791,7 +791,7 @@ floatformat_from_doublest (const struct
     but not passed on by GDB.  This should be fixed.  */
  
@@ -1667,11 +1667,11 @@ Index: gdb-7.5.50.20130215/gdb/doublest.c
    return format;
  }
  
-Index: gdb-7.5.50.20130215/gdb/dwarf2loc.c
+Index: gdb-7.6.1/gdb/dwarf2loc.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/dwarf2loc.c	2013-02-15 22:31:37.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/dwarf2loc.c	2013-02-15 22:40:18.525622061 +0100
-@@ -1677,19 +1677,19 @@ insert_bits (unsigned int datum,
+--- gdb-7.6.1.orig/gdb/dwarf2loc.c	2013-08-30 21:54:18.738367539 +0200
++++ gdb-7.6.1/gdb/dwarf2loc.c	2013-08-30 21:54:20.458368191 +0200
+@@ -1680,19 +1680,19 @@ insert_bits (unsigned int datum,
     BITS_BIG_ENDIAN is taken directly from gdbarch.  */
  
  static void
@@ -1697,7 +1697,7 @@ Index: gdb-7.5.50.20130215/gdb/dwarf2loc.c
  
    dest_avail = 8 - dest_offset_bits % 8;
  
-@@ -1727,13 +1727,13 @@ static void
+@@ -1730,13 +1730,13 @@ static void
  read_pieced_value (struct value *v)
  {
    int i;
@@ -1713,7 +1713,7 @@ Index: gdb-7.5.50.20130215/gdb/dwarf2loc.c
    size_t buffer_size = 0;
    char *buffer = NULL;
    struct cleanup *cleanup;
-@@ -1760,8 +1760,8 @@ read_pieced_value (struct value *v)
+@@ -1763,8 +1763,8 @@ read_pieced_value (struct value *v)
    for (i = 0; i < c->n_pieces && offset < type_len; i++)
      {
        struct dwarf_expr_piece *p = &c->pieces[i];
@@ -1724,7 +1724,7 @@ Index: gdb-7.5.50.20130215/gdb/dwarf2loc.c
        const gdb_byte *intermediate_buffer;
  
        /* Compute size, source, and destination offsets for copying, in
-@@ -1910,13 +1910,13 @@ static void
+@@ -1913,13 +1913,13 @@ static void
  write_pieced_value (struct value *to, struct value *from)
  {
    int i;
@@ -1740,7 +1740,7 @@ Index: gdb-7.5.50.20130215/gdb/dwarf2loc.c
    size_t buffer_size = 0;
    char *buffer = NULL;
    struct cleanup *cleanup;
-@@ -1944,8 +1944,8 @@ write_pieced_value (struct value *to, st
+@@ -1947,8 +1947,8 @@ write_pieced_value (struct value *to, st
    for (i = 0; i < c->n_pieces && offset < type_len; i++)
      {
        struct dwarf_expr_piece *p = &c->pieces[i];
@@ -1751,7 +1751,7 @@ Index: gdb-7.5.50.20130215/gdb/dwarf2loc.c
        int need_bitwise;
        const gdb_byte *source_buffer;
  
-@@ -2074,8 +2074,8 @@ write_pieced_value (struct value *to, st
+@@ -2077,8 +2077,8 @@ write_pieced_value (struct value *to, st
     implicit pointer.  */
  
  static int
@@ -1762,7 +1762,7 @@ Index: gdb-7.5.50.20130215/gdb/dwarf2loc.c
  			 enum dwarf_value_location check_for)
  {
    struct piece_closure *c
-@@ -2091,7 +2091,7 @@ check_pieced_value_bits (const struct va
+@@ -2094,7 +2094,7 @@ check_pieced_value_bits (const struct va
    for (i = 0; i < c->n_pieces && bit_length > 0; i++)
      {
        struct dwarf_expr_piece *p = &c->pieces[i];
@@ -1771,7 +1771,7 @@ Index: gdb-7.5.50.20130215/gdb/dwarf2loc.c
  
        if (bit_offset > 0)
  	{
-@@ -2129,8 +2129,8 @@ check_pieced_value_bits (const struct va
+@@ -2132,8 +2132,8 @@ check_pieced_value_bits (const struct va
  }
  
  static int
@@ -1782,7 +1782,7 @@ Index: gdb-7.5.50.20130215/gdb/dwarf2loc.c
  {
    return check_pieced_value_bits (value, bit_offset, bit_length,
  				  DWARF_VALUE_MEMORY);
-@@ -2148,8 +2148,8 @@ check_pieced_value_invalid (const struct
+@@ -2151,8 +2151,8 @@ check_pieced_value_invalid (const struct
     a synthetic pointer.  */
  
  static int
@@ -1793,7 +1793,7 @@ Index: gdb-7.5.50.20130215/gdb/dwarf2loc.c
  {
    return check_pieced_value_bits (value, bit_offset, bit_length,
  				  DWARF_VALUE_IMPLICIT_POINTER);
-@@ -2174,9 +2174,10 @@ indirect_pieced_value (struct value *val
+@@ -2177,9 +2177,10 @@ indirect_pieced_value (struct value *val
    struct type *type;
    struct frame_info *frame;
    struct dwarf2_locexpr_baton baton;
@@ -1806,7 +1806,7 @@ Index: gdb-7.5.50.20130215/gdb/dwarf2loc.c
  
    type = check_typedef (value_type (value));
    if (TYPE_CODE (type) != TYPE_CODE_PTR)
-@@ -2190,7 +2191,7 @@ indirect_pieced_value (struct value *val
+@@ -2193,7 +2194,7 @@ indirect_pieced_value (struct value *val
    for (i = 0; i < c->n_pieces && bit_length > 0; i++)
      {
        struct dwarf_expr_piece *p = &c->pieces[i];
@@ -1815,7 +1815,7 @@ Index: gdb-7.5.50.20130215/gdb/dwarf2loc.c
  
        if (bit_offset > 0)
  	{
-@@ -2406,7 +2407,7 @@ dwarf2_evaluate_loc_desc_full (struct ty
+@@ -2409,7 +2410,7 @@ dwarf2_evaluate_loc_desc_full (struct ty
  	    struct value *value = dwarf_expr_fetch (ctx, 0);
  	    gdb_byte *contents;
  	    const gdb_byte *val_bytes;
@@ -1824,10 +1824,10 @@ Index: gdb-7.5.50.20130215/gdb/dwarf2loc.c
  
  	    if (byte_offset + TYPE_LENGTH (type) > n)
  	      invalid_synthetic_pointer ();
-Index: gdb-7.5.50.20130215/gdb/dwarf2read.c
+Index: gdb-7.6.1/gdb/dwarf2read.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/dwarf2read.c	2013-02-15 22:40:13.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/dwarf2read.c	2013-02-15 22:40:18.528622067 +0100
+--- gdb-7.6.1.orig/gdb/dwarf2read.c	2013-08-30 21:54:18.741367540 +0200
++++ gdb-7.6.1/gdb/dwarf2read.c	2013-08-30 21:54:20.460368192 +0200
 @@ -1227,12 +1227,12 @@ dwarf2_complex_location_expr_complaint (
  }
  
@@ -1845,7 +1845,7 @@ Index: gdb-7.5.50.20130215/gdb/dwarf2read.c
  }
  
  static void
-@@ -10641,8 +10641,8 @@ dwarf2_add_field (struct field_info *fip
+@@ -10647,8 +10647,8 @@ dwarf2_add_field (struct field_info *fip
  	         object, and then subtract off the number of bits of
  	         the field itself.  The result is the bit offset of
  	         the LSB of the field.  */
@@ -1856,10 +1856,10 @@ Index: gdb-7.5.50.20130215/gdb/dwarf2read.c
  
  	      attr = dwarf2_attr (die, DW_AT_byte_size, cu);
  	      if (attr)
-Index: gdb-7.5.50.20130215/gdb/eval.c
+Index: gdb-7.6.1/gdb/eval.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/eval.c	2013-02-15 22:31:37.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/eval.c	2013-02-15 22:40:18.529622070 +0100
+--- gdb-7.6.1.orig/gdb/eval.c	2013-08-30 21:54:18.743367540 +0200
++++ gdb-7.6.1/gdb/eval.c	2013-08-30 21:54:20.461368192 +0200
 @@ -294,7 +294,8 @@ evaluate_struct_tuple (struct value *str
    while (--nargs >= 0)
      {
@@ -1922,10 +1922,10 @@ Index: gdb-7.5.50.20130215/gdb/eval.c
  	struct value_print_options opts;
  
  	get_user_print_options (&opts);
-Index: gdb-7.5.50.20130215/gdb/f-lang.c
+Index: gdb-7.6.1/gdb/f-lang.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/f-lang.c	2013-01-01 07:32:42.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/f-lang.c	2013-02-15 22:40:18.529622070 +0100
+--- gdb-7.6.1.orig/gdb/f-lang.c	2013-08-30 21:54:18.743367540 +0200
++++ gdb-7.6.1/gdb/f-lang.c	2013-08-30 21:54:20.461368192 +0200
 @@ -103,7 +103,7 @@ f_printchar (int c, struct type *type, s
  
  static void
@@ -1935,10 +1935,10 @@ Index: gdb-7.5.50.20130215/gdb/f-lang.c
  	    const struct value_print_options *options)
  {
    const char *type_encoding = f_get_encoding (type);
-Index: gdb-7.5.50.20130215/gdb/f-lang.h
+Index: gdb-7.6.1/gdb/f-lang.h
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/f-lang.h	2013-02-15 22:31:37.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/f-lang.h	2013-02-15 22:40:18.529622070 +0100
+--- gdb-7.6.1.orig/gdb/f-lang.h	2013-08-30 21:54:18.743367540 +0200
++++ gdb-7.6.1/gdb/f-lang.h	2013-08-30 21:54:20.461368192 +0200
 @@ -33,7 +33,7 @@ extern const char *f_object_address_data
    (struct type *type, struct ui_file *stream);
  extern void f_object_address_data_valid_or_error (struct type *type);
@@ -1948,10 +1948,10 @@ Index: gdb-7.5.50.20130215/gdb/f-lang.h
  			 struct ui_file *, int,
  			 const struct value *,
  			 const struct value_print_options *);
-Index: gdb-7.5.50.20130215/gdb/f-valprint.c
+Index: gdb-7.6.1/gdb/f-valprint.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/f-valprint.c	2013-02-15 22:31:37.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/f-valprint.c	2013-02-15 22:40:18.529622070 +0100
+--- gdb-7.6.1.orig/gdb/f-valprint.c	2013-08-30 21:54:18.744367541 +0200
++++ gdb-7.6.1/gdb/f-valprint.c	2013-08-30 21:54:20.461368192 +0200
 @@ -43,7 +43,7 @@ static void f77_create_arrayprint_offset
  					      struct ui_file *);
  static void f77_get_dynamic_length_of_aggregate (struct type *);
@@ -2016,10 +2016,10 @@ Index: gdb-7.5.50.20130215/gdb/f-valprint.c
  
            val_print (TYPE_FIELD_TYPE (type, index), valaddr,
  		     embedded_offset + offset,
-Index: gdb-7.5.50.20130215/gdb/findvar.c
+Index: gdb-7.6.1/gdb/findvar.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/findvar.c	2013-02-15 22:31:37.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/findvar.c	2013-02-15 22:40:18.529622070 +0100
+--- gdb-7.6.1.orig/gdb/findvar.c	2013-08-30 21:54:18.744367541 +0200
++++ gdb-7.6.1/gdb/findvar.c	2013-08-30 21:54:20.462368193 +0200
 @@ -644,7 +644,7 @@ default_value_from_register (struct type
  			     struct frame_info *frame)
  {
@@ -2052,10 +2052,10 @@ Index: gdb-7.5.50.20130215/gdb/findvar.c
  
        if (value_optimized_out (regval))
  	{
-Index: gdb-7.5.50.20130215/gdb/frame.c
+Index: gdb-7.6.1/gdb/frame.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/frame.c	2013-01-01 07:32:42.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/frame.c	2013-02-15 22:40:18.530622073 +0100
+--- gdb-7.6.1.orig/gdb/frame.c	2013-08-30 21:54:18.744367541 +0200
++++ gdb-7.6.1/gdb/frame.c	2013-08-30 21:54:20.462368193 +0200
 @@ -1113,7 +1113,7 @@ deprecated_frame_register_read (struct f
  
  int
@@ -2074,10 +2074,10 @@ Index: gdb-7.5.50.20130215/gdb/frame.c
  
    /* Copy the data.  */
    while (len > 0)
-Index: gdb-7.5.50.20130215/gdb/frame.h
+Index: gdb-7.6.1/gdb/frame.h
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/frame.h	2013-02-01 20:58:04.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/frame.h	2013-02-15 22:40:18.530622073 +0100
+--- gdb-7.6.1.orig/gdb/frame.h	2013-08-30 21:54:18.745367541 +0200
++++ gdb-7.6.1/gdb/frame.h	2013-08-30 21:54:20.462368193 +0200
 @@ -532,7 +532,7 @@ extern void put_frame_register (struct f
     contents are optimized out or unavailable, set *OPTIMIZEDP,
     *UNAVAILABLEP accordingly.  */
@@ -2087,10 +2087,10 @@ Index: gdb-7.5.50.20130215/gdb/frame.h
  				     gdb_byte *myaddr,
  				     int *optimizedp, int *unavailablep);
  
-Index: gdb-7.5.50.20130215/gdb/gdbtypes.c
+Index: gdb-7.6.1/gdb/gdbtypes.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/gdbtypes.c	2013-02-15 22:31:37.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/gdbtypes.c	2013-02-15 22:40:39.496648052 +0100
+--- gdb-7.6.1.orig/gdb/gdbtypes.c	2013-08-30 21:54:18.746367542 +0200
++++ gdb-7.6.1/gdb/gdbtypes.c	2013-08-30 21:54:20.463368193 +0200
 @@ -2090,7 +2090,7 @@ allocate_gnat_aux_type (struct type *typ
     least as long as OBJFILE.  */
  
@@ -2158,10 +2158,10 @@ Index: gdb-7.5.50.20130215/gdb/gdbtypes.c
  {
    struct type *type;
  
-Index: gdb-7.5.50.20130215/gdb/gdbtypes.h
+Index: gdb-7.6.1/gdb/gdbtypes.h
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/gdbtypes.h	2013-02-15 22:37:04.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/gdbtypes.h	2013-02-15 22:42:33.846787959 +0100
+--- gdb-7.6.1.orig/gdb/gdbtypes.h	2013-08-30 21:54:18.747367542 +0200
++++ gdb-7.6.1/gdb/gdbtypes.h	2013-08-30 21:54:20.463368193 +0200
 @@ -606,7 +606,7 @@ struct main_type
  	   gdbarch_bits_big_endian=0 targets, it is the bit offset to
  	   the LSB.  */
@@ -2195,10 +2195,10 @@ Index: gdb-7.5.50.20130215/gdb/gdbtypes.h
  extern struct type *arch_integer_type (struct gdbarch *, int, int, char *);
  extern struct type *arch_character_type (struct gdbarch *, int, int, char *);
  extern struct type *arch_boolean_type (struct gdbarch *, int, int, char *);
-Index: gdb-7.5.50.20130215/gdb/gnu-v2-abi.c
+Index: gdb-7.6.1/gdb/gnu-v2-abi.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/gnu-v2-abi.c	2013-01-21 18:29:39.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/gnu-v2-abi.c	2013-02-15 22:40:18.532622077 +0100
+--- gdb-7.6.1.orig/gdb/gnu-v2-abi.c	2013-08-30 21:54:18.747367542 +0200
++++ gdb-7.6.1/gdb/gnu-v2-abi.c	2013-08-30 21:54:20.464368193 +0200
 @@ -85,7 +85,7 @@ gnuv2_is_operator_name (const char *name
     TYPE is the type in which F is located.  */
  static struct value *
@@ -2250,10 +2250,10 @@ Index: gdb-7.5.50.20130215/gdb/gnu-v2-abi.c
  	    gnuv2_baseclass_offset (type, i, valaddr,
  				    embedded_offset, address, val);
  
-Index: gdb-7.5.50.20130215/gdb/gnu-v3-abi.c
+Index: gdb-7.6.1/gdb/gnu-v3-abi.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/gnu-v3-abi.c	2013-01-31 19:37:37.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/gnu-v3-abi.c	2013-02-15 22:40:18.532622077 +0100
+--- gdb-7.6.1.orig/gdb/gnu-v3-abi.c	2013-08-30 21:54:18.747367542 +0200
++++ gdb-7.6.1/gdb/gnu-v3-abi.c	2013-08-30 21:54:20.464368193 +0200
 @@ -106,7 +106,7 @@ build_gdb_vtable_type (struct gdbarch *a
  {
    struct type *t;
@@ -2328,10 +2328,10 @@ Index: gdb-7.5.50.20130215/gdb/gnu-v3-abi.c
        struct type *basetype;
  
        if (BASETYPE_VIA_VIRTUAL (domain, i))
-Index: gdb-7.5.50.20130215/gdb/go-lang.h
+Index: gdb-7.6.1/gdb/go-lang.h
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/go-lang.h	2013-01-01 07:32:44.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/go-lang.h	2013-02-15 22:40:18.532622077 +0100
+--- gdb-7.6.1.orig/gdb/go-lang.h	2013-08-30 21:54:18.748367542 +0200
++++ gdb-7.6.1/gdb/go-lang.h	2013-08-30 21:54:20.464368193 +0200
 @@ -83,7 +83,7 @@ extern void go_print_type (struct type *
  /* Defined in go-valprint.c.  */
  
@@ -2341,10 +2341,10 @@ Index: gdb-7.5.50.20130215/gdb/go-lang.h
  			  struct ui_file *stream, int recurse,
  			  const struct value *val,
  			  const struct value_print_options *options);
-Index: gdb-7.5.50.20130215/gdb/go-valprint.c
+Index: gdb-7.6.1/gdb/go-valprint.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/go-valprint.c	2013-01-01 07:32:44.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/go-valprint.c	2013-02-15 22:40:18.532622077 +0100
+--- gdb-7.6.1.orig/gdb/go-valprint.c	2013-08-30 21:54:18.748367542 +0200
++++ gdb-7.6.1/gdb/go-valprint.c	2013-08-30 21:54:20.464368193 +0200
 @@ -37,7 +37,7 @@
  
  static void
@@ -2367,10 +2367,10 @@ Index: gdb-7.5.50.20130215/gdb/go-valprint.c
  	      const struct value_print_options *options)
  {
    CHECK_TYPEDEF (type);
-Index: gdb-7.5.50.20130215/gdb/i386-nat.c
+Index: gdb-7.6.1/gdb/i386-nat.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/i386-nat.c	2013-02-13 15:59:49.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/i386-nat.c	2013-02-15 22:41:53.950739414 +0100
+--- gdb-7.6.1.orig/gdb/i386-nat.c	2013-08-30 21:54:18.748367542 +0200
++++ gdb-7.6.1/gdb/i386-nat.c	2013-08-30 21:54:20.465368194 +0200
 @@ -290,7 +290,7 @@ static int i386_remove_aligned_watchpoin
     valid value, bombs through internal_error.  */
  static int i386_handle_nonaligned_watchpoint (struct i386_debug_reg_state *state,
@@ -2400,10 +2400,10 @@ Index: gdb-7.5.50.20130215/gdb/i386-nat.c
  {
    struct i386_debug_reg_state *state
      = i386_debug_reg_state (ptid_get_pid (inferior_ptid));
-Index: gdb-7.5.50.20130215/gdb/inf-ttrace.c
+Index: gdb-7.6.1/gdb/inf-ttrace.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/inf-ttrace.c	2013-01-01 07:32:45.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/inf-ttrace.c	2013-02-15 22:40:18.533622078 +0100
+--- gdb-7.6.1.orig/gdb/inf-ttrace.c	2013-08-30 21:54:18.748367542 +0200
++++ gdb-7.6.1/gdb/inf-ttrace.c	2013-08-30 21:54:20.465368194 +0200
 @@ -364,7 +364,7 @@ inf_ttrace_can_use_hw_breakpoint (int ty
  }
  
@@ -2413,10 +2413,10 @@ Index: gdb-7.5.50.20130215/gdb/inf-ttrace.c
  {
    return 1;
  }
-Index: gdb-7.5.50.20130215/gdb/jv-lang.c
+Index: gdb-7.6.1/gdb/jv-lang.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/jv-lang.c	2013-02-15 22:37:04.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/jv-lang.c	2013-02-15 22:40:18.533622078 +0100
+--- gdb-7.6.1.orig/gdb/jv-lang.c	2013-08-30 21:54:18.749367543 +0200
++++ gdb-7.6.1/gdb/jv-lang.c	2013-08-30 21:54:20.465368194 +0200
 @@ -437,7 +437,7 @@ java_link_class_type (struct gdbarch *gd
    for (i = TYPE_N_BASECLASSES (type); i < nfields; i++)
      {
@@ -2435,10 +2435,10 @@ Index: gdb-7.5.50.20130215/gdb/jv-lang.c
  	       const struct value_print_options *options)
  {
    const char *type_encoding = java_get_encoding (type);
-Index: gdb-7.5.50.20130215/gdb/jv-lang.h
+Index: gdb-7.6.1/gdb/jv-lang.h
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/jv-lang.h	2013-01-01 07:32:46.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/jv-lang.h	2013-02-15 22:40:18.533622078 +0100
+--- gdb-7.6.1.orig/gdb/jv-lang.h	2013-08-30 21:54:18.749367543 +0200
++++ gdb-7.6.1/gdb/jv-lang.h	2013-08-30 21:54:20.465368194 +0200
 @@ -42,8 +42,8 @@ struct builtin_java_type
  
  extern const struct builtin_java_type *builtin_java_type (struct gdbarch *);
@@ -2450,10 +2450,10 @@ Index: gdb-7.5.50.20130215/gdb/jv-lang.h
  			    const struct value *,
  			    const struct value_print_options *);
  
-Index: gdb-7.5.50.20130215/gdb/jv-valprint.c
+Index: gdb-7.6.1/gdb/jv-valprint.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/jv-valprint.c	2013-01-31 19:37:37.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/jv-valprint.c	2013-02-15 22:40:18.533622078 +0100
+--- gdb-7.6.1.orig/gdb/jv-valprint.c	2013-08-30 21:54:18.749367543 +0200
++++ gdb-7.6.1/gdb/jv-valprint.c	2013-08-30 21:54:20.466368194 +0200
 @@ -266,7 +266,7 @@ java_value_print (struct value *val, str
  
  static void
@@ -2472,10 +2472,10 @@ Index: gdb-7.5.50.20130215/gdb/jv-valprint.c
  		struct ui_file *stream, int recurse,
  		const struct value *val,
  		const struct value_print_options *options)
-Index: gdb-7.5.50.20130215/gdb/language.c
+Index: gdb-7.6.1/gdb/language.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/language.c	2013-01-01 07:32:46.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/language.c	2013-02-15 22:40:18.534622079 +0100
+--- gdb-7.6.1.orig/gdb/language.c	2013-08-30 21:54:18.749367543 +0200
++++ gdb-7.6.1/gdb/language.c	2013-08-30 21:54:20.466368194 +0200
 @@ -720,7 +720,7 @@ unk_lang_printchar (int c, struct type *
  
  static void
@@ -2494,10 +2494,10 @@ Index: gdb-7.5.50.20130215/gdb/language.c
  		    struct ui_file *stream, int recurse,
  		    const struct value *val,
  		    const struct value_print_options *options)
-Index: gdb-7.5.50.20130215/gdb/language.h
+Index: gdb-7.6.1/gdb/language.h
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/language.h	2013-01-01 07:32:46.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/language.h	2013-02-15 22:40:18.534622079 +0100
+--- gdb-7.6.1.orig/gdb/language.h	2013-08-30 21:54:18.750367543 +0200
++++ gdb-7.6.1/gdb/language.h	2013-08-30 21:54:20.466368194 +0200
 @@ -175,7 +175,7 @@ struct language_defn
  			  struct ui_file * stream);
  
@@ -2516,10 +2516,10 @@ Index: gdb-7.5.50.20130215/gdb/language.h
  			  struct ui_file *stream, int recurse,
  			  const struct value *val,
  			  const struct value_print_options *options);
-Index: gdb-7.5.50.20130215/gdb/m2-lang.c
+Index: gdb-7.6.1/gdb/m2-lang.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/m2-lang.c	2013-01-07 17:40:36.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/m2-lang.c	2013-02-15 22:40:18.534622079 +0100
+--- gdb-7.6.1.orig/gdb/m2-lang.c	2013-08-30 21:54:18.750367543 +0200
++++ gdb-7.6.1/gdb/m2-lang.c	2013-08-30 21:54:20.466368194 +0200
 @@ -103,10 +103,10 @@ m2_printchar (int c, struct type *type,
  
  static void
@@ -2554,10 +2554,10 @@ Index: gdb-7.5.50.20130215/gdb/m2-lang.c
  	  i = rep1 - 1;
  	  things_printed += options->repeat_count_threshold;
  	  need_comma = 1;
-Index: gdb-7.5.50.20130215/gdb/m2-lang.h
+Index: gdb-7.6.1/gdb/m2-lang.h
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/m2-lang.h	2013-01-01 07:32:46.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/m2-lang.h	2013-02-15 22:40:18.534622079 +0100
+--- gdb-7.6.1.orig/gdb/m2-lang.h	2013-08-30 21:54:18.750367543 +0200
++++ gdb-7.6.1/gdb/m2-lang.h	2013-08-30 21:54:20.466368194 +0200
 @@ -33,7 +33,7 @@ extern void m2_print_typedef (struct typ
  extern int m2_is_long_set (struct type *type);
  extern int m2_is_unbounded_array (struct type *type);
@@ -2567,10 +2567,10 @@ Index: gdb-7.5.50.20130215/gdb/m2-lang.h
  			  struct ui_file *, int,
  			  const struct value *,
  			  const struct value_print_options *);
-Index: gdb-7.5.50.20130215/gdb/m2-typeprint.c
+Index: gdb-7.6.1/gdb/m2-typeprint.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/m2-typeprint.c	2013-01-31 19:37:37.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/m2-typeprint.c	2013-02-15 22:40:18.534622079 +0100
+--- gdb-7.6.1.orig/gdb/m2-typeprint.c	2013-08-30 21:54:18.750367543 +0200
++++ gdb-7.6.1/gdb/m2-typeprint.c	2013-08-30 21:54:20.466368194 +0200
 @@ -233,9 +233,12 @@ static void m2_array (struct type *type,
  	  m2_print_bounds (TYPE_INDEX_TYPE (type), stream, show, -1, 1);
  	}
@@ -2587,10 +2587,10 @@ Index: gdb-7.5.50.20130215/gdb/m2-typeprint.c
      }
    fprintf_filtered (stream, "] OF ");
    m2_print_type (TYPE_TARGET_TYPE (type), "", stream, show, level, flags);
-Index: gdb-7.5.50.20130215/gdb/m2-valprint.c
+Index: gdb-7.6.1/gdb/m2-valprint.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/m2-valprint.c	2013-01-01 07:32:46.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/m2-valprint.c	2013-02-15 22:40:18.534622079 +0100
+--- gdb-7.6.1.orig/gdb/m2-valprint.c	2013-08-30 21:54:18.751367544 +0200
++++ gdb-7.6.1/gdb/m2-valprint.c	2013-08-30 21:54:20.467368194 +0200
 @@ -35,7 +35,7 @@ static int print_unpacked_pointer (struc
  				   struct ui_file *stream);
  static void
@@ -2656,10 +2656,10 @@ Index: gdb-7.5.50.20130215/gdb/m2-valprint.c
  
  		  /* Look for a NULL char.  */
  		  for (temp_len = 0;
-Index: gdb-7.5.50.20130215/gdb/memrange.c
+Index: gdb-7.6.1/gdb/memrange.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/memrange.c	2013-01-01 07:32:47.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/memrange.c	2013-02-15 22:40:18.534622079 +0100
+--- gdb-7.6.1.orig/gdb/memrange.c	2013-08-30 21:54:18.751367544 +0200
++++ gdb-7.6.1/gdb/memrange.c	2013-08-30 21:54:20.467368194 +0200
 @@ -21,8 +21,8 @@
  #include "memrange.h"
  
@@ -2671,10 +2671,10 @@ Index: gdb-7.5.50.20130215/gdb/memrange.c
  {
    ULONGEST h, l;
  
-Index: gdb-7.5.50.20130215/gdb/memrange.h
+Index: gdb-7.6.1/gdb/memrange.h
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/memrange.h	2013-01-01 07:32:47.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/memrange.h	2013-02-15 22:40:18.535622081 +0100
+--- gdb-7.6.1.orig/gdb/memrange.h	2013-08-30 21:54:18.751367544 +0200
++++ gdb-7.6.1/gdb/memrange.h	2013-08-30 21:54:20.467368194 +0200
 @@ -30,7 +30,7 @@ struct mem_range
    CORE_ADDR start;
  
@@ -2695,10 +2695,10 @@ Index: gdb-7.5.50.20130215/gdb/memrange.h
  
  /* Sort ranges by start address, then coalesce contiguous or
     overlapping ranges.  */
-Index: gdb-7.5.50.20130215/gdb/mips-linux-nat.c
+Index: gdb-7.6.1/gdb/mips-linux-nat.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/mips-linux-nat.c	2013-01-01 07:32:47.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/mips-linux-nat.c	2013-02-15 22:40:18.535622081 +0100
+--- gdb-7.6.1.orig/gdb/mips-linux-nat.c	2013-08-30 21:54:18.751367544 +0200
++++ gdb-7.6.1/gdb/mips-linux-nat.c	2013-08-30 21:54:20.467368194 +0200
 @@ -938,7 +938,7 @@ try_one_watch (struct pt_watch_regs *reg
     the specified region can be covered by the watch registers.  */
  
@@ -2708,10 +2708,10 @@ Index: gdb-7.5.50.20130215/gdb/mips-linux-nat.c
  {
    struct pt_watch_regs dummy_regs;
    int i;
-Index: gdb-7.5.50.20130215/gdb/opencl-lang.c
+Index: gdb-7.6.1/gdb/opencl-lang.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/opencl-lang.c	2013-01-25 18:16:40.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/opencl-lang.c	2013-02-15 22:40:18.535622081 +0100
+--- gdb-7.6.1.orig/gdb/opencl-lang.c	2013-08-30 21:54:18.752367544 +0200
++++ gdb-7.6.1/gdb/opencl-lang.c	2013-08-30 21:54:20.468368195 +0200
 @@ -80,11 +80,11 @@ builtin_opencl_type (struct gdbarch *gdb
  
  static struct type *
@@ -2838,10 +2838,10 @@ Index: gdb-7.5.50.20130215/gdb/opencl-lang.c
  
        if (!value_bits_synthetic_pointer (c->val,
  					 c->indices[i] * elsize + comp_offset,
-Index: gdb-7.5.50.20130215/gdb/p-lang.c
+Index: gdb-7.6.1/gdb/p-lang.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/p-lang.c	2013-01-07 17:40:36.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/p-lang.c	2013-02-15 22:40:18.535622081 +0100
+--- gdb-7.6.1.orig/gdb/p-lang.c	2013-08-30 21:54:18.752367544 +0200
++++ gdb-7.6.1/gdb/p-lang.c	2013-08-30 21:54:20.468368195 +0200
 @@ -95,8 +95,8 @@ pascal_main_name (void)
     are not multiple of TARGET_CHAR_BIT then the results are wrong
     but this does not happen for Free Pascal nor for GPC.  */
@@ -2889,10 +2889,10 @@ Index: gdb-7.5.50.20130215/gdb/p-lang.c
  	  i = rep1 - 1;
  	  things_printed += options->repeat_count_threshold;
  	  need_comma = 1;
-Index: gdb-7.5.50.20130215/gdb/p-lang.h
+Index: gdb-7.6.1/gdb/p-lang.h
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/p-lang.h	2013-01-01 07:32:47.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/p-lang.h	2013-02-15 22:40:18.535622081 +0100
+--- gdb-7.6.1.orig/gdb/p-lang.h	2013-08-30 21:54:18.752367544 +0200
++++ gdb-7.6.1/gdb/p-lang.h	2013-08-30 21:54:20.468368195 +0200
 @@ -35,7 +35,7 @@ extern void pascal_print_type (struct ty
  extern void pascal_print_typedef (struct type *, struct symbol *,
  				  struct ui_file *);
@@ -2927,10 +2927,10 @@ Index: gdb-7.5.50.20130215/gdb/p-lang.h
  					      CORE_ADDR, struct ui_file *,
  					      int,
  					      const struct value *,
-Index: gdb-7.5.50.20130215/gdb/p-valprint.c
+Index: gdb-7.6.1/gdb/p-valprint.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/p-valprint.c	2013-02-15 22:31:37.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/p-valprint.c	2013-02-15 22:40:18.536622084 +0100
+--- gdb-7.6.1.orig/gdb/p-valprint.c	2013-08-30 21:54:18.753367544 +0200
++++ gdb-7.6.1/gdb/p-valprint.c	2013-08-30 21:54:20.468368195 +0200
 @@ -58,7 +58,7 @@ static const struct generic_val_print_de
  
  void
@@ -2992,10 +2992,10 @@ Index: gdb-7.5.50.20130215/gdb/p-valprint.c
        volatile struct gdb_exception ex;
        int skip = 0;
  
-Index: gdb-7.5.50.20130215/gdb/ppc-linux-nat.c
+Index: gdb-7.6.1/gdb/ppc-linux-nat.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/ppc-linux-nat.c	2013-01-01 07:32:49.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/ppc-linux-nat.c	2013-02-15 22:40:18.536622084 +0100
+--- gdb-7.6.1.orig/gdb/ppc-linux-nat.c	2013-08-30 21:54:18.753367544 +0200
++++ gdb-7.6.1/gdb/ppc-linux-nat.c	2013-08-30 21:54:20.469368195 +0200
 @@ -1492,7 +1492,7 @@ ppc_linux_can_use_hw_breakpoint (int typ
  }
  
@@ -3005,10 +3005,10 @@ Index: gdb-7.5.50.20130215/gdb/ppc-linux-nat.c
  {
    /* Handle sub-8-byte quantities.  */
    if (len <= 0)
-Index: gdb-7.5.50.20130215/gdb/printcmd.c
+Index: gdb-7.6.1/gdb/printcmd.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/printcmd.c	2013-02-15 22:34:44.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/printcmd.c	2013-02-15 22:40:18.537622086 +0100
+--- gdb-7.6.1.orig/gdb/printcmd.c	2013-08-30 21:54:18.754367545 +0200
++++ gdb-7.6.1/gdb/printcmd.c	2013-08-30 21:54:20.469368195 +0200
 @@ -290,7 +290,7 @@ print_formatted (struct value *val, int
  		 struct ui_file *stream)
  {
@@ -3027,10 +3027,10 @@ Index: gdb-7.5.50.20130215/gdb/printcmd.c
    enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
  
    /* String printing should go through val_print_scalar_formatted.  */
-Index: gdb-7.5.50.20130215/gdb/procfs.c
+Index: gdb-7.6.1/gdb/procfs.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/procfs.c	2013-01-01 07:32:49.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/procfs.c	2013-02-15 22:40:18.537622086 +0100
+--- gdb-7.6.1.orig/gdb/procfs.c	2013-08-30 21:54:18.755367545 +0200
++++ gdb-7.6.1/gdb/procfs.c	2013-08-30 21:54:20.470368196 +0200
 @@ -4926,7 +4926,7 @@ procfs_remove_watchpoint (CORE_ADDR addr
  }
  
@@ -3040,10 +3040,10 @@ Index: gdb-7.5.50.20130215/gdb/procfs.c
  {
    /* The man page for proc(4) on Solaris 2.6 and up says that the
       system can support "thousands" of hardware watchpoints, but gives
-Index: gdb-7.5.50.20130215/gdb/python/py-prettyprint.c
+Index: gdb-7.6.1/gdb/python/py-prettyprint.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/python/py-prettyprint.c	2013-01-01 07:33:01.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/python/py-prettyprint.c	2013-02-15 22:40:18.538622088 +0100
+--- gdb-7.6.1.orig/gdb/python/py-prettyprint.c	2013-08-30 21:54:18.755367545 +0200
++++ gdb-7.6.1/gdb/python/py-prettyprint.c	2013-08-30 21:54:20.470368196 +0200
 @@ -689,7 +689,7 @@ print_children (PyObject *printer, const
  
  int
@@ -3062,10 +3062,10 @@ Index: gdb-7.5.50.20130215/gdb/python/py-prettyprint.c
  			  struct ui_file *stream, int recurse,
  			  const struct value *val,
  			  const struct value_print_options *options,
-Index: gdb-7.5.50.20130215/gdb/python/python.h
+Index: gdb-7.6.1/gdb/python/python.h
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/python/python.h	2013-02-15 22:31:37.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/python/python.h	2013-02-15 22:40:18.538622088 +0100
+--- gdb-7.6.1.orig/gdb/python/python.h	2013-08-30 21:54:18.755367545 +0200
++++ gdb-7.6.1/gdb/python/python.h	2013-08-30 21:54:20.470368196 +0200
 @@ -37,7 +37,7 @@ void source_python_script (FILE *file, c
  void run_python_script (int argc, char **argv);
  
@@ -3075,10 +3075,10 @@ Index: gdb-7.5.50.20130215/gdb/python/python.h
  			      struct ui_file *stream, int recurse,
  			      const struct value *val,
  			      const struct value_print_options *options,
-Index: gdb-7.5.50.20130215/gdb/regcache.c
+Index: gdb-7.6.1/gdb/regcache.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/regcache.c	2013-01-31 19:37:37.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/regcache.c	2013-02-15 22:40:18.538622088 +0100
+--- gdb-7.6.1.orig/gdb/regcache.c	2013-08-30 21:54:18.756367545 +0200
++++ gdb-7.6.1/gdb/regcache.c	2013-08-30 21:54:20.471368196 +0200
 @@ -899,7 +899,7 @@ typedef void (regcache_write_ftype) (str
  
  static enum register_status
@@ -3124,10 +3124,10 @@ Index: gdb-7.5.50.20130215/gdb/regcache.c
  {
    struct regcache_descr *descr = regcache->descr;
  
-Index: gdb-7.5.50.20130215/gdb/regcache.h
+Index: gdb-7.6.1/gdb/regcache.h
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/regcache.h	2013-01-01 07:32:49.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/regcache.h	2013-02-15 22:40:18.538622088 +0100
+--- gdb-7.6.1.orig/gdb/regcache.h	2013-08-30 21:54:18.756367545 +0200
++++ gdb-7.6.1/gdb/regcache.h	2013-08-30 21:54:20.471368196 +0200
 @@ -89,9 +89,9 @@ extern void regcache_raw_write_unsigned
  
  extern enum register_status
@@ -3155,11 +3155,11 @@ Index: gdb-7.5.50.20130215/gdb/regcache.h
  
  /* Special routines to read/write the PC.  */
  
-Index: gdb-7.5.50.20130215/gdb/remote.c
+Index: gdb-7.6.1/gdb/remote.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/remote.c	2013-02-15 22:34:44.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/remote.c	2013-02-15 22:40:18.540622092 +0100
-@@ -8236,7 +8236,7 @@ int remote_hw_watchpoint_length_limit =
+--- gdb-7.6.1.orig/gdb/remote.c	2013-08-30 21:54:18.758367546 +0200
++++ gdb-7.6.1/gdb/remote.c	2013-08-30 21:54:20.472368196 +0200
+@@ -8272,7 +8272,7 @@ int remote_hw_watchpoint_length_limit =
  int remote_hw_breakpoint_limit = -1;
  
  static int
@@ -3168,10 +3168,10 @@ Index: gdb-7.5.50.20130215/gdb/remote.c
  {
    if (remote_hw_watchpoint_length_limit == 0)
      return 0;
-Index: gdb-7.5.50.20130215/gdb/s390-nat.c
+Index: gdb-7.6.1/gdb/s390-nat.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/s390-nat.c	2013-01-01 07:32:50.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/s390-nat.c	2013-02-15 22:40:18.540622092 +0100
+--- gdb-7.6.1.orig/gdb/s390-nat.c	2013-08-30 21:54:18.759367547 +0200
++++ gdb-7.6.1/gdb/s390-nat.c	2013-08-30 21:54:20.473368197 +0200
 @@ -571,7 +571,7 @@ s390_can_use_hw_breakpoint (int type, in
  }
  
@@ -3181,10 +3181,10 @@ Index: gdb-7.5.50.20130215/gdb/s390-nat.c
  {
    return 1;
  }
-Index: gdb-7.5.50.20130215/gdb/spu-multiarch.c
+Index: gdb-7.6.1/gdb/spu-multiarch.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/spu-multiarch.c	2013-01-01 07:32:51.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/spu-multiarch.c	2013-02-15 22:40:18.540622092 +0100
+--- gdb-7.6.1.orig/gdb/spu-multiarch.c	2013-08-30 21:54:18.759367547 +0200
++++ gdb-7.6.1/gdb/spu-multiarch.c	2013-08-30 21:54:20.473368197 +0200
 @@ -118,7 +118,7 @@ spu_thread_architecture (struct target_o
  
  /* Override the to_region_ok_for_hw_watchpoint routine.  */
@@ -3194,11 +3194,11 @@ Index: gdb-7.5.50.20130215/gdb/spu-multiarch.c
  {
    struct target_ops *ops_beneath = find_target_beneath (&spu_ops);
    while (ops_beneath && !ops_beneath->to_region_ok_for_hw_watchpoint)
-Index: gdb-7.5.50.20130215/gdb/stack.c
+Index: gdb-7.6.1/gdb/stack.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/stack.c	2013-02-15 22:31:37.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/stack.c	2013-02-15 22:40:18.540622092 +0100
-@@ -173,7 +173,7 @@ print_stack_frame (struct frame_info *fr
+--- gdb-7.6.1.orig/gdb/stack.c	2013-08-30 21:54:18.759367547 +0200
++++ gdb-7.6.1/gdb/stack.c	2013-08-30 21:54:20.473368197 +0200
+@@ -174,7 +174,7 @@ print_stack_frame (struct frame_info *fr
     argument (not just the first nameless argument).  */
  
  static void
@@ -3207,7 +3207,7 @@ Index: gdb-7.5.50.20130215/gdb/stack.c
  			   int first, struct ui_file *stream)
  {
    struct gdbarch *gdbarch = get_frame_arch (frame);
-@@ -497,7 +497,7 @@ print_frame_args (struct symbol *func, s
+@@ -519,7 +519,7 @@ print_frame_args (struct symbol *func, s
    /* Offset of next stack argument beyond the one we have seen that is
       at the highest offset, or -1 if we haven't come to a stack
       argument yet.  */
@@ -3216,7 +3216,7 @@ Index: gdb-7.5.50.20130215/gdb/stack.c
    /* Number of ints of arguments that we have printed so far.  */
    int args_printed = 0;
    struct cleanup *old_chain;
-@@ -535,8 +535,8 @@ print_frame_args (struct symbol *func, s
+@@ -557,8 +557,8 @@ print_frame_args (struct symbol *func, s
  	    case LOC_ARG:
  	    case LOC_REF_ARG:
  	      {
@@ -3227,7 +3227,7 @@ Index: gdb-7.5.50.20130215/gdb/stack.c
  
  		/* Compute address of next argument by adding the size of
  		   this argument and rounding to an int boundary.  */
-@@ -671,7 +671,7 @@ print_frame_args (struct symbol *func, s
+@@ -693,7 +693,7 @@ print_frame_args (struct symbol *func, s
       enough about the stack to find them.  */
    if (num != -1)
      {
@@ -3236,10 +3236,10 @@ Index: gdb-7.5.50.20130215/gdb/stack.c
  
        if (highest_offset == -1)
  	start = gdbarch_frame_args_skip (get_frame_arch (frame));
-Index: gdb-7.5.50.20130215/gdb/symmisc.c
+Index: gdb-7.6.1/gdb/symmisc.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/symmisc.c	2013-02-15 22:34:44.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/symmisc.c	2013-02-15 22:40:18.541622094 +0100
+--- gdb-7.6.1.orig/gdb/symmisc.c	2013-08-30 21:54:18.760367547 +0200
++++ gdb-7.6.1/gdb/symmisc.c	2013-08-30 21:54:20.473368197 +0200
 @@ -527,11 +527,11 @@ print_symbol (void *args)
  
  	case LOC_CONST_BYTES:
@@ -3255,10 +3255,10 @@ Index: gdb-7.5.50.20130215/gdb/symmisc.c
  	    for (i = 0; i < TYPE_LENGTH (type); i++)
  	      fprintf_filtered (outfile, " %02x",
  				(unsigned) SYMBOL_VALUE_BYTES (symbol)[i]);
-Index: gdb-7.5.50.20130215/gdb/target.c
+Index: gdb-7.6.1/gdb/target.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/target.c	2013-01-31 17:32:44.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/target.c	2013-02-15 22:40:18.541622094 +0100
+--- gdb-7.6.1.orig/gdb/target.c	2013-08-30 21:54:18.761367547 +0200
++++ gdb-7.6.1/gdb/target.c	2013-08-30 21:54:20.474368197 +0200
 @@ -51,7 +51,7 @@ static void default_terminal_info (char
  static int default_watchpoint_addr_within_range (struct target_ops *,
  						 CORE_ADDR, CORE_ADDR, int);
@@ -3277,7 +3277,7 @@ Index: gdb-7.5.50.20130215/gdb/target.c
  
  static int debug_to_can_accel_watchpoint_condition (CORE_ADDR, int, int,
  						    struct expression *);
-@@ -3550,7 +3550,7 @@ target_fileio_read_stralloc (const char
+@@ -3577,7 +3577,7 @@ target_fileio_read_stralloc (const char
  
  
  static int
@@ -3286,7 +3286,7 @@ Index: gdb-7.5.50.20130215/gdb/target.c
  {
    return (len <= gdbarch_ptr_bit (target_gdbarch ()) / TARGET_CHAR_BIT);
  }
-@@ -4251,7 +4251,7 @@ debug_to_can_use_hw_breakpoint (int type
+@@ -4600,7 +4600,7 @@ debug_to_can_use_hw_breakpoint (int type
  }
  
  static int
@@ -3295,11 +3295,11 @@ Index: gdb-7.5.50.20130215/gdb/target.c
  {
    CORE_ADDR retval;
  
-Index: gdb-7.5.50.20130215/gdb/target.h
+Index: gdb-7.6.1/gdb/target.h
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/target.h	2013-02-15 22:37:30.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/target.h	2013-02-15 22:40:18.542622096 +0100
-@@ -482,7 +482,7 @@ struct target_ops
+--- gdb-7.6.1.orig/gdb/target.h	2013-08-30 21:54:18.761367547 +0200
++++ gdb-7.6.1/gdb/target.h	2013-08-30 21:54:20.475368197 +0200
+@@ -485,7 +485,7 @@ struct target_ops
  
      /* Documentation of this routine is provided with the corresponding
         target_* macro.  */
@@ -3308,11 +3308,11 @@ Index: gdb-7.5.50.20130215/gdb/target.h
  
      int (*to_can_accel_watchpoint_condition) (CORE_ADDR, int, int,
  					      struct expression *);
-Index: gdb-7.5.50.20130215/gdb/tracepoint.c
+Index: gdb-7.6.1/gdb/tracepoint.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/tracepoint.c	2013-02-14 11:19:39.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/tracepoint.c	2013-02-15 22:40:18.543622099 +0100
-@@ -955,13 +955,13 @@ add_register (struct collection_list *co
+--- gdb-7.6.1.orig/gdb/tracepoint.c	2013-08-30 21:54:18.763367548 +0200
++++ gdb-7.6.1/gdb/tracepoint.c	2013-08-30 21:54:20.475368197 +0200
+@@ -959,13 +959,13 @@ add_register (struct collection_list *co
  static void
  add_memrange (struct collection_list *memranges, 
  	      int type, bfd_signed_vma base,
@@ -3328,7 +3328,7 @@ Index: gdb-7.5.50.20130215/gdb/tracepoint.c
      }
  
    /* type: memrange_absolute == memory, other n == basereg */
-@@ -990,7 +990,7 @@ collect_symbol (struct collection_list *
+@@ -994,7 +994,7 @@ collect_symbol (struct collection_list *
  		long frame_regno, long frame_offset,
  		CORE_ADDR scope)
  {
@@ -3337,7 +3337,7 @@ Index: gdb-7.5.50.20130215/gdb/tracepoint.c
    unsigned int reg;
    bfd_signed_vma offset;
    int treat_as_expr = 0;
-@@ -1014,8 +1014,8 @@ collect_symbol (struct collection_list *
+@@ -1018,8 +1018,8 @@ collect_symbol (struct collection_list *
  	  char tmp[40];
  
  	  sprintf_vma (tmp, offset);
@@ -3348,7 +3348,7 @@ Index: gdb-7.5.50.20130215/gdb/tracepoint.c
  			   tmp /* address */);
  	}
        /* A struct may be a C++ class with static fields, go to general
-@@ -1047,8 +1047,8 @@ collect_symbol (struct collection_list *
+@@ -1051,8 +1051,8 @@ collect_symbol (struct collection_list *
        offset = frame_offset + SYMBOL_VALUE (sym);
        if (info_verbose)
  	{
@@ -3359,7 +3359,7 @@ Index: gdb-7.5.50.20130215/gdb/tracepoint.c
  	  printf_vma (offset);
  	  printf_filtered (" from frame ptr reg %d\n", reg);
  	}
-@@ -1059,8 +1059,8 @@ collect_symbol (struct collection_list *
+@@ -1063,8 +1063,8 @@ collect_symbol (struct collection_list *
        offset = 0;
        if (info_verbose)
  	{
@@ -3370,7 +3370,7 @@ Index: gdb-7.5.50.20130215/gdb/tracepoint.c
  	  printf_vma (offset);
  	  printf_filtered (" from reg %d\n", reg);
  	}
-@@ -1071,8 +1071,8 @@ collect_symbol (struct collection_list *
+@@ -1075,8 +1075,8 @@ collect_symbol (struct collection_list *
        offset = frame_offset + SYMBOL_VALUE (sym);
        if (info_verbose)
  	{
@@ -3381,7 +3381,7 @@ Index: gdb-7.5.50.20130215/gdb/tracepoint.c
  	  printf_vma (offset);
  	  printf_filtered (" from frame ptr reg %d\n", reg);
  	}
-@@ -2642,7 +2642,8 @@ scope_info (char *args, int from_tty)
+@@ -2657,7 +2657,8 @@ scope_info (char *args, int from_tty)
    const char *symname;
    char *save_args = args;
    struct block_iterator iter;
@@ -3391,7 +3391,7 @@ Index: gdb-7.5.50.20130215/gdb/tracepoint.c
    struct gdbarch *gdbarch;
    int regno;
  
-@@ -2772,8 +2773,11 @@ scope_info (char *args, int from_tty)
+@@ -2787,8 +2788,11 @@ scope_info (char *args, int from_tty)
  	      break;
  	    }
  	  if (SYMBOL_TYPE (sym))
@@ -3405,10 +3405,10 @@ Index: gdb-7.5.50.20130215/gdb/tracepoint.c
  	}
        if (BLOCK_FUNCTION (block))
  	break;
-Index: gdb-7.5.50.20130215/gdb/typeprint.c
+Index: gdb-7.6.1/gdb/typeprint.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/typeprint.c	2013-02-15 22:31:37.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/typeprint.c	2013-02-15 22:40:18.543622099 +0100
+--- gdb-7.6.1.orig/gdb/typeprint.c	2013-08-30 21:54:18.763367548 +0200
++++ gdb-7.6.1/gdb/typeprint.c	2013-08-30 21:54:20.476368198 +0200
 @@ -409,7 +409,7 @@ whatis_exp (char *exp, int show)
    struct type *real_type = NULL;
    struct type *type;
@@ -3418,10 +3418,10 @@ Index: gdb-7.5.50.20130215/gdb/typeprint.c
    int using_enc = 0;
    struct value_print_options opts;
    struct type_print_options flags = default_ptype_flags;
-Index: gdb-7.5.50.20130215/gdb/valarith.c
+Index: gdb-7.6.1/gdb/valarith.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/valarith.c	2013-02-15 22:31:37.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/valarith.c	2013-02-15 22:40:18.543622099 +0100
+--- gdb-7.6.1.orig/gdb/valarith.c	2013-08-30 21:54:18.764367548 +0200
++++ gdb-7.6.1/gdb/valarith.c	2013-08-30 21:54:20.476368198 +0200
 @@ -190,15 +190,15 @@ value_subscript (struct value *array, LO
     to doubles, but no longer does.  */
  
@@ -3475,10 +3475,10 @@ Index: gdb-7.5.50.20130215/gdb/valarith.c
  
    for (i = 0; i < len; i++)
      {
-Index: gdb-7.5.50.20130215/gdb/valops.c
+Index: gdb-7.6.1/gdb/valops.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/valops.c	2013-02-15 22:37:04.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/valops.c	2013-02-15 22:41:34.751715867 +0100
+--- gdb-7.6.1.orig/gdb/valops.c	2013-08-30 21:54:18.766367549 +0200
++++ gdb-7.6.1/gdb/valops.c	2013-08-30 21:54:20.477368198 +0200
 @@ -54,11 +54,11 @@ static int typecmp (int staticp, int var
  		    struct field t1[], struct value *t2[]);
  
@@ -3794,10 +3794,10 @@ Index: gdb-7.5.50.20130215/gdb/valops.c
    int using_enc = 0;
    struct value *new_val;
  
-Index: gdb-7.5.50.20130215/gdb/valprint.c
+Index: gdb-7.6.1/gdb/valprint.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/valprint.c	2013-02-15 22:31:37.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/valprint.c	2013-02-15 22:40:18.545622104 +0100
+--- gdb-7.6.1.orig/gdb/valprint.c	2013-08-30 21:54:18.767367550 +0200
++++ gdb-7.6.1/gdb/valprint.c	2013-08-30 21:54:20.477368198 +0200
 @@ -299,7 +299,7 @@ scalar_type_p (struct type *type)
  int
  valprint_check_validity (struct ui_file *stream,
@@ -3891,10 +3891,10 @@ Index: gdb-7.5.50.20130215/gdb/valprint.c
  		  const char *encoding, int force_ellipses,
  		  int quote_char, int c_style_terminator,
  		  const struct value_print_options *options)
-Index: gdb-7.5.50.20130215/gdb/valprint.h
+Index: gdb-7.6.1/gdb/valprint.h
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/valprint.h	2013-01-08 03:00:34.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/valprint.h	2013-02-15 22:40:18.545622104 +0100
+--- gdb-7.6.1.orig/gdb/valprint.h	2013-08-30 21:54:18.768367550 +0200
++++ gdb-7.6.1/gdb/valprint.h	2013-08-30 21:54:20.477368198 +0200
 @@ -113,11 +113,11 @@ extern void maybe_print_array_index (str
                                       struct ui_file *stream,
  				     const struct value_print_options *);
@@ -3945,10 +3945,10 @@ Index: gdb-7.5.50.20130215/gdb/valprint.h
  			      const char *encoding, int force_ellipses,
  			      int quote_char, int c_style_terminator,
  			      const struct value_print_options *options);
-Index: gdb-7.5.50.20130215/gdb/value.c
+Index: gdb-7.6.1/gdb/value.c
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/value.c	2013-02-15 22:37:04.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/value.c	2013-02-15 22:40:18.545622104 +0100
+--- gdb-7.6.1.orig/gdb/value.c	2013-08-30 21:54:18.770367551 +0200
++++ gdb-7.6.1/gdb/value.c	2013-08-30 21:54:20.478368199 +0200
 @@ -68,10 +68,10 @@ struct internal_function
  struct range
  {
@@ -4044,7 +4044,7 @@ Index: gdb-7.5.50.20130215/gdb/value.c
  {
    int idx1 = 0, idx2 = 0;
  
-@@ -768,13 +770,13 @@ deprecated_set_value_type (struct value
+@@ -766,13 +768,13 @@ deprecated_set_value_type (struct value
    value->type = type;
  }
  
@@ -4060,7 +4060,7 @@ Index: gdb-7.5.50.20130215/gdb/value.c
  {
    value->offset = offset;
  }
-@@ -928,8 +930,9 @@ value_contents_all (struct value *value)
+@@ -926,8 +928,9 @@ value_contents_all (struct value *value)
     DST_OFFSET+LENGTH) range are wholly available.  */
  
  void
@@ -4072,7 +4072,7 @@ Index: gdb-7.5.50.20130215/gdb/value.c
  {
    range_s *r;
    int i;
-@@ -977,8 +980,8 @@ value_contents_copy_raw (struct value *d
+@@ -975,8 +978,8 @@ value_contents_copy_raw (struct value *d
     DST_OFFSET+LENGTH) range are wholly available.  */
  
  void
@@ -4083,7 +4083,7 @@ Index: gdb-7.5.50.20130215/gdb/value.c
  {
    require_not_optimized_out (src);
  
-@@ -1072,7 +1075,7 @@ value_entirely_optimized_out (const stru
+@@ -1070,7 +1073,7 @@ value_entirely_optimized_out (const stru
  }
  
  int
@@ -4092,7 +4092,7 @@ Index: gdb-7.5.50.20130215/gdb/value.c
  {
    if (!value->optimized_out)
      return 1;
-@@ -1085,7 +1088,7 @@ value_bits_valid (const struct value *va
+@@ -1083,7 +1086,7 @@ value_bits_valid (const struct value *va
  
  int
  value_bits_synthetic_pointer (const struct value *value,
@@ -4101,7 +4101,7 @@ Index: gdb-7.5.50.20130215/gdb/value.c
  {
    if (value->lval != lval_computed
        || !value->location.computed.funcs->check_synthetic_pointer)
-@@ -1095,26 +1098,26 @@ value_bits_synthetic_pointer (const stru
+@@ -1093,26 +1096,26 @@ value_bits_synthetic_pointer (const stru
  								  length);
  }
  
@@ -4132,7 +4132,7 @@ Index: gdb-7.5.50.20130215/gdb/value.c
  {
    value->pointed_to_offset = val;
  }
-@@ -1969,7 +1972,7 @@ get_internalvar_function (struct interna
+@@ -1967,7 +1970,7 @@ get_internalvar_function (struct interna
  }
  
  void
@@ -4141,7 +4141,7 @@ Index: gdb-7.5.50.20130215/gdb/value.c
  			   int bitsize, struct value *newval)
  {
    gdb_byte *addr;
-@@ -2676,7 +2679,7 @@ set_value_enclosing_type (struct value *
+@@ -2674,7 +2677,7 @@ set_value_enclosing_type (struct value *
     FIELDNO says which field.  */
  
  struct value *
@@ -4150,7 +4150,7 @@ Index: gdb-7.5.50.20130215/gdb/value.c
  		       int fieldno, struct type *arg_type)
  {
    struct value *v;
-@@ -2706,7 +2709,7 @@ value_primitive_field (struct value *arg
+@@ -2704,7 +2707,7 @@ value_primitive_field (struct value *arg
  	 bit.  Assume that the address, offset, and embedded offset
  	 are sufficiently aligned.  */
  
@@ -4159,7 +4159,7 @@ Index: gdb-7.5.50.20130215/gdb/value.c
        int container_bitsize = TYPE_LENGTH (type) * 8;
  
        v = allocate_value_lazy (type);
-@@ -2729,7 +2732,7 @@ value_primitive_field (struct value *arg
+@@ -2727,7 +2730,7 @@ value_primitive_field (struct value *arg
        /* This field is actually a base subobject, so preserve the
  	 entire object's contents for later references to virtual
  	 bases, etc.  */
@@ -4168,7 +4168,7 @@ Index: gdb-7.5.50.20130215/gdb/value.c
  
        /* Lazy register values with offsets are not supported.  */
        if (VALUE_LVAL (arg1) == lval_register && value_lazy (arg1))
-@@ -2806,7 +2809,7 @@ value_field (struct value *arg1, int fie
+@@ -2804,7 +2807,7 @@ value_field (struct value *arg1, int fie
  struct value *
  value_fn_field (struct value **arg1p, struct fn_field *f,
  		int j, struct type *type,
@@ -4177,7 +4177,7 @@ Index: gdb-7.5.50.20130215/gdb/value.c
  {
    struct value *v;
    struct type *ftype = TYPE_FN_FIELD_TYPE (f, j);
-@@ -2866,8 +2869,8 @@ value_fn_field (struct value **arg1p, st
+@@ -2864,8 +2867,8 @@ value_fn_field (struct value **arg1p, st
  
  static int
  unpack_value_bits_as_long_1 (struct type *field_type, const gdb_byte *valaddr,
@@ -4188,7 +4188,7 @@ Index: gdb-7.5.50.20130215/gdb/value.c
  			     LONGEST *result)
  {
    enum bfd_endian byte_order = gdbarch_byte_order (get_type_arch (field_type));
-@@ -2875,7 +2878,7 @@ unpack_value_bits_as_long_1 (struct type
+@@ -2873,7 +2876,7 @@ unpack_value_bits_as_long_1 (struct type
    ULONGEST valmask;
    int lsbcount;
    int bytes_read;
@@ -4197,7 +4197,7 @@ Index: gdb-7.5.50.20130215/gdb/value.c
  
    /* Read the minimum number of bytes required; there may not be
       enough bytes to read an entire ULONGEST.  */
-@@ -2945,7 +2948,7 @@ unpack_value_bits_as_long_1 (struct type
+@@ -2943,7 +2946,7 @@ unpack_value_bits_as_long_1 (struct type
  
  int
  unpack_value_bits_as_long (struct type *field_type, const gdb_byte *valaddr,
@@ -4206,7 +4206,7 @@ Index: gdb-7.5.50.20130215/gdb/value.c
  			   const struct value *original_value,
  			   LONGEST *result)
  {
-@@ -2963,10 +2966,10 @@ unpack_value_bits_as_long (struct type *
+@@ -2961,10 +2964,10 @@ unpack_value_bits_as_long (struct type *
  
  static int
  unpack_value_field_as_long_1 (struct type *type, const gdb_byte *valaddr,
@@ -4219,7 +4219,7 @@ Index: gdb-7.5.50.20130215/gdb/value.c
    int bitsize = TYPE_FIELD_BITSIZE (type, fieldno);
    struct type *field_type = TYPE_FIELD_TYPE (type, fieldno);
  
-@@ -2982,7 +2985,7 @@ unpack_value_field_as_long_1 (struct typ
+@@ -2980,7 +2983,7 @@ unpack_value_field_as_long_1 (struct typ
  
  int
  unpack_value_field_as_long (struct type *type, const gdb_byte *valaddr,
@@ -4228,7 +4228,7 @@ Index: gdb-7.5.50.20130215/gdb/value.c
  			    const struct value *val, LONGEST *result)
  {
    gdb_assert (val != NULL);
-@@ -3014,7 +3017,7 @@ unpack_field_as_long (struct type *type,
+@@ -3012,7 +3015,7 @@ unpack_field_as_long (struct type *type,
  struct value *
  value_field_bitfield (struct type *type, int fieldno,
  		      const gdb_byte *valaddr,
@@ -4237,7 +4237,7 @@ Index: gdb-7.5.50.20130215/gdb/value.c
  {
    LONGEST l;
  
-@@ -3041,12 +3044,12 @@ value_field_bitfield (struct type *type,
+@@ -3039,12 +3042,12 @@ value_field_bitfield (struct type *type,
  
  void
  modify_field (struct type *type, gdb_byte *addr,
@@ -4252,10 +4252,10 @@ Index: gdb-7.5.50.20130215/gdb/value.c
  
    /* Normalize BITPOS.  */
    addr += bitpos / 8;
-Index: gdb-7.5.50.20130215/gdb/value.h
+Index: gdb-7.6.1/gdb/value.h
 ===================================================================
---- gdb-7.5.50.20130215.orig/gdb/value.h	2013-02-15 22:31:37.000000000 +0100
-+++ gdb-7.5.50.20130215/gdb/value.h	2013-02-15 22:40:18.546622106 +0100
+--- gdb-7.6.1.orig/gdb/value.h	2013-08-30 21:54:18.771367551 +0200
++++ gdb-7.6.1/gdb/value.h	2013-08-30 21:55:01.872384221 +0200
 @@ -82,8 +82,8 @@ extern void set_value_parent (struct val
     within the registers structure.  Note also the member
     embedded_offset below.  */
@@ -4353,9 +4353,9 @@ Index: gdb-7.5.50.20130215/gdb/value.h
       value_available_contents (val, 0, val, 0, len);
  
     Returns true iff the set of available contents match.  Unavailable
-@@ -465,9 +466,10 @@ extern void mark_value_bytes_unavailable
-    value_available_contents_eq(val, 3, val, 4, 4) => 0
- */
+@@ -470,9 +471,10 @@ extern void mark_value_bytes_unavailable
+    gone, it works with const values.  Therefore, this routine must not
+    be called with lazy values.  */
  
 -extern int value_available_contents_eq (const struct value *val1, int offset1,
 -					const struct value *val2, int offset2,
@@ -4367,7 +4367,7 @@ Index: gdb-7.5.50.20130215/gdb/value.h
  
  /* Read LENGTH bytes of memory starting at MEMADDR into BUFFER, which
     is (or will be copied to) VAL's contents buffer offset by
-@@ -476,7 +478,7 @@ extern int value_available_contents_eq (
+@@ -481,7 +483,7 @@ extern int value_available_contents_eq (
     memory is likewise unavailable.  STACK indicates whether the memory
     is known to be stack memory.  */
  
@@ -4376,7 +4376,7 @@ Index: gdb-7.5.50.20130215/gdb/value.h
  			       int stack, CORE_ADDR memaddr,
  			       gdb_byte *buffer, size_t length);
  
-@@ -510,7 +512,7 @@ extern CORE_ADDR unpack_pointer (struct
+@@ -515,7 +517,7 @@ extern CORE_ADDR unpack_pointer (struct
  
  extern int unpack_value_bits_as_long (struct type *field_type,
  				      const gdb_byte *valaddr,
@@ -4385,7 +4385,7 @@ Index: gdb-7.5.50.20130215/gdb/value.h
  				      int bitsize,
  				      const struct value *original_value,
  				      LONGEST *result);
-@@ -519,12 +521,12 @@ extern LONGEST unpack_field_as_long (str
+@@ -524,12 +526,12 @@ extern LONGEST unpack_field_as_long (str
  				     const gdb_byte *valaddr,
  				     int fieldno);
  extern int unpack_value_field_as_long (struct type *type, const gdb_byte *valaddr,
@@ -4400,7 +4400,7 @@ Index: gdb-7.5.50.20130215/gdb/value.h
  					   const struct value *val);
  
  extern void pack_long (gdb_byte *buf, struct type *type, LONGEST num);
-@@ -583,12 +585,12 @@ extern struct value *default_read_var_va
+@@ -588,12 +590,12 @@ extern struct value *default_read_var_va
  extern struct value *allocate_value (struct type *type);
  extern struct value *allocate_value_lazy (struct type *type);
  extern void allocate_value_contents (struct value *value);
@@ -4419,7 +4419,7 @@ Index: gdb-7.5.50.20130215/gdb/value.h
  
  extern struct value *allocate_repeat_value (struct type *type, int count);
  
-@@ -660,16 +662,16 @@ extern int find_overload_match (struct v
+@@ -665,16 +667,16 @@ extern int find_overload_match (struct v
  
  extern struct value *value_field (struct value *arg1, int fieldno);
  
@@ -4439,7 +4439,7 @@ Index: gdb-7.5.50.20130215/gdb/value.h
  
  extern struct value *value_cast_pointers (struct type *, struct value *, int);
  
-@@ -763,7 +765,7 @@ extern void set_internalvar_string (stru
+@@ -768,7 +770,7 @@ extern void set_internalvar_string (stru
  extern void clear_internalvar (struct internalvar *var);
  
  extern void set_internalvar_component (struct internalvar *var,
@@ -4448,7 +4448,7 @@ Index: gdb-7.5.50.20130215/gdb/value.h
  				       int bitpos, int bitsize,
  				       struct value *newvalue);
  
-@@ -845,7 +847,7 @@ extern struct value *value_x_unop (struc
+@@ -850,7 +852,7 @@ extern struct value *value_x_unop (struc
  				   enum noside noside);
  
  extern struct value *value_fn_field (struct value **arg1p, struct fn_field *f,
@@ -4457,7 +4457,7 @@ Index: gdb-7.5.50.20130215/gdb/value.h
  
  extern int binop_types_user_defined_p (enum exp_opcode op,
  				       struct type *type1,
-@@ -873,7 +875,8 @@ extern void release_value_or_incref (str
+@@ -878,7 +880,8 @@ extern void release_value_or_incref (str
  extern int record_latest_value (struct value *val);
  
  extern void modify_field (struct type *type, gdb_byte *addr,
@@ -4467,7 +4467,7 @@ Index: gdb-7.5.50.20130215/gdb/value.h
  
  extern void type_print (struct type *type, const char *varstring,
  			struct ui_file *stream, int show);
-@@ -903,7 +906,7 @@ extern void value_print_array_elements (
+@@ -908,7 +911,7 @@ extern void value_print_array_elements (
  extern struct value *value_release_to_mark (struct value *mark);
  
  extern void val_print (struct type *type, const gdb_byte *valaddr,
@@ -4476,7 +4476,7 @@ Index: gdb-7.5.50.20130215/gdb/value.h
  		       struct ui_file *stream, int recurse,
  		       const struct value *val,
  		       const struct value_print_options *options,
-@@ -952,10 +955,11 @@ extern struct value *value_literal_compl
+@@ -957,10 +960,11 @@ extern struct value *value_literal_compl
  extern struct value *find_function_in_inferior (const char *,
  						struct objfile **);
  
diff --git a/gdb-upstream.patch b/gdb-upstream.patch
index 5d7665c..29ff82c 100644
--- a/gdb-upstream.patch
+++ b/gdb-upstream.patch
@@ -1202,100 +1202,6 @@ http://sourceware.org/ml/gdb-cvs/2013-04/msg00070.html
 
 
 
-http://sourceware.org/bugzilla/show_bug.cgi?id=15413
-http://sourceware.org/ml/gdb-cvs/2013-05/msg00063.html
-
-### src/gdb/ChangeLog	2013/04/26 14:13:13	1.15260.2.50
-### src/gdb/ChangeLog	2013/05/07 17:04:56	1.15260.2.51
-## -1,3 +1,10 @@
-+2013-05-07  Sergio Durigan Junior  <sergiodj at redhat.com>
-+
-+	PR breakpoints/15413:
-+	* breakpoint.c (condition_completer): Simplify the code to
-+	disconsider multiple locations of breakpoints when completing the
-+	"condition" command.
-+
- 2013-04-26  Joel Brobecker  <brobecker at adacore.com>
- 
- 	* version.in: Set version to 7.6.0.20130426-cvs.
---- src/gdb/breakpoint.c	2013/04/25 08:15:34	1.745.2.5
-+++ src/gdb/breakpoint.c	2013/05/07 17:04:57	1.745.2.6
-@@ -1015,27 +1015,14 @@
-       len = strlen (text);
- 
-       ALL_BREAKPOINTS (b)
--      {
--	int single = b->loc->next == NULL;
--	struct bp_location *loc;
--	int count = 1;
--
--	for (loc = b->loc; loc; loc = loc->next)
--	  {
--	    char location[50];
--
--	    if (single)
--	      xsnprintf (location, sizeof (location), "%d", b->number);
--	    else
--	      xsnprintf (location, sizeof (location),  "%d.%d", b->number,
--			 count);
-+	{
-+	  char number[50];
- 
--	    if (strncmp (location, text, len) == 0)
--	      VEC_safe_push (char_ptr, result, xstrdup (location));
-+	  xsnprintf (number, sizeof (number), "%d", b->number);
- 
--	    ++count;
--	  }
--      }
-+	  if (strncmp (number, text, len) == 0)
-+	    VEC_safe_push (char_ptr, result, xstrdup (number));
-+	}
- 
-       return result;
-     }
-### src/gdb/testsuite/ChangeLog	2013/05/03 16:26:32	1.3580.2.20
-### src/gdb/testsuite/ChangeLog	2013/05/07 17:04:57	1.3580.2.21
-## -1,3 +1,11 @@
-+2013-05-07  Sergio Durigan Junior  <sergiodj at redhat.com>
-+
-+	PR breakpoints/15413:
-+	* gdb.base/pending.exp: Add test for completion of the "condition"
-+	command for pending breakpoints.
-+	* gdb.linespec/linespec.ex: Add test for completion of the
-+	"condition" command when dealing with multiple locations.
-+
- 2013-05-03  Hafiz Abid Qadeer  <abidh at codesourcery.com>
- 
- 	* status-stop.exp (test_tstart_tstart): Check for error
---- src/gdb/testsuite/gdb.base/pending.exp	2013/01/01 06:33:26	1.27
-+++ src/gdb/testsuite/gdb.base/pending.exp	2013/05/07 17:04:57	1.27.2.1
-@@ -55,6 +55,9 @@
-      }
- }
- 
-+# Complete the condition (PR 15413).
-+gdb_test "complete condition " "condition 1"
-+
- gdb_test "info break" \
-     "Num     Type\[ \]+Disp Enb Address\[ \]+What.*
- \[0-9\]+\[\t \]+breakpoint     keep y.*PENDING.*pendfunc1.*" \
---- src/gdb/testsuite/gdb.linespec/linespec.exp	2013/01/01 06:41:24	1.6
-+++ src/gdb/testsuite/gdb.linespec/linespec.exp	2013/05/07 17:04:57	1.6.2.1
-@@ -63,6 +63,10 @@
-     "Breakpoint $decimal at $hex: dupname:label. \[(\]2 locations\[)\]" \
-     "multi-location break using duplicate function name and label"
- 
-+# Testing if the "condition" command completes only the breakpoints,
-+# not the locations.
-+gdb_test "complete condition " "condition $decimal\r\ncondition $decimal\r\ncondition $decimal"
-+
- gdb_test_no_output "set breakpoint pending off" \
-     "disable pending breakpoints for linespec tests"
- 
-
-
-
 https://bugzilla.redhat.com/show_bug.cgi?id=967915
 http://sourceware.org/ml/gdb-cvs/2013-05/msg00146.html
 
diff --git a/gdb.spec b/gdb.spec
index 96f391f..a1880cc 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -32,11 +32,11 @@ Name: %{?scl_prefix}gdb
 %global snapsrc    20130312
 # See timestamp of source gnulib installed into gdb/gnulib/ .
 %global snapgnulib 20121213
-Version: 7.6
+Version: 7.6.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.
-Release: 37%{?dist}
+Release: 38%{?dist}
 
 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and BSD and Public Domain
 Group: Development/Debuggers
@@ -578,11 +578,6 @@ Patch834: gdb-vdso-gcore.patch
 #=drop
 Patch835: gdb-psymtab-expand.patch
 
-# Fix C++ lookups performance regression (Doug Evans, BZ 972677).
-#=drop
-Patch838: gdb-cxx-performance-1of2.patch
-Patch839: gdb-cxx-performance-2of2.patch
-
 # Fix crash on 'enable count' (Simon Marchi, BZ 993118).
 Patch843: gdb-enable-count-crash.patch
 
@@ -909,8 +904,6 @@ find -name "*.info*"|xargs rm -f
 %patch832 -p1
 %patch834 -p1
 %patch835 -p1
-%patch838 -p1
-%patch839 -p1
 %patch843 -p1
 
 %patch836 -p1
@@ -1440,6 +1433,9 @@ fi
 %endif # 0%{!?el5:1} || "%{_target_cpu}" == "noarch"
 
 %changelog
+* Fri Aug 30 2013 Jan Kratochvil <jan.kratochvil at redhat.com> - 7.6.1-38.fc19
+- Rebase to FSF GDB 7.6.1.
+
 * Fri Aug 30 2013 Jan Kratochvil <jan.kratochvil at redhat.com> - 7.6-37.fc19
 - Fix false warnings of new %%pre during future upgrades (BZ 999645).
 
diff --git a/sources b/sources
index 1f9fa5b..257d294 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
 4981307aa9619bbec5b73261e4e41c8d  gdb-libstdc++-v3-python-r155978.tar.bz2
-fda57170e4d11cdde74259ca575412a8  gdb-7.6.tar.bz2
+fbc4dab4181e6e9937075b43a4ce2732  gdb-7.6.1.tar.bz2


More information about the scm-commits mailing list