public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-jankratochvil-fedora14: Merge remote branch 'origin/gdb_7_2-branch' into archer-jankratochvil-fedora14
@ 2010-07-20 18:54 jkratoch
  0 siblings, 0 replies; 2+ messages in thread
From: jkratoch @ 2010-07-20 18:54 UTC (permalink / raw)
  To: archer-commits

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 21006 bytes --]

The branch, archer-jankratochvil-fedora14 has been updated
       via  0bc9a93725d7a7bcf1e30f072a12cc5186e41dc2 (commit)
       via  7d3d6fa3fe2c56d2120482a0fc75011356aa2e99 (commit)
       via  8a8516b974085aa6772d522eb7d083b85373abe1 (commit)
       via  6992bfc4887afcffeb3a318a2d675a9ba38f600f (commit)
       via  f30a31eba26b27820384e82f0a2cd76427faf270 (commit)
       via  ffeb7030b0fce8df97c813e9b9ef8ec30b54bdfa (commit)
       via  1e384c02c910e604e2408a9a31fd738119f7397c (commit)
       via  0f72eb8318d5a61dc6a8761f49ea807b5e54c937 (commit)
       via  fde73799ef7cd32d009baa3e69984ff6f4158447 (commit)
       via  4e2a8b7c36956278c9cb84f6772d0eed5b9f27ac (commit)
       via  bb2d6379788153d6daae6637559628da356630f9 (commit)
       via  7fe8d7d81666ee33ea2fe03ca8190af3043be5cc (commit)
       via  01d3912c64acdbe488c4c5120f159ed7d8b8510f (commit)
       via  29ec463a09b028e75f1a84899129f7ff8da960a1 (commit)
       via  c1ee5e857e351607cc67cb257b808ee0d973e907 (commit)
       via  931b248c03254bd5ff95072dc6756585ca795ec8 (commit)
       via  2856622c0bd239f3de2b8239012ae61450b42b50 (commit)
       via  20f684fd4a26f1e371807802ea5cd59a0589349c (commit)
       via  6012d876f64c93d4bf2df2d61e76c3ad176d235a (commit)
       via  ce69941a7f705d9dd45bec8bf5503ca0d2e2d3ee (commit)
       via  d9ec7da91c5e99055dc5199b501f22433bd0a125 (commit)
       via  dcdf13adcaf8e52ec8d8863499629434298b67c5 (commit)
       via  63386bc824c89b53b0f7fd80ef8f45020c5b6e54 (commit)
       via  3c297a5317917f44a0a3c8d7b33a76272df23fe3 (commit)
       via  b0d50490ad49c6a33e5ca0a2e3116fd20e2f21eb (commit)
       via  0ef7c2c76c4d9c1b16eef3b049e3ee0fee0094bf (commit)
       via  a02d7b53e89a99f1278e01b461216ccc38a9dec7 (commit)
      from  fb624da4134d39abb16cf4d90507f8e12a88c19b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 0bc9a93725d7a7bcf1e30f072a12cc5186e41dc2
Merge: fb624da4134d39abb16cf4d90507f8e12a88c19b 7d3d6fa3fe2c56d2120482a0fc75011356aa2e99
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Jul 20 20:54:10 2010 +0200

    Merge remote branch 'origin/gdb_7_2-branch' into archer-jankratochvil-fedora14
    
    Conflicts:
    	gdb/dwarf2loc.c

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog                               |   53 +++++++++++++++++++++++++++
 gdb/NEWS                                    |   15 ++++++++
 gdb/c-valprint.c                            |    3 +-
 gdb/configure                               |    5 ---
 gdb/configure.ac                            |    5 ---
 gdb/doc/ChangeLog                           |    4 ++
 gdb/doc/gdb.texinfo                         |    2 +-
 gdb/dwarf2loc.c                             |   17 +++------
 gdb/dwarf2loc.h                             |   10 +++++-
 gdb/dwarf2read.c                            |   17 ++++++++-
 gdb/python/py-prettyprint.c                 |    8 +++--
 gdb/source.c                                |    6 ++-
 gdb/testsuite/ChangeLog                     |   12 ++++++
 gdb/testsuite/gdb.base/default.exp          |   13 ++++++-
 gdb/testsuite/gdb.python/py-prettyprint.c   |   11 ++++++
 gdb/testsuite/gdb.python/py-prettyprint.exp |    2 +
 gdb/testsuite/lib/gdb.exp                   |   53 +++++++++++++++++++++++++++
 gdb/version.in                              |    2 +-
 18 files changed, 205 insertions(+), 33 deletions(-)

First 500 lines of diff:
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 64eef43..1fbf5f8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,46 @@
+2010-07-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+	* NEWS: Mention support for the new ptrace interface and hardware
+	accelerated watchpoint conditions on powerpc-linux.
+
+2010-07-13  Emmanuel Thomé  <Emmanuel.Thome@gmail.com>
+
+	* c-valprint.c (c_val_print): Add embedded_offset to address in
+	call to val_print_array_elements.
+
+2010-07-13  Tom Tromey  <tromey@redhat.com>
+
+	* dwarf2loc.h (dwarf2_per_cu_text_offset): Declare.
+	* dwarf2loc.c (find_location_expression): Use
+	dwarf2_per_cu_text_offset.
+	(dwarf2_evaluate_loc_desc): Likewise.
+	(dwarf2_loc_desc_needs_frame): Likewise.
+	(compile_dwarf_to_ax): Likewise.
+	(loclist_describe_location): Likewise.
+	* dwarf2read.c (dwarf2_per_cu_text_offset): New function.
+	(dwarf2_per_cu_objfile): Update comment.
+
+2010-07-09  Tom Tromey  <tromey@redhat.com>
+
+	* python/py-prettyprint.c (gdbpy_get_display_hint): Don't use
+	'hint' if it is NULL.
+
+2010-07-09  Hui Zhu  <teawater@gmail.com>
+
+	* source.c (print_source_lines_base): Add check for noprint.
+
+2010-07-07  Joel Brobecker  <brobecker@adacore.com>
+
+	* version.in: Set version to 7.1.90.20100707-cvs.
+
+2010-07-07  Joel Brobecker  <brobecker@adacore.com>
+
+	GDB 7.1.90 released.
+
+2010-07-07  Joel Brobecker  <brobecker@adacore.com>
+
+	* version.in: Update GDB version number to 7.1.90.
+
 2010-07-07  Tom Tromey  <tromey@redhat.com>
 
 	* dwarf2read.c (dwarf2_const_value) <DW_form_addr>: Create a
@@ -16,6 +59,16 @@
 	(dwarf2_frame_base_sniffer): Update.
 	(dwarf2_frame_find_fde): Add 'out_offset' argument.
 
+2010-07-07  Joel Brobecker  <brobecker@adacore.com>
+
+	* configure.ac: Disable -Werror by default.
+	* configure: Regenerate.
+
+2010-07-07  Joel Brobecker  <brobecker@adacore.com>
+
+	GDB 7.2 branch created (branch timestamp: 2010-07-07 17:00 UTC)
+	* version.in: Bump version to 7.1.90.20100707-cvs.
+
 2010-07-07  Sergio Durigan Junior  <sergiodj@linux.vnet.ibm.com>
 	    Thiago Jung Bauermann  <bauerman@br.ibm.com>
 
