public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-keiths-linespec-rewrite:  * linespec.c (collect_symbols): Only accept all matching symbols  in list mode.
@ 2012-03-06 19:24 kseitz
  0 siblings, 0 replies; only message in thread
From: kseitz @ 2012-03-06 19:24 UTC (permalink / raw)
  To: archer-commits

The branch, archer-keiths-linespec-rewrite has been updated
       via  6f2b24c74356c34cd624da6fd2ef7ed12ce87097 (commit)
       via  5bb41df86e692aa7b95164b0b706bce943500e26 (commit)
       via  3ad50661778c66aaef65d08aa34600522dd52457 (commit)
       via  31a184b1ffc7ba795cc2f2600b1067875d6f477d (commit)
       via  3d95994f68cdad292b011aee4461ead4b08bc53b (commit)
       via  69dc58094d7988726ccdac13589bd3e512844b4d (commit)
       via  489dccd1e32b8bee613f4e96bb5824a9bae10007 (commit)
       via  bdcceb57c444574e4ba421655148ad5ad3a6f146 (commit)
       via  716b73c25b482e0fc0735f8146999c9ec93138a5 (commit)
       via  451fb4242047a7a0921938e616c0d8b9ee040ca0 (commit)
       via  6c754e85cbb4ae4fb9c50618904b111998fb2d63 (commit)
       via  6eea6d8513cb9b44099f5c134fcec16e3b69e601 (commit)
       via  925e936bfb1aac0ef9167d0e4e77633c476f28ed (commit)
       via  40b614d91532b1d53da015ee7b4b34d77f5c893d (commit)
       via  ae1a4d58ddd00a2f7a8f6cd90c86b56258202f93 (commit)
       via  59eb008961369eb5cd001ecc716290a7eb376b5c (commit)
       via  d194479d5bcfcaf6228f6dbd9dabd2e30da94fe7 (commit)
       via  23794ebc1e6b59789f3a9f2c3294708d3e08bcb6 (commit)
       via  ca95bc325c1390236f099f7fef198d26bf481af6 (commit)
       via  efe31ecf47bcc9d0adfec37c6bbab47285935f23 (commit)
       via  adfca0a34413ca7ab2b1636c0257288214bcc8fa (commit)
       via  a42272ad4e38fc27264c6263034beaba643b04ca (commit)
       via  2864d57a78f359398fda40c133200e409203f8fd (commit)
       via  7af6084a4a77a41bfdae7605652a5a43e819b057 (commit)
       via  991e4025fe1f38250e5d7a857c43165333a303f1 (commit)
       via  c94608df559a74e2ccc1964722b765ffaa22975e (commit)
       via  b1cbc81dcd50133d818266c439306157efa90757 (commit)
       via  b51b9a59d31163ed4033cef8b6527d9df7529fdf (commit)
       via  fa6fe146a31c803b3ab0a28aae8002a3883b3eea (commit)
       via  22b80c35bf31cc69216ee25715347a3598a33d3e (commit)
       via  16ad852ee6da628e918f1a8be5c02d1ee156c1f5 (commit)
       via  07041291a5098d60dac2efd593bcf5296c9c018a (commit)
       via  18032643b9541082ffdc1878bf044afc9f4ef879 (commit)
       via  91fc49c92983484ee0ccf85185b1312480d3bdc8 (commit)
       via  5c84c2458fef52e8f839ac55a218ea186df95a10 (commit)
       via  e277a512715bbea5d01c96af2d6175a7d5bdc37d (commit)
       via  0683eeaf6e180a2381618f3d40bda6af8102ed6c (commit)
       via  3dbb9bb6b20c960d20bffe904df702487d4cf70a (commit)
       via  eab20673e7210bba4f3a7e9a7b3565dbb43fa38f (commit)
       via  21a83a9eb884c4d597eb8d86ad995cbec725d10c (commit)
       via  205cde58b01bf903bb0952332703c7f591da385b (commit)
       via  c76cc4b780865d52a7925fdde987d16e2579ae17 (commit)
       via  fba7de0579dc79a7ffc7b3b902d111ce9acb3ab0 (commit)
       via  66e1c6b83b9a46e5046a4413fdf56e81d09d56aa (commit)
       via  56caf1757189b56d2f86846cb257beab3214e62e (commit)
       via  ffbc94801174ce3aef0e5815ea2b2ea9274d2377 (commit)
       via  301206930e821439956367a4e898b31d6627b5eb (commit)
       via  92a8766ac287708e9e5cd51201286267c9939da2 (commit)
       via  ec43c7943ae35dc7f1a69ee0be0bfe0d1a9bb92e (commit)
       via  44fc9128422d18f3111134dd0a9aa1639f28963e (commit)
       via  a94d820be0218305b84293c463d06f8c203ee758 (commit)
      from  3f58738dfde4eecbdf473c860d4e941901703dc0 (commit)

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