diff --git a/gdb/NEWS b/gdb/NEWS
index 77c55de..d3704b7 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -221,6 +221,21 @@ ARM Symbian			arm*-*-symbianelf*
   GDB now supports debugging programs written in the D programming
   language.
 
+* GDB now supports the extended ptrace interface for PowerPC which is
+  available since Linux kernel version 2.6.34.  This automatically enables
+  any hardware breakpoints and additional hardware watchpoints available in
+  the processor.  The old ptrace interface exposes just one hardware
+  watchpoint and no hardware breakpoints.
+
+* GDB is now able to use the Data Value Compare (DVC) register available on
+  embedded PowerPC processors to implement in hardware simple watchpoint
+  conditions of the form:
+
+  watch ADDRESS|VARIABLE if ADDRESS|VARIABLE == CONSTANT EXPRESSION
+
+  This works in native GDB running on Linux kernels with the extended ptrace
+  interface mentioned above.
+
 *** Changes in GDB 7.1
 
 * C++ Improvements
diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c
index 4e5a95f..f0895a4 100644
--- a/gdb/c-valprint.c
+++ b/gdb/c-valprint.c
@@ -222,7 +222,8 @@ c_val_print (struct type *type, const gdb_byte *valaddr, int embedded_offset,
 		{
 		  i = 0;
 		}
-	      val_print_array_elements (type, valaddr + embedded_offset, address, stream,
+	      val_print_array_elements (type, valaddr + embedded_offset,
+					address + embedded_offset, stream,
 					recurse, original_value, options, i);
 	      fprintf_filtered (stream, "}");
 	    }
diff --git a/gdb/configure b/gdb/configure
index 174c186..94eb9b9 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -14741,11 +14741,6 @@ if test "${enable_werror+set}" = set; then :
 fi
 
 
-# Enable -Werror by default when using gcc
-if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
-    ERROR_ON_WARNING=yes
-fi
-
 WERROR_CFLAGS=""
 if test "${ERROR_ON_WARNING}" = yes ; then
     WERROR_CFLAGS="-Werror"
diff --git a/gdb/configure.ac b/gdb/configure.ac
index bfe1803..9300544 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -1711,11 +1711,6 @@ AC_ARG_ENABLE(werror,
      *) AC_MSG_ERROR(bad value ${enableval} for --enable-werror) ;;
    esac])
 
-# Enable -Werror by default when using gcc
-if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
-    ERROR_ON_WARNING=yes
-fi
-
 WERROR_CFLAGS=""
 if test "${ERROR_ON_WARNING}" = yes ; then
     WERROR_CFLAGS="-Werror"
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 240ba89..04f1683 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2010-07-13  Tom Tromey  <tromey@redhat.com>
+
+	* gdb.texinfo (GDB/MI Variable Objects): Remove extra 'for'.
+
 2010-07-01  Pedro Alves  <pedro@codesourcery.com>
 
 	* gdb.texinfo (Create and Delete Tracepoints): Add more index
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 7abb9ed..1297175 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -26386,7 +26386,7 @@ be available.
 
 Return a list of the children of the specified variable object and
 create variable objects for them, if they do not already exist.  With
-a single argument or if @var{print-values} has a value for of 0 or
+a single argument or if @var{print-values} has a value of 0 or
 @code{--no-values}, print only the names of the variables; if
 @var{print-values} is 1 or @code{--all-values}, also print their
 values; and if it is 2 or @code{--simple-values} print the name and
diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c
index 9ece9fc..be74412 100644
--- a/gdb/dwarf2loc.c
+++ b/gdb/dwarf2loc.c
@@ -76,8 +76,7 @@ find_location_expression (struct dwarf2_loclist_baton *baton,
   int signed_addr_p = bfd_get_sign_extend_vma (objfile->obfd);
   CORE_ADDR base_mask = ~(~(CORE_ADDR)1 << (addr_size * 8 - 1));
   /* Adjust base_address for relocatable objects.  */
-  CORE_ADDR base_offset = ANOFFSET (objfile->section_offsets,
-				    SECT_OFF_TEXT (objfile));
+  CORE_ADDR base_offset = dwarf2_per_cu_text_offset (baton->per_cu);
   CORE_ADDR base_address = baton->base_address + base_offset;
 
   loc_ptr = baton->data;
@@ -355,7 +354,7 @@ dwarf_expr_prep_ctx (struct frame_info *frame, const gdb_byte *data,
 
   ctx->gdbarch = get_objfile_arch (objfile);
   ctx->addr_size = dwarf2_per_cu_addr_size (per_cu);
-  ctx->offset = ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile));
+  ctx->offset = dwarf2_per_cu_text_offset (per_cu);
   ctx->baton = &baton;
   ctx->read_reg = dwarf_expr_read_reg;
   ctx->read_mem = dwarf_expr_read_mem;
@@ -1253,7 +1252,7 @@ dwarf2_loc_desc_needs_frame (const gdb_byte *data, unsigned short size,
 
   ctx->gdbarch = get_objfile_arch (objfile);
   ctx->addr_size = dwarf2_per_cu_addr_size (per_cu);
-  ctx->offset = ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile));
+  ctx->offset = dwarf2_per_cu_text_offset (per_cu);
   ctx->baton = &baton;
   ctx->read_reg = needs_frame_read_reg;
   ctx->read_mem = needs_frame_read_mem;
@@ -1462,12 +1461,7 @@ compile_dwarf_to_ax (struct agent_expr *expr, struct axs_value *loc,
 	     index, not an address.  We don't support things like
 	     branching between the address and the TLS op.  */
 	  if (op_ptr >= op_end || *op_ptr != DW_OP_GNU_push_tls_address)
-	    {
-	      struct objfile *objfile = dwarf2_per_cu_objfile (per_cu);
-
-	      uoffset += ANOFFSET (objfile->section_offsets,
-				   SECT_OFF_TEXT (objfile));
-	    }
+	    uoffset += dwarf2_per_cu_text_offset (per_cu);
 	  ax_const_l (expr, uoffset);
 	  break;
 
@@ -2669,8 +2663,7 @@ loclist_describe_location (struct symbol *symbol, CORE_ADDR addr,
   int signed_addr_p = bfd_get_sign_extend_vma (objfile->obfd);
   CORE_ADDR base_mask = ~(~(CORE_ADDR)1 << (addr_size * 8 - 1));
   /* Adjust base_address for relocatable objects.  */
-  CORE_ADDR base_offset = ANOFFSET (objfile->section_offsets,
-				    SECT_OFF_TEXT (objfile));
+  CORE_ADDR base_offset = dwarf2_per_cu_text_offset (dlbaton->per_cu);
   CORE_ADDR base_address = dlbaton->base_address + base_offset;
 
   loc_ptr = dlbaton->data;
diff --git a/gdb/dwarf2loc.h b/gdb/dwarf2loc.h
index 943f858..1e7d8dc 100644
--- a/gdb/dwarf2loc.h
+++ b/gdb/dwarf2loc.h
@@ -28,7 +28,9 @@ struct dwarf2_per_cu_data;
 /* This header is private to the DWARF-2 reader.  It is shared between
    dwarf2read.c and dwarf2loc.c.  */
 
-/* Return the OBJFILE associated with the compilation unit CU.  */
+/* Return the OBJFILE associated with the compilation unit CU.  If CU
+   came from a separate debuginfo file, then the master objfile is
+   returned.  */
 struct objfile *dwarf2_per_cu_objfile (struct dwarf2_per_cu_data *cu);
 
 /* Return the address size given in the compilation unit header for CU.  */
@@ -37,6 +39,12 @@ CORE_ADDR dwarf2_per_cu_addr_size (struct dwarf2_per_cu_data *cu);
 /* Return the offset size given in the compilation unit header for CU.  */
 int dwarf2_per_cu_offset_size (struct dwarf2_per_cu_data *cu);
 
+/* Return the text offset of the CU.  The returned offset comes from
+   this CU's objfile.  If this objfile came from a separate debuginfo
+   file, then the offset may be different from the corresponding
+   offset in the parent objfile.  */
+CORE_ADDR dwarf2_per_cu_text_offset (struct dwarf2_per_cu_data *cu);
+
 struct dwarf2_locexpr_baton dwarf2_fetch_die_location_block
   (unsigned int offset, struct dwarf2_per_cu_data *per_cu);
 
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 928375b..ec31cf1 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -12297,7 +12297,9 @@ dwarf2_symbol_mark_computed (struct attribute *attr, struct symbol *sym,
     }
 }
 
-/* Return the OBJFILE associated with the compilation unit CU.  */
+/* Return the OBJFILE associated with the compilation unit CU.  If CU
+   came from a separate debuginfo file, then the master objfile is
+   returned.  */
 
 struct objfile *
 dwarf2_per_cu_objfile (struct dwarf2_per_cu_data *per_cu)
@@ -12356,6 +12358,19 @@ dwarf2_per_cu_offset_size (struct dwarf2_per_cu_data *per_cu)
     }
 }
 
+/* Return the text offset of the CU.  The returned offset comes from
+   this CU's objfile.  If this objfile came from a separate debuginfo
+   file, then the offset may be different from the corresponding
+   offset in the parent objfile.  */
+
+CORE_ADDR
+dwarf2_per_cu_text_offset (struct dwarf2_per_cu_data *per_cu)
+{
+  struct objfile *objfile = per_cu->psymtab->objfile;
+
+  return ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile));
+}
+
 /* Locate the .debug_info compilation unit from CU's objfile which contains
    the DIE at OFFSET.  Raises an error on failure.  */
 
diff --git a/gdb/python/py-prettyprint.c b/gdb/python/py-prettyprint.c
index 9a205b4..434c8a5 100644
--- a/gdb/python/py-prettyprint.c
+++ b/gdb/python/py-prettyprint.c
@@ -229,10 +229,12 @@ gdbpy_get_display_hint (PyObject *printer)
     return NULL;
 
   hint = PyObject_CallMethodObjArgs (printer, gdbpy_display_hint_cst, NULL);
-  if (gdbpy_is_string (hint))
-    result = python_string_to_host_string (hint);
   if (hint)
-    Py_DECREF (hint);
+    {
+      if (gdbpy_is_string (hint))
+	result = python_string_to_host_string (hint);
+      Py_DECREF (hint);
+    }
   else
     gdbpy_print_stack ();
 
diff --git a/gdb/source.c b/gdb/source.c
index 39bd06a..3e89672 100644
--- a/gdb/source.c
+++ b/gdb/source.c
@@ -1293,6 +1293,7 @@ print_source_lines_base (struct symtab *s, int line, int stopline, int noerror)
 {
   int c;
   int desc;
+  int noprint = 0;
   FILE *stream;
   int nlines = stopline - line;
   struct cleanup *cleanup;
@@ -1319,11 +1320,12 @@ print_source_lines_base (struct symtab *s, int line, int stopline, int noerror)
     }
   else
     {
-      desc = -1;
+      desc = last_source_error;
       noerror = 1;
+      noprint = 1;
     }
 
-  if (desc < 0)
+  if (desc < 0 || noprint)
     {
       last_source_error = desc;
 
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index f1b58b4..11e689f 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,15 @@
+2010-07-13  Tom Tromey  <tromey@redhat.com>
+
+	* gdb.python/py-prettyprint.c (struct arraystruct): New struct.
+	(main): Use it.
+	* gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
+
+2010-07-08  Doug Evans  <dje@google.com>
+
+	* lib/gdb.exp (gdb_test_list_exact): New function.
+	* gdb.base/default.exp (show convenience): Call it, add tests for
+	$_sdata = void, $_thread = 0.
+
 2010-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
 	    Joel Brobecker  <brobecker@adacore.com>
 
diff --git a/gdb/testsuite/gdb.base/default.exp b/gdb/testsuite/gdb.base/default.exp
index 283745a..64d4c9d 100644
--- a/gdb/testsuite/gdb.base/default.exp
+++ b/gdb/testsuite/gdb.base/default.exp
@@ -567,8 +567,19 @@ gdb_test "show commands" ".*" "show commands"
 gdb_test "show complaints" "Max number of complaints about incorrect symbols is 0." "show complaints"
 #test show confirm
 gdb_test "show confirm" "Whether to confirm potentially dangerous operations is o\[a-z\]*." "show confirm"
+
 #test show convenience
-gdb_test "show convenience" "\\\$_siginfo = void" "show convenience"
+# This is tricker as there are multiple internal convenience vars and we
+# can't assume any particular order.
+gdb_test_list_exact "show convenience" "show convenience" \
+    {[^\r\n]+[\r\n]+} \
+    {[^\r\n]+} \
+    { \
+	{$_sdata = void} \
+	{$_siginfo = void} \
+	{$_thread = 0} \
+    }
+
 #test show directories
 gdb_test "show directories" "Source directories searched: .cdir\[:;\].cwd" "show directories"
 #test show editing
diff --git a/gdb/testsuite/gdb.python/py-prettyprint.c b/gdb/testsuite/gdb.python/py-prettyprint.c
index f461bb1..66a9014 100644
--- a/gdb/testsuite/gdb.python/py-prettyprint.c
+++ b/gdb/testsuite/gdb.python/py-prettyprint.c
@@ -29,6 +29,12 @@ struct ss
   struct s b;
 };
 