- Log -----------------------------------------------------------------
commit 6f2b24c74356c34cd624da6fd2ef7ed12ce87097
Author: keiths <keiths@redhat.com>
Date:   Tue Mar 6 11:22:47 2012 -0800

    	* linespec.c (collect_symbols): Only accept all matching symbols
    	in list mode.

commit 5bb41df86e692aa7b95164b0b706bce943500e26
Merge: 3ad5066 31a184b
Author: keiths <keiths@redhat.com>
Date:   Tue Mar 6 10:18:56 2012 -0800

    Merge remote-tracking branch 'gdb/master' into archer-keiths-linespec-rewrite

commit 3ad50661778c66aaef65d08aa34600522dd52457
Merge: 451fb42 69dc580
Author: keiths <keiths@redhat.com>
Date:   Tue Mar 6 09:48:10 2012 -0800

    Merge remote-tracking branch 'gdb/master' into archer-keiths-linespec-rewrite

commit 31a184b1ffc7ba795cc2f2600b1067875d6f477d
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Tue Mar 6 17:17:12 2012 +0000

    2012-03-06  Pedro Alves  <palves@redhat.com>
    
    	* gregset.h [HAVE_SYS_PROCFS_H]: Include <sys/procfs.h>.

commit 3d95994f68cdad292b011aee4461ead4b08bc53b
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Tue Mar 6 17:04:59 2012 +0000

    New Ada testcase (bp_enum_homonym).
    
    gdb/testsuite/ChangeLog:
    
            * gdb.ada/bp_enum_homonym: New testcase.

commit 69dc58094d7988726ccdac13589bd3e512844b4d
Author: qiyao <qiyao>
Date:   Tue Mar 6 01:30:17 2012 +0000

    gdb/testsuite/
    	* gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
    	x86_64-*-* and i?86-*-*.
    	Set up KFAIL for gdb/13808.

commit 489dccd1e32b8bee613f4e96bb5824a9bae10007
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue Mar 6 00:00:02 2012 +0000

    *** empty log message ***

commit bdcceb57c444574e4ba421655148ad5ad3a6f146
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Mon Mar 5 23:21:34 2012 +0000

    Add Maciej W. Rozycki as mips maintainer.
    
    gdb/ChangeLog:
    
            * MAINTAINERS: List Maciej W. Rozycki as the mips maintainer.

commit 716b73c25b482e0fc0735f8146999c9ec93138a5
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Mar 5 23:00:05 2012 +0000

    daily update

commit 451fb4242047a7a0921938e616c0d8b9ee040ca0
Author: keiths <keiths@redhat.com>
Date:   Mon Mar 5 13:53:50 2012 -0800

    const-ify char* parameters

commit 6c754e85cbb4ae4fb9c50618904b111998fb2d63
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Mar 5 21:21:12 2012 +0000

    	* gdb.ada/operator_bp.exp: Clear debug-file-directory.
    	* gdb.ada/mi_task_arg.exp: Clear debug-file-directory.

commit 6eea6d8513cb9b44099f5c134fcec16e3b69e601
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 5 21:07:46 2012 +0000

    gdb/
    	Code cleanup.
    	* common/linux-osdata.c (linux_common_core_of_thread): New function
    	comment.
    	* linux-nat.c (linux_nat_wait_1): Replace linux_nat_core_of_thread_1
    	call by linux_common_core_of_thread.
    	(linux_nat_core_of_thread_1): Remove.
    	* linux-nat.h (linux_nat_core_of_thread_1): Remove declaration.
    	* linux-thread-db.c: Include linux-osdata.h.
    	(update_thread_core): Replace linux_nat_core_of_thread_1 call by
    	linux_common_core_of_thread.

commit 925e936bfb1aac0ef9167d0e4e77633c476f28ed
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Mar 5 20:53:15 2012 +0000

    	* value.c (value_primitive_field): Don't fetch contents for
    	non-virtual bases.

commit 40b614d91532b1d53da015ee7b4b34d77f5c893d
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Mar 5 19:38:12 2012 +0000

    	* jv-valprint.c (java_value_print): Correctly compute 'obj_addr'.
    gdb/testsuite
    	* gdb.java/jprint.java (jprint.main): Keep 'x' live.