+struct arraystruct
+{
+  int y;
+  struct s x[2];
+};
+
 struct ns {
   const char *null_str;
   int length;
@@ -199,6 +205,7 @@ main ()
 {
   struct ss  ss;
   struct ss  ssa[2];
+  struct arraystruct arraystruct;
   string x = make_string ("this is x");
   zzz_type c = make_container ("container");
   zzz_type c2 = make_container ("container2");
@@ -214,6 +221,10 @@ main ()
   init_ss(ssa+1, 5, 6);
   memset (&nullstr, 0, sizeof nullstr);
 
+  arraystruct.y = 7;
+  init_s (&arraystruct.x[0], 23);
+  init_s (&arraystruct.x[1], 24);
+
   struct ns  ns;
   ns.null_str = "embedded\0null\0string";
   ns.length = 20;
diff --git a/gdb/testsuite/gdb.python/py-prettyprint.exp b/gdb/testsuite/gdb.python/py-prettyprint.exp
index f435fb7..3b2aadd 100644
--- a/gdb/testsuite/gdb.python/py-prettyprint.exp
+++ b/gdb/testsuite/gdb.python/py-prettyprint.exp
@@ -76,6 +76,8 @@ proc run_lang_tests {lang} {
     gdb_test "print ssa\[1\]" " = a=< a=<5> b=<$hex>> b=< a=<6> b=<$hex>>"
     gdb_test "print ssa" " = {a=< a=<3> b=<$hex>> b=< a=<4> b=<$hex>>, a=< a=<5> b=<$hex>> b=< a=<6> b=<$hex>>}"
     
+    gdb_test "print arraystruct" " = {$nl *y = 7, *$nl *x = { a=<23> b=<$hex>,  a=<24> b=<$hex>} *$nl *}"
+
     if {$lang == "c++"} {
 	gdb_test "print cps" "=  a=<8> b=<$hex>"
 	gdb_test "print cpss" " = {$nl *zss = 9, *$nl *s =  a=<10> b=<$hex>$nl}"
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index d702dee..b5b3362 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -1036,6 +1036,59 @@ proc gdb_test_exact { args } {
 
     return [gdb_test $command $pattern $message]
 }
+
+# Wrapper around gdb_test_multiple that looks for a list of expected
+# output elements, but which can appear in any order.
+# CMD is the gdb command.
+# NAME is the name of the test.
+# ELM_FIND_REGEXP specifies how to partition the output into elements to
+# compare.
+# ELM_EXTRACT_REGEXP specifies the part of ELM_FIND_REGEXP to compare.
+# RESULT_MATCH_LIST is a list of exact matches for each expected element.
+# All elements of RESULT_MATCH_LIST must appear for the test to pass.
+#
+# A typical use of ELM_FIND_REGEXP/ELM_EXTRACT_REGEXP is to extract one line
+# of text per element and then strip trailing \r\n's.
+# Example:
+# gdb_test_list_exact "foo" "bar" \
+#     {[^\r\n]+[\r\n]+} \
+#     {[^\r\n]+} \
+#     { \
+#	{expected result 1} \
+#	{expected result 2} \
+#     }
+
+proc gdb_test_list_exact { cmd name elm_find_regexp elm_extract_regexp result_match_list } {
+    global gdb_prompt
+
+    set matches [lsort $result_match_list]
+    set seen {}
+    gdb_test_multiple $cmd $name {
+	"$cmd\[\r\n\]" { exp_continue }
+	-re $elm_find_regexp {
+	    set str $expect_out(0,string)
+	    verbose -log "seen: $str" 3
+	    regexp -- $elm_extract_regexp $str elm_seen
+	    verbose -log "extracted: $elm_seen" 3
+	    lappend seen $elm_seen
+	    exp_continue
+	}
+	-re "$gdb_prompt $" {
+	    set failed ""
+	    foreach got [lsort $seen] have $matches {
+		if {![string equal $got $have]} {
+		    set failed $have
+		    break
+		}
+	    }
+	    if {[string length $failed] != 0} {
+		fail "$name ($failed not found)"
+	    } else {
+		pass $name
+	    }
+	}
+    }
+}
 \f
 proc gdb_reinitialize_dir { subdir } {
     global gdb_prompt
diff --git a/gdb/version.in b/gdb/version.in
index 66977b4..56f1de5 100644
--- a/gdb/version.in
+++ b/gdb/version.in
@@ -1 +1 @@
-7.1.50.20100707-cvs
+7.1.90.20100720-cvs


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [SCM]  archer-jankratochvil-fedora14: Merge remote branch 'origin/gdb_7_2-branch' into archer-jankratochvil-fedora14
@ 2010-09-03  7:32 jkratoch
  0 siblings, 0 replies; 2+ messages in thread
From: jkratoch @ 2010-09-03  7:32 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-fedora14 has been updated
       via  30a7ce8ffc2b54bc4453a127be8dd28a3ea6d299 (commit)
       via  5feed060c6824bc390d5e99eca004b8b219a92c0 (commit)
       via  14a0e2cde5bfcb0a0c7bacd4fa70015632098b13 (commit)
       via  e6926438252a33d9d95c1ca1f370ef3abb000050 (commit)
       via  ae3e0aa24da687d5bbb4ed927201b324d199a41f (commit)
       via  34989914cf0b3445adafe750ee899c4470c5b447 (commit)
       via  e637166c19a2be706107c4eef416e0ed48cdc0c9 (commit)
       via  8423443c339c3f51ec6ac382b9b0f36a1a46a725 (commit)
       via  52c0b9c7730ed99617c8d39847742220d1d15384 (commit)
       via  b2a02c5a228af7bb4bc780119588fb92f482669f (commit)
       via  677a55f4b7a0052f43174a2f6974bbf3ce3e1286 (commit)
       via  4727010fec5661f1498ec31ad928fd6597339ae4 (commit)
       via  a12a474308fb675f627f527460611f58e695204c (commit)
       via  b8fdd823e54f132cbf53bba8b709aed530263baf (commit)
       via  ec0e608abd4b2aba650aec263502ecc36586f8ad (commit)
       via  5af123ecb78ea9aef96cadc0c07da9fcb38ee24a (commit)
       via  53663c6ee920ec085155e80db959956bb5f13e30 (commit)
       via  635159936af4cd062e54cb34e44d584a86b41603 (commit)
       via  0862fb921acf456ae083ada61685c864139e0940 (commit)
       via  6ad683b447949956fd3070f8a84bf6d77c099741 (commit)
       via  400e18b7c516901507b33589d7e1f21f79f3ce5c (commit)
       via  61aa46ef92bd148cf08c5a6c848f21d4b76c6900 (commit)
       via  8541ad14df1e60f103f672773a9eed617ad7b06e (commit)
       via  62bb9ab3ae2f4f19e52fdc33d92193595cc495c9 (commit)
       via  63cc0f1c3903c8215893cc41103557d31fce3573 (commit)
       via  b089cf75ec05880b557518a444af4149b848f463 (commit)
       via  e7e6e2a46b483b327e83171d1b39dde3f7941e23 (commit)
       via  35f93e9e8fa2c302df2a0f04bf69f884bc27839d (commit)
       via  24660db925b8722743aba2a5fe0ecb9b0e1b954e (commit)
       via  1afc7758e886a59d4ad55ea7782dddf6f4fe18d8 (commit)
       via  81b5053579e82941ffdd682ce605eef5ec518ceb (commit)
       via  18d7c2b1fa488112c37302b7bd1e3d5fae326464 (commit)
       via  a57da38498ab9f60e98003cc7714833decd39199 (commit)
       via  461721bf365f8e80fca4036c829c641c3a054fcc (commit)
       via  0435f77c72adbf1bdb95322e26520cd3a3cee4b1 (commit)
       via  1e77c4dc7186ff270b1964c4daf89daf4b1e4d97 (commit)
       via  5c599900430ea25c890609aa07e140eab8387223 (commit)
       via  d7d8797c238954277f4a26c0d391bd436051fceb (commit)
       via  160d37a8f0194a7bbd44a91bf63cddac923c084b (commit)
       via  e662a4d528c5d103544d0b6e2169b0921b20df05 (commit)
       via  acdb1a724b7091bb0d9160271be9705c533f7700 (commit)
       via  4f375a0e5d822c6496d090118f62249452fcb2a4 (commit)
       via  5ad31112678c9aaf0478a1edcf7686475a717951 (commit)
       via  cd0e10e1b239e1bbcf8c2d4ca55b6ab19a348493 (commit)
       via  6ce988e0b8d7dddf759ef8b02583e3024090cdb5 (commit)
       via  ab40990dd4b1f32d2332b29d15b2e0d8f5cfd349 (commit)
       via  deabd636fca816718ff93f02b1ba55c474d7d607 (commit)
       via  0da6427539977517f7665ef8fd7023eadda110c8 (commit)
       via  fc4aafd93185f76575a0eaaf771e911b6729541b (commit)
       via  0725ec26aee321086be5f4eb75c0a8d1ab2b32ff (commit)
       via  5f87194acf901cc67dd5f0896d05b9b6940a2743 (commit)
       via  bbf2bc21959a7b81746eb98ef2bdf048860e70d5 (commit)
       via  29f0986022a1d1fd7440a02233e92d3314038bd8 (commit)
       via  ec30362b6c3428a6dbdc332a165ee8280b9059fb (commit)
       via  c2052b0e7f3ee63a0e6af8523e82a78a58f05dca (commit)
       via  9519ebfd49811b0b1c949bbd9012de4671db8a00 (commit)
       via  9772882ae2d7ac8448b06b554fea631526022d17 (commit)
       via  8f58978a7768cbb70110eaf136641f8a3a465f0f (commit)
       via  5feef7c01a204fa606e6d1992a6e88681afcdd1c (commit)
       via  928d43440ba207d3d46fc3fbddd739b4044c20ab (commit)
       via  a9860317574f459388ec0ab7c4de5f9c03c56571 (commit)
       via  582c012408a73234763de7825e4d554e5a584e64 (commit)
       via  64c344813afa4c00b880da70498c798eb3fe3901 (commit)
       via  cf6530392c70d9aa29432624cc01c913e0f0c71d (commit)
       via  0e6c111e20133d95a1d84614ec1d23b7ac7783bf (commit)
       via  bad9ceda1b70a0511ee6a588e1e3344e8b1d9c58 (commit)
       via  f8a1ae91c1e514ba1a23eb6d1f92e15c7bf3c019 (commit)
       via  7e56c80e6e9abb8990baade20bc418d6306d15d8 (commit)
       via  62acb95065161d63b06520b9e33a372ce56ad6ec (commit)
       via  3f679d9e6b31c82702f6b7afca80492f8d3aba33 (commit)
       via  72977b73f3544249edafa80fa1e6e81d334de76d (commit)
       via  2d5e1c9512898ccffc75e64839d652a84dd1f4f1 (commit)
       via  3c9bcf68855e7f22db97447fdb91fd65419a22e0 (commit)
       via  3446b84077cc0d65346bfe740730673f5daf00c0 (commit)
       via  073ebdbeb2809486d5a976be6da6eb1152df3e3d (commit)
       via  2c70422705b66ef8d4477bc73632336f65ac335c (commit)
       via  8b850f0f4a98c654907d6716bdb6a0198d1df653 (commit)
       via  1c3bce6c48b2b0da78340f68d498fc2a9fa45bcc (commit)
       via  246946de5bca957b7c34a48222655bfa9ab60b54 (commit)
       via  9238639b233ad4da42ae6de33f1d95734585aac7 (commit)
       via  d13f12e88a12a7744d755a7c63d748e0002ffb78 (commit)
       via  d7d087193234adb87b63d2659f6f2e7985b5f47a (commit)
       via  52f292a02c9baa31790a6b78fdc7483874b71762 (commit)
       via  ea8f06a2b443c1f4264a62b50badbd402caebc8f (commit)
       via  2f2ee99f2e55be950b03523e6afd338ceb1e4624 (commit)
       via  792b33a774bfce34b98c359314fb47fc1f2f1cf0 (commit)
       via  3a99f07239972e790d1c1e61636440348d7f6410 (commit)
       via  e60e64716a4daba6c2111205ddbb34d5f6fb5701 (commit)
       via  a7028d3232b509e94ce761d279da41ae3083f975 (commit)
       via  3e02f8520f3856466a1eea6dd51b19c02f9965a3 (commit)
      from  af507f71e376b19f8ee9d54067924790566440e8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 30a7ce8ffc2b54bc4453a127be8dd28a3ea6d299
Merge: af507f7 5feed06
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Sep 3 09:31:07 2010 +0200

    Merge remote branch 'origin/gdb_7_2-branch' into archer-jankratochvil-fedora14
    
    Conflicts:
    	gdb/configure
    	gdb/configure.ac

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog                                      |  211 +++++++
 gdb/MAINTAINERS                                    |    1 +
 gdb/Makefile.in                                    |    4 +-
 gdb/NEWS                                           |   75 +++-
 gdb/PROBLEMS                                       |  102 +----
 gdb/arm-linux-tdep.c                               |   94 +++-
 gdb/arm-tdep.c                                     |   24 +-
 gdb/arm-tdep.h                                     |    5 +
 gdb/breakpoint.c                                   |    2 +-
 gdb/c-exp.y                                        |    6 +
 gdb/cli/cli-cmds.c                                 |   18 +-
 gdb/configure                                      |   37 ++
 gdb/configure.ac                                   |    8 +-
 gdb/d-lang.c                                       |    8 +-
 gdb/defs.h                                         |    8 +
 gdb/doc/ChangeLog                                  |   34 ++
 gdb/doc/gdb.texinfo                                |   75 +++-
 gdb/dwarf2loc.c                                    |   14 +-
 gdb/dwarf2read.c                                   |   11 +-
 gdb/gdbcmd.h                                       |    1 +
 gdb/gdbserver/ChangeLog                            |   11 +
 gdb/gdbserver/linux-low.c                          |    2 +-
 gdb/gdbserver/server.c                             |    4 +-
 gdb/gdbserver/utils.c                              |   20 +-
 gdb/infrun.c                                       |    5 +
 gdb/mi/mi-main.c                                   |    4 +-
 gdb/ppc-linux-nat.c                                |    2 +-
 gdb/psymtab.c                                      |    2 +-
 gdb/python/python.c                                |   47 +--
 gdb/record.c                                       |  609 --------------------
 gdb/remote.c                                       |    3 +-
 gdb/symfile.c                                      |    6 +-
 gdb/symtab.c                                       |    2 +-
 gdb/target.c                                       |   51 +-
 gdb/testsuite/ChangeLog                            |   84 +++
 gdb/testsuite/gdb.arch/vsx-regs.exp                |   20 +-
 .../charset-malloc.c}                              |   37 +-
 gdb/testsuite/gdb.base/charset.c                   |    6 +-
 gdb/testsuite/gdb.base/charset.exp                 |   11 +-
 gdb/testsuite/gdb.base/help.exp                    |    2 +-
 gdb/testsuite/gdb.base/printcmds.c                 |    6 +
 gdb/testsuite/gdb.base/printcmds.exp               |    7 +
 gdb/testsuite/gdb.base/relocate.c                  |    7 +
 gdb/testsuite/gdb.base/solib-nodir.exp             |   54 ++
 .../gdb.dwarf2/dw2-ref-missing-frame-func.c        |    2 +
 gdb/testsuite/gdb.gdb/selftest.exp                 |    8 +-
 gdb/testsuite/gdb.opt/inline-bt.c                  |   13 +-
 gdb/testsuite/gdb.opt/inline-bt.exp                |    2 +-
 gdb/testsuite/gdb.opt/inline-cmds.c                |   19 +-
 gdb/testsuite/gdb.opt/inline-locals.c              |   13 +-
 gdb/testsuite/gdb.python/py-inferior.c             |   10 +-
 gdb/testsuite/gdb.python/python.exp                |   23 +
 gdb/testsuite/gdb.stabs/gdb11479.c                 |   14 +-
 gdb/testsuite/lib/gdb.exp                          |    5 +
 gdb/thread.c                                       |    4 +-
 gdb/top.c                                          |   36 ++
 gdb/utils.c                                        |   87 +++-
 gdb/version.in                                     |    2 +-
 58 files changed, 1057 insertions(+), 921 deletions(-)
 copy gdb/testsuite/{gdb.dwarf2/dw2-ref-missing-frame-func.c => gdb.base/charset-malloc.c} (60%)
 create mode 100644 gdb/testsuite/gdb.base/solib-nodir.exp

First 500 lines of diff:
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1fbf5f8..7abb05a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,214 @@
+2010-09-03  Joel Brobecker  <brobecker@adacore.com>
+
+	* version.in: Set version to 7.2.0.20100903-cvs.
+
+2010-09-03  Joel Brobecker  <brobecker@adacore.com>
+
+	GDB 7.2 released.
+
+2010-09-02  Joel Brobecker  <brobecker@adacore.com>
+
+	* NEWS: Replace "Changes since GDB 7.1" by "Changes in GDB 7.2".
+
+2010-09-02  Joel Brobecker  <brobecker@adacore.com>
+
+	* version.in: Update GDB version number to 7.2.
+
+2010-09-02  Joel Brobecker  <brobecker@adacore.com>
+
+	Back out the following change:
+	| 2010-06-29  Hui Zhu  <teawater@gmail.com>
+	| * record.c (set_record_pic_cmdlist,
+	| show_record_pic_cmdlist): New variables.
+	| (set_record_pic_command,
+	| show_record_pic_command): New functions.
+	| (record_pic_function, record_pic_line, record_pic_enum,
+	| set_record_pic_type, record_pic_hide_nofunction,
+	| record_pic_hide_nosource, record_pic_hide_same): New variables.
+	| (record_pic_fputs): New function.
+	| (function_list, node_list, edge_list): New struct.
+	| (function_list, node_list, edge_list): New variables.
+	| (record_pic_cleanups, record_pic_node,
+	| record_pic_edge, cmd_record_pic): New functions.
+	| (_initialize_record): Add new commands for record pic.
+
+2010-09-01  Marc Khouzam  <marc.khouzam@ericsson.com>
+
+	* mi/mi-main.c (mi_cmd_list_target_features): Add `reverse'
+	as a feature reported by -list-target-features.
+
+2010-08-31  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>
+
+	* infrun.c (set_exec_direction_func): Error out if target does not
+	support reverse execution.
+
+2010-08-30  Yao Qi  <yao@codesourcery.com>
+
+	* arm-linux-tdep.c (arm_linux_sigreturn_return_addr): New.
+	(arm_linux_syscall_next_pc): New.
+	(arm_linux_copy_svc): Use arm_linux_sigreturn_return_addr instead. 
+	(arm_linux_init_abi): Initialize syscall_next_pc.
+	* arm-tdep.c (thumb_get_next_pc_raw):  Get next pc of SWI in Thumb mode.
+	(arm_get_next_pc_raw): Get next pc of SWI in ARM mode.
+	* arm-tdep.h (struct gdbarch_tdep): Add a function pointer syscall_next_pc. 
+	Declare arm_frame_is_thumb.
+
+2010-08-27  Doug Evans  <dje@google.com>
+
+	* dwarf2read.c (dwarf2_per_objfile_free): Reorganize buffers to match
+	the order they're defined in.  munmap .debug_types buffer.
+
+2010-08-19  Stan Shebs  <stan@codesourcery.com>
+
+	* NEWS: Mention some additional changes.
+
+2010-08-19  Tom Tromey  <tromey@redhat.com>
+
+	* Makefile.in (install-python): Add DESTDIR.
+
+2010-08-19  Doug Evans  <dje@google.com>
+
+	PR exp/11926
+	* c-exp.y (parse_number): Handle 0 return from sscanf.
+
+2010-08-19  Joel Brobecker  <brobecker@adacore.com>
+
+	* psymtab.c (map_symbol_filenames_psymtab): Call FUN with
+	the arguments in the correct order.
+	* symtab.c (maybe_add_partial_symtab_filename): Declare
+	the arguments in the correct order.
+
+2010-08-18  Tom Tromey  <tromey@redhat.com>
+
+	PR python/11900:
+	* configure: Rebuild.
+	* configure.ac: Add install-python to CONFIG_INSTALL.
+	* Makefile.in (install-python): New.
+
+2010-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
+
+	* arm-tdep.c (arm_push_dummy_call): Handle pointers to
+	typedef'ed function types correctly.
+
+2010-08-11  Brad Roberts  <braddr@puremagic.com>
+
+	* d-lang.c (extract_identifiers): Handle multiple digits.
+
+2010-08-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* defs.h (make_cleanup_restore_uinteger, make_cleanup_restore_ui_file)
+	(make_cleanup_restore_page_info)
+	(set_batch_flag_and_make_cleanup_restore_page_info): New declarations.
+	* gdbcmd.h (execute_command_to_string): New declaration.
+	* python/python.c (struct restore_ui_file_closure, restore_ui_file)
+	(make_cleanup_restore_ui_file): Move to utils.c
+	(execute_gdb_command) <to_string>: Move ...
+	* top.c (execute_command_to_string): ... here.  Call
+	set_batch_flag_and_make_cleanup_restore_page_info.
+	* utils.c (make_cleanup_restore_integer): New source file blank line.
+	(make_cleanup_restore_uinteger): New.
+	(struct restore_ui_file_closure, do_restore_ui_file)
+	(make_cleanup_restore_ui_file): Move here from python/python.c.
+	(init_page_info) <batch_flag>
+	(do_restore_page_info_cleanup, make_cleanup_restore_page_info)
+	(set_batch_flag_and_make_cleanup_restore_page_info): New.
+
+2010-08-06  Maciej W. Rozycki  <macro@codesourcery.com>
+
+	* thread.c (add_thread_silent): Use null_ptid instead of
+	minus_one_ptid while getting rid of stale inferior_ptid.
+
+2010-08-05  Marc Khouzam  <marc.khouzam@ericsson.com>
+
+	* mi/mi-main.c (mi_cmd_remove_inferior): Properly access first 
+	argument.
+
+2010-07-31  Renquan Cheng  <crq@gcc.gnu.org>
+
+	* MAINTAINERS: Add myself for write after approval privileges.
+
+2010-07-30  Tom Tromey  <tromey@redhat.com>
+
+	* configure: Rebuild.
+	* configure.ac: Add missing case for Python 2.7.
+
+2010-07-29  Pedro Alves  <pedro@codesourcery.com>
+
+	* PROBLEMS: Remove mention of all problems.
+
+2010-07-28  Oleg Nesterov  <oleg@redhat.com>
+
+	* remote.c (readchar): Call pop_target in case of SERIAL_ERROR.
+
+2010-07-28  Tom Tromey  <tromey@redhat.com>
+
+	* Makefile.in (HFILES_NO_SRCDIR): Remove link-warning.h.
+
+2010-07-28  Joel Brobecker  <brobecker@adacore.com>
+
+	* breakpoint.c (breakpoint_re_set_one): Move call to set_language
+	down, just before the block that parse the breakpoint addr_string.
+
+2010-07-28  CHENG Renquan  <rqcheng@smu.edu.sg>
+
+	* cli/cli-cmds.c (disassemble_command): Add support of disassemble
+  	"start,+length" form of arguments.
+	* NEWS: Add "Changed commands" (disassemble) section for "Changes
+	since GDB 7.1"; and merge two separated paragraphs of disassemble
+	description in "Changes in GDB 7.0".
+
+2010-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* top.c (input_from_terminal_p): Return 0 on BATCH_FLAG.
+	* utils.c (defaulted_query): Do not explicitly check for BATCH_FLAG.
+	(fputs_maybe_filtered): Do not do filtering also on
+	! INPUT_FROM_TERMINAL_P.
+
+2010-07-27  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+	* ppc-linux-nat.c (store_vsx_register): Use PTRACE_GETVSXREGS to get
+	VSX registers contents.
+
+2010-07-27  Tom Tromey  <tromey@redhat.com>
+
+	* dwarf2loc.c (locexpr_describe_location_piece): Also recognize
+	TLS with DW_OP_const4u or DW_OP_const8u.
+
+2010-07-22  Pedro Alves  <pedro@codesourcery.com>
+
+	* NEWS: Mention target reported shared libraries support by
+	default.
+
+2010-07-21  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* target.c (debug_to_insert_breakpoint): Instead of casting to unsigned
+	long and %ld, use core_addr_to_string() and %s to print CORE_ADDR vars
+	and host_address_to_string() and %s for pointers.
+	(debug_to_remove_breakpoint): Likewise.
+	(debug_to_region_ok_for_hw_watchpoint): Likewise.
+	(debug_to_can_accel_watchpoint_condition): Likewise.
+	(debug_to_stopped_data_address): Likewise.
+	(debug_to_watchpoint_addr_within_range): Likewise.
+	(debug_to_insert_hw_breakpoint): Likewise.
+	(debug_to_remove_hw_breakpoint): Likewise.
+	(debug_to_insert_watchpoint): Likewise.
+	(debug_to_remove_watchpoint): Likewise.
+
+2010-07-21  Pedro Alves  <pedro@codesourcery.com>
+
+	PR symtab/11827
+
+	Revert:
+	2010-05-21  Pierre Muller  <muller@ics.u-strasbg.fr>
+	* dwarf2read.c (process_die): Also allow DW_TAG_const_type
+	and DW_TAG_volatile_type.
+	(new_symbol): Likewise.
+
+2010-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* symfile.c (find_separate_debug_file_by_debuglink): Remove
+	a gdb_assert call, new comment.
+
 2010-07-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
 
 	* NEWS: Mention support for the new ptrace interface and hardware
diff --git a/gdb/MAINTAINERS b/gdb/MAINTAINERS
index e023426..2b3a3e0 100644
--- a/gdb/MAINTAINERS
+++ b/gdb/MAINTAINERS
@@ -482,6 +482,7 @@ Andrew Cagney					cagney@gnu.org
 David Carlton					carlton@bactrian.org
 Stephane Carrez					stcarrez@nerim.fr
 Michael Chastain				mec.gnu@mindspring.com
+Renquan Cheng					crq@gcc.gnu.org
 Eric Christopher				echristo@apple.com
 Randolph Chung					tausq@debian.org
 Nick Clifton					nickc@redhat.com
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 6133da3..3703dca 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -743,7 +743,7 @@ ia64-tdep.h ada-lang.h varobj.h frv-tdep.h nto-tdep.h serial.h \
 c-lang.h d-lang.h frame.h event-loop.h block.h cli/cli-setshow.h	\
 cli/cli-decode.h cli/cli-cmds.h cli/cli-dump.h \
 cli/cli-script.h macrotab.h symtab.h version.h gnulib/wchar.in.h \
-gnulib/string.in.h gnulib/str-two-way.h gnulib/extra/link-warning.h \
+gnulib/string.in.h gnulib/str-two-way.h \
 gnulib/stdint.in.h remote.h gdb.h sparc-nat.h gdbserver/win32-low.h \
 gdbserver/i387-fp.h gdbserver/server.h gdbserver/terminal.h \
 gdbserver/mem-break.h gdbserver/wincecompat.h gdbserver/target.h \
@@ -1043,6 +1043,8 @@ install-tui:
 		$(INSTALL_DATA) $(srcdir)/gdb.1 \
 			$(DESTDIR)$(man1dir)/$$transformed_name.1
 
+install-python:
+	$(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(GDB_DATADIR)/python/gdb
 
 uninstall: force $(CONFIG_UNINSTALL)
 	transformed_name=`t='$(program_transform_name)'; \
diff --git a/gdb/NEWS b/gdb/NEWS
index d3704b7..cd7fcd9 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -1,7 +1,15 @@
 		What has changed in GDB?
 	     (Organized release by release)
 
-*** Changes since GDB 7.1
+*** Changes in GDB 7.2
+
+* Shared library support for remote targets by default
+
+  When GDB is configured for a generic, non-OS specific target, like
+  for example, --target=arm-eabi or one of the many *-*-elf targets,
+  GDB now queries remote stubs for loaded shared libraries using the
+  `qXfer:libraries:read' packet.  Previously, shared library support
+  was always disabled for such configurations.
 
 * C++ Improvements:
 
@@ -67,6 +75,26 @@
   remote packets have been defined to support static tracepoints, see
   the "New remote packets" section below.
 
+* Better reconstruction of tracepoints after disconnected tracing
+
+  GDB will attempt to download the original source form of tracepoint
+  definitions when starting a trace run, and then will upload these
+  upon reconnection to the target, resulting in a more accurate
+  reconstruction of the tracepoints that are in use on the target.
+
+* Observer mode
+
+  You can now exercise direct control over the ways that GDB can
+  affect your program.  For instance, you can disallow the setting of
+  breakpoints, so that the program can run continuously (assuming
+  non-stop mode).  In addition, the "observer" variable is available
+  to switch all of the different controls; in observer mode, GDB
+  cannot affect the target's behavior at all, which is useful for
+  tasks like diagnosing live systems in the field.
+
+* The new convenience variable $_thread holds the number of the
+  current thread.
+
 * New remote packets
 
 qGetTIBAddr
@@ -97,6 +125,15 @@ qXfer:statictrace:read
   tracepoint action).  The remote stub reports support for this packet
   to gdb's qSupported query.
 
+QAllow
+
+  Send the current settings of GDB's permission flags.
+
+QTDPsrc
+
+  Send part of the source (textual) form of a tracepoint definition,
+  which includes location, conditional, and action list.
+
 * The source command now accepts a -s option to force searching for the
   script in the source search path even if the script name specifies
   a directory.
@@ -182,6 +219,34 @@ strace FN | FILE:LINE | *ADDR | -m MARKER_ID
   Define a static tracepoint by probing a marker at the given
   function, line, address, or marker ID.
 
+set observer on|off
+show observer
+  Enable and disable observer mode.
+
+set may-write-registers on|off
+set may-write-memory on|off
+set may-insert-breakpoints on|off
+set may-insert-tracepoints on|off
+set may-insert-fast-tracepoints on|off
+set may-interrupt on|off
+  Set individual permissions for GDB effects on the target.  Note that
+  some of these settings can have undesirable or surprising
+  consequences, particularly when changed in the middle of a session.
+  For instance, disabling the writing of memory can prevent
+  breakpoints from being inserted, cause single-stepping to fail, or
+  even crash your program, if you disable after breakpoints have been
+  inserted.  However, GDB should not crash.
+
+set record memory-query on|off
+show record memory-query
+  Control whether to stop the inferior if memory changes caused
+  by an instruction cannot be recorded.
+
+* Changed commands
+
+disassemble
+  The disassemble command now supports "start,+length" form of two arguments.
+
 * Python scripting
 
 ** GDB now provides a new directory location, called the python directory,
@@ -531,8 +596,9 @@ or the "condition" command is available.  GDB sends the condition to
 the target for evaluation using the same bytecode format as is used
 for tracepoint actions.
 
-* "disassemble" command with a /r modifier, print the raw instructions
-in hex as well as in symbolic form.
+* The disassemble command now supports: an optional /r modifier, print the
+raw instructions in hex as well as in symbolic form, and an optional /m
+modifier to print mixed source+assembly.
 
 * Process record and replay
 
@@ -624,9 +690,6 @@ qXfer:siginfo:write
   packet that permited the stub to pass a process id was removed.
   Remote servers should use the `T' stop reply packet instead.
 
-* The "disassemble" command now supports an optional /m modifier to print mixed
-source+assembly.
-
 * GDB now supports multiple function calling conventions according to the
 DWARF-2 DW_AT_calling_convention function attribute.
   
diff --git a/gdb/PROBLEMS b/gdb/PROBLEMS
index 030f8ed..094957e 100644
--- a/gdb/PROBLEMS
+++ b/gdb/PROBLEMS
@@ -1,104 +1,6 @@
 
-			Known problems in GDB 6.5
+			Known problems in GDB 7.2
 
 		See also: http://www.gnu.org/software/gdb/bugs/
 
-
-*** Build problems
-
-build/1411: build fails on hpux 10.20 and hpux 11.00 with CMA threads
-
-GDB does not build on HP/UX 10.20 or HP/UX 11.00 if the CMA
-thread package is installed.  The compile error is:
-
-  ../../gdb/hpux-thread.c:222: variable-size type declared outside of any function
-
-This happens only if the CMA thread package is installed.
-
-As a workaround, you can disable support for CMA threads
-by editing the file gdb/configure.  Find the line:
-
-  if test -f /usr/include/dce/cma_config.h ; then
-
-And replace it with:
-
-  if false ; then
-
-*** Misc
-
-gdb/1560: Control-C does not always interrupt GDB.
-
-When GDB is busy processing a command which takes a long time to
-complete, hitting Control-C does not have the expected effect.
-The command execution is not aborted, and the "QUIT" message confirming
-the abortion is displayed only after the command has been completed.
-
-*** C++ support
-
-gdb/931: GDB could be more generous when reading types C++ templates on input
-
-When the user types a template, GDB frequently requires the type to be
-typed in a certain way (e.g. "const char*" as opposed to "const char *"
-or "char const *" or "char const*").
-
-gdb/1512: no canonical way to output names of C++ types
-
-We currently don't have any canonical way to output names of C++ types.
-E.g. "const char *" versus "char const *"; more subtleties arise when
-dealing with templates.
-
-gdb/1516: [regression] local classes, gcc 2.95.3, dwarf-2
-
-With gcc 2.95.3 and the dwarf-2 debugging format, classes which are
-defined locally to a function include the demangled name of the function
-as part of their name.  For example, if a function "foobar" contains a
-local class definition "Local", gdb will say that the name of the class
-type is "foobar__Fi.0:Local".
-
-This applies only to classes where the class type is defined inside a
-function, not to variables defined with types that are defined somewhere
-outside any function (which most types are).
-
-gdb/1588: names of c++ nested types in casts must be enclosed in quotes
-
-You must type
-  (gdb) print ('Foo::Bar') x
-or
-  (gdb) print ('Foo::Bar' *) y
-instead of
-  (gdb) print (Foo::Bar) x
-or
-  (gdb) print (Foo::Bar *) y
-respectively.
-
-gdb/1091: Constructor breakpoints ignored
-gdb/1193: g++ 3.3 creates multiple constructors: gdb 5.3 can't set breakpoints
-
-When gcc 3.x compiles a C++ constructor or C++ destructor, it generates
-2 or 3 different versions of the object code.  These versions have
-unique mangled names (they have to, in order for linking to work), but
-they have identical source code names, which leads to a great deal of
-confusion.  Specifically, if you set a breakpoint in a constructor or a
-destructor, gdb will put a breakpoint in one of the versions, but your
-program may execute the other version.  This makes it impossible to set
-breakpoints reliably in constructors or destructors.
-
-gcc 3.x generates these multiple object code functions in order to
-implement virtual base classes.  gcc 2.x generated just one object code
-function with a hidden parameter, but gcc 3.x conforms to a multi-vendor
-ABI for C++ which requires multiple object code functions.
-
-*** Threads
-
-threads/1650: manythreads.exp
-
-On GNU/Linux systems that use the old LinuxThreads thread library, a
-program rapidly creating and deleting threads can confuse GDB leading
-to an internal error.
-
-This problem does not occur on newer systems that use the NPTL
-library, and did not occur with GDB 6.1.
-
-threads/2137: Native Solaris Thread Debugging broken.
-
-Use GDB 6.4 if thread debugging is needed on Solaris.
+None worth mentioning here.
diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c
index 15fc1c9..af11274 100644
--- a/gdb/arm-linux-tdep.c
+++ b/gdb/arm-linux-tdep.c
@@ -630,6 +630,82 @@ arm_linux_regset_from_core_section (struct gdbarch *gdbarch,
   return NULL;
 }
 
+/* Copy the value of next pc of sigreturn and rt_sigrturn into PC,
+   and return 1.  Return 0 if it is not a rt_sigreturn/sigreturn
+   syscall.  */
+static int
+arm_linux_sigreturn_return_addr (struct frame_info *frame,
+				 unsigned long svc_number,
+				 CORE_ADDR *pc)


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-03  7:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-20 18:54 [SCM] archer-jankratochvil-fedora14: Merge remote branch 'origin/gdb_7_2-branch' into archer-jankratochvil-fedora14 jkratoch
2010-09-03  7:32 jkratoch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).