commit ae1a4d58ddd00a2f7a8f6cd90c86b56258202f93
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Mon Mar 5 19:05:07 2012 +0000

    Include "gregset.h" in s390-nat.c (-Wmissing-prototypes).
    
    gdb/ChangeLog:
    
            * s390-nat.c: Include "gregset.h".

commit 59eb008961369eb5cd001ecc716290a7eb376b5c
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 5 17:11:48 2012 +0000

    gdb/
    	* libunwind-frame.c (LIBUNWIND_SO): Change .7 to .8.
    	[!LIBUNWIND_SO] (LIBUNWIND_SO_7): New #define.
    	(libunwind_load): New variable so_error, use it for dlerror.  Try to
    	load also LIBUNWIND_SO_7.

commit d194479d5bcfcaf6228f6dbd9dabd2e30da94fe7
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 5 17:09:37 2012 +0000

    gdb/gdbserver/
    	* linux-low.c (get_dynamic): Don't warn when PT_PHDR isn't found.
    	New comment why.

commit 23794ebc1e6b59789f3a9f2c3294708d3e08bcb6
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Mar 5 16:17:45 2012 +0000

    2012-03-05  Pedro Alves  <palves@redhat.com>
    
    	* i387-tdep.c (i387_supply_xsave): Assert the xsave section buffer
    	is not NULL, and remove resulting dead code.

commit ca95bc325c1390236f099f7fef198d26bf481af6
Author: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Date:   Mon Mar 5 16:02:18 2012 +0000

    	PR ld/12152
    	* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Also ignore
    	overflows for R_SPARC_UA32 in .stab sections.

commit efe31ecf47bcc9d0adfec37c6bbab47285935f23
Author: tschwinge <tschwinge>
Date:   Mon Mar 5 15:16:38 2012 +0000

    	* sh-tdep.c (sh_skip_prologue): Provide an upper limit on the function
    	prologue to sh_analyze_prologue.
    	(sh_analyze_prologue): Make better use of such an upper limit, and
    	generally be more cautious about accessing memory.

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

Summary of changes:
 ChangeLog                                     |    5 +
 bfd/ChangeLog                                 |    6 +
 bfd/elfxx-sparc.c                             |    6 +-
 bfd/version.h                                 |    2 +-
 configure                                     |    4 +-
 configure.ac                                  |    4 +-
 gdb/ChangeLog                                 |  187 ++
 gdb/MAINTAINERS                               |    1 +
 gdb/Makefile.in                               |   14 +-
 gdb/NEWS                                      |    4 +
 gdb/agent.c                                   |   87 +
 gdb/breakpoint.c                              |    7 +-
 gdb/common/agent.c                            |  357 ++++
 gdb/common/agent.h                            |   57 +
 gdb/common/linux-osdata.c                     |    2 +
 gdb/config.in                                 |    6 +
 gdb/configure                                 |    2 +-
 gdb/configure.ac                              |    2 +-
 gdb/configure.tgt                             |    4 +
 gdb/defs.h                                    |    1 +
 gdb/doc/ChangeLog                             |   10 +
 gdb/doc/gdb.texinfo                           |   88 +
 gdb/gdbserver/ChangeLog                       |   62 +
 gdb/gdbserver/Makefile.in                     |   14 +-
 gdb/gdbserver/config.in                       |    3 +
 gdb/gdbserver/configure                       |    2 +-
 gdb/gdbserver/configure.ac                    |    2 +-
 gdb/gdbserver/linux-low.c                     |   25 +-
 gdb/gdbserver/linux-x86-low.c                 |    3 +-
 gdb/gdbserver/server.c                        |   28 +
 gdb/gdbserver/server.h                        |    2 -
 gdb/gdbserver/target.h                        |    7 +
 gdb/gdbserver/tracepoint.c                    |  341 +---
 gdb/gregset.h                                 |    4 +
 gdb/i387-tdep.c                               |   98 +-
 gdb/ia64-tdep.c                               |    6 +-
 gdb/ia64-tdep.h                               |   11 +
 gdb/ia64-vms-tdep.c                           |  165 ++
 gdb/inf-child.c                               |   20 +
 gdb/jv-valprint.c                             |    5 +-
 gdb/libunwind-frame.c                         |   46 +-
 gdb/libunwind-frame.h                         |    2 -
 gdb/linespec.c                                |   32 +-
 gdb/linux-nat.c                               |  139 +-
 gdb/linux-nat.h                               |    3 -
 gdb/linux-thread-db.c                         |    3 +-
 gdb/osabi.c                                   |    5 +
 gdb/remote.c                                  |   61 +-
 gdb/s390-nat.c                                |    1 +
 gdb/sh-tdep.c                                 |   57 +-
 gdb/stubs/ChangeLog                           |    4 +
 gdb/stubs/buildvms.com                        |   11 +
 gdb/stubs/ia64vms-stub.c                      | 2602 +++++++++++++++++++++++++
 gdb/target.c                                  |   11 +
 gdb/target.h                                  |   17 +-
 gdb/testsuite/ChangeLog                       |   55 +
 gdb/testsuite/gdb.ada/arrayidx.exp            |   30 +
 gdb/testsuite/gdb.ada/bp_enum_homonym.exp     |   52 +
 gdb/testsuite/gdb.ada/bp_enum_homonym/p.adb   |   26 +
 gdb/testsuite/gdb.ada/bp_enum_homonym/pck.adb |   28 +
 gdb/testsuite/gdb.ada/bp_enum_homonym/pck.ads |   23 +
 gdb/testsuite/gdb.ada/mi_task_arg.exp         |    3 +
 gdb/testsuite/gdb.ada/operator_bp.exp         |    3 +
 gdb/testsuite/gdb.base/disp-step-syscall.exp  |   19 +-
 gdb/testsuite/gdb.cp/mb-templates.exp         |   62 +-
 gdb/testsuite/gdb.java/jprint.java            |    1 +
 gdb/testsuite/gdb.trace/ftrace.exp            |    4 +-
 gdb/testsuite/gdb.trace/strace.exp            |   35 +-
 gdb/tracepoint.c                              |   20 +
 gdb/tracepoint.h                              |    1 +
 gdb/value.c                                   |   16 +-
 gdb/version.in                                |    2 +-
 sim/bfin/ChangeLog                            |    8 +
 sim/bfin/config.in                            |   21 +-
 sim/bfin/configure                            |   15 +-
 sim/bfin/configure.ac                         |    9 +-
 sim/bfin/dv-eth_phy.c                         |    5 +-
 sim/rx/ChangeLog                              |   13 +
 sim/rx/gdb-if.c                               |    4 +-
 sim/rx/load.c                                 |   34 +-
 sim/rx/load.h                                 |    3 +-
 sim/rx/main.c                                 |    2 +-
 sim/rx/syscalls.c                             |    6 +
 sim/rx/syscalls.h                             |    1 +
 84 files changed, 4596 insertions(+), 553 deletions(-)
 create mode 100644 gdb/agent.c
 create mode 100644 gdb/common/agent.c
 create mode 100644 gdb/common/agent.h
 create mode 100644 gdb/ia64-vms-tdep.c
 create mode 100644 gdb/stubs/ChangeLog
 create mode 100644 gdb/stubs/buildvms.com
 create mode 100644 gdb/stubs/ia64vms-stub.c
 create mode 100644 gdb/testsuite/gdb.ada/bp_enum_homonym.exp
 create mode 100644 gdb/testsuite/gdb.ada/bp_enum_homonym/p.adb
 create mode 100644 gdb/testsuite/gdb.ada/bp_enum_homonym/pck.adb
 create mode 100644 gdb/testsuite/gdb.ada/bp_enum_homonym/pck.ads

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 599b59d..572f968 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-05  Tristan Gingold  <gingold@adacore.com>
+
+	* configure.ac: Enable gdb and readline for ia64*-*-*vms*.
+	* configure: Regenerate.
+
 2012-02-21  Joern Rennecke  <joern.rennecke@embecosm.com>
 
 	* COPYING.NEWLIB: Add Adapteva notice.
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 019a05a..195424a 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2012-03-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+	PR ld/12152
+	* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Also ignore
+	overflows for R_SPARC_UA32 in .stab sections.
+
 2012-03-01  Alan Modra  <amodra@gmail.com>
 
 	* elfxx-tilegx.c (tilegx_elf_relocate_section): Silence bogus warning.
diff --git a/bfd/elfxx-sparc.c b/bfd/elfxx-sparc.c
index fe18a62..355382e 100644
--- a/bfd/elfxx-sparc.c
+++ b/bfd/elfxx-sparc.c
@@ -1,5 +1,5 @@
 /* SPARC-specific support for ELF
-   Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011
+   Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
    Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -4069,7 +4069,9 @@ do_relocation:
 		   We don't, but this breaks stabs debugging info, whose
 		   relocations are only 32-bits wide.  Ignore overflows in
 		   this case and also for discarded entries.  */
-		if ((r_type == R_SPARC_32 || r_type == R_SPARC_DISP32)
+		if ((r_type == R_SPARC_32
+		     || r_type == R_SPARC_UA32
+		     || r_type == R_SPARC_DISP32)
 		    && (((input_section->flags & SEC_DEBUGGING) != 0
 			 && strcmp (bfd_section_name (input_bfd,
 						      input_section),
diff --git a/bfd/version.h b/bfd/version.h
index 25949aa..189f786 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20120302
+#define BFD_VERSION_DATE 20120306
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/configure b/configure
index 2579c9f..3ca99b9 100755
--- a/configure
+++ b/configure
@@ -3503,8 +3503,8 @@ case "${target}" in
     noconfigdirs="$noconfigdirs libgui itcl ld"
     ;;
   ia64*-*-*vms*)
-    # No gdb or ld support yet.
-    noconfigdirs="$noconfigdirs readline libgui itcl gdb ld"
+    # No ld support yet.
+    noconfigdirs="$noconfigdirs libgui itcl ld"
     ;;
   i[3456789]86-w64-mingw*)
     ;;
diff --git a/configure.ac b/configure.ac
index 9d48e90..c24fff4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -929,8 +929,8 @@ case "${target}" in
     noconfigdirs="$noconfigdirs libgui itcl ld"
     ;;
   ia64*-*-*vms*)
-    # No gdb or ld support yet.
-    noconfigdirs="$noconfigdirs readline libgui itcl gdb ld"
+    # No ld support yet.
+    noconfigdirs="$noconfigdirs libgui itcl ld"
     ;;
   i[[3456789]]86-w64-mingw*)
     ;;
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a26e694..6fe3ae9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,190 @@
+2012-03-06  Pedro Alves  <palves@redhat.com>
+
+	* gregset.h [HAVE_SYS_PROCFS_H]: Include <sys/procfs.h>.
+
+2012-03-05  Joel Brobecker  <brobecker@adacore.com>
+
+	* MAINTAINERS: List Maciej W. Rozycki as the mips maintainer.
+
+2012-03-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	Code cleanup.
+	* common/linux-osdata.c (linux_common_core_of_thread): New function
+	comment.
+	* linux-nat.c (linux_nat_wait_1): Replace linux_nat_core_of_thread_1
+	call by linux_common_core_of_thread.
+	(linux_nat_core_of_thread_1): Remove.
+	* linux-nat.h (linux_nat_core_of_thread_1): Remove declaration.
+	* linux-thread-db.c: Include linux-osdata.h.
+	(update_thread_core): Replace linux_nat_core_of_thread_1 call by
+	linux_common_core_of_thread.
+
+2012-03-05  Tom Tromey  <tromey@redhat.com>
+
+	* value.c (value_primitive_field): Don't fetch contents for
+	non-virtual bases.
+
+2012-03-05  Tom Tromey  <tromey@redhat.com>
+
+	* jv-valprint.c (java_value_print): Correctly compute 'obj_addr'.
+
+2012-03-05  Joel Brobecker  <brobecker@adacore.com>
+
+	From Andreas Arnez  <arnez@linux.vnet.ibm.com>:
+	* s390-nat.c: Include "gregset.h".
+
+2012-03-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* libunwind-frame.c (LIBUNWIND_SO): Change .7 to .8.
+	[!LIBUNWIND_SO] (LIBUNWIND_SO_7): New #define.
+	(libunwind_load): New variable so_error, use it for dlerror.  Try to
+	load also LIBUNWIND_SO_7.
+
+2012-03-05  Pedro Alves  <palves@redhat.com>
+
+	* i387-tdep.c (i387_supply_xsave): Assert the xsave section buffer
+	is not NULL, and remove resulting dead code.
+
+2012-03-05  Thomas Schwinge  <thomas@codesourcery.com>
+
+	* sh-tdep.c (sh_skip_prologue): Provide an upper limit on the function
+	prologue to sh_analyze_prologue.
+	(sh_analyze_prologue): Make better use of such an upper limit, and
+	generally be more cautious about accessing memory.
+
+2012-03-05  Tom Tromey  <tromey@redhat.com>
+
+	* ia64-vms-tdep.c (_initialize_ia64_vms_tdep): Rename from
+	_initialize_ia64_hpux_tdep.
+
+2012-03-05  Pedro Alves  <palves@redhat.com>
+
+	PR gdb/13766
+
+	* i387-tdep.c (i387_supply_xsave): If we have an xsave buffer, and
+	the register state is clear, supply explicit zero, instead of
+	marking the register unavailable.
+
+2012-03-05  Tristan Gingold  <gingold@adacore.com>
+
+	* NEWS: Mention OpenVMS ia64 new target.
+
+2012-03-05  Tristan Gingold  <gingold@adacore.com>
+
+	* ia64-tdep.h: Include libunwind-frame.h and libunwind-ia64.h.
+	(ia64_unw_accessors, ia64_unw_rse_accessors)
+	(ia64_libunwind_descr): Declare.
+	* ia64-vms-tdep.c: New file.
+	* ia64-tdep.c (ia64_unw_accessors, ia64_unw_rse_accessors)
+	(ia64_libunwind_descr): Make them public.
+	* configure.tgt: Add ia64-*-*vms*.
+	* Makefile.in (ALL_64_TARGET_OBS): Add ia64-vms-tdep.o
+	(ALLDEPFILES): Add ia64-vms-tdep.c
+
+2012-03-05  Tristan Gingold  <gingold@adacore.com>
+
+	* target.h (target_object): Add TARGET_OBJECT_OPENVMS_UIB.
+	* remote.c (PACKET_qXfer_uib): New enum value.
+	(remote_protocol_features): Add entry for PACKET_qXfer_uib.
+	(remote_xfer_partial): Handle TARGET_OBJECT_OPENVMS_UIB.
+	(_initialize_remote): Call add_packet_config_cmd for
+	xfer:uib packet.
+
+2012-03-05  Tristan Gingold  <gingold@adacore.com>
+
+	* osabi.c (gdb_osabi_names): Add OpenVMS.
+	(generic_elf_osabi_sniffer): Likewise.
+	* defs.h (gdb_osabi): Add GDB_OSABI_OPENVMS.
+
+2012-03-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	Removed unused code.
+	* libunwind-frame.c (libunwind_frame_unwind)
+	(libunwind_frame_base_address): Remove.
+	* libunwind-frame.h (libunwind_frame_base_address): Remove declaration.
+
+2012-03-04  Yao Qi  <yao@codesourcery.com>
+
+	* common/agent.c (gdb_connect_sync_socket): Add _ markup and
+	remove trailing new line.
+	(agent_run_command, agent_run_command): Add _ markup.
+	(agent_capability_check): Likewise.
+
+2012-03-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* breakpoint.c (set_condition_evaluation_mode): Set
+	CONDITION_EVALUATION_MODE unconditionally.
+
+2012-03-03  Yao Qi  <yao@codesourcery.com>
+
+	* common/agent.c (agent_look_up_symbols): Add one parameter 'arg'.
+	* common/agent.h: Update declaration.
+	* inf-child.c (inf_child_use_agent): New.
+	(inf_child_can_use_agent): New.
+	(inf_child_target): Initialize fields `to_use_agent'
+	and `to_can_use_agent'.
+	* agent.c (agent_new_objfile): New.
+	(_initialize_agent): Add agent_new_objfile to new_objfile
+	observer.
+
+	* linux-nat.c (linux_child_static_tracepoint_markers_by_strid):
+	New.
+	(linux_target_install_ops): Initialize field
+	`to_static_tracepoint_markers_by_strid'.
+	* remote.c (free_current_marker): Move it to ...
+	* tracepoint.c (free_current_marker): ... here.  New.
+	(cleanup_target_stop): New.
+	* tracepoint.h: Declare free_current_marker.
+	* NEWS: Add one entry about `info static-tracepoint-marker'.
+
+2012-03-03  Yao Qi  <yao@codesourcery.com>
+
+	* common/agent.c (agent_loaded_p): New.
+	(agent_look_up_symbols): New global.
+	* common/agent.h: Declare agent_loaded_p.
+
+2012-03-03  Yao Qi  <yao@codesourcery.com>
+
+	* common/agent.c (struct ipa_sym_addresses) <addr_capability>: New.
+	(agent_capability_check, agent_capability_invalidate): New.
+	(symbol_list): New array element.
+	* common/agent.h (enum agent_capa): New.
+	* target.c (target_pre_inferior): Call agent_capability_invalidate.
+
+2012-03-03  Yao Qi  <yao@codesourcery.com>
+
+	* target.h (struct target_ops) <to_use_agent>: New field.
+	(struct target_ops) <to_can_use_agent>: New field.
+	(target_use_agent, target_can_use_agent): New macro.
+	* target.c (update_current_target): Update.
+	* remote.c: New enum `PACKET_QAgent'.
+	(remote_protocol_features): Add a new element.
+	(remote_use_agent, remote_can_use_agent): New.
+	(init_remote_ops): Initialize field `can_use_agent' with
+	remote_can_use_agent.  Intiailize field `use_agent' with
+	remote_use_agent.
+	* common/agent.c (use_agent): New global.
+	* common/agent.h: Declare it.
+	* tracepoint.c (info_static_tracepoint_markers_command): Add
+	comment.
+	* Makefile.in (SFILES): Add common/agent.c and agent.c.
+	(COMMON_OBS): Add common/agent.o and agent.o
+	(common-agent.o): New rule.
+	* agent.c: New.
+
+2012-03-03  Yao Qi  <yao@codesourcery.com>
+
+	* common/agent.c: New.
+	* common/agent.h: New.
+	* configure.ac: Add `sys/socket.h' and `sys/un.h' to
+	AC_CHECK_HEADERS.
+	* configure, configh.in: Regenerated.
+
+2012-03-02  Kevin Buettner  <kevinb@redhat.com>
+
+	* sh-tdep.c (sh_frame_cache): Don't fetch the FPSCR register
+	unless it exists for this architecture.
+
 2012-03-02  Joel Brobecker  <brobecker@adacore.com>
 
 	* language.h (struct language_defn): New "method" la_read_var_value.
diff --git a/gdb/MAINTAINERS b/gdb/MAINTAINERS
index 08d7290..a92216f 100644
--- a/gdb/MAINTAINERS
+++ b/gdb/MAINTAINERS
@@ -293,6 +293,7 @@ the native maintainer when resolving ABI issues.
 			Michael Eager		eager@eagercon.com
 
 	mips		--target=mips-elf ,-Werror
+			Maciej W. Rozycki	macro@codesourcery.com
 
 	mn10300		--target=mn10300-elf broken
 			(sim/ dies with make -j)
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 57ef436..1846c74 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -516,7 +516,7 @@ ALL_64_TARGET_OBS = \
 	amd64fbsd-tdep.o amd64-darwin-tdep.o amd64-dicos-tdep.o \
 	amd64-linux-tdep.o amd64nbsd-tdep.o \
 	amd64obsd-tdep.o amd64-sol2-tdep.o amd64-tdep.o amd64-windows-tdep.o \
-	ia64-hpux-tdep.o ia64-linux-tdep.o ia64-tdep.o \
+	ia64-hpux-tdep.o ia64-linux-tdep.o ia64-vms-tdep.o ia64-tdep.o \
 	mips64obsd-tdep.o \
 	sparc64fbsd-tdep.o sparc64-linux-tdep.o sparc64nbsd-tdep.o \
 	sparc64obsd-tdep.o sparc64-sol2-tdep.o sparc64-tdep.o
@@ -684,6 +684,7 @@ TARGET_FLAGS_TO_PASS = \
 SFILES = ada-exp.y ada-lang.c ada-typeprint.c ada-valprint.c ada-tasks.c \
 	addrmap.c \
 	auxv.c ax-general.c ax-gdb.c \
+	agent.c \
 	bcache.c \
 	bfd-target.c \
 	block.c blockframe.c breakpoint.c buildsym.c \
@@ -740,7 +741,7 @@ SFILES = ada-exp.y ada-lang.c ada-typeprint.c ada-valprint.c ada-tasks.c \
 	annotate.c common/signals.c copying.c dfp.c gdb.c inf-child.c \
 	regset.c sol-thread.c windows-termcap.c \
 	common/common-utils.c common/xml-utils.c \
-	common/ptid.c common/buffer.c gdb-dlfcn.c
+	common/ptid.c common/buffer.c gdb-dlfcn.c common/agent.c
 
 LINTFILES = $(SFILES) $(YYFILES) $(CONFIG_SRCS) init.c
 
@@ -854,6 +855,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
 	annotate.o \
 	addrmap.o \
 	auxv.o \
+	agent.o \
 	bfd-target.o \
 	blockframe.o breakpoint.o findvar.o regcache.o \
 	charset.o continuations.o corelow.o disasm.o dummy-frame.o dfp.o \
@@ -908,7 +910,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
 	target-descriptions.o target-memory.o xml-tdesc.o xml-builtin.o \
 	inferior.o osdata.o gdb_usleep.o record.o gcore.o \
 	jit.o progspace.o skip.o \
-	common-utils.o buffer.o ptid.o gdb-dlfcn.o
+	common-utils.o buffer.o ptid.o gdb-dlfcn.o common-agent.o
 
 TSOBS = inflow.o
 
@@ -1458,7 +1460,7 @@ ALLDEPFILES = \
 	i386-sol2-nat.c i386-sol2-tdep.c \
 	i386gnu-nat.c i386gnu-tdep.c \
 	ia64-hpux-nat.c ia64-hpux-tdep.c \
-	ia64-linux-nat.c ia64-linux-tdep.c ia64-tdep.c \
+	ia64-linux-nat.c ia64-linux-tdep.c ia64-tdep.c ia64-vms-tdep.c \
 	inf-ptrace.c inf-ttrace.c \
 	irix5-nat.c \
 	libunwind-frame.c \
@@ -1927,6 +1929,10 @@ linux-procfs.o: $(srcdir)/common/linux-procfs.c
 	$(COMPILE) $(srcdir)/common/linux-procfs.c
 	$(POSTCOMPILE)
 
+common-agent.o: $(srcdir)/common/agent.c
+	$(COMPILE) $(srcdir)/common/agent.c
+	$(POSTCOMPILE)
+
 #
 # gdb/tui/ dependencies
 #
diff --git a/gdb/NEWS b/gdb/NEWS
index 4b2c819..3051c74 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -57,6 +57,9 @@
   but it had to be done as a second step, after the catchpoint had been
   created, using the "condition" command.
 
+* The "info static-tracepoint-marker" command will now also work on
+  native Linux targets with in-process agent.
+
 * New commands
 
   ** "catch load" and "catch unload" can be used to stop when a shared
@@ -68,6 +71,7 @@
 * New targets
 
 Renesas RL78			rl78-*-elf
+HP OpenVMS ia64			ia64-hp-openvms*
 
 * GDBserver supports evaluation of breakpoint conditions.  When
   support is advertised by GDBserver, GDB may be told to send the
diff --git a/gdb/agent.c b/gdb/agent.c
new file mode 100644
index 0000000..a8958d7
--- /dev/null
+++ b/gdb/agent.c
@@ -0,0 +1,87 @@
+/* Copyright (C) 2012 Free Software Foundation, Inc.
+
+   This file is part of GDB.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 3 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
+
+#include "defs.h"
+#include "command.h"
+#include "gdbcmd.h"
+#include "target.h"
+#include "agent.h"
+
+/* Enum strings for "set|show agent".  */
+
+static const char can_use_agent_on[] = "on";
+static const char can_use_agent_off[] = "off";
+static const char *can_use_agent_enum[] =
+{
+  can_use_agent_on,
+  can_use_agent_off,
+  NULL,
+};
+
+static const char *can_use_agent = can_use_agent_off;
+
+static void
+show_can_use_agent (struct ui_file *file, int from_tty,
+		    struct cmd_list_element *c, const char *value)
+{
+  fprintf_filtered (file,
+		    _("Debugger's willingness to use agent in inferior "
+		      "as a helper is %s.\n"), value);
+}
+
+static void
+set_can_use_agent (char *args, int from_tty, struct cmd_list_element *c)
+{
+  if (target_use_agent (can_use_agent == can_use_agent_on) == 0)
+    /* Something wrong during setting, set flag to default value.  */
+    can_use_agent = can_use_agent_off;
+}
+
+/* -Wmissing-prototypes */
+extern initialize_file_ftype _initialize_agent;
+
+#include "observer.h"
+#include "objfiles.h"
+
+static void
+agent_new_objfile (struct objfile *objfile)
+{
+  if (objfile == NULL || agent_loaded_p ())
+    return;
+
+  agent_look_up_symbols (objfile);
+}
+
+void
+_initialize_agent (void)
+{
+  observer_attach_new_objfile (agent_new_objfile);
+
+  add_setshow_enum_cmd ("agent", class_run,
+			can_use_agent_enum,
+			&can_use_agent, _("\
+Set debugger's willingness to use agent as a helper."), _("\
+Show debugger's willingness to use agent as a helper."), _("\
+If on, GDB will delegate some of the debugging operations to the\n\
+agent, if the target supports it.  This will speed up those\n\
+operations that are supported by the agent.\n\
+If off, GDB will not use agent, even if such is supported by the\n\
+target."),
+			set_can_use_agent,
+			show_can_use_agent,
+			&setlist, &showlist);
+}
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 3decd92..5388a4e 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -761,6 +761,10 @@ set_condition_evaluation_mode (char *args, int from_tty,
   new_mode = translate_condition_evaluation_mode (condition_evaluation_mode_1);
   old_mode = translate_condition_evaluation_mode (condition_evaluation_mode);
 
+  /* Flip the switch.  Flip it even if OLD_MODE == NEW_MODE as one of the
+     settings was "auto".  */
+  condition_evaluation_mode = condition_evaluation_mode_1;
+
   /* Only update the mode if the user picked a different one.  */
   if (new_mode != old_mode)
     {
@@ -772,9 +776,6 @@ set_condition_evaluation_mode (char *args, int from_tty,
 	 "target" -> "host": Remove all the conditions from the target.
       */
 
-      /* Flip the switch.  */
-      condition_evaluation_mode = condition_evaluation_mode_1;
-


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-06 19:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-06 19:24 [SCM] archer-keiths-linespec-rewrite: * linespec.c (collect_symbols): Only accept all matching symbols in list mode kseitz

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).