public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  gbenson/rtld-probes: Merge remote branch 'gdb/master' into gbenson/rtld-probes
@ 2013-05-14 13:15 gary
  0 siblings, 0 replies; 5+ messages in thread
From: gary @ 2013-05-14 13:15 UTC (permalink / raw)
  To: archer-commits

The branch, gbenson/rtld-probes has been updated
       via  32774de1333ab48c13ad61ff0869292df26ec1b0 (commit)
       via  b7b21175961e89d402475f8315ebd41d38a8b1e1 (commit)
       via  4561066c2ca4b9803f61aa3d5ab922eacf9074e6 (commit)
       via  18ff964b7afe30af7c370dc755bab2ba4f6904d1 (commit)
       via  0b6d485333eaecc80f2ee1c526d00afc34545568 (commit)
       via  85d1ecb8e8c205ad9920ec7d9122e1f41a8722e6 (commit)
       via  99625c81b71b4ebde9922688db0c52533ad9169a (commit)
       via  9ff19ea62ce51ec67ab3fe646aec8a5b3d8b06ce (commit)
       via  599663b891b44af7854305c29b2e5c9036d3d18a (commit)
       via  a9fd162da6d20785d86daf2963c175d7b31b1502 (commit)
       via  81160eb832e138cbbbaefcb1a618b833e0cba067 (commit)
       via  e093c20cb935fd6cfd50166fce1f476f61cdedb4 (commit)
       via  5f44153b7e6247e1a59ada51f4ff56f9ba43d019 (commit)
       via  6043f67954e86f417874a92239683afc05acc197 (commit)
       via  3f9c92cea940830cd60a14f0918fc8881c10a11a (commit)
       via  16231982db16e600b6678b7ba8a50db941f71448 (commit)
       via  c9d9bd917e99201f16e2d7da4b8637d37df66224 (commit)
       via  f9faafae8750b071370766a40e9e1204d667285c (commit)
       via  a2d6e67eab0c21881486166bb23a22a759cbfe0f (commit)
       via  c4d847ed07a5b98bc1d22e1053ae6723278a5ade (commit)
       via  2b6f779f35f31109cd1fa7e847153d463f1b21ba (commit)
       via  4ab6caae50b7dd03fdd35f9b63f74323098d1d1a (commit)
       via  7698b6278eabefc34834cd51a04f8c821d6daed4 (commit)
       via  6ac38df064fe8efd580ebb9426bbedd343de78c5 (commit)
       via  77c8328144b9f4724ec07ec612e65bdbd20b04fb (commit)
       via  6fccee683ae32b5ba453daf063581d6819deeaef (commit)
      from  c5260d1d1b60de9a3897f7f045ac66085b7c62d2 (commit)

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

- Log -----------------------------------------------------------------
commit 32774de1333ab48c13ad61ff0869292df26ec1b0
Merge: c5260d1 b7b2117
Author: Gary Benson <gbenson@redhat.com>
Date:   Tue May 14 14:15:14 2013 +0100

    Merge remote branch 'gdb/master' into gbenson/rtld-probes

commit b7b21175961e89d402475f8315ebd41d38a8b1e1
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue May 14 00:00:06 2013 +0000

    daily update

commit 4561066c2ca4b9803f61aa3d5ab922eacf9074e6
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue May 14 00:00:02 2013 +0000

    *** empty log message ***

commit 18ff964b7afe30af7c370dc755bab2ba4f6904d1
Author: yufeng <yufeng>
Date:   Mon May 13 22:28:27 2013 +0000

    gas/
    
    	* testsuite/gas/aarch64/diagnostic.s: Update.
    	* testsuite/gas/aarch64/diagnostic.l: Ditto.
    	* testsuite/gas/aarch64/movi.s: Add new tests.
    	* testsuite/gas/aarch64/movi.d: Update.
    
    opcodes/
    
    	* aarch64-asm.c (aarch64_ins_advsimd_imm_modified): Remove assertion.
    	* aarch64-opc.c (operand_general_constraint_met_p): Relax the range
    	check from [0, 255] to [-128, 255].

commit 0b6d485333eaecc80f2ee1c526d00afc34545568
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon May 13 19:32:17 2013 +0000

    	* gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
    	size and change type sizes to 4 bytes.

commit 85d1ecb8e8c205ad9920ec7d9122e1f41a8722e6
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon May 13 16:57:20 2013 +0000

    fix PR number in ChangeLog

commit 99625c81b71b4ebde9922688db0c52533ad9169a
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon May 13 16:56:09 2013 +0000

        	PR gdb/15538:
    	* dwarf2read.c (dwarf2_record_block_ranges): Ensure that the
    	ranges section has been read.

commit 9ff19ea62ce51ec67ab3fe646aec8a5b3d8b06ce
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon May 13 16:51:51 2013 +0000

    	PR exp/15364:
    	* eval.c (evaluate_subexp_standard) <STRUCTOP_STRUCT,
    	STRUCTOP_PTR>: Return a not_lval value for
    	EVAL_AVOID_SIDE_EFFECTS.
    	* opencl-lang.c (evaluate_subexp_opencl): Return a not_lval value
    	for EVAL_AVOID_SIDE_EFFECTS.
    gdb/testsuite
    	* gdb.base/exprs.exp (test_expr): Add regression test.
    	* gdb.base/exprs.c (null_t_struct): New global.

commit 599663b891b44af7854305c29b2e5c9036d3d18a
Author: Nick Clifton <nickc@redhat.com>
Date:   Mon May 13 10:52:52 2013 +0000

    	* v850.igen (LDSR): Accept but ignore a selID parameter.

commit a9fd162da6d20785d86daf2963c175d7b31b1502
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Mon May 13 10:27:35 2013 +0000

    Float parameter passing in funcall on ppc-aix & ppc-lynx178.
    
    Given the following code:
    
        float global_float = 0.0;
    
        void
        set_float (float f)
        {
          global_float = f;
        }
    
    GDB incorrectly calls set_float if the set_float function is marked
    as prototyped:
    
        (gdb) call set_float (5.0)
        (gdb) print global_float
        $1 = 2048
    
    What happens, when the function is marked as prototyped, is that
    GDB finds that the argument is a float, casts the value given in
    the expression to a float, and then gives that float to ppc-aix/
    ppc-lynx178's push_dummy_call gdbarch routine. The latter then blindly
    copies it as is in the first floating-point register, instead of
    making sure that it has the proper format first.
    
    gdb/ChangeLog:
    
            * rs6000-aix-tdep.c (rs6000_push_dummy_call): Convert
            floating point registers to register type before storing
            value.
            * rs6000-lynx178-tdep.c (rs6000_lynx178_push_dummy_call):
            Likewise.

commit 81160eb832e138cbbbaefcb1a618b833e0cba067
Author: mbilal <mbilal>
Date:   Mon May 13 08:49:23 2013 +0000

    * History saving should stay disabled for test cases *
    
    I saw some test cases in gdb.base/default.exp and gdb.base/setshow.exp
    are enabling the history saving.
    Hence .gdb_history file is modified with history information even
    though, by default, we have History saving disabled.
    So we should modify GDB test cases so that history saving should stay
    off for all test cases.
    
    
    
    ChangeLog:
    
    2013-05-13  Muhammad Bilal  <mbilal@codesourcery.com>
    
           * gdb.base/default.exp: Disable history saving.
           * gdb.base/setshow.exp: Likewise.

commit e093c20cb935fd6cfd50166fce1f476f61cdedb4
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon May 13 00:00:32 2013 +0000

    *** empty log message ***

commit 5f44153b7e6247e1a59ada51f4ff56f9ba43d019
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon May 13 00:00:06 2013 +0000

    daily update

commit 6043f67954e86f417874a92239683afc05acc197
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun May 12 00:00:06 2013 +0000

    daily update

commit 3f9c92cea940830cd60a14f0918fc8881c10a11a
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun May 12 00:00:03 2013 +0000

    *** empty log message ***

commit 16231982db16e600b6678b7ba8a50db941f71448
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat May 11 00:00:06 2013 +0000

    daily update

commit c9d9bd917e99201f16e2d7da4b8637d37df66224
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat May 11 00:00:02 2013 +0000

    *** empty log message ***

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

Summary of changes:
 bfd/ChangeLog                                      |    5 +
 bfd/coffcode.h                                     |    6 +
 bfd/version.h                                      |    2 +-
 gdb/ChangeLog                                      |  124 ++
 gdb/Makefile.in                                    |    6 +
 gdb/NEWS                                           |    4 +
 gdb/common/filestuff.c                             |   27 +
 gdb/common/filestuff.h                             |   10 +
 gdb/configure                                      |   10 +-
 gdb/configure.ac                                   |   10 +-
 gdb/darwin-nat.c                                   |    7 +
 gdb/data-directory/Makefile.in                     |    4 +
 gdb/doc/ChangeLog                                  |   17 +
 gdb/doc/gdb.texinfo                                |  845 +++++++++++-
 gdb/dwarf2read.c                                   |    5 +-
 gdb/eval.c                                         |   12 +-
 gdb/inf-ttrace.c                                   |   11 +
 gdb/mi/mi-cmd-stack.c                              |  229 +++-
 gdb/mi/mi-cmds.c                                   |    1 +
 gdb/mi/mi-cmds.h                                   |    1 +
 gdb/opencl-lang.c                                  |   11 +-
 gdb/python/lib/gdb/FrameDecorator.py               |  285 ++++
 gdb/python/lib/gdb/FrameIterator.py                |   45 +
 gdb/python/lib/gdb/__init__.py                     |    2 +
 gdb/python/lib/gdb/command/frame_filters.py        |  461 ++++++
 gdb/python/lib/gdb/frames.py                       |  229 +++
 gdb/python/py-framefilter.c                        | 1528 ++++++++++++++++++++
 gdb/python/py-objfile.c                            |   60 +
 gdb/python/py-progspace.c                          |   60 +
 gdb/python/py-utils.c                              |   22 +
 gdb/python/python-internal.h                       |    3 +
 gdb/python/python.c                                |    9 +
 gdb/python/python.h                                |   66 +
 gdb/remote.c                                       |    3 +-
 gdb/rs6000-aix-tdep.c                              |   15 +-
 gdb/rs6000-lynx178-tdep.c                          |   14 +-
 gdb/sol-thread.c                                   |   24 +
 gdb/solib-aix.c                                    |   26 +-
 gdb/stack.c                                        |  121 ++-
 gdb/testsuite/ChangeLog                            |   31 +
 gdb/testsuite/gdb.base/default.exp                 |    2 +
 gdb/testsuite/gdb.base/exprs.c                     |    1 +
 gdb/testsuite/gdb.base/exprs.exp                   |    4 +
 gdb/testsuite/gdb.base/setshow.exp                 |    2 +
 gdb/testsuite/gdb.dwarf2/implptrconst.exp          |    8 +-
 gdb/testsuite/gdb.python/py-framefilter-gdb.py.in  |   48 +
 gdb/testsuite/gdb.python/py-framefilter-mi.c       |  138 ++
 gdb/testsuite/gdb.python/py-framefilter-mi.exp     |  179 +++
 gdb/testsuite/gdb.python/py-framefilter.c          |  155 ++
 gdb/testsuite/gdb.python/py-framefilter.exp        |  239 +++
 gdb/testsuite/gdb.python/py-framefilter.py         |  117 ++
 .../gdb.trace/qtro.c}                              |   30 +-
 gdb/testsuite/gdb.trace/qtro.exp                   |  173 +++
 gdb/version.in                                     |    2 +-
 opcodes/ChangeLog                                  |    6 +
 opcodes/aarch64-asm.c                              |    1 -
 opcodes/aarch64-opc.c                              |    6 +-
 sim/bfin/ChangeLog                                 |    4 +
 sim/bfin/configure                                 |    3 +-
 sim/common/ChangeLog                               |    6 +
 sim/common/acinclude.m4                            |    3 +-
 sim/cr16/ChangeLog                                 |    4 +
 sim/cr16/configure                                 |    3 +-
 sim/cris/ChangeLog                                 |    4 +
 sim/cris/configure                                 |    3 +-
 sim/d10v/ChangeLog                                 |    4 +
 sim/d10v/configure                                 |    3 +-
 sim/igen/ChangeLog                                 |    4 +
 sim/igen/configure                                 |    3 +-
 sim/m68hc11/ChangeLog                              |    4 +
 sim/m68hc11/configure                              |    3 +-
 sim/mips/ChangeLog                                 |    4 +
 sim/mips/configure                                 |    3 +-
 sim/mn10300/ChangeLog                              |    4 +
 sim/mn10300/configure                              |    3 +-
 sim/v850/ChangeLog                                 |    8 +
 sim/v850/configure                                 |    3 +-
 sim/v850/v850.igen                                 |    8 +-
 78 files changed, 5370 insertions(+), 176 deletions(-)
 create mode 100644 gdb/python/lib/gdb/FrameDecorator.py
 create mode 100644 gdb/python/lib/gdb/FrameIterator.py
 create mode 100644 gdb/python/lib/gdb/command/frame_filters.py
 create mode 100644 gdb/python/lib/gdb/frames.py
 create mode 100644 gdb/python/py-framefilter.c
 create mode 100644 gdb/testsuite/gdb.python/py-framefilter-gdb.py.in
 create mode 100644 gdb/testsuite/gdb.python/py-framefilter-mi.c
 create mode 100644 gdb/testsuite/gdb.python/py-framefilter-mi.exp
 create mode 100644 gdb/testsuite/gdb.python/py-framefilter.c
 create mode 100644 gdb/testsuite/gdb.python/py-framefilter.exp
 create mode 100644 gdb/testsuite/gdb.python/py-framefilter.py
 rename gdb/{sparc-sol-thread.c => testsuite/gdb.trace/qtro.c} (53%)
 create mode 100644 gdb/testsuite/gdb.trace/qtro.exp

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index e680c3a..eb254b7 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2013-05-10  Joel Brobecker  <brobecker@adacore.com>
+
+	* coffcode.h (styp_to_sec_flags) [RS6000COFF_C]: Add handling
+	of STYP_EXCEPT, STYP_LOADER and STYP_TYPCHK sections.
+
 2013-05-09  Joel Brobecker  <brobecker@adacore.com>
 
 	* bfd.c (_bfd_default_error_handler): Replace use of putc
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 9d9c992..2a1a172 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -795,6 +795,12 @@ styp_to_sec_flags (bfd *abfd ATTRIBUTE_UNUSED,
   else if (styp_flags & STYP_PAD)
     sec_flags = 0;
 #ifdef RS6000COFF_C
+  else if (styp_flags & STYP_EXCEPT)
+    sec_flags |= SEC_LOAD;
+  else if (styp_flags & STYP_LOADER)
+    sec_flags |= SEC_LOAD;
+  else if (styp_flags & STYP_TYPCHK)
+    sec_flags |= SEC_LOAD;
   else if (styp_flags & STYP_DWARF)
     sec_flags |= SEC_DEBUGGING;
 #endif
diff --git a/bfd/version.h b/bfd/version.h
index fe85ccd..89b903a 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20130510
+#define BFD_VERSION_DATE 20130514
 #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/gdb/ChangeLog b/gdb/ChangeLog
index c3399ba..c978f0b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,127 @@
+2013-05-13  Tom Tromey  <tromey@redhat.com>
+
+    	PR gdb/15338:
+	* dwarf2read.c (dwarf2_record_block_ranges): Ensure that the
+	ranges section has been read.
+
+2013-05-13  Tom Tromey  <tromey@redhat.com>
+
+	PR exp/15364:
+	* eval.c (evaluate_subexp_standard) <STRUCTOP_STRUCT,
+	STRUCTOP_PTR>: Return a not_lval value for
+	EVAL_AVOID_SIDE_EFFECTS.
+	* opencl-lang.c (evaluate_subexp_opencl): Return a not_lval value
+	for EVAL_AVOID_SIDE_EFFECTS.
+
+2013-05-13  Joel Brobecker  <brobecker@adacore.com>
+
+	* rs6000-aix-tdep.c (rs6000_push_dummy_call): Convert
+	floating point registers to register type before storing
+	value.
+	* rs6000-lynx178-tdep.c (rs6000_lynx178_push_dummy_call):
+	Likewise.
+
+2013-05-10  Joel Brobecker  <brobecker@adacore.com>
+	    Tom Tromey  <tromey@redhat.com>
+
+	* common/filestuff.c (mark_fd_no_cloexec, unmark_fd_no_cloexec):
+	New functions.
+	* common/filestuff.c (mark_fd_no_cloexec, unmark_fd_no_cloexec):
+	Declare.
+	* darwin-nat.c (darwin_pre_ptrace): Use mark_fd_no_cloexec.
+	(darwin_ptrace_him): Use unmark_fd_no_cloexec.
+	* inf-ttrace.c (do_cleanup_pfds): Use unmark_fd_no_cloexec.
+	(inf_ttrace_prepare): Use mark_fd_no_cloexec.
+
+2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
+	    Tom Tromey  <tromey@redhat.com>
+
+	PR build/15414:
+	* configure: Rebuild.
+	* configure.ac (build_warnings): Do not use -Wformat-nonliteral
+	with -Wno-format.
+
+2013-05-10  Pedro Alves  <palves@redhat.com>
+
+	* remote.c (_initialize_remote): Fix spelling of
+	qXfer:traceframe-info:read packet in packet config command.
+
+2013-05-10  David Taylor  <dtaylor@emc.com>
+
+	PR remote/15455
+
+	* remote.c (remote_trace_set_readonly_regions): Do not overwrite
+	"QTro" at start of packet.
+
+2013-05-10  Joel Brobecker  <brobecker@adacore.com>
+
+	* solib-aix.c (solib_aix_relocate_section_addresses):
+	For the .bss section action, apply the same offset as
+	the .data section.
+
+2013-05-10  Joel Brobecker  <brobecker@adacore.com>
+
+	* solib-aix.c (solib_aix_relocate_section_addresses):
+	Remove FIXME comment.
+
+2013-05-10  Joel Brobecker  <brobecker@adacore.com>
+
+	PR tdep/15420:
+	* sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs):
+	New functions, directly copied from sparc-sol-thread.c.
+	* sparc-sol-thread.c: Delete.
+	* configure.ac: Remove code handling sparc-solaris-thread.c.
+	* configure: Regenerate.
+
+2013-05-10  Phil Muldoon  <pmuldoon@redhat.com>
+
+	* stack.c (backtrace_command_1): Add "no-filters", and Python frame
+	filter logic.
+	(backtrace_command): Add "no-filters" option parsing.
+	(_initialize_stack): Alter help to reflect "no-filters" option.
+	* Makefile.in (SUBDIR_PYTHON_OBS): Add py-framefilter.o
+	(SUBDIR_PYTHON_SRCS): Add py-framefilter.c
+	(py-frame.o): Add target
+	* data-directory/Makefile.in (PYTHON_DIR): Add Python frame
+	filter files.
+	* python/python.h: Add new frame filter constants, and flag enum.
+	(apply_frame_filter): Add definition.
+	* python/python.c (apply_frame_filter): New non-Python
+	enabled function.
+	* python/py-utils.c (py_xdecref): New function.
+	(make_cleanup_py_xdecref): Ditto.
+	* python/py-objfile.c: Declare frame_filters dictionary.
+	(objfpy_dealloc): Add frame_filters dealloc.
+	(objfpy_new): Initialize frame_filters attribute.
+	(objfile_to_objfile_object): Ditto.
+	(objfpy_get_frame_filters): New function.
+	(objfpy_set_frame_filters): New function.
+	* python/py-progspace.c: Declare frame_filters dictionary.
+	(pspy_dealloc): Add frame_filters dealloc.
+	(pspy_new): Initialize frame_filters attribute.
+	(pspacee_to_pspace_object): Ditto.
+	(pspy_get_frame_filters): New function.
+	(pspy_set_frame_filters): New function.
+	* python/py-framefilter.c: New file.
+	* python/lib/gdb/command/frame_filters.py: New file.
+	* python/lib/gdb/frames.py: New file.
+	* python/lib/gdb/__init__.py: Initialize global frame_filters
+	dictionary
+	* python/lib/gdb/FrameDecorator.py: New file.
+	* python/lib/gdb/FrameIterator.py: New file.
+	* mi/mi-cmds.c (mi_cmds): Add frame filters command.
+	* mi/mi-cmds.h: Declare.
+	* mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Add
+	--no-frame-filter logic, and Python frame filter logic.
+	(stack_enable_frame_filters): New function.
+	(parse_no_frame_option): Ditto.
+	(mi_cmd_stack_list_frames): Add --no-frame-filter and Python frame
+	filter logic.
+	(mi_cmd_stack_list_locals): Ditto.
+	(mi_cmd_stack_list_args): Ditto.
+	(mi_cmd_stack_list_variables): Ditto.
+	* NEWS: Add frame filter note.
+
 2013-05-09  Doug Evans  <dje@google.com>
 
 	* symfile.c (syms_from_objfile_1): Delete args offsets, num_offsets.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 2597ddb..9127894 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -288,6 +288,7 @@ SUBDIR_PYTHON_OBS = \
 	py-exitedevent.o \
 	py-finishbreakpoint.o \
 	py-frame.o \
+	py-framefilter.o \
 	py-function.o \
 	py-gdb-readline.o \
 	py-inferior.o \
@@ -322,6 +323,7 @@ SUBDIR_PYTHON_SRCS = \
 	python/py-exitedevent.c \
 	python/py-finishbreakpoint.c \
 	python/py-frame.c \
+	python/py-framefilter.c \
 	python/py-function.c \
 	python/py-gdb-readline.c \
 	python/py-inferior.c \
@@ -2144,6 +2146,10 @@ py-frame.o: $(srcdir)/python/py-frame.c
 	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-frame.c
 	$(POSTCOMPILE)
 
+py-framefilter.o: $(srcdir)/python/py-framefilter.c
+	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-framefilter.c
+	$(POSTCOMPILE)
+
 py-function.o: $(srcdir)/python/py-function.c
 	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-function.c
 	$(POSTCOMPILE)
diff --git a/gdb/NEWS b/gdb/NEWS
index 65284dc..7cd1646 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -3,6 +3,10 @@
 
 *** Changes since GDB 7.6
 
+* Python scripting
+
+  ** Frame filters and frame decorators have been added.
+
 * New targets
 
 Nios II ELF 			nios2*-*-elf
diff --git a/gdb/common/filestuff.c b/gdb/common/filestuff.c
index 68f66ca..e7af3a5 100644
--- a/gdb/common/filestuff.c
+++ b/gdb/common/filestuff.c
@@ -177,6 +177,33 @@ notice_open_fds (void)
   fdwalk (do_mark_open_fd, NULL);
 }
 
+/* See filestuff.h.  */
+
+void
+mark_fd_no_cloexec (int fd)
+{
+  do_mark_open_fd (NULL, fd);
+}
+
+/* See filestuff.h.  */
+
+void
+unmark_fd_no_cloexec (int fd)
+{
+  int i, val;
+
+  for (i = 0; VEC_iterate (int, open_fds, i, val); ++i)
+    {
+      if (fd == val)
+	{
+	  VEC_unordered_remove (int, open_fds, i);
+	  return;
+	}
+    }
+
+  gdb_assert_not_reached (_("fd not found in open_fds"));
+}
+
 /* Helper function for close_most_fds that closes the file descriptor
    if appropriate.  */
 
diff --git a/gdb/common/filestuff.h b/gdb/common/filestuff.h
index 0db33f0..b162a0c 100644
--- a/gdb/common/filestuff.h
+++ b/gdb/common/filestuff.h
@@ -24,6 +24,16 @@
 
 extern void notice_open_fds (void);
 
+/* Mark a file descriptor as inheritable across an exec.  */
+
+extern void mark_fd_no_cloexec (int fd);
+
+/* Mark a file descriptor as no longer being inheritable across an
+   exec.  This is only meaningful when FD was previously passed to
+   mark_fd_no_cloexec.  */
+
+extern void unmark_fd_no_cloexec (int fd);
+
 /* Close all open file descriptors other than those marked by
    'notice_open_fds', and stdin, stdout, and stderr.  Errors that
    occur while closing are ignored.  */
diff --git a/gdb/configure b/gdb/configure
index c5ad94b..6033791 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -11969,13 +11969,6 @@ $as_echo "#define HAVE_THREAD_DB_LIB 1" >>confdefs.h
 
          CONFIG_OBS="${CONFIG_OBS} sol-thread.o"
          CONFIG_SRCS="${CONFIG_SRCS} sol-thread.c"
-         # On SPARC CPUs, we also need to build sparc-sol-thread.
-         case ${host_cpu} in
-           sparc*)
-             CONFIG_OBS="${CONFIG_OBS} sparc-sol-thread.o"
-             CONFIG_SRCS="${CONFIG_SRCS} sparc-sol-thread.c"
-             ;;
-         esac
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 $as_echo_n "checking for dlopen in -ldl... " >&6; }
 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
@@ -12453,7 +12446,7 @@ fi
 # NOTE: If you change this list, remember to update
 # gdb/doc/gdbint.texinfo.
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
--Wformat-nonliteral -Wpointer-sign \
+-Wpointer-sign \
 -Wno-unused -Wunused-value -Wunused-function \
 -Wno-switch -Wno-char-subscripts -Wmissing-prototypes \
 -Wdeclaration-after-statement -Wempty-body"
@@ -12462,6 +12455,7 @@ build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 # GCC versions complain about %I64.
 case "${host}" in
   *-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;;
+  *) build_warnings="$build_warnings -Wformat-nonliteral" ;;
 esac
 
 # Check whether --enable-build-warnings was given.
diff --git a/gdb/configure.ac b/gdb/configure.ac
index bb7fbdd..3e95c25 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -1742,13 +1742,6 @@ if test ${build} = ${host} -a ${host} = ${target} ; then
          [Define if using Solaris thread debugging.])
          CONFIG_OBS="${CONFIG_OBS} sol-thread.o"
          CONFIG_SRCS="${CONFIG_SRCS} sol-thread.c"
-         # On SPARC CPUs, we also need to build sparc-sol-thread.
-         case ${host_cpu} in
-           sparc*)
-             CONFIG_OBS="${CONFIG_OBS} sparc-sol-thread.o"
-             CONFIG_SRCS="${CONFIG_SRCS} sparc-sol-thread.c"
-             ;;
-         esac
          AC_CHECK_LIB(dl, dlopen)
 	 CONFIG_LDFLAGS="${CONFIG_LDFLAGS} $RDYNAMIC"
 	 # Sun randomly tweaked the prototypes in <proc_service.h>
@@ -1926,7 +1919,7 @@ fi
 # NOTE: If you change this list, remember to update
 # gdb/doc/gdbint.texinfo.
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
--Wformat-nonliteral -Wpointer-sign \
+-Wpointer-sign \
 -Wno-unused -Wunused-value -Wunused-function \
 -Wno-switch -Wno-char-subscripts -Wmissing-prototypes \
 -Wdeclaration-after-statement -Wempty-body"
@@ -1935,6 +1928,7 @@ build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 # GCC versions complain about %I64.
 case "${host}" in
   *-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;;
+  *) build_warnings="$build_warnings -Wformat-nonliteral" ;;
 esac
 
 AC_ARG_ENABLE(build-warnings,
diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c
index acdbf36..a2da924 100644
--- a/gdb/darwin-nat.c
+++ b/gdb/darwin-nat.c
@@ -66,6 +66,7 @@
 #include <mach/port.h>
 
 #include "darwin-nat.h"
+#include "common/filestuff.h"
 
 /* Quick overview.
    Darwin kernel is Mach + BSD derived kernel.  Note that they share the
@@ -1516,6 +1517,9 @@ darwin_pre_ptrace (void)
       ptrace_fds[1] = -1;
       error (_("unable to create a pipe: %s"), safe_strerror (errno));
     }
+
+  mark_fd_no_cloexec (ptrace_fds[0]);
+  mark_fd_no_cloexec (ptrace_fds[1]);
 }
 
 static void
@@ -1533,6 +1537,9 @@ darwin_ptrace_him (int pid)
   close (ptrace_fds[0]);
   close (ptrace_fds[1]);
 
+  unmark_fd_no_cloexec (ptrace_fds[0]);
+  unmark_fd_no_cloexec (ptrace_fds[1]);
+
   darwin_init_thread_list (inf);
 
   startup_inferior (START_INFERIOR_TRAPS_EXPECTED);
diff --git a/gdb/data-directory/Makefile.in b/gdb/data-directory/Makefile.in
index d98ac77..13433ed 100644
--- a/gdb/data-directory/Makefile.in
+++ b/gdb/data-directory/Makefile.in
@@ -53,10 +53,14 @@ PYTHON_DIR = python
 PYTHON_INSTALL_DIR = $(DESTDIR)$(GDB_DATADIR)/$(PYTHON_DIR)
 PYTHON_FILES = \
 	gdb/__init__.py \
+	gdb/frames.py \
+	gdb/FrameIterator.py \
+	gdb/FrameDecorator.py \
 	gdb/types.py \
 	gdb/printing.py \
 	gdb/prompt.py \
 	gdb/command/__init__.py \
+	gdb/command/frame_filters.py \
 	gdb/command/type_printers.py \
 	gdb/command/pretty_printers.py \
 	gdb/command/prompt.py \
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 80f08a5..908fbb4 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,20 @@
+2013-05-10 Phil Muldoon  <pmuldoon@redhat.com>
+
+	* gdb.texinfo (Backtrace): Add "no-filter" argument.
+	(Python API): Add Frame	Filters API, Frame Wrapper API,
+	Writing a Frame Filter/Wrapper,	Managing Management of Frame
+	Filters chapter entries.
+	(Frame Filters API): New Node.
+	(Frame Wrapper API): New Node.
+	(Writing a Frame Filter): New Node.
+	(Managing Frame Filters): New Node.
+	(Progspaces In Python): Add note about frame_filters attribute.
+	(Objfiles in Python): Ditto.
+	(GDB/MI Stack Manipulation): Add -enable-frame-filters command,
+	@anchors and --no-frame-filters option to -stack-list-variables,
+	-stack-list-frames, -stack-list-locals and -stack-list-arguments
+	commands.
+
 2013-05-08  Joel Brobecker  <brobecker@adacore.com>
 
 	* gdbint.texinfo (Native Debugging): Add "AIX Shared Library
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index f685cd2..1869d74 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -6465,6 +6465,7 @@ currently executing frame and describes it briefly, similar to the
 @menu
 * Frames::                      Stack frames
 * Backtrace::                   Backtraces
+* Frame Filter Management::     Managing frame filters
 * Selection::                   Selecting a frame
 * Frame Info::                  Information on a frame
 
@@ -6552,6 +6553,7 @@ line per frame, for many frames, starting with the currently executing
 frame (frame zero), followed by its caller (frame one), and on up the
 stack.
 
+@anchor{backtrace-command}
 @table @code
 @kindex backtrace
 @kindex bt @r{(@code{backtrace})}
@@ -6577,6 +6579,19 @@ Similar, but print only the outermost @var{n} frames.
 @itemx bt full -@var{n}
 Print the values of the local variables also.  @var{n} specifies the
 number of frames to print, as described above.
+
+@item backtrace no-filters
+@itemx bt no-filters
+@itemx bt no-filters @var{n}
+@itemx bt no-filters -@var{n}
+@itemx bt no-filters full
+@itemx bt no-filters full @var{n}
+@itemx bt no-filters full -@var{n}
+Do not run Python frame filters on this backtrace.  @xref{Frame
+Filter API}, for more information.  Additionally use @ref{disable
+frame-filter all} to turn off all frame filters.  This is only
+relevant when @value{GDBN} has been configured with @code{Python}
+support.
 @end table
 
 @kindex where
@@ -6727,6 +6742,149 @@ Display an absolute filename.
 Show the current way to display filenames.
 @end table
 
+@node Frame Filter Management
+@section Management of Frame Filters.
+@cindex managing frame filters
+
+Frame filters are Python based utilities to manage and decorate the
+output of frames.  @xref{Frame Filter API}, for further information.
+
+Managing frame filters is performed by several commands available
+within @value{GDBN}, detailed here.
+
+@table @code
+@kindex info frame-filter
+@item info frame-filter
+Print a list of installed frame filters from all dictionaries, showing
+their name, priority and enabled status.
+
+@kindex disable frame-filter
+@anchor{disable frame-filter all}
+@item disable frame-filter @var{filter-dictionary} @var{filter-name}
+Disable a frame filter in the dictionary matching
+@var{filter-dictionary}, or @code{all}, and @var{filter-name}.
+@var{filter-dictionary} may be @code{all}, @code{global},
+@code{progspace} or the name of the object file where the frame filter
+dictionary resides.  When @code{all} is specified, all frame filters
+across all dictionaries are disabled.  @var{filter-name} is the name
+of the frame filter and is used when @code{all} is not the option for
+@var{filter-dictionary}.  A disabled frame-filter is not deleted, it
+may be enabled again later.
+
+@kindex enable frame-filter
+@item enable frame-filter @var{filter-dictionary} @var{filter-name}
+Enable a frame filter in the dictionary matching
+@var{filter-dictionary}, or @code{all}, and @var{filter-name}.


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


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

* [SCM]  gbenson/rtld-probes: Merge remote branch 'gdb/master' into gbenson/rtld-probes
@ 2013-07-04 14:29 gary
  0 siblings, 0 replies; 5+ messages in thread
From: gary @ 2013-07-04 14:29 UTC (permalink / raw)
  To: archer-commits

The branch, gbenson/rtld-probes has been updated
       via  bdbfa45acbce73bcebbbd053cfb6579344ebe83f (commit)
       via  e2525218c4971c8cffa24964310d5d835dc6f034 (commit)
       via  e9ca7b1915dc8c5486e9952704ec338ae0ff772b (commit)
       via  6ca6eb40a5d2af8390af90f0ef9a577367dc5c12 (commit)
       via  ac5a2a6855038988c4710d4de091659b4ad5af5e (commit)
       via  39ac4ac5a41537e2f2b1af30d08d19372d99a9dc (commit)
       via  c3b69035e84941c70ea5c3617eb3f2b08d3fddf8 (commit)
       via  528686b1417c64b9003e3a208aecf7a3393c9298 (commit)
       via  02bbcd0bf94ef12ef1cce3d20c89089443a02f70 (commit)
       via  2af3d5041834f51260802722fa999180f94b6ecb (commit)
       via  3bc9e162d5b12a8e45ee46de9d61f165ad887205 (commit)
       via  194fffdf26f674b8d76930a5c784b7dbeee162b4 (commit)
       via  e8eed990bdf1fe4496e6b2f380a43827f6275992 (commit)
       via  e76c7edc2de3b1e46cde8d3591cb500be1063636 (commit)
       via  3940852e23c7fea4317e2cd9e449ab3ee8e1a9ee (commit)
       via  235544f077f96aaa1d943d098e046e7ee8cd22f4 (commit)
       via  f6725d15f8f751b2265dce0af6b5a6ecb5169225 (commit)
       via  538934e56883d8ca0db00db52dcbd7ad7aeb6fc8 (commit)
       via  98f3193de4ce9ae09a07ea05fb77e0f5a55a43fe (commit)
       via  450284df9670b3153539ec87b414f4ef598e7425 (commit)
       via  22ac7877865e928071fc2c3466707404f4bee8cd (commit)
       via  8f1aacd53a9f94b7bd58223506aaa0787fe88317 (commit)
       via  eec4c22dc8a369d5778dab15231389899dac21c6 (commit)
       via  c3a98eece680fd9232a7b45f83c93f917bead2a1 (commit)
       via  1264effb2b7f53e74f2a4e91a2b1145c06721537 (commit)
       via  726b3f8fabc2a3b2dbdceab6dd56a61a3a453a82 (commit)
       via  b71f7a65b7f0d3cec415c34b190452713284ea4d (commit)
       via  0b0ae1fa6f0556ddcb3ea8e1ae44b435eb65a0eb (commit)
       via  7dcd90c69d0fc2b24af4f43b00705a976191d03e (commit)
       via  132367bed08c96d95cb941601470e708a8469ab9 (commit)
       via  e415e0e203cecb5e99ac0218829d301bacfe95f2 (commit)
       via  9d3e98c844fe7c4e5e45a5552847d864eb0c1946 (commit)
       via  212fe135e533bb0e9667e42d7e3cbba5a12e1c7c (commit)
       via  598d98c728f9024c1ef584f4c966d42b3b3e2dc2 (commit)
       via  0516a30a6658ec161489d5ac2b704bc0604ceab9 (commit)
       via  c80f3fec040bc0ba629c910da2b773d5215859aa (commit)
       via  608ddd4e6025711117c89abdcb2825fc0825d82e (commit)
       via  27d90985f8da7ed4825ac08dfc48327d2d086123 (commit)
       via  053794947ff80d6b4bcacbc282e4c054b84f5913 (commit)
       via  62737b62efffd7b0df85898f25e1150a58641927 (commit)
       via  49a0e79d43d84f5b8bd6cde86cf6a0a27b158f78 (commit)
       via  9c87554cdab484215a5d0fa8a674e971d9d72723 (commit)
       via  a5ac9c55dd7a504a437fe9725a409bf1a4b18486 (commit)
       via  c1f0e9fd24a630334030c8cde22ba3cff47fd897 (commit)
       via  f47b3575370c851516ee4d32c2927db950e1b2cc (commit)
       via  7935f4aa757bf274a642d2bbd710c132abf3fb94 (commit)
       via  46e588f6131d0a6733942712d0536cbe56da766d (commit)
       via  20e7d3de3949b5f590040708f2991cb9ddb9e17c (commit)
       via  50c506def5189908296f994ccab6f6dea5844f60 (commit)
       via  ad999c037c162cd1067bc273696516c721da94dc (commit)
       via  d2390d3a211f13886d36d42d4499d2200c91aa3d (commit)
       via  61ded7ed87a7ff9959783df5f576c6d3801aa248 (commit)
       via  d01affbdda5f73c50491bf665864f2480bc92418 (commit)
       via  296ea2099b85c831c6a8ab28eb438ae79b18800e (commit)
       via  1f79c6d3c5e27cc93b249cf48cc7a8a54a883f64 (commit)
       via  76c9d63c300e843dacf33da5f8b90ec7809e10ef (commit)
       via  57009b17f3228be68ebb4c64a2742522a14ca15e (commit)
       via  c74ac2ec3c751dc1f76bcc6c9230bb46295397ed (commit)
       via  ac022b2d50aa120b740bbb2ee132c8880fa2d9c9 (commit)
       via  7d5d2fc0a0ac2dd9d53d04e9ad823f87c46158c1 (commit)
       via  8d0eec2573ce7ba03e0512643e61b40cb90896ea (commit)
       via  c37a1df35a4bd2d460fa8d0467e0f331ed9a451f (commit)
       via  935c9392d77df3b97f63198a3929b57dc96660aa (commit)
       via  f97e86f7004af974b718c623cda41507ae0d4348 (commit)
       via  0472685f694f8afe7a7582e0a528e446032af2d8 (commit)
       via  27a1409b68c04bf47488cefc802ba1c9d0e967d8 (commit)
       via  491eba65936da9740856a11dc5facebf6842c07a (commit)
       via  1136353c91b5aaad7f6135082ef396b1606c7a87 (commit)
       via  1335b40f19a94983ec2926156fbf6f92778f446d (commit)
       via  b3e2bade1b515a50e680fbf5771f5a451e72fcae (commit)
       via  68ca8a65acdcf8932309fdbced88b7f6b4fa0346 (commit)
       via  b30a226a69f155ac6ab02a5dcb0ada444730d5b4 (commit)
       via  eded02361148823ad8fbb9dae114275c82ea6969 (commit)
       via  2345e28e4186c9f65ac3a089d02af119d7338a70 (commit)
       via  1d7cb0bd9a442184323f6995b52e859a7bb9cccb (commit)
       via  7ed4604923968abf816aecd2b5e127417ea18e34 (commit)
       via  af702e9f1f5023fb5ac9b06ce80e61da936fc8cf (commit)
       via  03a7a095719ba7eab65a965af5532e064095aed8 (commit)
       via  8dd829c3b71bce6c874eb3304de5069f19ceb460 (commit)
       via  4cc243ce08bddf955f094743278dd9bc0ab57605 (commit)
       via  946abbef95d766ea5d8f117f2578fd02bb7bf835 (commit)
       via  1a0fd27c4c0ec13001afd60215c02ac80f9ab7af (commit)
       via  20eddc5f286506ea69d489de8d8cd736e20127be (commit)
       via  c895f69a3f937290d826a1ca2cfd7070f0a92572 (commit)
       via  79b2e29444c27e1726c5193a6341951f02e78ac1 (commit)
       via  53fc885c27345e68c4f7fabf96694741af0827d7 (commit)
       via  919cff269683c2002d1e46d70de0679931bfc2e9 (commit)
       via  989533498439dc95e510abfb62a401e0eaf62669 (commit)
       via  e644fa49f8713ef341bea7deddb385a470c91b5a (commit)
       via  ed2129b272ce2d519a74ab158e80fde28fce7137 (commit)
       via  bc269e81353eac359e15fd5e391e4dbef07c6bab (commit)
       via  f21b8497f460826d16c6b053fe573f919ad3332f (commit)
       via  e7ec122190f1bf4f15ca10c4911406954793a570 (commit)
       via  a32d9889e30d1c39a9996ab266bb474020b96cf9 (commit)
       via  ea405824585242fef88143406a8f9ffc7bb480b9 (commit)
       via  9bf8fe0d6cf3a8d0c4c881ace66c7b1e1f00018f (commit)
       via  06b5137ca80f96dac84233e93e07a253bab826f1 (commit)
       via  4aa7e6ab18ac49fcd1ac54cfa422d1e0d935da15 (commit)
       via  752e59abd673a847e6a021343f94a4fbb905e1ae (commit)
       via  df53db70bfc83857f6f292850a5d05dc9e3c64b8 (commit)
       via  9197389ee90f6d2b3fe489d8cc376f26e4827217 (commit)
       via  bfd84e7c17d73287ba08f599a9261d685004822f (commit)
       via  683454e58c93fef964b0a488e0b5ff6de3b13f85 (commit)
       via  eded4b816d7293af0015da8bf1e76ba1668f47f4 (commit)
       via  bc8326fc6ab96b46400c415e2c50c3a984bfd503 (commit)
       via  9de54a4fad6963fb9bc2472567c983b8a6ff32bd (commit)
       via  49610b5e9d140df0225634a14bb5bc2641e3ed8f (commit)
       via  091a9138460dda434a38fab9b789471749da5454 (commit)
       via  b2a893ee758e81bf5611112d62e3d4fa7da7d84b (commit)
       via  f4f9399f80652e95afa0b4c2e099508cc6b2646d (commit)
       via  61f6db26fad51a7a4b2d4d61a134d5f98cbdf1e1 (commit)
       via  b1031f1ff0af97e45166f98d645707735e8e5e78 (commit)
       via  bc30f4ee106d73efe2f50645a906967106b63071 (commit)
       via  273839b58a3773e6e6e9fc704201d32232f88050 (commit)
       via  9fc8e7c773c7af26f04e664c3892b3b4a047fd3b (commit)
       via  1bc26acb597f4f82d4d62db50f13c9cbb7eb8009 (commit)
       via  2eb45b34dd1fa9eef4dc9e85122cbee885eb6ab9 (commit)
       via  4209cdad461e805602e1fef16282e77dac70e880 (commit)
       via  25a948329f80baff44515be099a541903d6f653d (commit)
       via  c5fd8c697168f895c5ccf6600b3ee34634c993e0 (commit)
       via  67ff5fa72bd21c7cb314e72c578c3eb7cfc6d4c3 (commit)
       via  95b50690fb433e447028d23ca336a8ce645bdb58 (commit)
       via  8200bb401fed0792f31532010fbe662a92b738bd (commit)
       via  fb2e9a8486bba186810811a7a0f880699f3157d8 (commit)
       via  d4e5ccc4f41ced3661cbe3431420422dbde85e14 (commit)
       via  ce0714afbc64c8504eb139de89265ce4c74798e2 (commit)
       via  0304a52801dfc162aa75d635eb6dce859cdcf9da (commit)
       via  dc34edb76e306f371e21dd737888026ad93e68f2 (commit)
       via  a0c4c670d30fa23fefb93e9ab898cb936fe0f11b (commit)
       via  750bfa3fc6490159aacf30e9ad55e16fa49beb1a (commit)
       via  f4af6bc3a6b11b44fc19b7e1c01d6ec221db1ce1 (commit)
       via  6c9c6508cce1353bde5811cce4040a1d5a302478 (commit)
       via  7a55df68b203148e593daea04b5d6af075e095e9 (commit)
       via  60d1bdf1b1fc948fd8c35d73d51798a211176122 (commit)
       via  8eaac0c2c003423056f33308d6bc7e268af8fbc0 (commit)
       via  5c5458af8483dc197098ad3e90502a4b2a9746ad (commit)
       via  90b6ecf12677bc912c2fb47b933fa34d2881bb39 (commit)
       via  a5224da88eb910b367a96bdc0c42a100781fabfe (commit)
       via  128c4f26098823e2f0253ca8d24d46fe14691877 (commit)
       via  f114db4d2eba0fba283c82ec1bd9d882bc49ce9b (commit)
       via  27ef916ae7ad89e01eb4ef7b24fd7be452b96e72 (commit)
       via  51f2383cef7d1b3dc06836200ee56af7cd4efa01 (commit)
       via  ccadbb00440d6633f3be910c3894b4a2e628dd23 (commit)
       via  63a1873ab1963c9f60c495a297711aebb538b15c (commit)
       via  7980062fe95e0138ef29beb5e496885f071a8b38 (commit)
       via  6f60387731a8855367034a910d14047d4ce1f613 (commit)
       via  315a19370d66e46d8a7a16bd71aa331c3622341e (commit)
       via  2bc75af3916835a6b202a7fda7522208dc118ce0 (commit)
       via  0252e90ede531c864c0e079c45df7218680f71d6 (commit)
       via  71978859f63b2ef422d2b2a02d43e4f510a92260 (commit)
       via  fdcdde39f15f7c387f6492dd0e41e7d057af582b (commit)
       via  d879deec08ee1967232dbc4e677a9a827d352d1c (commit)
       via  992b7e18359519bb2ab0829ca022ae3de768beeb (commit)
       via  1484358ed3d19c6c8cfdf45d506ffde633ca7b6e (commit)
       via  5dd1f485c448494a6b254fda0e87231a2e0846ee (commit)
       via  263a921fd51ff1069c9788247efda1e6226cb3ca (commit)
       via  a7308779226c5c330535db785e84acaac1da672a (commit)
       via  25b2d6f94a098c97896e2b8b54a07aaf7dad5b6d (commit)
       via  846c8e6ab538c3245d8119aef7657a0ce0402419 (commit)
       via  611aa2b284bbfd7e29b585bc03d31ec6e57c5bf3 (commit)
       via  c1bdf45d7ac94dbf6d82ef03d4d29eb406a244c7 (commit)
       via  7eb5b6a468ab2e313dbfd2638228846f9cd43ca3 (commit)
       via  75f45fe57b0f1bb1de9485a9175e0bba723ccda2 (commit)
       via  de1e5bbb865c27c372bc49912777506376517a9a (commit)
       via  7a106f17dfd78345ebdc1714e4e7cdaff73727bc (commit)
       via  a207d4e3c3716aeaf48378f45328947be732d564 (commit)
       via  ba705a97e0f9e9c24244f50d5ed414cc60ac556f (commit)
       via  b22d1dba9dbe0edf7d54008fe4196201fe5af9a6 (commit)
       via  63d56af11e57587bda22e30f63f74ebd11c39d3e (commit)
       via  d33aa35b7856edaa056abdb54e4304472387c701 (commit)
       via  b45c51e012c1d3d5bcda8caffba46406ac60eeea (commit)
       via  4a9fa32bf9948b2077984c896d034da24a057b3f (commit)
       via  10b69d8264d23e4f2133a73f880655f06a3f604c (commit)
       via  aba6da4e2b62f0caec9f9d6d1adf47c4c8401466 (commit)
       via  3a65a4a6d28d3875f6047b050f78f5ed4157a120 (commit)
       via  33dee249503847b3d86d9edc06fa34477c915ae4 (commit)
       via  e10a24172d88254e16af4304a5603556608ffca2 (commit)
       via  7272111c87bfd55917e34172115ca9bdfcaa726e (commit)
       via  df9378ffadb503231fff2c0c7cf1755ba8b2960b (commit)
       via  4ba8483c26cc449fa115cd490c71ccbff7039190 (commit)
       via  ace916f43edbf3d31c3b2ed78fa6e0f81fba705d (commit)
       via  99d1a5c0fa76b3981690bbda26d7faae284e190a (commit)
       via  e238081bb7e50055e2b7c0b0d1b697e47fe2d877 (commit)
       via  5625f90ce53854b1c62f49229577e4dbdf323947 (commit)
       via  21206e81f8efc486383f971b37fdc6b3bdddeb5c (commit)
       via  05bf60502998d3e6793eeea259a84528e3dca307 (commit)
       via  e70a152e6e28a5bbe792614d746f1182512e1d91 (commit)
       via  01e3f656d2961975c298fd1e626e0acf83976911 (commit)
       via  9799ab54486adf49a50e5aadd9f5e6bc03db6123 (commit)
       via  9230078ad017a32d7f2f4b7107a65a34554ae9c8 (commit)
       via  498756d858f199c2f7122e7df1bd3b802410eb63 (commit)
       via  334ab20292c3bbbc963c0429d223880d790aa67f (commit)
       via  50806d380850c864f1eccee76b825215ac1555a9 (commit)
       via  19588b66da2fa4f71096a96e755b6824a871bb81 (commit)
       via  08410765129c3c84996505f538993bebf1bb973a (commit)
       via  cacca56f51809f9fc1d6366dbe4406fd94d5f9be (commit)
       via  142a4c245ed9a79ce295588c85fbc63739b7971b (commit)
       via  e05713dd030d5dbad35b7a4f2fce547641e737e7 (commit)
       via  901efc30a8dbf43d75c3fe237698fa3966849a01 (commit)
       via  00d6602ca21bef18541121216d3fd6e8e57e05e0 (commit)
       via  b54c583c9dc7f0c8ae0d2da56f3fb93a71e51d29 (commit)
       via  55806c25eac813da365236c2996613e6aeb341f6 (commit)
       via  1e1754a3d30c05ef7e179dba583057083eebf926 (commit)
       via  6776fcaed605fcc6835dc1d7add224bda852fb78 (commit)
       via  3a433e6f35874b7ba61ed048365ca6a9dd71fe42 (commit)
       via  75932b72d870d8b1d48b14dceb53abc966469ce8 (commit)
       via  debeeac623885b04c2a30a5e6212e599023c7c3f (commit)
       via  46773a75ce73ca35bd36fcc9b2292eb24875d836 (commit)
       via  d303935e79b890e16fdd6acbbb1325b524243d88 (commit)
       via  46b39981ce282ac72d2536427d085f9a83c2a892 (commit)
       via  7ab0f9e460b59d1bd6df158ef14243922759cf9f (commit)
       via  1b87443249230bdb8fa8bf50f441f387721eeb23 (commit)
       via  926e3028346f3b536b95f904040a2d696ac60e60 (commit)
       via  984815e83ea7218e9b297810e8ff541ae81a608f (commit)
       via  b8b4f20298ffb194091ab024904094111123897b (commit)
       via  a8036ca23145ace743ec0f98db2663c56f9dec7c (commit)
       via  7dfbc23277be786c5d40f4ca28b7847774216238 (commit)
       via  6c15b536607c0297f9696ca96410b88c7c5e4ec0 (commit)
       via  865c724068a13540c75f0e5b0024a19b35a12c14 (commit)
       via  8306f4153ae79a0c8bf3acd3a07076c3c3aceee1 (commit)
       via  e0dd06f0a384338523320a769d5bec6b93335235 (commit)
       via  45895d8453d380eca6acce2bf23ebb363f391e93 (commit)
       via  42b6105c2ab06d684595414c4fb6ac2b2056019f (commit)
       via  412f6d9c3dd9bf3049d1b78aefdc7391f95b5484 (commit)
       via  7c56eaa2a0e8d0026b30db4bb7ed5dac7714c780 (commit)
       via  8bf0fc50a745b6a5c727dff87cb38d2f6c922940 (commit)
       via  5ba9957aac5fc02b7c774aad69d9582fa5d413ff (commit)
       via  f34c4136fdbb75c35ce3144e810b2633a737dd48 (commit)
       via  9c543ebf2eeb2698cb4128f7f9e1e2716790121d (commit)
       via  e3d3ffe8e2191706b4adb8063acfefdb1a53308f (commit)
       via  dae5167feb0a7f441503b56a30e3a44166d21459 (commit)
       via  1c84a012eae901086a22b0fb01b4b4e142c584c3 (commit)
       via  e11f0c0337e63b9170900b452ca0990f804d729c (commit)
       via  4d54e920dcdfbb93fca782d1989aae539cd50e04 (commit)
       via  de07f81d1d66a6e16b60b53f1cb0b9126dc6d50b (commit)
       via  a6808c0c8f122f5940c0556f4a23b4faf85f952c (commit)
       via  312d69cced726700c40eb8affd224ffa0f6e141b (commit)
       via  dca4d6be9dbb46d002e992fc1f8062f737f3f5b7 (commit)
       via  377d4926e91e18e2446f8be7a10ffaa254f6b3ae (commit)
       via  0fe49c97e446b21adc088124181c755dddaa6b3e (commit)
       via  7bb9e3e26deb8909c037aa47db2d9129e0cd52cf (commit)
      from  75a0afd098fac4e11dcd8f1160f3b4071dd37d77 (commit)

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

- Log -----------------------------------------------------------------
commit bdbfa45acbce73bcebbbd053cfb6579344ebe83f
Merge: 75a0afd e252521
Author: Gary Benson <gbenson@redhat.com>
Date:   Thu Jul 4 15:29:20 2013 +0100

    Merge remote branch 'gdb/master' into gbenson/rtld-probes

commit e2525218c4971c8cffa24964310d5d835dc6f034
Author: aburgess <aburgess>
Date:   Thu Jul 4 11:11:24 2013 +0000

    http://sourceware.org/ml/gdb-patches/2013-07/msg00059.html
    
    gdb/ChangeLog
    
            * stack.c (read_frame_arg): No longer fetch lazy values.
            * value.c (value_optimized_out): If the value is not already
            marked optimized out, and is lazy then fetch it.
            (value_primitive_field): Move optimized out check to later in the
            function, after we have loaded any lazy values.
            (value_fetch_lazy): Use optimized out flag directly rather than
            calling optimized_out method.
    
    gdb/testsuite/ChangeLog
    
            * gdb.dwarf2/dw2-reg-undefined.exp: New file.
            * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
            * gdb.dwarf2/dw2-reg-undefined.S: Likewise.

commit e9ca7b1915dc8c5486e9952704ec338ae0ff772b
Author: aburgess <aburgess>
Date:   Thu Jul 4 09:49:42 2013 +0000

    http://sourceware.org/ml/gdb-patches/2013-07/msg00056.html
    
    	* valops.c: Don't include "user-regs.h".
    	(value_fetch_lazy): Moved to value.c.
    	* value.c: Include "user-regs.h".
    	(value_fetch_lazy): Moved from valops.c.

commit 6ca6eb40a5d2af8390af90f0ef9a577367dc5c12
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Jul 4 01:42:08 2013 +0000

    	* ppc-opc.c (powerpc_opcodes): Add tdui, twui, tdu, twu, tui, tu.

commit ac5a2a6855038988c4710d4de091659b4ad5af5e
Author: qiyao <qiyao>
Date:   Thu Jul 4 01:22:38 2013 +0000

    gdb/
    
    2013-07-04  Yao Qi  <yao@codesourcery.com>
    
    	Revert:
    	2013-06-27  Yao Qi  <yao@codesourcery.com>
    
    	* common/create-version.sh: Update comments.  Handle the case
    	that TARGET_ALIAS is empty.
    
    gdb/gdbserver/
    
    2013-07-04  Yao Qi  <yao@codesourcery.com>
    
    	* Makefile.in (host_alias): Use @host_noncanonical@.
    	(target_alias): Use @target_noncanonical@.
    	* configure.ac: Use ACX_NONCANONICAL_TARGET and
    	ACX_NONCANONICAL_HOST.
    	* configure: Regenerated.
    
    	Revert:
    	2013-06-28  Mircea Gherzan  <mircea.gherzan@intel.com>
    
    	* configure.ac (version_host, version_target): Set and AC_SUBST them.
    	* configure: Rebuild.
    	* Makefile.in (version_host, version_target): Get from configure.
    	(version.c): Use $(version_host) and $(version_target).

commit 39ac4ac5a41537e2f2b1af30d08d19372d99a9dc
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Jul 4 00:00:04 2013 +0000

    daily update

commit c3b69035e84941c70ea5c3617eb3f2b08d3fddf8
Author: mshawcroft <mshawcroft>
Date:   Wed Jul 3 17:23:23 2013 +0000

    [AArch64] Tidy up switch statements in elfnn-aarch64.c

commit 528686b1417c64b9003e3a208aecf7a3393c9298
Author: Pedro Alves <palves@redhat.com>
Date:   Wed Jul 3 13:25:45 2013 +0000

    On mainline/development, also link GDBserver with -lmcheck.
    
    This factors --enable-libmcheck related bits from GDB's configure.ac
    and makes GDBserver use them too.  Specifically, the 'development'
    global is moved to a separate script to it can be sourced by both GDB
    and GDBserver, and the --enable-libmcheck/--disable-libmcheck bits
    proper are moved to a new m4 file.
    
    I started out by defining 'development' in the m4 file, but in the end
    decided against it, as a separate script has the advantage that
    changing it in release branches does not require regenerating
    configure, unlike today.
    
    I had also started out by making the new GDB_AC_LIBMCHECK itself
    handle the yes/no default fallback depending on release/developement,
    but since I had split out 'development' to a separate script, and, GDB
    needs the python checks anyway (hence we'd need to do the python
    checks in gdb's configure.ac, and pass in a 'default lmcheck yes/no'
    parameter to GDB_AC_LIBMCHECK anyway), I ended up keeping
    GDB_AC_LIBMCHECK isolated from the 'development' global.  IOW, it's
    the caller's business to handle it.
    
    Tested on x86_64 Fedora 17.  Built GDB and GDBserver with and without
    --enable-libmcheck, and observed --enable-libmcheck overrides the
    disablement of -lmcheck caused by python supporting threads, and that
    GDBserver links with -lmcheck when expected.  Also observed that
    changing the 'development' global, and issuing "make" triggers a
    relink, and '-lmcheck' is included or not from the link accordingly.
    
    gdb/
    2013-07-03  Pedro Alves  <palves@redhat.com>
    
    	* Makefile.in (config.status): Depend on development.sh.
    	(aclocal_m4_deps): Add libmcheck.m4.
    	* acinclude.m4: Include libmcheck.m4.
    	* configure.ac: Source development.sh instead of setting
    	'development' here.  --enable-libmcheck/--disable-libmcheck code
    	factored out to GDB_AC_LIBMCHECK.  Run it.
    	* development.sh: New file.
    	* libmcheck.m4: New file.
    	* configure: Regenerate.
    
    gdb/gdbserver/
    2013-07-03  Pedro Alves  <palves@redhat.com>
    
    	* Makefile.in (config.status): Depend on development.sh.
    	* acinclude.m4: Include libmcheck.m4.
    	* configure: Regenerate.

commit 02bbcd0bf94ef12ef1cce3d20c89089443a02f70
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Jul 3 09:42:56 2013 +0000

    	* elf64-ppc.c (ppc64_elf_func_desc_adjust): Don't hide .TOC.
    	when relocatable.  Don't change root.type or type here.
    	(ppc64_elf_set_toc): Set type of .TOC. to STT_OBJECT.

commit 2af3d5041834f51260802722fa999180f94b6ecb
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Jul 3 02:22:35 2013 +0000

    bfd/
    	* elf64-ppc.c (struct ppc_stub_hash_entry): Delete "addend".
    	(ppc64_elf_size_stubs): Don't set "addend".
    	(ppc64_elf_relocate_section): Don't allow calls via
    	toc-adjusting stubs without a following nop even in an
    	executable, except for self-calls and both libc_start_main
    	and .libc_start_main.
    gold/
    	* powerpc.cc (Target_powerpc::Relocate::relocate): Update self-call
    	comment.

commit 3bc9e162d5b12a8e45ee46de9d61f165ad887205
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Jul 3 00:45:50 2013 +0000

    	* elf64-ppc.c (ppc64_elf_func_desc_adjust): Hide ".TOC.".

commit 194fffdf26f674b8d76930a5c784b7dbeee162b4
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Jul 3 00:00:04 2013 +0000

    daily update

commit e8eed990bdf1fe4496e6b2f380a43827f6275992
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Jul 2 20:06:12 2013 +0000

    gdb/testsuite/
    	* gdb.base/break-on-linker-gcd-function.exp: Replace
    	prepare_for_testing by build_executable_from_specs and clean_restart.

commit e76c7edc2de3b1e46cde8d3591cb500be1063636
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Jul 2 17:58:54 2013 +0000

    	* contrib/ari/update-web-ari.sh: Update for version.in change.

commit 3940852e23c7fea4317e2cd9e449ab3ee8e1a9ee
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Jul 2 16:58:51 2013 +0000

    	* common/ptid.h: Comment fixes.

commit 235544f077f96aaa1d943d098e046e7ee8cd22f4
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Jul 2 16:58:31 2013 +0000

    remove mention of "target nrom"
    
    The documentation refers to "target nrom", but this target doesn't
    appear in the tree.  It was zapped here:
    
    2002-12-16  Andrew Cagney  <ac131313@redhat.com>
    [...]
            * remote-nrom.c, remote-os9k.c, remote-vx960.c: Delete.
    
    This patch removes the reference from the documentation.
    
    	* gdb.texinfo (Target Commands): Don't mention "target nrom".

commit f6725d15f8f751b2265dce0af6b5a6ecb5169225
Author: Tristan Gingold <gingold@adacore.com>
Date:   Tue Jul 2 12:58:17 2013 +0000

    2013-07-02  Tristan Gingold  <gingold@adacore.com>
    
     	* coff-rs6000.c (xcoff_find_nearest_line_discriminator): Add missing
     	line.

commit 538934e56883d8ca0db00db52dcbd7ad7aeb6fc8
Author: mgherzan <mgherzan>
Date:   Tue Jul 2 11:59:24 2013 +0000

    gdbserver, win32: fix some function typedefs
    
    2013-05-25  Mircea Gherzan  <mircea.gherzan@intel.com>
    
    gdbserver/
    	* win32-low.c (winapi_DebugActiveProcessStop): Move the WINAPI
    	attribute inside the parentheses.
    	(winapi_DebugSetProcessKillOnExit): Ditto.
    	(winapi_DebugBreakProcess): Ditto.
    	(winapi_GenerateConsoleCtrlEvent): Ditto.
    
    Change-Id: I3aab72f2a1725a46b9da0e41a4ba08d7886284b9
    Signed-off-by: Mircea Gherzan <mircea.gherzan@intel.com>

commit 98f3193de4ce9ae09a07ea05fb77e0f5a55a43fe
Author: mgherzan <mgherzan>
Date:   Tue Jul 2 10:08:01 2013 +0000

    gdbserver: avoid empty structs
    
    2013-06-25  Mircea Gherzan  <mircea.gherzan@intel.com>
    
    gdbserver/
    
    	* notif.h (notif_event): Add a dummy member to avoid compiler
    	errors.
    
    Change-Id: I490dbdb70a24f52b3947371f7c0397bf7a18423c
    Signed-off-by: Mircea Gherzan <mircea.gherzan@intel.com>

commit 450284df9670b3153539ec87b414f4ef598e7425
Author: Tristan Gingold <gingold@adacore.com>
Date:   Tue Jul 2 09:42:25 2013 +0000

    2013-07-02  Tristan Gingold  <gingold@adacore.com>
    
    	* vms-alpha.c (_bfd_generic_find_nearest_line_discriminator): Define.
    	(_bfd_vms_find_nearest_line_discriminator): New function.

commit 22ac7877865e928071fc2c3466707404f4bee8cd
Author: Tristan Gingold <gingold@adacore.com>
Date:   Tue Jul 2 07:38:51 2013 +0000

    2013-07-02  Tristan Gingold  <gingold@adacore.com>
    
    	* coff-rs6000.c (xcoff_create_csect_from_smclas): Handle more smclas.

commit 8f1aacd53a9f94b7bd58223506aaa0787fe88317
Author: Tristan Gingold <gingold@adacore.com>
Date:   Tue Jul 2 07:34:38 2013 +0000

    2013-07-02  Tristan Gingold  <gingold@adacore.com>
    
    	* coff-rs6000.c (xcoff_find_nearest_line_discriminator): New function.
    	(rs6000coff_vec): Reference it.

commit eec4c22dc8a369d5778dab15231389899dac21c6
Author: Tristan Gingold <gingold@adacore.com>
Date:   Tue Jul 2 07:27:40 2013 +0000

    2013-07-02  Tristan Gingold  <gingold@adacore.com>
    
    	* internal.h (C_STTLS, C_GTLS): Define.
    	* xcoff.h (XMC_TL, XMC_TU, XMC_TE): Define.

commit c3a98eece680fd9232a7b45f83c93f917bead2a1
Author: mshawcroft <mshawcroft>
Date:   Tue Jul 2 06:39:26 2013 +0000

    [AArch64] Fix creation of .got and placement of _GLOBAL_OFFSET_TABLE_

commit 1264effb2b7f53e74f2a4e91a2b1145c06721537
Author: mshawcroft <mshawcroft>
Date:   Tue Jul 2 06:37:32 2013 +0000

    [AArch64] Adjust testcases for move of &_DYNAMIC to got[0].

commit 726b3f8fabc2a3b2dbdceab6dd56a61a3a453a82
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Jul 2 00:25:07 2013 +0000

    bfd/
    	* elf64-ppc.c (ppc64_elf_relocate_section): Set "relocation" for
    	.TOC. after relocatable check.
    gas/
    	* config/tc-ppc.c (ppc_elf_adjust_symtab): Don't make .TOC. weak.

commit b71f7a65b7f0d3cec415c34b190452713284ea4d
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Jul 2 00:00:04 2013 +0000

    daily update

commit 0b0ae1fa6f0556ddcb3ea8e1ae44b435eb65a0eb
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Jul 1 19:55:17 2013 +0000

    change gdb to use BFD's "dwz" functions
    
    BFD recently got a few functions related to "dwz" files.  This patch
    changes gdb to use them, just to share a bit more code.
    
    This changes dwarf2_get_dwz_file to possibly return NULL.  This
    simplified a bit of code elsewhere.
    
    Built and regtested on x86-64 Fedora 18.  I specifically regtested it
    using my pending dwz test case.
    
    	* dwarf2read.c (dwarf2_get_dwz_file): Return NULL if
    	.gnu_debugaltlink not found.  Use bfd_get_alt_debug_link_info.
    	(dwarf2_read_index, create_all_comp_units): Update.

commit 7dcd90c69d0fc2b24af4f43b00705a976191d03e
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Jul 1 19:52:32 2013 +0000

    add -Wold-style-definition
    
    This adds -Wold-style-definition to gdb's list of warnings.  This
    found a couple of spots where "()" was used where "(void)" is more
    correct.
    
    Tested by rebuilding on x86-64 Fedora 18.
    
    	* configure.ac (build_warnings): Add -Wold-style-definition.
    	* configure: Rebuild.
    	* machoread.c (_initialize_machoread): Use "(void)".
    	* macrocmd.c (macro_inform_no_debuginfo): Fix formatting;
    	use "(void)".

commit 132367bed08c96d95cb941601470e708a8469ab9
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Jul 1 19:50:10 2013 +0000

    add -Wold-style-declaration
    
    This adds -Wold-style-declaration to gdb's list of warnings.
    
    It turns out that a few places use "const static" rather than
    "static const".  The former is deprecated according to the C standard.
    
    Tested by rebuilding with --enable-targets=all on x86-64 Fedora 18.
    
    	* configure.ac (build_warnings): Add -Wold-style-declaration.
    	* configure: Rebuild.
    	* dsrec.c (make_srec): Use "static const", not "const static".
    	* h8300-tdep.c (h8300_breakpoint_from_pc): Use "static const",
    	not "const static".
    	* mi/mi-parse.c (mi_no_values, mi_simple_values, mi_all_values):
    	Use "static const", not "const static".
    	* mn10300-tdep.c (mn10300_breakpoint_from_pc): Use "static const",
    	not "const static".
    	* moxie-tdep.c (moxie_breakpoint_from_pc): Use "static const",
    	not "const static".
    	* rs6000-tdep.c (rs6000_breakpoint_from_pc): Use "static const",
    	not "const static".
    	* v850-tdep.c (v850_breakpoint_from_pc): Use "static const",
    	not "const static".
    	(v850_dbtrap_breakpoint_from_pc): Likewise.
    	* xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Use "static const",
    	not "const static".

commit e415e0e203cecb5e99ac0218829d301bacfe95f2
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Jul 1 19:48:04 2013 +0000

    add -Wmissing-parameter-type
    
    This adds -Wmissing-parameter-type to gdb's list of warnings.
    
    This one doesn't happen to trigger for a --enable-targets=all build on
    x86-64 Fedora 18.
    
    	* configure.ac (build_warnings): Add -Wmissing-parameter-type.
    	* configure: Rebuild.

commit 9d3e98c844fe7c4e5e45a5552847d864eb0c1946
Author: Pedro Alves <palves@redhat.com>
Date:   Mon Jul 1 11:29:17 2013 +0000

    [GDBserver] hostio.c: Fallback to packet buffer size if PATH_MAX is not available.
    
    PATH_MAX is not defined on systems which have no limit on filename
    length, such as GNU/Hurd.  As designed, the hostio RSP packets carry
    the paths as parameters in the request/reply packets, which themselves
    have an upper size limit, so lifting the filename limit completely
    would require a redesign with new hostio packets.  While that doesn't
    happen, we can at least support filename lengths as long as the packet
    buffer can fit.
    
    gdb/gdbserver/
    2013-07-01  Pedro Alves  <palves@redhat.com>
    
    	* hostio.c (HOSTIO_PATH_MAX): Define.
    	(require_filename, handle_open, handle_unlink, handle_readlink):
    	Use it.

commit 212fe135e533bb0e9667e42d7e3cbba5a12e1c7c
Author: Pedro Alves <palves@redhat.com>
Date:   Mon Jul 1 11:28:29 2013 +0000

    Normalize on PATH_MAX instead of MAXPATHLEN throughout.
    
    With the pathmax gnulib module in place, we can use PATH_MAX
    consistently throughout, instead of the current mixbag of PATH_MAX and
    MAXPATHLEN uses.  It's no longer necessary to include sys/param.h
    (supposedly, I can't check all ports touched here) for MAXPATHLEN.
    
    Don't remove sys/param.h from GDB's configure.ac, as later tests in
    the file use HAVE_SYS_PARAM_H checks.
    
    Tested on x86_64 Fedora 17.
    
    Also cross-built for --host=i686-w64-mingw32, and --host=i586-pc-msdosdjgpp.
    
    gdb/
    2013-07-01  Pedro Alves  <palves@redhat.com>
    
    	* defs.h: Include "pathmax.h".
    	* utils.c: Don't include sys/param.h.
    	(gdb_realpath): Remove code that checks for MAXPATHLEN.
    	* solib-ia64-hpux.c (ia64_hpux_handle_load_event): Use PATH_MAX
    	instead of MAXPATHLEN.
    	* solib-sunos.c: Don't include sys/param.h.
    	* xcoffread.c: Don't include sys/param.h.
    	* bsd-kvm.c: Don't include sys/param.h.
    	* darwin-nat.c: Don't include sys/param.h.
    	(darwin_pid_to_exec_file): Use PATH_MAX instead of MAXPATHLEN.
    	* darwin-nat-info.c: Don't include sys/param.h.
    	* fbsd-nat.c (fbsd_pid_to_exec_file): Use PATH_MAX instead of
    	MAXPATHLEN.
    	* i386obsd-nat.c: Don't include sys/param.h.
    	* inf-child.c: Don't include sys/param.h.
    	(inf_child_fileio_readlink): Use PATH_MAX instead of MAXPATHLEN.
    	* linux-fork.c: Don't include sys/param.h.
    	(fork_save_infrun_state): Use PATH_MAX instead of MAXPATHLEN.
    	* linux-nat.c: Don't include sys/param.h.
    	(linux_child_pid_to_exec_file, linux_proc_pending_signals)
    	(linux_proc_pending_signals): Use PATH_MAX instead of MAXPATHLEN.
    	* m68klinux-nat.c: Don't include sys/param.h.
    	* nbsd-nat.c: Don't include sys/param.h.
    	(nbsd_pid_to_exec_file): Use PATH_MAX instead of MAXPATHLEN.
    	* ppc-linux-nat.c: Don't include sys/param.h.
    	* rs6000-nat.c: Don't include sys/param.h.
    	* spu-linux-nat.c. Don't include sys/param.h.
    	* windows-nat.c: Don't include sys/param.h.
    	* xtensa-linux-nat.c: Don't include sys/param.h.
    	* config/i386/nm-fbsd.h: Don't include sys/param.h.
    
    gdb/gdbserver/
    2013-07-01  Pedro Alves  <palves@redhat.com>
    
    	* server.h: Include "pathmax.h".
    	* linux-low.c: Don't include sys/param.h.
    	(linux_pid_exe_is_elf_64_file): Use PATH_MAX instead of
    	MAXPATHLEN.
    	* win32-low.c: Don't include sys/param.h.
    	(win32_create_inferior): Use PATH_MAX instead of MAXPATHLEN.

commit 598d98c728f9024c1ef584f4c966d42b3b3e2dc2
Author: Pedro Alves <palves@redhat.com>
Date:   Mon Jul 1 11:25:42 2013 +0000

    Import the "pathmax" gnulib module.
    
    This imports the "pathmax" gnulib module, making PATH_MAX always
    available on systems that have the notion of a constant max path limit
    (i.e., practically everywhere except the Hurd), along with fixing a
    couple broken systems --- see pathmax.h in the patch.
    
    This means we can normalize on PATH_MAX throughout the tree (instead
    of some places using MAXPATHLEN, or defining fallback constants
    ourselves).
    
    This is the just the importing step.
    
    gdb/
    2013-07-01  Pedro Alves  <palves@redhat.com>
    
    	* gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add pathmax.
    	* gnulib/Makefile.in (aclocal_m4_deps): Add import/m4/pathmax.m4.
    	* gnulib/aclocal.m4: Regenerate.
    	* gnulib/config.in: Regenerate.
    	* gnulib/configure: Regenerate.
    	* gnulib/import/pathmax.h: New file.
    	* gnulib/import/Makefile.am: Regenerate.
    	* gnulib/import/Makefile.in: Regenerate.
    	* gnulib/import/m4/gnulib-cache.m4: Regenerate.
    	* gnulib/import/m4/gnulib-comp.m4: Regenerate.
    	* gnulib/import/m4/pathmax.m4: New file.

commit 0516a30a6658ec161489d5ac2b704bc0604ceab9
Author: Pedro Alves <palves@redhat.com>
Date:   Mon Jul 1 11:24:16 2013 +0000

    Reimplement DJGPP's .gdbinit -> gdb.ini renaming.
    
    This simplifies the .gdbinit filename selection logic.
    
    We have a GDBINIT_FILENAME define that supposedly configurations would
    override, but none do so.  Instead, the only configuration that wants
    a different file name instead of ".gdbinit", djgpp, does a strcpy over
    the gdbinit global array.  This means the array needs to be sized, and
    the code that does that is doing the usual
    'PATH_MAX/FILENAME_MAX/fallback constant/etc.' mess.
    
    Instead of all that, it's much simpler to have configure specificy the
    .gdbinit filename.  As bonus, we can then make the "gdbinit" global
    array const.
    
    gdb/
    2013-07-01  Pedro Alves  <palves@redhat.com>
    
    	* configure.ac (GDBINIT): Define, depending on host.
    	* go32-nat.c (init_go32_ops): Don't override gdbinit here.
    	* top.c (PATH_MAX): Delete fallback definition.
    	(GDBINIT_FILENAME): Delete.
    	(gdbinit): Reimplement as const char array set to the GDBINIT
    	string constant.
    	* top.h (gdbinit): Make const.

commit c80f3fec040bc0ba629c910da2b773d5215859aa
Author: Pedro Alves <palves@redhat.com>
Date:   Mon Jul 1 11:22:11 2013 +0000

    Constify main.c:get_init_files.
    
    A following patch will want to make the "gdbinit" global array const.
    As usual, that forces in a cascading series of const additions.  This
    patch preemptively does those.  I went all the way up to constifying
    catch_command_errors, but then that would require constifying
    execute_command as well (which is a much more significant effort).  So
    as stop point, I found the cleanest would be to add a variant of
    catch_command_errors that takes const args, and use that in the few
    spots that needed it due to the the get_init_files constification.
    
    gdb/
    2013-07-01  Pedro Alves  <palves@redhat.com>
    
    	* cli/cli-cmds.c (source_script): Make 'file' parameter const.
    	* cli/cli-cmds.h (source_script): Likewise.
    	* exceptions.c (catch_command_errors_const): New function.
    	* exceptions.h (catch_command_errors_const): Declare.
    	* main.c (get_init_files): Make parameters const, and adjust.
    	(captured_main): Make 'system_gdbinit', 'home_gdbinit' and
    	'local_gdbinit' locals const.  Adjust to use
    	catch_command_errors_const.
    	(print_gdb_help): Make 'system_gdbinit', 'home_gdbinit' and
    	'local_gdbinit' locals const.

commit 608ddd4e6025711117c89abdcb2825fc0825d82e
Author: Pedro Alves <palves@redhat.com>
Date:   Mon Jul 1 11:19:26 2013 +0000

    Rely on gnulib's unistd.h replacement.
    
    With gnulib's unistd module, we can assume unistd.h is always present, and that
    STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO are always defined.
    
    Don't remove unistd.h from GDB's configure.ac, as later tests in the
    file use HAVE_UNISTD_H checks.
    
    gdb/
    2013-07-01  Pedro Alves  <palves@redhat.com>
    
    	* defs.h: Don't check HAVE_UNISTD_H before including <unistd.h>.
    	(STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO): Delete.
    	* tracepoint.c: Don't check HAVE_UNISTD_H before including
    	<unistd.h>.
    
    gdb/gdbserver/
    2013-07-01  Pedro Alves  <palves@redhat.com>
    
    	* event-loop.c: Don't check HAVE_UNISTD_H before including
    	<unistd.h>.
    	* gdbreplay.c: Likewise.
    	* remote-utils.c: Likewise.
    	* server.c: Likewise.
    	* configure.ac: Don't check for unistd.h.
    	* configure: Regenerate.

commit 27d90985f8da7ed4825ac08dfc48327d2d086123
Author: Pedro Alves <palves@redhat.com>
Date:   Mon Jul 1 11:18:08 2013 +0000

    Import the "unistd" gnulib module.
    
    I wanted to import the pathmax module, and that pulls in the unistd
    module as dependency.  The unistd module is actually bigger than the
    pathmax module.  If we're going to end up with it, might as well
    import it explicitly, and make use of it throughout.
    
    The "unistd" module makes a GNU-like <unistd.h> always available.
    This means we no longer need to do:
    
     +#ifdef HAVE_UNISTD_H
      #include <unistd.h>
     +#endif
    
    and we can remove a few constants from defs.h.
    
    This is just the importing step.
    
    gdb/
    2013-07-01  Pedro Alves  <palves@redhat.com>
    
    	Import the "unistd" gnulib module.
    	* gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add "unistd".
    	* gnulib/Makefile.in (aclocal_m4_deps): Add import/m4/off_t.m4,
    	import/m4/ssize_t.m4, import/m4/sys_types_h.m4 and
    	import/m4/unistd_h.m4.
    	* gnulib/aclocal.m4: Renenerate.
    	* gnulib/config.in: Renenerate.
    	* gnulib/configure: Renenerate.
    	* gnulib/import/Makefile.am: Renenerate.
    	* gnulib/import/Makefile.in: Renenerate.
    	* gnulib/import/m4/gnulib-cache.m4: Renenerate.
    	* gnulib/import/m4/gnulib-comp.m4: Renenerate.
    	* gnulib/import/m4/off_t.m4: New file.
    	* gnulib/import/m4/ssize_t.m4: New file.
    	* gnulib/import/m4/sys_types_h.m4: New file.
    	* gnulib/import/m4/unistd_h.m4: New file.
    	* gnulib/import/sys_types.in.h: New file.
    	* gnulib/import/unistd.c: New file.
    	* gnulib/import/unistd.in.h: New file.

commit 053794947ff80d6b4bcacbc282e4c054b84f5913
Author: Pedro Alves <palves@redhat.com>
Date:   Mon Jul 1 11:15:39 2013 +0000

    utils.c: pathconf call, check for _PC_PATH_MAX instead of HAVE_UNISTD_H.
    
    This check in utils.c for HAVE_UNISTD_H is being used as proxy for
    "HAVE_PATHCONF", as pathconf is supposed to be declared in unistd.h.
    
    It's possible that there are systems out there that have realpath,
    unistd.h and alloca, but not pathconf+_PC_PATH_MAX.  I don't know of
    any by heart, but if we import gnulib's unistd module (which a
    following patch will do), then unistd.h ends up always available, so
    the check ends up incorrect.  As pathconf is being called with
    _PC_PATH_MAX, check for that instead.
    
    gdb/
    2013-07-01  Pedro Alves  <palves@redhat.com>
    
    	* utils.c <pathconf/_PC_PATH_MAX use>: Check if _PC_PATH_MAX is
    	defined instead of checking HAVE_UNISTD_H.

commit 62737b62efffd7b0df85898f25e1150a58641927
Author: Pedro Alves <palves@redhat.com>
Date:   Mon Jul 1 11:14:41 2013 +0000

    Reimport gnulib from scratch.
    
    Moving aside gnulib/import/, and re-running our
    gnulib/update-gnulib.sh script, surprisingly, one gets a different
    result compared to what's in the tree.  This is with pristine FSF
    autoconf and FSF automake, at the versions required by
    update-gnulib.sh.  However, if one just runs the update-gnulib.sh
    scripts against the _existing_ tree, then nothing changes...  I
    suspect gnulib-tool's merge logic might be preserving some things by
    design.  This gets rid of cruft that might have accumulated over
    gnulib updates.  onceonly.m4 seems to fit in that category.
    
    gdb/
    2013-07-01  Pedro Alves  <palves@redhat.com>
    
    	Reimport gnulib from scratch.
    	* gnulib/Makefile.in (aclocal_m4_deps): Remove reference to
    	import/m4/onceonly.m4.
    	* gnulib/aclocal.m4: Renegerate.
    	* gnulib/config.in: Renegerate.
    	* gnulib/configure: Renegerate.
    	* gnulib/import/Makefile.in: Renegerate.
    	* gnulib/import/extra/update-copyright: Renegerate.
    	* gnulib/import/m4/onceonly.m4: Delete.

commit 49a0e79d43d84f5b8bd6cde86cf6a0a27b158f78
Author: Pedro Alves <palves@redhat.com>
Date:   Mon Jul 1 10:09:27 2013 +0000

    Delete pagination_enabled extern declaration in tui/tui-regs.c.
    
    It's declared in utils.h.
    
    gdb/
    2013-07-01  Pedro Alves  <palves@redhat.com>
    
    	* tui/tui-regs.c (pagination_enabled): Delete declaration.

commit 9c87554cdab484215a5d0fa8a674e971d9d72723
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Jul 1 03:45:05 2013 +0000

    bfd/
    	* elf64-ppc.h (ppc64_elf_toc): Delete.
    	(ppc64_elf_set_toc): Declare.
    	* elf64-ppc.c (ppc64_elf_toc_reloc): Replace call to ppc64_elf_toc
    	with call the ppc64_elf_set_toc.
    	(ppc64_elf_toc_ha_reloc, ppc64_elf_toc64_reloc): Likewise.
    	(ppc64_elf_start_multitoc_partition): Likewise.
    	(struct ppc_link_hash_table): Delete dot_toc_dot.  Replace all uses
    	with elf.hgot.
    	(ppc64_elf_process_dot_syms): Don't make a fake function descriptor
    	for ".TOC.".
    	(ppc64_elf_check_relocs): Mark sections with a reference to .TOC.
    	as needing a toc pointer.
    	(ppc64_elf_size_stubs): Don't set dot_toc_dot here.
    	(ppc64_elf_set_toc): Rename from ppc64_elf_toc.  Add info param.
    	Set elf.hgot value.
    ld/
    	* emultempl/ppc64elf.em: (ppc_layout_sections_again): Call
    	ppc64_elf_set_toc rather than ppc64_elf_toc/_bfd_set_gp_value.
    	(gld${EMULATION_NAME}_after_allocation): Likewise.

commit a5ac9c55dd7a504a437fe9725a409bf1a4b18486
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Jul 1 00:00:04 2013 +0000

    daily update

commit c1f0e9fd24a630334030c8cde22ba3cff47fd897
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Jun 30 17:14:59 2013 +0000

    gdb/
    	Code cleanup.
    	* remote.c (async_remote_interrupt_twice): Make it static.
    	* remote.h (async_remote_interrupt_twice): Remove the declaration.

commit f47b3575370c851516ee4d32c2927db950e1b2cc
Author: sergiodj <sergiodj>
Date:   Sun Jun 30 00:35:38 2013 +0000

    This patch implements the support for SystemTap SDT probes on IA-64.
    
    Joel Brobecker reported a bug which was happening because of the
    "Improved linker-debugger interface", by Gary Benson, when tested on
    IA-64 with rhES5.  The message is:
    
    <http://sourceware.org/ml/gdb-patches/2013-06/msg00745.html>
    
    The failure happened because GDB was trying to parse the probes'
    operands using only the generic parser (implemented on stap-probe.c),
    because the arch-specific parser was not implemented.  Thus, I am
    committing the following changes which solve the bug.
    
    2013-06-29  Sergio Durigan Junior  <sergiodj@redhat.com>
    
    	* ia64-linux-tdep.c: Include <ctype.h>.
    	(ia64_linux_stap_is_single_operand): New function.
    	(ia64_linux_init_abi): Initialize SystemTap related attributes.

commit 7935f4aa757bf274a642d2bbd710c132abf3fb94
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Jun 30 00:00:04 2013 +0000

    daily update

commit 46e588f6131d0a6733942712d0536cbe56da766d
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Jun 29 00:00:03 2013 +0000

    daily update

commit 20e7d3de3949b5f590040708f2991cb9ddb9e17c
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Jun 28 18:59:49 2013 +0000

    move version.in from gdb/common back to gdb
    
    This reverts part of the earlier version.in change.  It moves
    version.in back to the gdb directory.  This works around the CVS bug
    we've found.
    
    gdb
    	* Makefile.in (version.c): Use version.in, not
    	common/version.in.
    	* common/create-version.sh: Likewise.
    	* common/version.in: Move...
    	* version.in: ...here.
    gdb/doc
    	* Makefile.in (version.subst): Use version.in, not
    	common/version.in.
    	* gdbint.texinfo (Versions and Branches, Releasing GDB):
    	Likewise.
    gdb/gdbserver
    	* Makefile.in (version.c): Use version.in, not
    	common/version.in.
    sim/common
    	* Make-common.in (version.c): Use version.in, not
    	common/version.in.
    	* create-version.sh: Likewise.
    sim/ppc:
    	* Make-common.in (version.c): Use version.in, not
    	common/version.in.

commit 50c506def5189908296f994ccab6f6dea5844f60
Author: Pedro Alves <palves@redhat.com>
Date:   Fri Jun 28 17:19:39 2013 +0000

    Move pagination_enabled declaration to a proper place.
    
    Declare it close to other related declarations in utils.h, and remove
    local extern declaration hack.
    
    gdb/
    2013-06-28  Pedro Alves  <palves@redhat.com>
    
    	* infrun.c (set_observer_mode): Don't declare pagination_enabled
    	here.
    	* utils.h (pagination_enabled): Declare.

commit ad999c037c162cd1067bc273696516c721da94dc
Author: Pedro Alves <palves@redhat.com>
Date:   Fri Jun 28 17:06:14 2013 +0000

    infrun.c: Move non_stop_1 etc., higher up in file.
    
    The "non_stop_1" global is out of place, mixed with the observer bits.
    This moves all the non-stop user-interface-related bits together.
    
    gdb/
    2013-06-28  Pedro Alves  <palves@redhat.com>
    
    	* infrun.c (non_stop, non_stop_1, set_non_stop, show_non_stop):
    	Move higher up in file.

commit d2390d3a211f13886d36d42d4499d2200c91aa3d
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Jun 28 15:07:55 2013 +0000

    Handle R_X86_64_DTPOFF64
    
    bfd/
    
    	PR ld/15685
    	* elf64-x86-64.c (elf_x86_64_relocate_section): Handle
    	R_X86_64_DTPOFF64.
    
    ld/testsuite/
    
    	PR ld/15685
    	* ld-x86-64/tlsg.s: Add a test for R_X86_64_DTPOFF64.
    	* ld-x86-64/tlsg.sd: Updated.

commit 61ded7ed87a7ff9959783df5f576c6d3801aa248
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Jun 28 14:23:11 2013 +0000

    	* tracepoint.c (deprecated_readline_begin_hook)
    	(deprecated_readline_hook, deprecated_readline_end_hook): Don't
    	declare.

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

Summary of changes:
 ChangeLog                                          |    7 +
 bfd/ChangeLog                                      |  483 ++
 bfd/Makefile.am                                    |   25 +-
 bfd/Makefile.in                                    |   27 +-
 bfd/archures.c                                     |    1 +
 bfd/bfd-in.h                                       |   22 +-
 bfd/bfd-in2.h                                      |  354 +-
 bfd/coff-rs6000.c                                  |   36 +-
 bfd/config.bfd                                     |   42 +-
 bfd/configure                                      |    6 +-
 bfd/configure.in                                   |    6 +-
 bfd/cpu-aarch64.c                                  |   10 +-
 bfd/elf32-arm.c                                    |    3 +-
 bfd/elf32-mips.c                                   |    5 +-
 bfd/elf32-nios2.c                                  |    6 -
 bfd/elf32-rl78.c                                   |   35 +-
 bfd/elf64-aarch64.c                                | 7134 --------------------
 bfd/elf64-ppc.c                                    |  172 +-
 bfd/elf64-ppc.h                                    |    4 +-
 bfd/elf64-x86-64.c                                 |    5 +
 bfd/elfnn-aarch64.c                                | 6762 +++++++++++++++++++
 bfd/elfxx-aarch64.c                                |  522 ++
 bfd/elfxx-aarch64.h                                |   47 +
 bfd/elfxx-mips.c                                   | 1271 +++-
 bfd/elfxx-mips.h                                   |    4 +
 bfd/hash.c                                         |    7 +-
 bfd/libbfd.h                                       |  108 +-
 bfd/reloc.c                                        |  359 +-
 bfd/targets.c                                      |   10 +
 bfd/version.h                                      |    2 +-
 bfd/vms-alpha.c                                    |   22 +
 configure                                          |    6 +-
 configure.ac                                       |    6 +-
 gdb/.gitignore                                     |    1 +
 gdb/ChangeLog                                      |  774 +++
 gdb/MAINTAINERS                                    |    1 +
 gdb/Makefile.in                                    |   19 +-
 gdb/NEWS                                           |   15 +
 gdb/aarch64-tdep.c                                 |    2 +-
 gdb/acinclude.m4                                   |    3 +
 gdb/arm-symbian-tdep.c                             |    2 +-
 gdb/arm-tdep.c                                     |    2 +-
 gdb/ax-gdb.h                                       |    1 +
 gdb/break-catch-sig.c                              |    2 +-
 gdb/breakpoint.c                                   |  173 +-
 gdb/breakpoint.h                                   |   10 +-
 gdb/bsd-kvm.c                                      |    1 -
 gdb/cli/cli-cmds.c                                 |    2 +-
 gdb/cli/cli-cmds.h                                 |    2 +-
 gdb/common/create-version.sh                       |   38 +
 gdb/common/filestuff.c                             |    2 -
 gdb/common/gdb_vecs.h                              |    2 +
 gdb/common/i386-cpuid.h                            |   63 +
 gdb/common/i386-gcc-cpuid.h                        |  272 +
 gdb/common/linux-btrace.c                          |   46 +-
 gdb/common/ptid.h                                  |    4 +-
 gdb/{ => common}/version.h                         |    0
 gdb/config.in                                      |    3 +
 gdb/config/i386/nm-fbsd.h                          |    4 -
 gdb/configure                                      |   76 +-
 gdb/configure.ac                                   |   52 +-
 gdb/configure.tgt                                  |    5 +
 gdb/contrib/ari/update-web-ari.sh                  |    3 +-
 gdb/copyright.py                                   |    2 +-
 gdb/corelow.c                                      |    6 +-
 gdb/ctf.c                                          |   14 +
 gdb/darwin-nat-info.c                              |    1 -
 gdb/darwin-nat.c                                   |    8 +-
 gdb/darwin-nat.h                                   |    3 +-
 gdb/defs.h                                         |   16 +-
 gdb/development.sh                                 |   21 +
 gdb/doc/ChangeLog                                  |   56 +
 gdb/doc/Makefile.in                                |   15 +-
 gdb/doc/gdb.texinfo                                |  148 +-
 gdb/doc/gdbint.texinfo                             |   89 +-
 gdb/doublest.c                                     |   49 +-
 gdb/dsrec.c                                        |    8 +-
 gdb/dwarf2loc.c                                    |   17 +-
 gdb/dwarf2read.c                                   |  256 +-
 gdb/exceptions.c                                   |   18 +-
 gdb/exceptions.h                                   |    8 +-
 gdb/fbsd-nat.c                                     |    4 +-
 gdb/features/traceframe-info.dtd                   |    5 +-
 gdb/gdbserver/ChangeLog                            |  484 ++
 gdb/gdbserver/Makefile.in                          |   23 +-
 gdb/gdbserver/acinclude.m4                         |    3 +
 gdb/gdbserver/ax.c                                 |    2 +-
 gdb/gdbserver/configure                            |   94 +-
 gdb/gdbserver/configure.ac                         |   17 +-
 gdb/gdbserver/event-loop.c                         |    2 -
 gdb/gdbserver/gdbreplay.c                          |    7 +-
 gdb/gdbserver/hostio.c                             |   16 +-
 gdb/gdbserver/i387-fp.c                            |   34 +-
 gdb/gdbserver/i387-fp.h                            |    2 -
 gdb/gdbserver/inferiors.c                          |    1 -
 gdb/gdbserver/linux-aarch64-low.c                  |   43 +-
 gdb/gdbserver/linux-amd64-ipa.c                    |    6 +-
 gdb/gdbserver/linux-arm-low.c                      |   91 +-
 gdb/gdbserver/linux-bfin-low.c                     |   38 +-
 gdb/gdbserver/linux-cris-low.c                     |   37 +-
 gdb/gdbserver/linux-crisv32-low.c                  |   52 +-
 gdb/gdbserver/linux-i386-ipa.c                     |    2 +
 gdb/gdbserver/linux-ia64-low.c                     |   44 +-
 gdb/gdbserver/linux-low.c                          |  310 +-
 gdb/gdbserver/linux-low.h                          |   74 +-
 gdb/gdbserver/linux-m32r-low.c                     |   37 +-
 gdb/gdbserver/linux-m68k-low.c                     |   50 +-
 gdb/gdbserver/linux-mips-low.c                     |  193 +-
 gdb/gdbserver/linux-nios2-low.c                    |   43 +-
 gdb/gdbserver/linux-ppc-low.c                      |  181 +-
 gdb/gdbserver/linux-s390-low.c                     |  195 +-
 gdb/gdbserver/linux-sh-low.c                       |   49 +-
 gdb/gdbserver/linux-sparc-low.c                    |   60 +-
 gdb/gdbserver/linux-tic6x-low.c                    |   73 +-
 gdb/gdbserver/linux-tile-low.c                     |   48 +-
 gdb/gdbserver/linux-x86-low.c                      |  476 +-
 gdb/gdbserver/linux-xtensa-low.c                   |   61 +-
 gdb/gdbserver/lynx-i386-low.c                      |    2 +
 gdb/gdbserver/lynx-low.c                           |    3 +
 gdb/gdbserver/lynx-low.h                           |    4 +
 gdb/gdbserver/lynx-ppc-low.c                       |    2 +
 gdb/gdbserver/notif.h                              |    2 +
 gdb/gdbserver/nto-low.c                            |    6 +-
 gdb/gdbserver/nto-low.h                            |    6 +
 gdb/gdbserver/nto-x86-low.c                        |    2 +
 gdb/gdbserver/proc-service.c                       |   10 +-
 gdb/gdbserver/regcache.c                           |  242 +-
 gdb/gdbserver/regcache.h                           |   33 +-
 gdb/gdbserver/remote-utils.c                       |   11 +-
 gdb/gdbserver/server.c                             |   27 +-
 gdb/gdbserver/server.h                             |   14 +-
 gdb/gdbserver/spu-low.c                            |   10 +-
 gdb/gdbserver/tdesc.c                              |   66 +
 gdb/gdbserver/tdesc.h                              |   64 +
 gdb/gdbserver/tracepoint.c                         |   47 +-
 gdb/gdbserver/win32-arm-low.c                      |   11 +-
 gdb/gdbserver/win32-i386-low.c                     |    8 +-
 gdb/gdbserver/win32-low.c                          |   24 +-
 gdb/gdbserver/win32-low.h                          |    6 +
 gdb/gnu-nat.c                                      |    3 +-
 gdb/gnulib/Makefile.in                             |    8 +-
 gdb/gnulib/aclocal.m4                              |   15 +-
 gdb/gnulib/config.in                               |  478 ++-
 gdb/gnulib/configure                               | 3502 +++++++++--
 gdb/gnulib/configure.ac                            |    2 +-
 gdb/gnulib/import/Makefile.am                      |  543 ++-
 gdb/gnulib/import/Makefile.in                      |  914 +++-
 gdb/gnulib/import/float+.h                         |  147 +
 gdb/gnulib/import/float.c                          |   33 +
 gdb/gnulib/import/float.in.h                       |  188 +
 gdb/gnulib/import/fpucw.h                          |  108 +
 gdb/gnulib/import/frexp.c                          |  168 +
 gdb/gnulib/import/frexpl.c                         |   35 +
 gdb/gnulib/import/isnan.c                          |  177 +
 gdb/gnulib/import/isnand-nolibm.h                  |   33 +
 gdb/gnulib/import/isnand.c                         |   19 +
 gdb/gnulib/import/isnanl-nolibm.h                  |   33 +
 gdb/gnulib/import/isnanl.c                         |   20 +
 gdb/gnulib/import/itold.c                          |   28 +
 gdb/gnulib/import/m4/exponentd.m4                  |  116 +
 gdb/gnulib/import/m4/exponentl.m4                  |   98 +
 gdb/gnulib/import/m4/float_h.m4                    |   98 +
 gdb/gnulib/import/m4/fpieee.m4                     |   54 +
 gdb/gnulib/import/m4/frexp.m4                      |  170 +
 gdb/gnulib/import/m4/frexpl.m4                     |  231 +
 gdb/gnulib/import/m4/gnulib-cache.m4               |    5 +-
 gdb/gnulib/import/m4/gnulib-comp.m4                |   78 +
 gdb/gnulib/import/m4/isnand.m4                     |   96 +
 gdb/gnulib/import/m4/isnanl.m4                     |  255 +
 gdb/gnulib/import/m4/math_h.m4                     |  353 +
 gdb/gnulib/import/m4/off_t.m4                      |   18 +
 gdb/gnulib/import/m4/onceonly.m4                   |  104 -
 gdb/gnulib/import/m4/pathmax.m4                    |   42 +
 gdb/gnulib/import/m4/ssize_t.m4                    |   23 +
 gdb/gnulib/import/m4/sys_types_h.m4                |   24 +
 gdb/gnulib/import/m4/unistd_h.m4                   |  186 +
 gdb/gnulib/import/math.c                           |    3 +
 gdb/gnulib/import/math.in.h                        | 2275 +++++++
 gdb/gnulib/import/pathmax.h                        |   83 +
 gdb/gnulib/import/sys_types.in.h                   |   51 +
 gdb/gnulib/import/unistd.c                         |    3 +
 gdb/gnulib/import/unistd.in.h                      | 1541 +++++
 gdb/gnulib/update-gnulib.sh                        |    4 +-
 gdb/go32-nat.c                                     |   25 +-
 gdb/h8300-tdep.c                                   |    2 +-
 gdb/hppa-hpux-tdep.c                               |   22 +-
 gdb/hppa-linux-tdep.c                              |    2 +-
 gdb/hppa-tdep.c                                    |   11 +-
 gdb/hppa-tdep.h                                    |   10 +-
 gdb/hppabsd-tdep.c                                 |    2 +-
 gdb/i386obsd-nat.c                                 |    1 -
 gdb/ia64-linux-tdep.c                              |   21 +
 gdb/inf-child.c                                    |    9 +-
 gdb/infrun.c                                       |  123 +-
 gdb/libmcheck.m4                                   |   43 +
 gdb/linux-fork.c                                   |    5 +-
 gdb/linux-nat.c                                    |   13 +-
 gdb/m68klinux-nat.c                                |    1 -
 gdb/machoread.c                                    |   55 +-
 gdb/macrocmd.c                                     |    3 +-
 gdb/main.c                                         |   40 +-
 gdb/mi/mi-cmds.c                                   |    2 +
 gdb/mi/mi-cmds.h                                   |    1 +
 gdb/mi/mi-main.c                                   |  373 +-
 gdb/mi/mi-parse.c                                  |    6 +-
 gdb/mips-linux-tdep.c                              |   29 +-
 gdb/mips-tdep.c                                    |   33 +-
 gdb/mips-tdep.h                                    |   10 +
 gdb/mn10300-tdep.c                                 |    2 +-
 gdb/moxie-tdep.c                                   |    2 +-
 gdb/msp430-tdep.c                                  | 1041 +++
 gdb/nbsd-nat.c                                     |    6 +-
 gdb/nios2-tdep.c                                   |    2 +-
 gdb/nto-tdep.c                                     |    2 +-
 gdb/objfiles.c                                     |    8 +-
 gdb/objfiles.h                                     |   12 +-
 gdb/parser-defs.h                                  |    1 +
 gdb/ppc-linux-nat.c                                |    1 -
 gdb/printcmd.c                                     |   11 +
 gdb/python/py-inferior.c                           |    7 +-
 gdb/python/python.c                                |    3 +-
 gdb/regformats/regdat.sh                           |   30 +-
 gdb/remote.c                                       |   27 +-
 gdb/remote.h                                       |    2 -
 gdb/rs6000-nat.c                                   |    1 -
 gdb/rs6000-tdep.c                                  |    2 +-
 gdb/s390-tdep.c                                    |    2 +-
 gdb/sh-tdep.c                                      |    2 +-
 gdb/solib-dsbt.c                                   |    2 +-
 gdb/solib-frv.c                                    |    2 +-
 gdb/solib-ia64-hpux.c                              |    4 +-
 gdb/solib-sunos.c                                  |    1 -
 gdb/solib-svr4.c                                   |    2 +-
 gdb/solib-target.c                                 |    2 +-
 gdb/source.c                                       |    7 +-
 gdb/sparc-tdep.c                                   |    2 +-
 gdb/spu-linux-nat.c                                |    1 -
 gdb/stack.c                                        |   26 +-
 gdb/symfile.c                                      |    4 -
 gdb/target.c                                       |   25 -
 gdb/target.h                                       |    2 -
 gdb/testsuite/ChangeLog                            |  480 ++
 gdb/testsuite/boards/native-extended-gdbserver.exp |    5 +-
 gdb/testsuite/boards/native-gdbserver.exp          |    3 +
 gdb/testsuite/boards/native-stdio-gdbserver.exp    |    3 +
 gdb/testsuite/config/arm-ice.exp                   |    2 +-
 gdb/testsuite/config/bfin.exp                      |    2 +-
 gdb/testsuite/config/cygmon.exp                    |    2 +-
 gdb/testsuite/config/h8300.exp                     |    2 +-
 gdb/testsuite/config/monitor.exp                   |   94 +-
 gdb/testsuite/config/sid.exp                       |   14 +-
 gdb/testsuite/config/sim.exp                       |    2 +-
 gdb/testsuite/config/slite.exp                     |   52 +-
 gdb/testsuite/config/vx.exp                        |    8 +-
 gdb/testsuite/gdb.ada/info_types.c                 |    3 +-
 gdb/testsuite/gdb.arch/i386-avx.c                  |    2 +-
 gdb/testsuite/gdb.arch/i386-avx.exp                |    2 +-
 gdb/testsuite/gdb.arch/i386-bp_permanent.exp       |   10 +-
 gdb/testsuite/gdb.arch/i386-cpuid.h                |  200 -
 gdb/testsuite/gdb.arch/i386-sse.c                  |    5 +-
 gdb/testsuite/gdb.arch/i386-sse.exp                |    2 +-
 gdb/testsuite/gdb.asm/asm-source.exp               |    2 +-
 gdb/testsuite/gdb.base/a2-run.exp                  |    5 +-
 gdb/testsuite/gdb.base/all-bin.exp                 |   18 +-
 gdb/testsuite/gdb.base/annota1.exp                 |   13 +-
 gdb/testsuite/gdb.base/annota3.exp                 |    9 +-
 gdb/testsuite/gdb.base/anon.exp                    |    4 +-
 gdb/testsuite/gdb.base/args.exp                    |   22 +-
 gdb/testsuite/gdb.base/arithmet.exp                |   17 +-
 gdb/testsuite/gdb.base/arrayidx.exp                |   10 +-
 gdb/testsuite/gdb.base/assign.exp                  |   10 +-
 gdb/testsuite/gdb.base/async-shell.exp             |    4 +-
 gdb/testsuite/gdb.base/async.exp                   |   10 +-
 gdb/testsuite/gdb.base/attach-pie-misread.exp      |   12 +-
 gdb/testsuite/gdb.base/attach-pie-noexec.exp       |    3 +-
 gdb/testsuite/gdb.base/attach-twice.exp            |    3 +-
 gdb/testsuite/gdb.base/attach.exp                  |   12 +-
 gdb/testsuite/gdb.base/auxv.exp                    |   18 +-
 gdb/testsuite/gdb.base/bang.exp                    |   12 +-
 gdb/testsuite/gdb.base/bfp-test.exp                |   10 +-
 gdb/testsuite/gdb.base/bigcore.exp                 |   13 +-
 gdb/testsuite/gdb.base/bitfields.exp               |   51 +-
 gdb/testsuite/gdb.base/bitfields2.exp              |   29 +-
 gdb/testsuite/gdb.base/break-always.exp            |    3 +-
 gdb/testsuite/gdb.base/break-entry.exp             |    4 +-
 gdb/testsuite/gdb.base/break-interp.exp            |   15 +-
 .../gdb.base/break-on-linker-gcd-function.cc       |    3 +-
 .../gdb.base/break-on-linker-gcd-function.exp      |   11 +-
 gdb/testsuite/gdb.base/break.exp                   |    6 +-
 gdb/testsuite/gdb.base/breakpoint-shadow.exp       |   14 +-
 gdb/testsuite/gdb.base/call-ar-st.exp              |   30 +-
 gdb/testsuite/gdb.base/call-rt-st.exp              |   10 +-
 gdb/testsuite/gdb.base/call-sc.exp                 |    9 +-
 gdb/testsuite/gdb.base/call-signal-resume.exp      |    9 +-
 gdb/testsuite/gdb.base/call-strs.exp               |   20 +-
 gdb/testsuite/gdb.base/callexit.exp                |    9 +-
 gdb/testsuite/gdb.base/callfuncs.exp               |   10 +-
 gdb/testsuite/gdb.base/catch-load.exp              |    6 +-
 gdb/testsuite/gdb.base/catch-syscall.exp           |    5 +-
 gdb/testsuite/gdb.base/charset.exp                 |    7 +-
 gdb/testsuite/gdb.base/checkpoint.exp              |    9 +-
 gdb/testsuite/gdb.base/chng-syms.exp               |    9 +-
 gdb/testsuite/gdb.base/code-expr.exp               |    9 +-
 gdb/testsuite/gdb.base/code_elim.exp               |    4 +-
 gdb/testsuite/gdb.base/commands.exp                |   54 +-
 gdb/testsuite/gdb.base/completion.exp              |   30 +-
 gdb/testsuite/gdb.base/complex.exp                 |   22 +-
 gdb/testsuite/gdb.base/cond-expr.exp               |   10 +-
 gdb/testsuite/gdb.base/condbreak.exp               |   76 +-
 gdb/testsuite/gdb.base/consecutive.exp             |   15 +-
 gdb/testsuite/gdb.base/constvars.exp               |    9 +-
 gdb/testsuite/gdb.base/corefile.exp                |   31 +-
 gdb/testsuite/gdb.base/ctxobj.exp                  |    6 +-
 gdb/testsuite/gdb.base/cursal.exp                  |    4 +-
 gdb/testsuite/gdb.base/cvexpr.exp                  |    9 +-
 gdb/testsuite/gdb.base/dbx.exp                     |   28 +-
 gdb/testsuite/gdb.base/default.exp                 |    3 +
 gdb/testsuite/gdb.base/define.exp                  |   26 +-
 gdb/testsuite/gdb.base/del.exp                     |   16 +-
 gdb/testsuite/gdb.base/detach.exp                  |    6 +-
 gdb/testsuite/gdb.base/dfp-test.exp                |    9 +-
 gdb/testsuite/gdb.base/display.exp                 |   14 +-
 gdb/testsuite/gdb.base/dmsym.exp                   |    8 +-
 gdb/testsuite/gdb.base/dprintf-next.c              |   26 +
 gdb/testsuite/gdb.base/dprintf-next.exp            |   36 +
 gdb/testsuite/gdb.base/dprintf-non-stop.c          |   30 +
 gdb/testsuite/gdb.base/dprintf-non-stop.exp        |   67 +
 gdb/testsuite/gdb.base/dprintf.exp                 |    4 -
 gdb/testsuite/gdb.base/dump.exp                    |   13 +-
 gdb/testsuite/gdb.base/dup-sect.exp                |    4 +-
 gdb/testsuite/gdb.base/ena-dis-br.exp              |   42 +-
 gdb/testsuite/gdb.base/ending-run.exp              |    2 +-
 gdb/testsuite/gdb.base/enum_cond.exp               |    4 +-
 gdb/testsuite/gdb.base/enumval.exp                 |    7 +-
 gdb/testsuite/gdb.base/environ.exp                 |   25 +-
 gdb/testsuite/gdb.base/eu-strip-infcall.exp        |    3 +-
 gdb/testsuite/gdb.base/eval-skip.exp               |    9 +-
 gdb/testsuite/gdb.base/exe-lock.exp                |   10 +-
 gdb/testsuite/gdb.base/expand-psymtabs.exp         |   29 +-
 gdb/testsuite/gdb.base/exprs.exp                   |   20 +-
 gdb/testsuite/gdb.base/fileio.exp                  |    4 +-
 gdb/testsuite/gdb.base/find.exp                    |    9 +-
 gdb/testsuite/gdb.base/fixsection.exp              |    9 +-
 gdb/testsuite/gdb.base/float.c                     |    3 +-
 gdb/testsuite/gdb.base/foll-exec.exp               |    7 +-
 gdb/testsuite/gdb.base/foll-fork.exp               |   20 +-
 gdb/testsuite/gdb.base/fortran-sym-case.exp        |    3 +-
 gdb/testsuite/gdb.base/frame-args.exp              |    9 +-
 gdb/testsuite/gdb.base/freebpcmd.exp               |   16 +-
 gdb/testsuite/gdb.base/fullname.exp                |   23 +-
 gdb/testsuite/gdb.base/funcargs.exp                |  117 +-
 gdb/testsuite/gdb.base/gcore-buffer-overflow.exp   |   12 +-
 gdb/testsuite/gdb.base/gcore.exp                   |   19 +-
 gdb/testsuite/gdb.base/gdb1090.exp                 |   15 +-
 gdb/testsuite/gdb.base/gdb11530.exp                |    3 +-
 gdb/testsuite/gdb.base/gdb11531.exp                |    2 +-
 gdb/testsuite/gdb.base/gdb1250.exp                 |    9 +-
 gdb/testsuite/gdb.base/gdb1555.exp                 |   13 +-
 gdb/testsuite/gdb.base/gdb1821.exp                 |   13 +-
 gdb/testsuite/gdb.base/gdbindex-stabs.exp          |   10 +-
 gdb/testsuite/gdb.base/gdbvars.exp                 |   15 +-
 gdb/testsuite/gdb.base/gnu-ifunc.exp               |   10 +-
 gdb/testsuite/gdb.base/gnu_vector.exp              |    4 +-
 gdb/testsuite/gdb.base/hbreak2.exp                 |    2 +-
 gdb/testsuite/gdb.base/hook-stop-continue.exp      |    9 +-
 gdb/testsuite/gdb.base/hook-stop-frame.exp         |   11 +-
 gdb/testsuite/gdb.base/huge.exp                    |   11 +-
 gdb/testsuite/gdb.base/included.exp                |   14 +-
 gdb/testsuite/gdb.base/inferior-died.c             |    3 +-
 gdb/testsuite/gdb.base/inferior-died.exp           |    4 +-
 gdb/testsuite/gdb.base/infnan.exp                  |   13 +-
 gdb/testsuite/gdb.base/info-fun.exp                |    9 +-
 gdb/testsuite/gdb.base/info-macros.exp             |    4 +-
 gdb/testsuite/gdb.base/info-os.exp                 |    3 +-
 gdb/testsuite/gdb.base/info-proc.exp               |   29 +-
 gdb/testsuite/gdb.base/info-target.exp             |    5 +-
 gdb/testsuite/gdb.base/infoline.exp                |    5 +-
 gdb/testsuite/gdb.base/interp.c                    |    3 +-
 gdb/testsuite/gdb.base/interp.exp                  |    4 +-
 gdb/testsuite/gdb.base/interrupt.exp               |   10 +-
 gdb/testsuite/gdb.base/jit-main.c                  |    3 +-
 gdb/testsuite/gdb.base/jit-simple.exp              |    7 +-
 gdb/testsuite/gdb.base/jit-so.exp                  |    6 +-
 gdb/testsuite/gdb.base/jit-solib.c                 |    3 +-
 gdb/testsuite/gdb.base/jump.exp                    |    9 +-
 gdb/testsuite/gdb.base/kill-after-signal.exp       |    2 +-
 gdb/testsuite/gdb.base/label.exp                   |    6 +-
 gdb/testsuite/gdb.base/langs.exp                   |   29 +-
 gdb/testsuite/gdb.base/lineinc.exp                 |   11 +-
 gdb/testsuite/gdb.base/list.exp                    |   38 +-
 gdb/testsuite/gdb.base/logical.exp                 |    9 +-
 gdb/testsuite/gdb.base/long_long.c                 |    3 +-
 gdb/testsuite/gdb.base/long_long.exp               |   11 +-
 gdb/testsuite/gdb.base/longjmp.c                   |    3 +-
 gdb/testsuite/gdb.base/longjmp.exp                 |    9 +-
 gdb/testsuite/gdb.base/macscp.exp                  |   11 +-
 gdb/testsuite/gdb.base/maint.exp                   |   86 +-
 gdb/testsuite/gdb.base/memattr.exp                 |    5 +-
 gdb/testsuite/gdb.base/mips_pro.exp                |   24 +-
 gdb/testsuite/gdb.base/miscexprs.exp               |    9 +-
 gdb/testsuite/gdb.base/morestack.exp               |    5 +-
 gdb/testsuite/gdb.base/moribund-step.exp           |    4 +-
 gdb/testsuite/gdb.base/multi-forks.exp             |   14 +-
 gdb/testsuite/gdb.base/nextoverexit.c              |    3 +-
 gdb/testsuite/gdb.base/nextoverexit.exp            |    5 +-
 gdb/testsuite/gdb.base/nodebug.exp                 |   11 +-
 gdb/testsuite/gdb.base/nofield.exp                 |   10 +-
 gdb/testsuite/gdb.base/nostdlib.exp                |    7 +-
 gdb/testsuite/gdb.base/opaque.exp                  |   34 +-
 gdb/testsuite/gdb.base/overlays.exp                |   41 +-
 gdb/testsuite/gdb.base/pc-fp.exp                   |   15 +-
 gdb/testsuite/gdb.base/pending.exp                 |    6 +-
 gdb/testsuite/gdb.base/permissions.exp             |   15 +-
 gdb/testsuite/gdb.base/pie-execl.exp               |    7 +-
 gdb/testsuite/gdb.base/pointers.exp                |    9 +-
 gdb/testsuite/gdb.base/pr11022.c                   |    3 +-
 gdb/testsuite/gdb.base/pr11022.exp                 |   10 +-
 gdb/testsuite/gdb.base/prelink-lib.c               |    3 +-
 gdb/testsuite/gdb.base/prelink.c                   |    3 +-
 gdb/testsuite/gdb.base/print-file-var.exp          |    6 +-
 gdb/testsuite/gdb.base/printcmds.exp               |   39 +-
 gdb/testsuite/gdb.base/prologue.c                  |    3 +-
 gdb/testsuite/gdb.base/prologue.exp                |    9 +-
 gdb/testsuite/gdb.base/psymtab.exp                 |   27 +-
 gdb/testsuite/gdb.base/ptr-typedef.exp             |   10 +-
 gdb/testsuite/gdb.base/ptype.exp                   |   26 +-
 gdb/testsuite/gdb.base/random-signal.c             |   29 +
 gdb/testsuite/gdb.base/random-signal.exp           |   42 +
 gdb/testsuite/gdb.base/randomize.exp               |   16 +-
 gdb/testsuite/gdb.base/readline-ask.exp            |    7 +-
 gdb/testsuite/gdb.base/recpar.exp                  |    4 +-
 gdb/testsuite/gdb.base/recurse.exp                 |   30 +-
 gdb/testsuite/gdb.base/relativedebug.exp           |   10 +-
 gdb/testsuite/gdb.base/relocate.exp                |    5 +-
 gdb/testsuite/gdb.base/remote.exp                  |    4 +-
 gdb/testsuite/gdb.base/remotetimeout.exp           |    2 +-
 gdb/testsuite/gdb.base/reread.exp                  |   36 +-
 gdb/testsuite/gdb.base/restore.c                   |    3 +-
 gdb/testsuite/gdb.base/return-nodebug.exp          |   24 +-
 gdb/testsuite/gdb.base/return2.exp                 |   10 +-
 gdb/testsuite/gdb.base/save-bp.exp                 |    5 +-
 gdb/testsuite/gdb.base/savedregs.exp               |   12 +-
 gdb/testsuite/gdb.base/scope.exp                   |  129 +-
 gdb/testsuite/gdb.base/sep.exp                     |    9 +-
 gdb/testsuite/gdb.base/sepdebug.exp                |    6 +-
 gdb/testsuite/gdb.base/sepsymtab.exp               |    9 +-
 gdb/testsuite/gdb.base/set-lang-auto.exp           |   16 +-
 gdb/testsuite/gdb.base/setshow.exp                 |   12 +-
 gdb/testsuite/gdb.base/setvar.exp                  |   38 +-
 gdb/testsuite/gdb.base/shlib-call.exp              |   20 +-
 gdb/testsuite/gdb.base/shreloc.exp                 |   25 +-
 gdb/testsuite/gdb.base/sigall.exp                  |   16 +-
 gdb/testsuite/gdb.base/sigaltstack.exp             |   12 +-
 gdb/testsuite/gdb.base/sigbpt.exp                  |   14 +-
 gdb/testsuite/gdb.base/sigchld.c                   |    3 +-
 gdb/testsuite/gdb.base/sigchld.exp                 |    9 +-
 gdb/testsuite/gdb.base/siginfo-addr.exp            |   14 +-
 gdb/testsuite/gdb.base/siginfo-infcall.exp         |    7 +-
 gdb/testsuite/gdb.base/siginfo-obj.exp             |   19 +-
 gdb/testsuite/gdb.base/siginfo.exp                 |   17 +-
 gdb/testsuite/gdb.base/signals.exp                 |   10 +-
 gdb/testsuite/gdb.base/signest.exp                 |    3 +-
 gdb/testsuite/gdb.base/signull.exp                 |   10 +-
 gdb/testsuite/gdb.base/sigrepeat.exp               |   12 +-
 gdb/testsuite/gdb.base/sigstep.exp                 |   17 +-
 gdb/testsuite/gdb.base/sizeof.exp                  |   16 +-
 gdb/testsuite/gdb.base/skip-solib.exp              |    9 +-
 gdb/testsuite/gdb.base/skip.c                      |    5 +-
 gdb/testsuite/gdb.base/skip1.c                     |    4 +-
 gdb/testsuite/gdb.base/so-impl-ld.exp              |   14 +-
 gdb/testsuite/gdb.base/solib-display.exp           |    4 +-
 gdb/testsuite/gdb.base/solib-nodir.exp             |    6 +-
 gdb/testsuite/gdb.base/solib-overlap.exp           |    6 +-
 gdb/testsuite/gdb.base/solib-search-lib1.c         |    3 +-
 gdb/testsuite/gdb.base/solib-search-lib2.c         |    3 +-
 gdb/testsuite/gdb.base/solib-search.c              |    3 +-
 gdb/testsuite/gdb.base/solib-search.h              |    3 +-
 gdb/testsuite/gdb.base/solib-symbol.exp            |    4 +-
 gdb/testsuite/gdb.base/solib-weak.exp              |    8 +-
 gdb/testsuite/gdb.base/source.exp                  |    4 +-
 gdb/testsuite/gdb.base/stack-checking.exp          |    9 +-
 gdb/testsuite/gdb.base/stale-infcall.exp           |    4 +-
 gdb/testsuite/gdb.base/stap-probe.exp              |    6 +-
 gdb/testsuite/gdb.base/start.exp                   |   16 +-
 gdb/testsuite/gdb.base/step-break.exp              |   11 +-
 gdb/testsuite/gdb.base/step-bt.exp                 |   16 +-
 gdb/testsuite/gdb.base/step-line.exp               |   16 +-
 gdb/testsuite/gdb.base/step-resume-infcall.exp     |    4 +-
 gdb/testsuite/gdb.base/step-test.exp               |    9 +-
 gdb/testsuite/gdb.base/structs.exp                 |    9 +-
 gdb/testsuite/gdb.base/structs2.exp                |    8 +-
 gdb/testsuite/gdb.base/structs3.exp                |    4 +-
 gdb/testsuite/gdb.base/subst.exp                   |    6 +
 .../gdb.base/symbol-without-target_section.exp     |   14 +-
 gdb/testsuite/gdb.base/testenv.exp                 |    8 +-
 gdb/testsuite/gdb.base/tui-layout.exp              |    5 +-
 gdb/testsuite/gdb.base/twice.exp                   |   18 +-
 gdb/testsuite/gdb.base/type-opaque.exp             |   13 +-
 gdb/testsuite/gdb.base/unload.exp                  |    8 +-
 gdb/testsuite/gdb.base/unwindonsignal.exp          |   19 +-
 gdb/testsuite/gdb.base/valgrind-db-attach.exp      |    9 +-
 gdb/testsuite/gdb.base/valgrind-infcall.exp        |   11 +-
 gdb/testsuite/gdb.base/value-double-free.exp       |   16 +-
 gdb/testsuite/gdb.base/varargs.exp                 |   12 +-
 gdb/testsuite/gdb.base/watch-cond-infcall.exp      |    4 +-
 gdb/testsuite/gdb.base/watch-cond.exp              |    4 +-
 gdb/testsuite/gdb.base/watch-non-mem.exp           |    4 +-
 gdb/testsuite/gdb.base/watch-read.exp              |    3 +-
 gdb/testsuite/gdb.base/watch-vfork.exp             |    6 +-
 gdb/testsuite/gdb.base/watch_thread_num.exp        |    9 +-
 gdb/testsuite/gdb.base/watchpoint-cond-gone.exp    |   14 +-
 gdb/testsuite/gdb.base/watchpoint-delete.exp       |    4 +-
 gdb/testsuite/gdb.base/watchpoint-hw.exp           |   14 +-
 gdb/testsuite/gdb.base/watchpoint-solib.exp        |    6 +-
 gdb/testsuite/gdb.base/watchpoint.exp              |   10 +-
 gdb/testsuite/gdb.base/watchpoints.exp             |   17 +-
 gdb/testsuite/gdb.base/wchar.exp                   |    4 +-
 gdb/testsuite/gdb.base/whatis.c                    |    3 +-
 gdb/testsuite/gdb.base/whatis.exp                  |   10 +-
 gdb/testsuite/gdb.cp/abstract-origin.cc            |    3 +-
 gdb/testsuite/gdb.cp/annota2.exp                   |    2 +-
 gdb/testsuite/gdb.cp/anon-struct.cc                |    3 +-
 gdb/testsuite/gdb.cp/anon-struct.exp               |   25 +-
 gdb/testsuite/gdb.cp/baseenum.cc                   |    3 +-
 gdb/testsuite/gdb.cp/bs15503.cc                    |    3 +-
 gdb/testsuite/gdb.cp/call-c-1.c                    |    3 +-
 gdb/testsuite/gdb.cp/call-c.cc                     |    3 +-
 gdb/testsuite/gdb.cp/class2.cc                     |    3 +-
 gdb/testsuite/gdb.cp/classes.cc                    |    3 +-
 gdb/testsuite/gdb.cp/cttiadd.cc                    |    3 +-
 gdb/testsuite/gdb.cp/cttiadd1.cc                   |    3 +-
 gdb/testsuite/gdb.cp/cttiadd2.cc                   |    3 +-
 gdb/testsuite/gdb.cp/cttiadd3.cc                   |    3 +-
 gdb/testsuite/gdb.cp/derivation.cc                 |    3 +-
 gdb/testsuite/gdb.cp/derivation.exp                |   30 +-
 gdb/testsuite/gdb.cp/derivation2.cc                |    3 +-
 gdb/testsuite/gdb.cp/dispcxx.cc                    |    3 +-
 gdb/testsuite/gdb.cp/exception.cc                  |    5 +-
 gdb/testsuite/gdb.cp/gdb1355.exp                   |    2 +-
 gdb/testsuite/gdb.cp/gdb2384-base.cc               |    3 +-
 gdb/testsuite/gdb.cp/gdb2384-base.h                |    3 +-
 gdb/testsuite/gdb.cp/gdb2384.cc                    |    3 +-
 gdb/testsuite/gdb.cp/gdb2495.cc                    |    3 +-
 gdb/testsuite/gdb.cp/m-static.exp                  |   75 +-
 gdb/testsuite/gdb.cp/mb-inline.h                   |    3 +-
 gdb/testsuite/gdb.cp/mb-inline1.cc                 |    3 +-
 gdb/testsuite/gdb.cp/mb-inline2.cc                 |    3 +-
 gdb/testsuite/gdb.cp/member-name.cc                |    3 +-
 gdb/testsuite/gdb.cp/member-ptr.cc                 |    5 +-
 gdb/testsuite/gdb.cp/misc.cc                       |    3 +-
 gdb/testsuite/gdb.cp/misc.exp                      |   10 +-
 gdb/testsuite/gdb.cp/namespace1.cc                 |    5 +-
 gdb/testsuite/gdb.cp/nextoverthrow.cc              |    4 +-
 gdb/testsuite/gdb.cp/pr-574.cc                     |    3 +-
 gdb/testsuite/gdb.cp/pr9631.cc                     |    3 +-
 gdb/testsuite/gdb.cp/printmethod.cc                |    3 +-
 gdb/testsuite/gdb.cp/psmang1.cc                    |    3 +-
 gdb/testsuite/gdb.cp/psmang2.cc                    |    3 +-
 gdb/testsuite/gdb.cp/psymtab-parameter.cc          |    3 +-
 gdb/testsuite/gdb.cp/ptype-flags.cc                |    3 +-
 gdb/testsuite/gdb.cp/ref-params.cc                 |    3 +-
 gdb/testsuite/gdb.cp/ref-types.cc                  |    3 +-
 gdb/testsuite/gdb.cp/smartp.cc                     |    3 +-
 gdb/testsuite/gdb.cp/try_catch.cc                  |    3 +-
 gdb/testsuite/gdb.cp/userdef.cc                    |    3 +-
 gdb/testsuite/gdb.cp/using-crash.cc                |    3 +-
 gdb/testsuite/gdb.cp/virtfunc.cc                   |    3 +-
 gdb/testsuite/gdb.cp/virtfunc2.cc                  |    3 +-
 gdb/testsuite/gdb.disasm/hppa.exp                  |    2 +-
 gdb/testsuite/gdb.disasm/t01_mov.exp               |    4 +-
 gdb/testsuite/gdb.disasm/t02_mova.exp              |    4 +-
 gdb/testsuite/gdb.disasm/t03_add.exp               |    4 +-
 gdb/testsuite/gdb.disasm/t04_sub.exp               |    4 +-
 gdb/testsuite/gdb.disasm/t05_cmp.exp               |    4 +-
 gdb/testsuite/gdb.disasm/t06_ari2.exp              |    4 +-
 gdb/testsuite/gdb.disasm/t07_ari3.exp              |    4 +-
 gdb/testsuite/gdb.disasm/t08_or.exp                |    4 +-
 gdb/testsuite/gdb.disasm/t09_xor.exp               |    4 +-
 gdb/testsuite/gdb.disasm/t10_and.exp               |    4 +-
 gdb/testsuite/gdb.disasm/t11_logs.exp              |    4 +-
 gdb/testsuite/gdb.disasm/t12_bit.exp               |    4 +-
 gdb/testsuite/gdb.disasm/t13_otr.exp               |    4 +-
 gdb/testsuite/gdb.dwarf2/callframecfa.S            |    3 +-
 gdb/testsuite/gdb.dwarf2/dw2-ranges.c              |    3 +-
 gdb/testsuite/gdb.dwarf2/dw2-ranges2.c             |    3 +-
 gdb/testsuite/gdb.dwarf2/dw2-ranges3.c             |    3 +-
 gdb/testsuite/gdb.dwarf2/dw2-reg-undefined.S       |  522 ++
 gdb/testsuite/gdb.dwarf2/dw2-reg-undefined.c       |   36 +
 gdb/testsuite/gdb.dwarf2/dw2-reg-undefined.exp     |   59 +
 gdb/testsuite/gdb.dwarf2/dw2-restore.S             |    3 +-
 gdb/testsuite/gdb.dwarf2/implptrconst.exp          |    9 +
 gdb/testsuite/gdb.dwarf2/implptrpiece.exp          |  131 +
 gdb/testsuite/gdb.dwarf2/pieces.S                  |    3 +-
 gdb/testsuite/gdb.dwarf2/valop.S                   |    3 +-
 gdb/testsuite/gdb.gdb/complaints.exp               |    5 -
 gdb/testsuite/gdb.gdb/observer.exp                 |    5 -
 gdb/testsuite/gdb.gdb/selftest.exp                 |    6 +-
 gdb/testsuite/gdb.gdb/xfullpath.exp                |    5 -
 gdb/testsuite/gdb.hp/gdb.base-hp/callfwmall.exp    |    8 +-
 gdb/testsuite/gdb.java/jnpe.java                   |    3 +-
 gdb/testsuite/gdb.mi/gdb2549.exp                   |    2 +-
 gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp     |    2 +-
 gdb/testsuite/gdb.mi/mi-reverse.exp                |    2 +-
 gdb/testsuite/gdb.mi/mi-stepn.c                    |    3 +-
 gdb/testsuite/gdb.mi/mi-var-cp.cc                  |    3 +-
 gdb/testsuite/gdb.mi/mi-var-rtti.cc                |    3 +-
 gdb/testsuite/gdb.mi/ns-stale-regcache.c           |    3 +-
 gdb/testsuite/gdb.mi/pr11022.c                     |    3 +-
 gdb/testsuite/gdb.mi/solib-lib.c                   |    3 +-
 gdb/testsuite/gdb.mi/solib-main.c                  |    3 +-
 gdb/testsuite/gdb.pascal/floats.exp                |    4 +-
 gdb/testsuite/gdb.python/py-arch.c                 |    3 +-
 gdb/testsuite/gdb.python/py-block.c                |    5 +-
 gdb/testsuite/gdb.python/py-breakpoint.c           |    4 +-
 gdb/testsuite/gdb.python/py-events.c               |    3 +-
 gdb/testsuite/gdb.python/py-evthreads.c            |    3 +-
 gdb/testsuite/gdb.python/py-explore.c              |    3 +-
 gdb/testsuite/gdb.python/py-explore.cc             |    3 +-
 gdb/testsuite/gdb.python/py-finish-breakpoint.c    |    3 +-
 gdb/testsuite/gdb.python/py-finish-breakpoint2.cc  |    4 +-
 gdb/testsuite/gdb.python/py-inferior.exp           |    2 +-
 gdb/testsuite/gdb.python/py-symbol.c               |    3 +-
 gdb/testsuite/gdb.server/ext-attach.exp            |   10 +
 gdb/testsuite/gdb.threads/attach-into-signal.exp   |    6 +-
 gdb/testsuite/gdb.threads/execl.c                  |    3 +-
 gdb/testsuite/gdb.threads/execl1.c                 |    3 +-
 gdb/testsuite/gdb.threads/pthreads.exp             |    2 +-
 gdb/testsuite/gdb.threads/thread_events.exp        |    6 +-
 gdb/testsuite/gdb.threads/watchthreads.exp         |    2 +-
 gdb/testsuite/gdb.trace/actions-changed.exp        |    2 +-
 gdb/testsuite/gdb.trace/actions.exp                |   17 +-
 gdb/testsuite/gdb.trace/ax.exp                     |    2 +-
 gdb/testsuite/gdb.trace/backtrace.exp              |    8 +-
 gdb/testsuite/gdb.trace/change-loc.exp             |    2 +-
 gdb/testsuite/gdb.trace/deltrace.exp               |   22 +-
 gdb/testsuite/gdb.trace/disconnected-tracing.exp   |    2 +-
 gdb/testsuite/gdb.trace/ftrace.exp                 |    2 +-
 gdb/testsuite/gdb.trace/infotrace.exp              |    8 +-
 .../gdb.trace/mi-trace-frame-collected.exp         |  156 +
 gdb/testsuite/gdb.trace/mi-trace-unavailable.exp   |  170 +
 gdb/testsuite/gdb.trace/passc-dyn.exp              |    8 +-
 gdb/testsuite/gdb.trace/passcount.exp              |   14 +-
 gdb/testsuite/gdb.trace/pending.exp                |    2 +-
 gdb/testsuite/gdb.trace/qtro.exp                   |    2 +-
 gdb/testsuite/gdb.trace/range-stepping.exp         |    2 +-
 gdb/testsuite/gdb.trace/report.exp                 |    8 +-
 gdb/testsuite/gdb.trace/save-trace.exp             |   38 +-
 gdb/testsuite/gdb.trace/status-stop.exp            |    4 +-
 gdb/testsuite/gdb.trace/strace.exp                 |    2 +-
 gdb/testsuite/gdb.trace/tfile.exp                  |    2 +-
 gdb/testsuite/gdb.trace/tfind.exp                  |   58 +-
 gdb/testsuite/gdb.trace/trace-break.exp            |    2 +-
 gdb/testsuite/gdb.trace/trace-mt.exp               |    2 +-
 gdb/testsuite/gdb.trace/trace-unavailable.c        |   45 +
 gdb/testsuite/gdb.trace/tracecmd.exp               |    8 +-
 gdb/testsuite/gdb.trace/tspeed.exp                 |    4 +-
 gdb/testsuite/gdb.trace/tsv.exp                    |   28 +-
 gdb/testsuite/gdb.trace/while-stepping.exp         |    6 +-
 gdb/testsuite/lib/dwarf.exp                        |    7 +-
 gdb/testsuite/lib/gdb.exp                          |  240 +-
 gdb/testsuite/lib/gdbserver-support.exp            |    2 +-
 gdb/testsuite/lib/java.exp                         |   24 +-
 gdb/testsuite/lib/mi-support.exp                   |  112 +-
 gdb/testsuite/lib/pascal.exp                       |    4 +-
 gdb/testsuite/lib/prompt.exp                       |   10 +-
 gdb/testsuite/lib/selftest-support.exp             |    5 +
 gdb/testsuite/lib/trace-support.exp                |   92 +-
 gdb/tic6x-tdep.c                                   |    2 +-
 gdb/top.c                                          |   15 +-
 gdb/top.h                                          |    2 +-
 gdb/tracepoint.c                                   |  366 +-
 gdb/tracepoint.h                                   |   52 +-
 gdb/tui/tui-regs.c                                 |    9 +-
 gdb/utils.c                                        |   31 +-
 gdb/utils.h                                        |    7 +
 gdb/v850-tdep.c                                    |    4 +-
 gdb/valops.c                                       |  162 -
 gdb/value.c                                        |  262 +-
 gdb/value.h                                        |    7 +-
 gdb/version.in                                     |    2 +-
 gdb/windows-nat.c                                  |   27 +-
 gdb/xcoffread.c                                    |    1 -
 gdb/xstormy16-tdep.c                               |    2 +-
 gdb/xtensa-linux-nat.c                             |    1 -
 include/ChangeLog                                  |   15 +
 include/coff/ChangeLog                             |    5 +
 include/coff/internal.h                            |    2 +
 include/coff/xcoff.h                               |    4 +
 include/elf/ChangeLog                              |   21 +
 include/elf/aarch64.h                              |  136 +-
 include/elf/mips.h                                 |   15 +-
 include/opcode/ChangeLog                           |   45 +
 include/opcode/mips.h                              |  112 +-
 include/opcode/msp430-decode.h                     |  130 +
 include/opcode/nios2.h                             |    2 +-
 opcodes/ChangeLog                                  |   94 +
 opcodes/Makefile.am                                |   41 +-
 opcodes/Makefile.in                                |   27 +-
 opcodes/aarch64-dis.c                              |    5 -
 opcodes/configure                                  |    2 +-
 opcodes/configure.in                               |    2 +-
 opcodes/micromips-opc.c                            |  436 +-
 opcodes/mips-dis.c                                 |  191 +-
 opcodes/mips-opc.c                                 | 1499 +++--
 opcodes/msp430-decode.c                            | 4327 ++++++++++++
 opcodes/msp430-decode.opc                          |  590 ++
 opcodes/nios2-opc.c                                |    2 +-
 opcodes/po/POTFILES.in                             |    3 +
 opcodes/po/opcodes.pot                             |  430 +-
 opcodes/ppc-opc.c                                  |    6 +
 opcodes/rx-decode.c                                |  172 +-
 opcodes/rx-decode.opc                              |   10 +-
 sim/ChangeLog                                      |    6 +
 sim/bfin/ChangeLog                                 |   26 +
 sim/bfin/Makefile.in                               |    2 +-
 sim/bfin/TODO                                      |    4 +
 sim/bfin/bfin-sim.c                                |  158 +-
 sim/common/ChangeLog                               |   18 +
 sim/common/Make-common.in                          |    8 +-
 sim/common/create-version.sh                       |   33 +
 sim/common/gennltvals.sh                           |    4 +
 sim/common/nltvals.def                             |   31 +
 sim/configure                                      |    8 +
 sim/configure.tgt                                  |    3 +
 sim/moxie/ChangeLog                                |    4 +
 sim/moxie/Makefile.in                              |    2 +-
 sim/msp430/ChangeLog                               |   12 +
 sim/msp430/Makefile.in                             |   66 +
 sim/msp430/aclocal.m4                              |   90 +
 sim/msp430/config.in                               |   92 +
 sim/msp430/configure                               | 6263 +++++++++++++++++
 sim/msp430/configure.ac                            |   32 +
 sim/msp430/msp430-sim.c                            | 1425 ++++
 sim/msp430/msp430-sim.h                            |   31 +
 sim/msp430/sim-main.h                              |  120 +
 sim/msp430/trace.c                                 |  318 +
 sim/msp430/trace.h                                 |   28 +
 sim/ppc/ChangeLog                                  |   11 +
 sim/ppc/Makefile.in                                |    8 +-
 sim/rx/ChangeLog                                   |    5 +
 sim/rx/rx.c                                        |    3 +-
 sim/testsuite/sim/bfin/ChangeLog                   |   29 +
 sim/testsuite/sim/bfin/run-tests.sh                |   38 +-
 sim/testsuite/sim/bfin/se_all32bitopcodes.S        |   15 +-
 sim/testsuite/sim/bfin/se_allopcodes.h             |   27 +-
 sim/testsuite/sim/bfin/testutils.inc               |    2 +-
 746 files changed, 48032 insertions(+), 14566 deletions(-)
 delete mode 100644 bfd/elf64-aarch64.c
 create mode 100644 bfd/elfnn-aarch64.c
 create mode 100644 bfd/elfxx-aarch64.c
 create mode 100644 bfd/elfxx-aarch64.h
 create mode 100755 gdb/common/create-version.sh
 create mode 100644 gdb/common/i386-cpuid.h
 create mode 100644 gdb/common/i386-gcc-cpuid.h
 rename gdb/{ => common}/version.h (100%)
 create mode 100644 gdb/development.sh
 create mode 100644 gdb/gdbserver/tdesc.c
 create mode 100644 gdb/gdbserver/tdesc.h
 create mode 100644 gdb/gnulib/import/float+.h
 create mode 100644 gdb/gnulib/import/float.c
 create mode 100644 gdb/gnulib/import/float.in.h
 create mode 100644 gdb/gnulib/import/fpucw.h
 create mode 100644 gdb/gnulib/import/frexp.c
 create mode 100644 gdb/gnulib/import/frexpl.c
 create mode 100644 gdb/gnulib/import/isnan.c
 create mode 100644 gdb/gnulib/import/isnand-nolibm.h
 create mode 100644 gdb/gnulib/import/isnand.c
 create mode 100644 gdb/gnulib/import/isnanl-nolibm.h
 create mode 100644 gdb/gnulib/import/isnanl.c
 create mode 100644 gdb/gnulib/import/itold.c
 create mode 100644 gdb/gnulib/import/m4/exponentd.m4
 create mode 100644 gdb/gnulib/import/m4/exponentl.m4
 create mode 100644 gdb/gnulib/import/m4/float_h.m4
 create mode 100644 gdb/gnulib/import/m4/fpieee.m4
 create mode 100644 gdb/gnulib/import/m4/frexp.m4
 create mode 100644 gdb/gnulib/import/m4/frexpl.m4
 create mode 100644 gdb/gnulib/import/m4/isnand.m4
 create mode 100644 gdb/gnulib/import/m4/isnanl.m4
 create mode 100644 gdb/gnulib/import/m4/math_h.m4
 create mode 100644 gdb/gnulib/import/m4/off_t.m4
 delete mode 100644 gdb/gnulib/import/m4/onceonly.m4
 create mode 100644 gdb/gnulib/import/m4/pathmax.m4
 create mode 100644 gdb/gnulib/import/m4/ssize_t.m4
 create mode 100644 gdb/gnulib/import/m4/sys_types_h.m4
 create mode 100644 gdb/gnulib/import/m4/unistd_h.m4
 create mode 100644 gdb/gnulib/import/math.c
 create mode 100644 gdb/gnulib/import/math.in.h
 create mode 100644 gdb/gnulib/import/pathmax.h
 create mode 100644 gdb/gnulib/import/sys_types.in.h
 create mode 100644 gdb/gnulib/import/unistd.c
 create mode 100644 gdb/gnulib/import/unistd.in.h
 create mode 100644 gdb/libmcheck.m4
 create mode 100644 gdb/msp430-tdep.c
 delete mode 100644 gdb/testsuite/gdb.arch/i386-cpuid.h
 create mode 100644 gdb/testsuite/gdb.base/dprintf-next.c
 create mode 100644 gdb/testsuite/gdb.base/dprintf-next.exp
 create mode 100644 gdb/testsuite/gdb.base/dprintf-non-stop.c
 create mode 100644 gdb/testsuite/gdb.base/dprintf-non-stop.exp
 create mode 100644 gdb/testsuite/gdb.base/random-signal.c
 create mode 100644 gdb/testsuite/gdb.base/random-signal.exp
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-reg-undefined.S
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-reg-undefined.c
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-reg-undefined.exp
 create mode 100644 gdb/testsuite/gdb.dwarf2/implptrpiece.exp
 create mode 100644 gdb/testsuite/gdb.trace/mi-trace-frame-collected.exp
 create mode 100644 gdb/testsuite/gdb.trace/mi-trace-unavailable.exp
 create mode 100644 gdb/testsuite/gdb.trace/trace-unavailable.c
 create mode 100644 include/opcode/msp430-decode.h
 create mode 100644 opcodes/msp430-decode.c
 create mode 100644 opcodes/msp430-decode.opc
 create mode 100755 sim/common/create-version.sh
 create mode 100644 sim/msp430/ChangeLog
 create mode 100644 sim/msp430/Makefile.in
 create mode 100644 sim/msp430/aclocal.m4
 create mode 100644 sim/msp430/config.in
 create mode 100755 sim/msp430/configure
 create mode 100644 sim/msp430/configure.ac
 create mode 100644 sim/msp430/msp430-sim.c
 create mode 100644 sim/msp430/msp430-sim.h
 create mode 100644 sim/msp430/sim-main.h
 create mode 100644 sim/msp430/trace.c
 create mode 100644 sim/msp430/trace.h

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index ed3bc27..007f07b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-06-22  Richard Sandiford  <rdsandiford@googlemail.com>
+
+	* configure.ac (mips*-*-bsd*, mips*-*-ultrix*, mips*-*-osf*)
+	(mips*-*-ecoff*, mips*-*-pe*, mips*-*-irix* [v4 and earlier])
+	(mips*-*-lnews*, mips*-*-riscos*): Add gas and ld to noconfigdirs.
+	* configure: Regenerate.
+
 2013-06-01  George Thomas <george.thomas@atmel.com>
 
         * include/opcode/avr.h: Rename AVR_ISA_XCH to AVR_ISA_RMW. Remove
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 1b56e1d..450d19c 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,486 @@
+2013-07-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+	* elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Reorder case
+	values.
+	(elfNN_aarch64_relocate_section): Likewise.
+	(elfNN_aarch64_gc_sweep_hook): Likewise.
+	(elfNN_aarch64_check_relocs): Likewise.
+
+2013-07-03  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.c (ppc64_elf_func_desc_adjust): Don't hide .TOC.
+	when relocatable.  Don't change root.type or type here.
+	(ppc64_elf_set_toc): Set type of .TOC. to STT_OBJECT.
+
+2013-07-03  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.c (struct ppc_stub_hash_entry): Delete "addend".
+	(ppc64_elf_size_stubs): Don't set "addend".
+	(ppc64_elf_relocate_section): Don't allow calls via
+	toc-adjusting stubs without a following nop even in an
+	executable, except for self-calls and both libc_start_main
+	and .libc_start_main.
+
+2013-07-03  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.c (ppc64_elf_func_desc_adjust): Hide ".TOC.".
+
+2013-07-02  Tristan Gingold  <gingold@adacore.com>
+
+	* coff-rs6000.c (xcoff_find_nearest_line_discriminator): Add missing
+	line.
+
+2013-07-02  Tristan Gingold  <gingold@adacore.com>
+
+	* vms-alpha.c (_bfd_generic_find_nearest_line_discriminator): Define.
+	(_bfd_vms_find_nearest_line_discriminator): New function.
+
+2013-07-02  Tristan Gingold  <gingold@adacore.com>
+
+	* coff-rs6000.c (xcoff_create_csect_from_smclas): Handle more smclas.
+
+2013-07-02  Tristan Gingold  <gingold@adacore.com>
+
+	* coff-rs6000.c (xcoff_find_nearest_line_discriminator): New function.
+	(rs6000coff_vec): Reference it.
+
+2013-07-02  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+	* elfnn-aarch64.c (aarch64_elf_create_got_section): New.
+	(elfNN_aarch64_check_relocs): Use aarch64_elf_create_got_section.
+	(elfNN_aarch64_create_dynamic_sections): Do not define
+	_GLOBAL_OFFSET_TABLE_; call aarch64_elf_create_got_section.
+
+2013-07-02  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+	* ld-aarch64/emit-relocs-309-low.d: Adjust .text address.
+	* ld-aarch64/emit-relocs-309-up.d: Adjust .got address.
+	* ld-aarch64/emit-relocs-312.d: Adjust offsets into .got.
+	* ld-aarch64/tls-relax-all.d: Likewise.
+	* ld-aarch64/gc-got-relocs.d: Adjust expected .got content.
+	* ld-aarch64/gc-tls-relocs.d: Likewise.
+	* ld-aarch64/tls-relax-gd-ie.d: Likewise.
+	* ld-aarch64/tls-relax-gdesc-ie-2.d: Likewise.
+	* ld-aarch64/tls-relax-gdesc-ie.d: Likewise.
+
+2013-07-02  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.c (ppc64_elf_relocate_section): Set "relocation" for
+	.TOC. after relocatable check.
+
+2013-07-01  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.h (ppc64_elf_toc): Delete.
+	(ppc64_elf_set_toc): Declare.
+	* elf64-ppc.c (ppc64_elf_toc_reloc): Replace call to ppc64_elf_toc
+	with call the ppc64_elf_set_toc.
+	(ppc64_elf_toc_ha_reloc, ppc64_elf_toc64_reloc): Likewise.
+	(ppc64_elf_start_multitoc_partition): Likewise.
+	(struct ppc_link_hash_table): Delete dot_toc_dot.  Replace all uses
+	with elf.hgot.
+	(ppc64_elf_process_dot_syms): Don't make a fake function descriptor
+	for ".TOC.".
+	(ppc64_elf_check_relocs): Mark sections with a reference to .TOC.
+	as needing a toc pointer.
+	(ppc64_elf_size_stubs): Don't set dot_toc_dot here.
+	(ppc64_elf_set_toc): Rename from ppc64_elf_toc.  Add info param.
+	Set elf.hgot value.
+
+2013-06-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/15685
+	* elf64-x86-64.c (elf_x86_64_relocate_section): Handle
+	R_X86_64_DTPOFF64.
+
+2013-06-28  Nick Clifton  <nickc@redhat.com>
+
+	PR ld/15302
+	* elf32-arm.c (allocate_dynrelocs_for_symbol): Revert previous patch.
+
+2013-06-27  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+	* elfnn-aarch64.c (elfNN_aarch64_check_relocs): Reserve one slot
+	in sgot.
+	(elfNN_aarch64_finish_dynamic_sections): Place the &_DYNAMIC reference
+	in sgot[0] rather than sgotplt[0].
+
+2013-06-26  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+	* Makefile.am (elf32-aarch64.c): Add a #line cpp directive at the
+	beginning of the generated file.
+	(elf64-aarch64.c): Likewise.
+	* Makefile.in: Re-generated.
+
+2013-06-26  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+	* Makefile.am (BFD64_BACKENDS): Add elfxx-aarch64.c.
+	(BFD64_BACKENDS_CFILES): Add elfxx-aarch64.lo.
+	* Makefile.in: Re-generated.
+	* configure.in (bfd_elf64_bigaarch64_vec): Add elfxx-aarch64.lo.
+	(bfd_elf64_littleaarch64_vec): Likewise.
+	(bfd_elf32_bigaarch64_vec): Likewise.
+	(bfd_elf32_littleaarch64_vec): Likewise.
+	* configure: Re-generated.
+	* elfxx-aarch64.c: New file; split from elf64-aarch64.c.
+	* elfxx-aarch64.h: New file.
+	* elfnn-aarch64.c: Include "elfxx-aarch64.h"; move the following
+	stuff to elfxx-aarch64.c.
+	(bfd_elf_aarch64_put_addend): Removed.
+	(PG_OFFSET, PG): Likewise.
+	(elfNN_aarch64_small_plt0_entry): Support ELF32.
+	(elfNN_aarch64_tlsdesc_small_plt_entry): Likewise.
+	(elf64_aarch64_grok_prstatus): Removed.
+	(elf_backend_grok_prstatus): Removed.
+	(insn32): Likewise.
+	(aarch64_unsigned_overflow): Likewise.
+	(aarch64_signed_overflow): Likewise.
+	(aarch64_resolve_relocation): Likewise.
+	(MASK): Likewise.
+	(decode_branch_ofs_26): Likewise.
+	(decode_cond_branch_ofs_19): Likewise.
+	(decode_ld_lit_ofs_19): Likewise.
+	(decode_tst_branch_ofs_14): Likewise.
+	(decode_movw_imm): Likewise.
+	(decode_adr_imm): Likewise.
+	(decode_add_imm): Likewise.
+	(reencode_branch_ofs_26): Likewise.
+	(reencode_cond_branch_ofs_19): Likewise.
+	(reencode_ld_lit_ofs_19): Likewise.
+	(reencode_tst_branch_ofs_14): Likewise.
+	(reencode_movw_imm): Likewise.
+	(reencode_adr_imm): Likewise.
+	(reencode_ldst_pos_imm): Likewise.
+	(reencode_add_imm): Likewise.
+	(reencode_movzn_to_movz): Likewise.
+	(reencode_movzn_to_movn): Likewise.
+	(aarch64_relocate): Update to call the new function names in
+	elfxx-aarch64.c.
+	(aarch64_calculate_got_entry_vma): Likewise.
+	(elfNN_aarch64_final_link_relocate): Likewise.
+	(elf64_aarch64_update_plt_entry): Likewise; change the type of the
+	parameter 'r_type' to bfd_reloc_code_real_type; rename to ...
+	(elf_aarch64_update_plt_entry): ... this.
+	(elfNN_aarch64_create_small_pltn_entry): Update.
+	(elfNN_aarch64_init_small_plt0_entry): Remove plt_got_base; add
+	bfd_vma plt_got_2nd_ent; update to call elf_aarch64_update_plt_entry.
+	(elfNN_aarch64_finish_dynamic_sections): Add plt_entry; update to
+	call elf_aarch64_update_plt_entry.
+
+2013-06-26  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+	* bfd-in2.h: Re-generated.
+	* elfnn-aarch64.c (HOWTO64, HOWTO32): New define.
+	(IS_AARCH64_TLS_RELOC): Change to be based on the
+	bfd reloc enumerators.
+	(IS_AARCH64_TLSDESC_RELOC): Likewise.
+	(PG, PG_OFFSET): Cast literal to bfd_vma.
+	(elf64_aarch64_howto_table): Removed.
+	(elf64_aarch64_howto_dynrelocs): Removed.
+	(elf64_aarch64_tls_howto_table): Removed.
+	(elf64_aarch64_tlsdesc_howto_table): Removed.
+	(elfNN_aarch64_howto_table): New table to host all howto entires..
+	(R_AARCH64_*): Replaced by AARCH64_R (*) and AARCH64_R_STR (*).
+	(elfNN_aarch64_bfd_reloc_from_howto): New function.
+	(elfNN_aarch64_bfd_reloc_from_type): Ditto.
+	(struct elf_aarch64_reloc_map): New.
+	(elf_aarch64_reloc_map): New table.
+	(elfNN_aarch64_howto_from_bfd_reloc): New function.
+	(elfNN_aarch64_howto_from_type): Update to look up the new table
+	elfNN_aarch64_howto_table.
+	(struct elf64_aarch64_reloc_map): Remove.
+	(elf64_aarch64_reloc_map): Remove.
+	(elfNN_aarch64_reloc_type_lookup): Change to call
+	elfNN_aarch64_howto_from_bfd_reloc.
+	(elfNN_aarch64_reloc_name_lookup): Change to look up the new table
+	elfNN_aarch64_howto_table.
+	(aarch64_resolve_relocation): Refactor to switch on the bfd
+	reloc enumerators.
+	(bfd_elf_aarch64_put_addend): Likewise.
+	(elfNN_aarch64_final_link_relocate): Likewise.
+	(aarch64_tls_transition_without_check): Likewise.
+	(aarch64_reloc_got_type): Likewise.
+	(aarch64_can_relax_tls): Likewise.
+	(aarch64_tls_transition): Likewise.
+	(elfNN_aarch64_tls_relax): Likewise.
+	(elfNN_aarch64_final_link_relocate): Likewise.
+	(elfNN_aarch64_relocate_section): Likewise.
+	(elfNN_aarch64_gc_sweep_hook): Likewise.
+	(elfNN_aarch64_check_relocs): Likewise.
+	(aarch64_tls_transition): Change to return a bfd reloc enumerator.
+	* libbfd.h: Re-generated.
+	* reloc.c: Re-order the AArch64 bfd reloc enumerators.
+	(BFD_RELOC_AARCH64_RELOC_START)
+	(BFD_RELOC_AARCH64_RELOC_END)
+	(BFD_RELOC_AARCH64_LD_GOT_LO12_NC)
+	(BFD_RELOC_AARCH64_LD32_GOT_LO12_NC)
+	(BFD_RELOC_AARCH64_TLSDESC_LD_LO12_NC)
+	(BFD_RELOC_AARCH64_TLSDESC_LD32_LO12_NC)
+	(BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_LO12_NC)
+	(BFD_RELOC_AARCH64_TLSIE_LD32_GOTTPREL_LO12_NC)
+	(BFD_RELOC_AARCH64_IRELATIVE): New relocs.
+
+2013-06-26  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+	* Makefile.am (BFD64_BACKENDS): Add elf32-aarch64.lo.
+	(BUILD_CFILES): Add elf32-aarch64.c.
+	(elf32-aarch64.c): New rule for generating from elfnn-aarch64.c.
+	* Makefile.in: Re-generated.
+	* archures.c (bfd_mach_aarch64_ilp32): New define.
+	* bfd-in.h (bfd_elf32_aarch64_init_maps): New declaration.
+	(bfd_elf32_aarch64_set_options): Ditto.
+	(elf32_aarch64_setup_section_lists): Ditto.
+	(elf32_aarch64_next_input_section): Ditto.
+	(elf32_aarch64_size_stubs): Ditto.
+	(elf32_aarch64_build_stubs): Ditto.
+	* bfd-in2.h: Re-generated.
+	* config.bfd (aarch64-*-elf): Add bfd_elf32_littleaarch64_vec
+	and bfd_elf32_bigaarch64_vec.
+	(aarch64-*-linux*): Likewise.
+	(aarch64_be-*-elf): Likewise.
+	(aarch64_be-*-linux*): Likewise.
+	* configure.in (bfd_elf32_bigaarch64_vec)
+	(bfd_elf32_littleaarch64_vec): New.
+	* configure: Re-generated.
+	* cpu-aarch64.c (compatible): Don't allow mixing ilp32 objects with
+	lp64 ones.
+	(bfd_aarch64_arch_ilp32): New.
+	(bfd_aarch64_arch): Link to bfd_aarch64_arch_ilp32.
+	* elfnn-aarch64.c (ARCH_SIZE): New define.
+	(AARCH64_R, AARCH64_R_STR, LOG_FILE_ALIGN): New defines.
+	(GOT_ENTRY_SIZE): Re-define as (ARCH_SIZE / 8).
+	(elf64_aarch64_*): Rename to elfNN_aarch64_*.
+	(ELF64_R_*): Rename to ELFNN_R_*.
+	Plus other paramaterization.
+	* targets.c (bfd_elf32_bigaarch64_vec, bfd_elf32_littleaarch64_vec):
+	New declarations.
+	(_bfd_target_vector): Add bfd_elf32_bigaarch64_vec and
+	bfd_elf32_littleaarch64_vec.
+
+2013-06-26  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+	* Makefile.am (BFD64_BACKENDS_CFILES): Remove elf64-aarch64.c.
+	(BUILD_CFILES): Add elf64-aarch64.c.
+	(elf64-aarch64.c): New rule for generating from elfnn-aarch64.c.
+	* Makefile.in: Re-generated.
+	* elf64-aarch64.c: Rename to ...
+	* elfnn-aarch64.c: ... this.
+
+2013-06-25  Maciej W. Rozycki  <macro@codesourcery.com>
+            Paul Brook  <paul@codesourcery.com>
+
+	* elfxx-mips.h (_bfd_mips_elf_insn32): New prototype.
+	* elfxx-mips.c (mips_elf_link_hash_table): Add insn32 member.
+	(STUB_MOVE32_MICROMIPS, STUB_JALR32_MICROMIPS): New macros.
+	(MICROMIPS_INSN32_FUNCTION_STUB_NORMAL_SIZE): Likewise.
+	(MICROMIPS_INSN32_FUNCTION_STUB_BIG_SIZE): Likewise.
+	(micromips_insn32_o32_exec_plt0_entry): New variable.
+	(micromips_insn32_o32_exec_plt_entry): Likewise.
+	(_bfd_mips_elf_adjust_dynamic_symbol): Handle insn32 mode.
+	(mips_elf_estimate_stub_size): Likewise.
+	(_bfd_mips_elf_size_dynamic_sections): Likewise.
+	(_bfd_mips_elf_finish_dynamic_symbol): Likewise.
+	(mips_finish_exec_plt): Likewise.
+	(_bfd_mips_elf_relax_section): Likewise.
+	(_bfd_mips_elf_insn32): New function.
+	(_bfd_mips_elf_get_synthetic_symtab): Handle insn32 PLT.
+
+2013-06-24  Maciej W. Rozycki  <macro@codesourcery.com>
+
+	* elfxx-mips.h (_bfd_mips_elf_get_synthetic_symtab): New
+	prototype.
+	* elf32-mips.c (elf_backend_plt_sym_val): Remove macro.
+	(bfd_elf32_get_synthetic_symtab): New macro.
+	* elfxx-mips.c (plt_entry): New structure.
+	(mips_elf_link_hash_entry): Add use_plt_entry member.
+	(mips_elf_link_hash_table): Rename plt_entry_size member to
+	plt_mips_entry_size.  Add plt_comp_entry_size, plt_mips_offset,
+	plt_comp_offset, plt_got_index entries and plt_header_is_comp
+	members.
+	(STUB_LW_MICROMIPS, STUB_MOVE_MICROMIPS): New macros.
+	(STUB_LUI_MICROMIPS, STUB_JALR_MICROMIPS): Likewise.
+	(STUB_ORI_MICROMIPS, STUB_LI16U_MICROMIPS): Likewise.
+	(STUB_LI16S_MICROMIPS): Likewise.
+	(MICROMIPS_FUNCTION_STUB_NORMAL_SIZE): Likewise.
+	(MICROMIPS_FUNCTION_STUB_BIG_SIZE): Likewise.
+	(micromips_o32_exec_plt0_entry): New variable.
+	(mips16_o32_exec_plt_entry): Likewise.
+	(micromips_o32_exec_plt_entry): Likewise.
+	(mips_elf_link_hash_newfunc): Initialize use_plt_entry.
+	(mips_elf_output_extsym): Update to use gotplt_union's plist
+	member rather than offset.
+	(mips_elf_gotplt_index): Likewise.  Remove the VxWorks
+	restriction.  Use MIPS_ELF_GOT_SIZE to calculate GOT address.
+	(mips_elf_count_got_symbols): Update to use gotplt_union's plist
+	member rather than offset.
+	(mips_elf_calculate_relocation): Handle MIPS16/microMIPS PLT
+	entries.
+	(_bfd_mips_elf_create_dynamic_sections): Don't set PLT sizes
+	here.
+	(mips_elf_make_plt_record): New function.
+	(_bfd_mips_elf_check_relocs): Update comment.  Record occurences
+	of JAL relocations that might need a PLT entry.
+	(_bfd_mips_elf_adjust_dynamic_symbol): Update to use
+	gotplt_union's plist member rather than offset.  Set individual
+	PLT entry sizes here.  Handle MIPS16/microMIPS PLT entries.
+	Don't set the symbol's value in the symbol table for PLT
+	references here.  Don't set the PLT or PLT GOT section sizes
+	here.
+	(mips_elf_estimate_stub_size): Handle microMIPS stubs.
+	(mips_elf_allocate_lazy_stub): Likewise.
+	(mips_elf_lay_out_lazy_stubs): Likewise.  Define a _MIPS_STUBS_
+	magic symbol.
+	(mips_elf_set_plt_sym_value): New function.
+	(_bfd_mips_elf_size_dynamic_sections): Set PLT header size and
+	PLT and PLT GOT section sizes here.  Set the symbol values in
+	the symbol table for PLT references here.  Handle microMIPS
+	annotation of the _PROCEDURE_LINKAGE_TABLE_ magic symbol.
+	(_bfd_mips_elf_finish_dynamic_symbol): Update to use
+	gotplt_union's plist member rather than offset.  Handle
+	MIPS16/microMIPS PLT entries.  Handle microMIPS stubs.
+	(_bfd_mips_vxworks_finish_dynamic_symbol): Update to use
+	gotplt_union's plist member rather than offset.  Use
+	MIPS_ELF_GOT_SIZE to calculate GOT address.
+	(mips_finish_exec_plt): Handle microMIPS PLT.  Return status.
+	(_bfd_mips_elf_finish_dynamic_sections): Handle result from
+	mips_finish_exec_plt.
+	(_bfd_mips_elf_link_hash_table_create): Update to use
+	gotplt_union's plist member rather than offset.
+	(_bfd_mips_elf_get_synthetic_symtab): New function.
+
+2013-06-24  Wawa  <caojinyu@msn.com>
+
+	PR 15657
+	* hash.c (_bfd_stringtab_add): Copy the string if COPY is true.
+
+2013-06-23  Richard Sandiford  <rdsandiford@googlemail.com>
+
+	* Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Move MIPS ELF
+	files to...
+	(BFD64_BACKENDS, BFD64_BACKENDS_CFILES): ...here.
+	* Makefile.in: Regenerate.
+	* config.bfd: Enclose all MIPS ELF targets in #ifdef BFD64.
+	Set want64 to true for them at the end.
+	* targets.c (_bfd_target_vector): Protect MIPS ELF targets with
+	#ifdef BFD64.
+
+2013-06-22  Sandra Loosemore  <sandra@codesourcery.com>
+
+	* elf32-nios2.c (nios2_elf32_finish_dynamic_sections): Don't
+	set sh_entsize for PLT section.
+
+2013-06-20  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+	* bfd-in.h (bfd_elf64_aarch64_set_options): Add 'extern'.
+	* bfd-in2.h: Re-generated.
+	* elf64-aarch64.c (RELOC_SECTION): Removed.
+	(SWAP_RELOC_IN, SWAP_RELOC_OUT): Ditto.
+	(AARCH64_ELF_OS_ABI_VERSION): Ditto.
+	(elf64_aarch64_link_hash_traverse): Ditto.
+	(elf64_aarch64_size_stubs): Change 'Aarch64' to 'AArch64' in the
+	comment.
+
+2013-06-19  Will Newton  <will.newton@linaro.org>
+
+	* configure: Regenerated.
+	* configure.in: Remove aarch64 dependency on elf-ifunc.c.
+	* elf64-aarch64.c: Remove objalloc.h include.
+	(elf64_aarch64_howto_dynrelocs): Remove R_AARCH64_IRELATIVE howto.
+	(struct elf64_aarch64_link_hash_table): Remove ifunc related
+	members. (elf_aarch64_local_htab_hash): Remove function.
+	(elf_aarch64_local_htab_eq): Remove function.
+	(elf_aarch64_get_local_sym_hash): Remove function.
+	(elf64_aarch64_link_hash_table_create): Remove local hash
+	table initialization.
+	(elf64_aarch64_final_link_relocate): Remove sym argument and
+	handling of ifunc symbols.
+	(elf64_aarch64_relocate_section): Don't pass sym argument to
+	elf64_aarch64_final_link_relocate.
+	(elf64_aarch64_gc_sweep_hook): Remove handling of ifunc symbols.
+	(elf64_aarch64_adjust_dynamic_symbol): Likewise.
+	(elf64_aarch64_check_relocs): Likewise.
+	(elf64_aarch64_post_process_headers): Remove call to
+	_bfd_elf_set_osabi.
+	(elf64_aarch64_is_function_type): New function.
+	(elf64_aarch64_allocate_dynrelocs): Remove handling of ifunc
+	symbols. (elf_aarch64_allocate_local_dynrelocs): Remove function.
+	(elf64_aarch64_size_dynamic_sections): Remove call to
+	elf_aarch64_allocate_local_dynrelocs.
+	(elf64_aarch64_create_small_pltn_entry): Remove info argument.
+	Remove creation of R_AARCH64_IRELATIVE dynamic relocs.
+	(elf64_aarch64_finish_dynamic_symbol): Remove handling of ifunc
+	symbols. (elf_aarch64_finish_local_dynamic_symbol): Remove
+	function. (elf64_aarch64_finish_dynamic_sections): Remove call to
+	elf_aarch64_finish_local_dynamic_symbol.
+	(elf64_aarch64_add_symbol_hook): Remove function.
+
+2013-06-14  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+	* elf64-aarch64.c (elf64_aarch64_final_link_relocate): Call
+	aarch64_resolve_relocation and bfd_elf_aarch64_put_addend to
+	handle the relocations of R_AARCH64_JUMP26, R_AARCH64_CALL26,
+	R_AARCH64_LD64_GOT_LO12_NC, R_AARCH64_ADR_GOT_PAGE and
+	R_AARCH64_GOT_LD_PREL19.
+
+2013-06-13  Terry Guo  <terry.guo@arm.com>
+
+	PR ld/15302
+	* elf32-arm.c (allocate_dynrelocs_for_symbol): Transform
+	ST_BRANCH_TO_ARM into ST_BRANCH_TO_THUMB if the target only
+	supports thumb instructions.
+
+2013-06-11  DJ Delorie  <dj@redhat.com>
+
+	* elf32-rl78.c (rl78_elf_relocate_section): Fix OPsub math.
+
+2013-06-11  Will Newton  <will.newton@linaro.org>
+
+	* elf64-aarch64.c (elf_aarch64_get_local_sym_hash): Use
+	ELF64_R_SYM instead of ELF32_R_SYM.
+
+2013-06-11  Nick Clifton  <nickc@redhat.com>
+
+	* elf32-rl78.c (rl78_elf_finish_dynamic_sections): Onlly run
+	checks if the dynamic sections have been created and relaxation
+	has not been performed.
+
+2013-06-07  Will Newton  <will.newton@linaro.org>
+
+	* configure: Regenerate.
+	* configure.in: Build elf-ifunc.o for AArch64.
+	* elf64-aarch64.c: Include objalloc.h.
+	(elf64_aarch64_howto_dynrelocs): Add R_AARCH64_IRELATIVE howto.
+	(struct elf64_aarch64_link_hash_table): Add members for handling
+	R_AARCH64_IRELATIVE relocations.
+	(elf_aarch64_local_htab_hash): New function.
+	(elf_aarch64_local_htab_eq): New function.
+	(elf_aarch64_get_local_sym_hash): New function.
+	(elf64_aarch64_link_hash_table_create): Initialize local STT_GNU_IFUNC
+	symbol hash.
+	(elf64_aarch64_hash_table_free): Free local STT_GNU_IFUNC symbol hash.
+	(elf64_aarch64_final_link_relocate): Add sym argument.  Add support
+	for handling STT_GNU_IFUNC symbols.
+	(elf64_aarch64_gc_sweep_hook): Add support for garbage collecting
+	references to STT_GNU_IFUNC symbols.
+	(elf64_aarch64_adjust_dynamic_symbol): Add support for handling
+	STT_GNU_IFUNC symbols.
+	(elf64_aarch64_check_relocs): Add support for handling STT_GNU_IFUNC
+	symbols.  Ensure we don't increase plt.refcount from -1 to 0.
+	(elf64_aarch64_post_process_headers): Call _bfd_elf_set_osabi.
+	(elf64_aarch64_is_function_type): Remove function.
+	(elf64_aarch64_allocate_dynrelocs): Call
+	_bfd_elf_allocate_ifunc_dyn_relocs for STT_GNU_IFUNC symbols.
+	(elf_aarch64_allocate_local_dynrelocs): New function.
+	(elf64_aarch64_size_dynamic_sections): Call
+	elf_aarch64_allocate_local_dynrelocs.  Initialize next_irelative_index.
+	(elf64_aarch64_create_small_pltn_entry): Add info argument.
+	Add support for creating .iplt entries for STT_GNU_IFUNC symbols.
+	(elf64_aarch64_finish_dynamic_symbol): Add support for handling
+	STT_GNU_IFUNC symbols and .iplt.
+	(elf_aarch64_finish_local_dynamic_symbol): New function.
+	(elf64_aarch64_finish_dynamic_sections): Call


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


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

* [SCM]  gbenson/rtld-probes: Merge remote branch 'gdb/master' into gbenson/rtld-probes
@ 2013-06-06  9:06 gary
  0 siblings, 0 replies; 5+ messages in thread
From: gary @ 2013-06-06  9:06 UTC (permalink / raw)
  To: archer-commits

The branch, gbenson/rtld-probes has been updated
       via  4c8993236c61d720aad9a14f25cd9d67174cf773 (commit)
       via  ca16a04e13325f079cb3476eb3e440697b7f7d60 (commit)
       via  794c9c4e8483eac3c400772745e4eea3ce894003 (commit)
       via  f293a7e173e2c220c53bffdd7dfa51625c351975 (commit)
       via  4fd8c02c8ffb336200f473cad9ff04d5c9662434 (commit)
       via  b8018373ee89d06385f09c614046a8530056c85d (commit)
       via  a304d267aecbf5c1100035758bf4aa8135fb8a0d (commit)
       via  1fcafc429220f73ba0e2414832f04e935c8b8271 (commit)
       via  1c294e16013896a46fafda4e0d89a474641e3bb5 (commit)
       via  bb052acd2ff9c1f5e572f89ca2dbd3fc3e1ddecb (commit)
       via  b027995f2d8173e26eb63d5c2386defa59419f78 (commit)
       via  a1130b7b0f496ab69e8565e69b84388091451f5d (commit)
       via  4233e4d779ba9fd15fab617ec378488e7961b1b4 (commit)
       via  740d732d28e4d38031d8b7a29b3a18c769bc7182 (commit)
       via  41a566af394703a0b789ecb07e11e37e7cb66e6b (commit)
       via  9af2e33ee9c2b585453e72ff7e30eda8c5a7283c (commit)
       via  82317bfa2ccb9dd741e508815eb77e181b1dae45 (commit)
       via  38e484893aac45e294bc8e3fa443c430ed553539 (commit)
       via  f031ed530e4f9bf7c04ed3d13eba6fc9b919fa8f (commit)
       via  ab7d05421c9ee2b50a6c191a1c23c262b288bdcf (commit)
       via  7c0c349462ed043999c2ff07e9e3bdad4b9b7940 (commit)
       via  e94a795930db456392604e213ab29a959255d28d (commit)
       via  63b55747e23f5950422d3a10350e3a0869e1b8a3 (commit)
       via  736d95d04891f566adf9cc5363b964e82610a855 (commit)
      from  ac9f669afd07f0638ab2420cb6e38230aefd1f15 (commit)

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

- Log -----------------------------------------------------------------
commit 4c8993236c61d720aad9a14f25cd9d67174cf773
Merge: ac9f669 ca16a04
Author: Gary Benson <gbenson@redhat.com>
Date:   Thu Jun 6 09:29:22 2013 +0100

    Merge remote branch 'gdb/master' into gbenson/rtld-probes

commit ca16a04e13325f079cb3476eb3e440697b7f7d60
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Jun 6 05:16:06 2013 +0000

    Replace "(tiny patch)" by "(tiny change)" in gdb ChangeLogs...
    
    ... as this is the wording recommended by the FSF via the manual
    for Maintainers of GNU software.

commit 794c9c4e8483eac3c400772745e4eea3ce894003
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Jun 6 05:10:20 2013 +0000

    Annotate last gdb.texinfo patch as accepted as a "tiny patch"
    
    (copyright assignment not needed because patch is small enough to
    not be legally significant).

commit f293a7e173e2c220c53bffdd7dfa51625c351975
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Jun 6 00:00:04 2013 +0000

    daily update

commit 4fd8c02c8ffb336200f473cad9ff04d5c9662434
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Thu Jun 6 00:00:02 2013 +0000

    *** empty log message ***

commit b8018373ee89d06385f09c614046a8530056c85d
Author: Doug Evans <dje@google.com>
Date:   Wed Jun 5 22:28:51 2013 +0000

    	PR 15519
    	* cp-namespace.c (find_symbol_in_baseclass): Call
    	cp_lookup_symbol_in_namespace instead of cp_lookup_symbol_namespace.
    	Check result of call to lookup_symbol_static.
    	Call lookup_static_symbol_aux unconditionally.
    	Call check_typedef on base types before accessing them.
    	(cp_lookup_nested_symbol): Fix comment.
    
    	testsuite/
    	* gdb.cp/derivation2.cc: New file.
    	* gdb.cp/derivation.cc (main): Call foo2.
    	* gdb.cp/derivation.exp: Add tests for typedefs in another
    	file, and when there's an active block.

commit a304d267aecbf5c1100035758bf4aa8135fb8a0d
Author: Luis Machado <luisgpm@br.ibm.com>
Date:   Wed Jun 5 20:43:53 2013 +0000

    	* gnu-v3-abi.c (gnuv3_skip_trampoline): Handle thunk
    	minimal symbols pointing to function descriptors.

commit 1fcafc429220f73ba0e2414832f04e935c8b8271
Author: Luis Machado <luisgpm@br.ibm.com>
Date:   Wed Jun 5 20:38:37 2013 +0000

    	* gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
    	from targets that use function descriptors in the virtual tables.
    	Handle presence of dot symbols.

commit 1c294e16013896a46fafda4e0d89a474641e3bb5
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Jun 5 17:32:50 2013 +0000

    	* python/py-utils.c (gdb_pymodule_addobject): Cast away const.

commit bb052acd2ff9c1f5e572f89ca2dbd3fc3e1ddecb
Author: Marc Khouzam <marc.khouzam@ericsson.com>
Date:   Wed Jun 5 14:11:47 2013 +0000

    2013-06-05  Simon Marchi  <simon.marchi@ericsson.com>
    
    	* gdb.texinfo (Miscellaneous gdb/mi Commands): Fix -add-inferior
    	response field name (thread-group to inferior).

commit b027995f2d8173e26eb63d5c2386defa59419f78
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Wed Jun 5 01:42:10 2013 +0000

    sim: use AM_MAINTAINER_MODE
    
    I noticed the sim code is using an old implementation of the maintainer logic.
    I cut it over to the new macro (like gdb has been doing).  In practice, it
    makes no difference currently as nothing in the sim tree uses it, but I have a
    follow up commit for the Blackfin tree that needs it.

commit a1130b7b0f496ab69e8565e69b84388091451f5d
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Jun 5 00:00:33 2013 +0000

    *** empty log message ***

commit 4233e4d779ba9fd15fab617ec378488e7961b1b4
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Jun 5 00:00:05 2013 +0000

    daily update

commit 740d732d28e4d38031d8b7a29b3a18c769bc7182
Author: sergiodj <sergiodj>
Date:   Tue Jun 4 15:13:33 2013 +0000

    Fixing ChangeLog entry of the last commit.

commit 41a566af394703a0b789ecb07e11e37e7cb66e6b
Author: sergiodj <sergiodj>
Date:   Tue Jun 4 15:12:52 2013 +0000

    GDB was not restoring the signal handler before returning when a notification
    was received.  This patch fixes it.
    
    2013-06-04  Sergio Durigan Junior  <sergiodj@redhat.com>
    	    Pedro Alves  <palves@redhat.com>
    
    	* remote.c (remote_wait_as): Restore signal handler before returning
    	when GDB gets a notification.

commit 9af2e33ee9c2b585453e72ff7e30eda8c5a7283c
Author: gary <gary>
Date:   Tue Jun 4 13:31:00 2013 +0000

    2013-06-04  Gary Benson  <gbenson@redhat.com>
    
    	* gdb.base/break-probes.exp: New file.
    	* gdb.base/break-probes.c: Likewise.
    	* gdb.base/break-probes-solib.c: Likewise.
    	* gdb.base/info-shared.exp: New file.
    	* gdb.base/info-shared.c: Likewise.
    	* gdb.base/info-shared-solib1.c: Likewise.
    	* gdb.base/info-shared-solib2.c: Likewise.

commit 82317bfa2ccb9dd741e508815eb77e181b1dae45
Author: gary <gary>
Date:   Tue Jun 4 13:23:31 2013 +0000

    2013-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
    	    Gary Benson  <gbenson@redhat.com>
    
    	* lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
    	gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
    	* lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
    	to be set to "no" to indicate that no ld.so copy should be made.
    	* gdb.base/break-interp.exp (solib_bp): New constant.
    	(reach_1): Use the above instead of "_dl_debug_state".
    	(test_attach): Likewise.
    	(test_ld): Likewise.
    	* gdb.threads/dlopen-libpthread.exp: New file.
    	* gdb.threads/dlopen-libpthread.c: Likewise.
    	* gdb.threads/dlopen-libpthread-lib.c: Likewise.
    	* gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.

commit 38e484893aac45e294bc8e3fa443c430ed553539
Author: gary <gary>
Date:   Tue Jun 4 13:17:05 2013 +0000

    2013-06-04  Gary Benson  <gbenson@redhat.com>
    
    	* breakpoint.h (handle_solib_event): Moved function declaration
    	to solib.h.
    	* breakpoint.c (handle_solib_event): Moved function to solib.c.
    	(bpstat_stop_status): Pass new argument to handle_solib_event.
    	* solib.h (update_solib_breakpoints): New function declaration.
    	(handle_solib_event): Moved function declaration from
    	breakpoint.h.
    	* solib.c (update_solib_breakpoints): New function.
    	(handle_solib_event): Moved function from breakpoint.c.
    	Updated to call solib_ops->handle_event if not NULL.
    	* solist.h (target_so_ops): New fields "update_breakpoints" and
    	"handle_event".
    	* infrun.c (set_stop_on_solib_events): New function.
    	(_initialize_infrun): Use the above for "set
    	stop-on-solib-events".
    	(handle_inferior_event): Pass new argument to handle_solib_event.
    	* solib-svr4.c (probe.h): New include.
    	(svr4_free_library_list): New forward declaration.
    	(probe_action): New enum.
    	(probe_info): New struct.
    	(probe_info): New static variable.
    	(NUM_PROBES): New definition.
    	(svr4_info): New fields "using_xfer", "probes_table" and
    	"solib_list".
    	(free_probes_table): New function.
    	(free_solib_list): New function.
    	(svr4_pspace_data_cleanup): Free probes table and solib list.
    	(svr4_copy_library_list): New function.
    	(svr4_current_sos_via_xfer_libraries): New parameter "annex".
    	(svr4_read_so_list): New parameter "prev_lm".
    	(svr4_current_sos_direct): Renamed from "svr4_current_sos".
    	(svr4_current_sos): New function.
    	(probe_and_action): New struct.
    	(hash_probe_and_action): New function.
    	(equal_probe_and_action): Likewise.
    	(register_solib_event_probe): Likewise.
    	(solib_event_probe_at): Likewise.
    	(solib_event_probe_action): Likewise.
    	(solist_update_full): Likewise.
    	(solist_update_incremental): Likewise.
    	(disable_probes_interface_cleanup): Likewise.
    	(svr4_handle_solib_event): Likewise.
    	(svr4_update_solib_event_breakpoint): Likewise.
    	(svr4_update_solib_event_breakpoints): Likewise.
    	(svr4_create_solib_event_breakpoints): Likewise.
    	(enable_break): Free probes table before creating breakpoints.
    	Use svr4_create_solib_event_breakpoints to create breakpoints.
    	(svr4_solib_create_inferior_hook): Free the solib list.
    	(_initialize_svr4_solib): Initialise
    	svr4_so_ops.handle_solib_event and svr4_so_ops.update_breakpoints.

commit f031ed530e4f9bf7c04ed3d13eba6fc9b919fa8f
Author: gary <gary>
Date:   Tue Jun 4 13:10:53 2013 +0000

    2013-06-04  Gary Benson  <gbenson@redhat.com>
    
    	* target.h (target_ops): New field
    	"to_augmented_libraries_svr4_read".
    	(target_augmented_libraries_svr4_read): New macro.
    	* target.c (update_current_target): Handle
    	to_augmented_libraries_svr4_read.
    	* remote.c (remote_state): New field
    	"augmented_libraries_svr4_read".
    	(remote_augmented_libraries_svr4_read_feature): New function.
    	(remote_protocol_features): Add entry for
    	"augmented-libraries-svr4-read".
    	(remote_augmented_libraries_svr4_read): New function.
    	(init_remote_ops): Initialize
    	remote_ops.to_augmented_libraries_svr4_read.

commit ab7d05421c9ee2b50a6c191a1c23c262b288bdcf
Author: gary <gary>
Date:   Tue Jun 4 13:07:45 2013 +0000

    2013-06-04 Gary Benson  <gbenson@redhat.com>
    
    	* gdb.texinfo (General Query Packets/qSupported): Added
    	"qXfer:libraries-svr4:read" and "augmented-libraries-svr4-read".
    	to the table of currently defined stub features.
    	Added a more detailed entry for "augmented-libraries-svr4-read".
    	(General Query Packets/qXfer:libraries-svr4:read): Documented
    	the augmented form of this packet.

commit 7c0c349462ed043999c2ff07e9e3bdad4b9b7940
Author: gary <gary>
Date:   Tue Jun 4 13:02:15 2013 +0000

    2013-06-04  Gary Benson  <gbenson@redhat.com>
    
    	* NEWS: Update.

commit e94a795930db456392604e213ab29a959255d28d
Author: gary <gary>
Date:   Tue Jun 4 12:59:20 2013 +0000

    2013-06-04  Gary Benson  <gbenson@redhat.com>
    
    	* server.c (handle_query): Add "augmented-libraries-svr4-read+"
    	to qSupported response when appropriate.
    	(handle_qxfer_libraries_svr4): Allow qXfer:libraries-svr4:read
    	with nonzero-length annex.
    	* linux-low.c (linux_qxfer_libraries_svr4): Parse and handle
    	arguments supplied in annex.

commit 63b55747e23f5950422d3a10350e3a0869e1b8a3
Author: gary <gary>
Date:   Tue Jun 4 12:53:33 2013 +0000

    2013-06-04  Gary Benson  <gbenson@redhat.com>
    
    	* objfiles.h (inhibit_section_map_updates): New function
    	declaration.
    	(resume_section_map_updates): Likewise.
    	(resume_section_map_updates_cleanup): Likewise.
    	* objfiles.c (objfile_pspace_info): Removed field
    	"objfiles_changed_p".  New fields "new_objfiles_available",
    	"section_map_dirty" and "inhibit_updates".
    	(allocate_objfile): Set new_objfiles_available.
    	(free_objfile): Set section_map_dirty.
    	(objfile_relocate1): Likewise.
    	(in_plt_section): Likewise.
    	(find_pc_section): Update the conditions under which the
    	section map will be updated.
    	(inhibit_section_map_updates): New function.
    	(resume_section_map_updates): Likewise.
    	(resume_section_map_updates_cleanup): Likewise.

commit 736d95d04891f566adf9cc5363b964e82610a855
Author: gary <gary>
Date:   Tue Jun 4 12:50:20 2013 +0000

    2013-06-04  Gary Benson  <gbenson@redhat.com>
    
    	* probe.h (get_probe_argument_count): New declaration.
    	(evaluate_probe_argument): Likewise.
    	* probe.c (get_probe_argument_count): New function.
    	(evaluate_probe_argument): Likewise.
    	(probe_safe_evaluate_at_pc): Use the above new functions.

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

Summary of changes:
 bfd/version.h                       |    2 +-
 gdb/ChangeLog                       |  126 +++++++++++++++++++++++++++++++++++
 gdb/ChangeLog-2009                  |    2 +-
 gdb/ChangeLog-2011                  |    2 +-
 gdb/cp-namespace.c                  |   34 +++++----
 gdb/doc/ChangeLog                   |   14 ++++
 gdb/doc/gdb.texinfo                 |    4 +-
 gdb/gdbserver/ChangeLog             |    9 +++
 gdb/gnu-v3-abi.c                    |   12 +++-
 gdb/python/py-utils.c               |    3 +-
 gdb/remote.c                        |    6 +-
 gdb/testsuite/ChangeLog             |   40 +++++++++++
 gdb/testsuite/gdb.cp/derivation.cc  |    6 +-
 gdb/testsuite/gdb.cp/derivation.exp |   14 +++-
 gdb/testsuite/gdb.cp/derivation2.cc |   49 ++++++++++++++
 gdb/testsuite/gdb.cp/virtfunc.exp   |    2 +-
 gdb/version.in                      |    2 +-
 sim/arm/ChangeLog                   |    4 +
 sim/arm/aclocal.m4                  |   40 +++++++++++
 sim/arm/configure                   |   41 ++++++++----
 sim/avr/ChangeLog                   |    4 +
 sim/avr/aclocal.m4                  |   40 +++++++++++
 sim/avr/configure                   |   41 ++++++++----
 sim/bfin/ChangeLog                  |    4 +
 sim/bfin/aclocal.m4                 |   40 +++++++++++
 sim/bfin/configure                  |   41 ++++++++----
 sim/common/ChangeLog                |    5 ++
 sim/common/acinclude.m4             |   13 +---
 sim/common/aclocal.m4               |   40 +++++++++++
 sim/common/configure                |   41 ++++++++----
 sim/cr16/ChangeLog                  |    4 +
 sim/cr16/aclocal.m4                 |   40 +++++++++++
 sim/cr16/configure                  |   41 ++++++++----
 sim/cris/ChangeLog                  |    4 +
 sim/cris/aclocal.m4                 |   40 +++++++++++
 sim/cris/configure                  |   41 ++++++++----
 sim/d10v/ChangeLog                  |    4 +
 sim/d10v/aclocal.m4                 |   40 +++++++++++
 sim/d10v/configure                  |   41 ++++++++----
 sim/erc32/ChangeLog                 |    4 +
 sim/erc32/aclocal.m4                |   40 +++++++++++
 sim/erc32/configure                 |   41 ++++++++----
 sim/frv/ChangeLog                   |    4 +
 sim/frv/aclocal.m4                  |   40 +++++++++++
 sim/frv/configure                   |   41 ++++++++----
 sim/h8300/ChangeLog                 |    4 +
 sim/h8300/aclocal.m4                |   40 +++++++++++
 sim/h8300/configure                 |   41 ++++++++----
 sim/iq2000/ChangeLog                |    4 +
 sim/iq2000/aclocal.m4               |   40 +++++++++++
 sim/iq2000/configure                |   41 ++++++++----
 sim/lm32/ChangeLog                  |    4 +
 sim/lm32/aclocal.m4                 |   40 +++++++++++
 sim/lm32/configure                  |   41 ++++++++----
 sim/m32c/ChangeLog                  |    4 +
 sim/m32c/aclocal.m4                 |   40 +++++++++++
 sim/m32c/configure                  |   41 ++++++++----
 sim/m32r/ChangeLog                  |    4 +
 sim/m32r/aclocal.m4                 |   40 +++++++++++
 sim/m32r/configure                  |   41 ++++++++----
 sim/m68hc11/ChangeLog               |    4 +
 sim/m68hc11/aclocal.m4              |   40 +++++++++++
 sim/m68hc11/configure               |   41 ++++++++----
 sim/mcore/ChangeLog                 |    4 +
 sim/mcore/aclocal.m4                |   40 +++++++++++
 sim/mcore/configure                 |   41 ++++++++----
 sim/microblaze/ChangeLog            |    4 +
 sim/microblaze/aclocal.m4           |   40 +++++++++++
 sim/microblaze/configure            |   41 ++++++++----
 sim/mips/ChangeLog                  |    4 +
 sim/mips/aclocal.m4                 |   40 +++++++++++
 sim/mips/configure                  |   41 ++++++++----
 sim/mn10300/ChangeLog               |    4 +
 sim/mn10300/aclocal.m4              |   40 +++++++++++
 sim/mn10300/configure               |   41 ++++++++----
 sim/moxie/ChangeLog                 |    4 +
 sim/moxie/aclocal.m4                |   40 +++++++++++
 sim/moxie/configure                 |   41 ++++++++----
 sim/rl78/ChangeLog                  |    4 +
 sim/rl78/aclocal.m4                 |   40 +++++++++++
 sim/rl78/configure                  |   41 ++++++++----
 sim/rx/ChangeLog                    |    4 +
 sim/rx/aclocal.m4                   |   40 +++++++++++
 sim/rx/configure                    |   41 ++++++++----
 sim/sh/ChangeLog                    |    4 +
 sim/sh/aclocal.m4                   |   40 +++++++++++
 sim/sh/configure                    |   41 ++++++++----
 sim/sh64/ChangeLog                  |    4 +
 sim/sh64/aclocal.m4                 |   40 +++++++++++
 sim/sh64/configure                  |   41 ++++++++----
 sim/v850/ChangeLog                  |    4 +
 sim/v850/aclocal.m4                 |   40 +++++++++++
 sim/v850/configure                  |   41 ++++++++----
 93 files changed, 2096 insertions(+), 370 deletions(-)
 create mode 100644 gdb/testsuite/gdb.cp/derivation2.cc

First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index f51f754..5b07314 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20130604
+#define BFD_VERSION_DATE 20130606
 #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/gdb/ChangeLog b/gdb/ChangeLog
index 3b5532d..5e241e2 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,129 @@
+2013-06-05  Doug Evans  <dje@google.com>
+	    Keith Seitz  <keiths@redhat.com>
+
+	PR 15519
+	* cp-namespace.c (find_symbol_in_baseclass): Call
+	cp_lookup_symbol_in_namespace instead of cp_lookup_symbol_namespace.
+	Check result of call to lookup_symbol_static.
+	Call lookup_static_symbol_aux unconditionally.
+	Call check_typedef on base types before accessing them.
+	(cp_lookup_nested_symbol): Fix comment.
+
+2013-06-05  Luis Machado  <lgustavo@codesourcery.com>
+
+	* gnu-v3-abi.c (gnuv3_skip_trampoline): Handle thunk
+	minimal symbols pointing to function descriptors.
+
+2013-06-05  Tom Tromey  <tromey@redhat.com>
+
+	* python/py-utils.c (gdb_pymodule_addobject): Cast away const.
+
+2013-06-04  Sergio Durigan Junior  <sergiodj@redhat.com>
+	    Pedro Alves  <palves@redhat.com>
+
+	* remote.c (remote_wait_as): Restore signal handler before returning
+	when GDB gets a notification.
+
+2013-06-04  Gary Benson  <gbenson@redhat.com>
+
+	* breakpoint.h (handle_solib_event): Moved function declaration
+	to solib.h.
+	* breakpoint.c (handle_solib_event): Moved function to solib.c.
+	(bpstat_stop_status): Pass new argument to handle_solib_event.
+	* solib.h (update_solib_breakpoints): New function declaration.
+	(handle_solib_event): Moved function declaration from
+	breakpoint.h.
+	* solib.c (update_solib_breakpoints): New function.
+	(handle_solib_event): Moved function from breakpoint.c.
+	Updated to call solib_ops->handle_event if not NULL.
+	* solist.h (target_so_ops): New fields "update_breakpoints" and
+	"handle_event".
+	* infrun.c (set_stop_on_solib_events): New function.
+	(_initialize_infrun): Use the above for "set
+	stop-on-solib-events".
+	(handle_inferior_event): Pass new argument to handle_solib_event.
+	* solib-svr4.c (probe.h): New include.
+	(svr4_free_library_list): New forward declaration.
+	(probe_action): New enum.
+	(probe_info): New struct.
+	(probe_info): New static variable.
+	(NUM_PROBES): New definition.
+	(svr4_info): New fields "using_xfer", "probes_table" and
+	"solib_list".
+	(free_probes_table): New function.
+	(free_solib_list): New function.
+	(svr4_pspace_data_cleanup): Free probes table and solib list.
+	(svr4_copy_library_list): New function.
+	(svr4_current_sos_via_xfer_libraries): New parameter "annex".
+	(svr4_read_so_list): New parameter "prev_lm".
+	(svr4_current_sos_direct): Renamed from "svr4_current_sos".
+	(svr4_current_sos): New function.
+	(probe_and_action): New struct.
+	(hash_probe_and_action): New function.
+	(equal_probe_and_action): Likewise.
+	(register_solib_event_probe): Likewise.
+	(solib_event_probe_at): Likewise.
+	(solib_event_probe_action): Likewise.
+	(solist_update_full): Likewise.
+	(solist_update_incremental): Likewise.
+	(disable_probes_interface_cleanup): Likewise.
+	(svr4_handle_solib_event): Likewise.
+	(svr4_update_solib_event_breakpoint): Likewise.
+	(svr4_update_solib_event_breakpoints): Likewise.
+	(svr4_create_solib_event_breakpoints): Likewise.
+	(enable_break): Free probes table before creating breakpoints.
+	Use svr4_create_solib_event_breakpoints to create breakpoints.
+	(svr4_solib_create_inferior_hook): Free the solib list.
+	(_initialize_svr4_solib): Initialise
+	svr4_so_ops.handle_solib_event and svr4_so_ops.update_breakpoints.
+
+2013-06-04  Gary Benson  <gbenson@redhat.com>
+
+	* target.h (target_ops): New field
+	"to_augmented_libraries_svr4_read".
+	(target_augmented_libraries_svr4_read): New macro.
+	* target.c (update_current_target): Handle
+	to_augmented_libraries_svr4_read.
+	* remote.c (remote_state): New field
+	"augmented_libraries_svr4_read".
+	(remote_augmented_libraries_svr4_read_feature): New function.
+	(remote_protocol_features): Add entry for
+	"augmented-libraries-svr4-read".
+	(remote_augmented_libraries_svr4_read): New function.
+	(init_remote_ops): Initialize
+	remote_ops.to_augmented_libraries_svr4_read.
+
+2013-06-04  Gary Benson  <gbenson@redhat.com>
+
+	* NEWS: Update.
+
+2013-06-04  Gary Benson  <gbenson@redhat.com>
+
+	* objfiles.h (inhibit_section_map_updates): New function
+	declaration.
+	(resume_section_map_updates): Likewise.
+	(resume_section_map_updates_cleanup): Likewise.
+	* objfiles.c (objfile_pspace_info): Removed field
+	"objfiles_changed_p".  New fields "new_objfiles_available",
+	"section_map_dirty" and "inhibit_updates".
+	(allocate_objfile): Set new_objfiles_available.
+	(free_objfile): Set section_map_dirty.
+	(objfile_relocate1): Likewise.
+	(in_plt_section): Likewise.
+	(find_pc_section): Update the conditions under which the
+	section map will be updated.
+	(inhibit_section_map_updates): New function.
+	(resume_section_map_updates): Likewise.
+	(resume_section_map_updates_cleanup): Likewise.
+
+2013-06-04  Gary Benson  <gbenson@redhat.com>
+
+	* probe.h (get_probe_argument_count): New declaration.
+	(evaluate_probe_argument): Likewise.
+	* probe.c (get_probe_argument_count): New function.
+	(evaluate_probe_argument): Likewise.
+	(probe_safe_evaluate_at_pc): Use the above new functions.
+
 2013-06-04  Alan Modra  <amodra@gmail.com>
 
 	* ppc-tdep.h (ppc_insns_match_pattern): Update prototype.
diff --git a/gdb/ChangeLog-2009 b/gdb/ChangeLog-2009
index 6bee817..4771158 100644
--- a/gdb/ChangeLog-2009
+++ b/gdb/ChangeLog-2009
@@ -2152,7 +2152,7 @@
 	* microblaze-tdep.c: Remove MICROBLAZE_REGISTER_SIZE.
 	* microblaze-tdep.h: Add MICROBLAZE_REGISTER_SIZE.
 
-2008-10-15  Steven G. Kargl  <kargl@gcc.gnu.org>  (tiny patch)
+2008-10-15  Steven G. Kargl  <kargl@gcc.gnu.org>  (tiny change)
 
 	* amd64fbsd-nat.c (amd64fbsd_supply_pcb): Conditionally compile in
 	support for pcb->pcb_{fs,ds,es,gs} on FreeBSD older than 8.0.
diff --git a/gdb/ChangeLog-2011 b/gdb/ChangeLog-2011
index 5ef00d9..5d1f621 100644
--- a/gdb/ChangeLog-2011
+++ b/gdb/ChangeLog-2011
@@ -11840,7 +11840,7 @@
 	* mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
 	dumping of instruction opcodes.
 
-2011-01-09  Robert Millan  <rmh@gnu.org>  (tiny patch)
+2011-01-09  Robert Millan  <rmh@gnu.org>  (tiny change)
 
 	* configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
 	appropiately.
diff --git a/gdb/cp-namespace.c b/gdb/cp-namespace.c
index 792ed48..755aeef 100644
--- a/gdb/cp-namespace.c
+++ b/gdb/cp-namespace.c
@@ -720,36 +720,40 @@ find_symbol_in_baseclass (struct type *parent_type, const char *name,
   for (i = 0; i < TYPE_N_BASECLASSES (parent_type); ++i)
     {
       size_t len;
+      struct type *base_type = TYPE_BASECLASS (parent_type, i);
       const char *base_name = TYPE_BASECLASS_NAME (parent_type, i);
 
       if (base_name == NULL)
 	continue;
 
       /* Search this particular base class.  */
-      sym = cp_lookup_symbol_namespace (base_name, name, block, VAR_DOMAIN);
+      sym = cp_lookup_symbol_in_namespace (base_name, name, block,
+					   VAR_DOMAIN, 0);
       if (sym != NULL)
 	break;
 
+      /* Now search all static file-level symbols.  We have to do this for
+	 things like typedefs in the class.  First search in this symtab,
+	 what we want is possibly there.  */
       len = strlen (base_name) + 2 + strlen (name) + 1;
       concatenated_name = xrealloc (concatenated_name, len);
       xsnprintf (concatenated_name, len, "%s::%s", base_name, name);
       sym = lookup_symbol_static (concatenated_name, block, VAR_DOMAIN);
+      if (sym != NULL)
+	break;
 
-      /* If there is currently no BLOCK, e.g., the inferior hasn't yet
-	 been started, then try searching all STATIC_BLOCK symbols in
-	 all objfiles.  */
-      if (block == NULL)
-	{
-	  sym = lookup_static_symbol_aux (concatenated_name, VAR_DOMAIN);
-	  if (sym != NULL)
-	    break;
-	}
+      /* Nope.  We now have to search all static blocks in all objfiles,
+	 even if block != NULL, because there's no guarantees as to which
+	 symtab the symbol we want is in.  */
+      sym = lookup_static_symbol_aux (concatenated_name, VAR_DOMAIN);
+      if (sym != NULL)
+	break;
 
       /* If this class has base classes, search them next.  */
-      if (TYPE_N_BASECLASSES (TYPE_BASECLASS (parent_type, i)) > 0)
+      CHECK_TYPEDEF (base_type);
+      if (TYPE_N_BASECLASSES (base_type) > 0)
 	{
-	  sym = find_symbol_in_baseclass (TYPE_BASECLASS (parent_type, i),
-					  name, block);
+	  sym = find_symbol_in_baseclass (base_type, name, block);
 	  if (sym != NULL)
 	    break;
 	}
@@ -797,8 +801,8 @@ cp_lookup_nested_symbol (struct type *parent_type,
 	if (sym != NULL)
 	  return sym;
 
-	/* Now search all static file-level symbols.  Not strictly
-	   correct, but more useful than an error.  We do not try to
+	/* Now search all static file-level symbols.  We have to do this
+	   for things like typedefs in the class.  We do not try to
 	   guess any imported namespace as even the fully specified
 	   namespace search is already not C++ compliant and more
 	   assumptions could make it too magic.  */
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index bb290ca..b6e56e0 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,17 @@
+2013-06-05  Simon Marchi  <simon.marchi@ericsson.com>  (tiny change)
+
+	* gdb.texinfo (Miscellaneous gdb/mi Commands): Fix -add-inferior
+	response field name (thread-group to inferior).
+
+2013-06-04 Gary Benson  <gbenson@redhat.com>
+
+	* gdb.texinfo (General Query Packets/qSupported): Added
+	"qXfer:libraries-svr4:read" and "augmented-libraries-svr4-read".
+	to the table of currently defined stub features.
+	Added a more detailed entry for "augmented-libraries-svr4-read".
+	(General Query Packets/qXfer:libraries-svr4:read): Documented
+	the augmented form of this packet.
+
 2013-05-23  Joel Brobecker  <brobecker@adacore.com>
 
 	* gdb.texinfo (System-wide Configuration Scripts): Renames
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index db293c2..e9b6eae 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -34642,7 +34642,7 @@ Creates a new inferior (@pxref{Inferiors and Programs}).  The created
 inferior is not associated with any executable.  Such association may
 be established with the @samp{-file-exec-and-symbols} command
 (@pxref{GDB/MI File Commands}).  The command response has a single
-field, @samp{thread-group}, whose value is the identifier of the
+field, @samp{inferior}, whose value is the identifier of the
 thread group corresponding to the new inferior.
 
 @subheading Example
@@ -34650,7 +34650,7 @@ thread group corresponding to the new inferior.
 @smallexample
 @value{GDBP}
 -add-inferior
-^done,thread-group="i3"
+^done,inferior="i3"
 @end smallexample
 
 @subheading The @code{-interpreter-exec} Command
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index fb0eed6..28086be 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,12 @@
+2013-06-04  Gary Benson  <gbenson@redhat.com>
+
+	* server.c (handle_query): Add "augmented-libraries-svr4-read+"
+	to qSupported response when appropriate.
+	(handle_qxfer_libraries_svr4): Allow qXfer:libraries-svr4:read
+	with nonzero-length annex.
+	* linux-low.c (linux_qxfer_libraries_svr4): Parse and handle
+	arguments supplied in annex.
+
 2013-05-31  Doug Evans  <dje@google.com>
 
 	* linux-x86-low.c (ps_get_thread_area): Properly extend address to
diff --git a/gdb/gnu-v3-abi.c b/gdb/gnu-v3-abi.c
index 6812c1d..1821f18 100644
--- a/gdb/gnu-v3-abi.c
+++ b/gdb/gnu-v3-abi.c
@@ -1207,7 +1207,7 @@ gnuv3_get_type_from_type_info (struct value *type_info_ptr)
 static CORE_ADDR 
 gnuv3_skip_trampoline (struct frame_info *frame, CORE_ADDR stop_pc)
 {
-  CORE_ADDR real_stop_pc, method_stop_pc;
+  CORE_ADDR real_stop_pc, method_stop_pc, func_addr;
   struct gdbarch *gdbarch = get_frame_arch (frame);
   struct minimal_symbol *thunk_sym, *fn_sym;
   struct obj_section *section;
@@ -1236,6 +1236,16 @@ gnuv3_skip_trampoline (struct frame_info *frame, CORE_ADDR stop_pc)
     return 0;
 
   method_stop_pc = SYMBOL_VALUE_ADDRESS (fn_sym);
+
+  /* Some targets have minimal symbols pointing to function descriptors
+     (powerpc 64 for example).  Make sure to retrieve the address
+     of the real function from the function descriptor before passing on
+     the address to other layers of GDB.  */
+  func_addr = gdbarch_convert_from_func_ptr_addr (gdbarch, method_stop_pc,
+                                                  &current_target);
+  if (func_addr != 0)
+    method_stop_pc = func_addr;
+
   real_stop_pc = gdbarch_skip_trampoline_code
 		   (gdbarch, frame, method_stop_pc);
   if (real_stop_pc == 0)
diff --git a/gdb/python/py-utils.c b/gdb/python/py-utils.c
index 7c7c5ca..bbbdef4 100644
--- a/gdb/python/py-utils.c
+++ b/gdb/python/py-utils.c
@@ -436,7 +436,8 @@ gdb_pymodule_addobject (PyObject *module, const char *name, PyObject *object)
   int result;
 
   Py_INCREF (object);
-  result = PyModule_AddObject (module, name, object);
+  /* Python 2.4 did not have a 'const' here.  */
+  result = PyModule_AddObject (module, (char *) name, object);
   if (result < 0)
     Py_DECREF (object);
   return result;
diff --git a/gdb/remote.c b/gdb/remote.c
index 7d98bc1..24d10f2 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -5951,13 +5951,13 @@ remote_wait_as (ptid_t ptid, struct target_waitstatus *status, int options)
       ret = getpkt_or_notif_sane (&rs->buf, &rs->buf_size,
 				  wait_forever_enabled_p, &is_notif);
 
+      if (!target_is_async_p ())
+	signal (SIGINT, ofunc);
+
       /* GDB gets a notification.  Return to core as this event is
 	 not interesting.  */
       if (ret != -1 && is_notif)
 	return minus_one_ptid;
-
-      if (!target_is_async_p ())
-	signal (SIGINT, ofunc);
     }
 
   buf = rs->buf;
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index e89741a..59ac7dd 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,43 @@
+2013-06-05  Doug Evans  <dje@google.com>
+	    Keith Seitz  <keiths@redhat.com>
+
+	* gdb.cp/derivation2.cc: New file.
+	* gdb.cp/derivation.cc (main): Call foo2.
+	* gdb.cp/derivation.exp: Add tests for typedefs in another
+	file, and when there's an active block.
+
+2013-06-05  Luis Machado  <lgustavo@codesourcery.com>
+
+	* gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
+	from targets that use function descriptors in the virtual tables.
+	Handle presence of dot symbols.
+
+2013-06-04  Gary Benson  <gbenson@redhat.com>
+
+	* gdb.base/break-probes.exp: New file.
+	* gdb.base/break-probes.c: Likewise.
+	* gdb.base/break-probes-solib.c: Likewise.
+	* gdb.base/info-shared.exp: New file.
+	* gdb.base/info-shared.c: Likewise.
+	* gdb.base/info-shared-solib1.c: Likewise.
+	* gdb.base/info-shared-solib2.c: Likewise.
+
+2013-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
+	    Gary Benson  <gbenson@redhat.com>
+
+	* lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
+	gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
+	* lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
+	to be set to "no" to indicate that no ld.so copy should be made.
+	* gdb.base/break-interp.exp (solib_bp): New constant.
+	(reach_1): Use the above instead of "_dl_debug_state".
+	(test_attach): Likewise.
+	(test_ld): Likewise.
+	* gdb.threads/dlopen-libpthread.exp: New file.
+	* gdb.threads/dlopen-libpthread.c: Likewise.
+	* gdb.threads/dlopen-libpthread-lib.c: Likewise.
+	* gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
+
 2013-05-30  Yao Qi  <yao@codesourcery.com>
 
 	* gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
diff --git a/gdb/testsuite/gdb.cp/derivation.cc b/gdb/testsuite/gdb.cp/derivation.cc
index 0a6a24d..2fefe79 100644
--- a/gdb/testsuite/gdb.cp/derivation.cc
+++ b/gdb/testsuite/gdb.cp/derivation.cc
@@ -16,6 +16,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
    */
 
+extern void foo2 (); /* from derivation2.cc */
+
 namespace N {
   typedef double value_type;
   struct Base { typedef int value_type; };
@@ -306,9 +308,7 @@ int main(void)
     N::Derived::value_type d = 1;
     N::value_type n = 3.0;
     dobj.doit ();
+    foo2 ();
     return 0;
     
 }
-
-    
-    
diff --git a/gdb/testsuite/gdb.cp/derivation.exp b/gdb/testsuite/gdb.cp/derivation.exp
index 287a830..66a3a3b 100644
--- a/gdb/testsuite/gdb.cp/derivation.exp
+++ b/gdb/testsuite/gdb.cp/derivation.exp
@@ -32,14 +32,15 @@ if { [skip_cplus_tests] } { continue }
 
 load_lib "cp-support.exp"
 
-standard_testfile .cc
+standard_testfile derivation.cc derivation2.cc
 
-if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug c++}]} {
+if {[prepare_for_testing $testfile.exp $testfile \
+	[list $srcfile $srcfile2] {debug c++}]} {
     return -1
 }
 
 # Check inheritance of typedefs.
-foreach klass {"A" "D" "E" "F"} {
+foreach klass {"A" "D" "E" "F" "A2" "D2"} {
     gdb_test "ptype ${klass}::value_type" "type = int"
     gdb_test "whatis ${klass}::value_type" "type = int"
     gdb_test "p (${klass}::value_type) 0" " = 0"
@@ -57,6 +58,13 @@ if ![runto 'marker1'] then {
     continue
 }
 
+# Check inheritance of typedefs again, but this time with an active block.
+foreach klass {"A" "D" "A2" "D2"} {
+    gdb_test "ptype ${klass}::value_type" "type = int"
+    gdb_test "whatis ${klass}::value_type" "type = int"
+    gdb_test "p (${klass}::value_type) 0" " = 0"
+}
+
 gdb_test "up" ".*main.*" "up from marker1"
 
 # Print class types and values.
diff --git a/gdb/testsuite/gdb.cp/derivation2.cc b/gdb/testsuite/gdb.cp/derivation2.cc
new file mode 100644
index 0000000..b26cb63
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/derivation2.cc
@@ -0,0 +1,49 @@
+/* This testcase is part of GDB, the GNU debugger.
+
+   Copyright 2013 Free Software Foundation, Inc.
+
+   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/>.
+   */
+
+/* A copy of some classes in derivation.cc so that we can test symbol lookup
+   in other CUs.  */


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


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

* [SCM]  gbenson/rtld-probes: Merge remote branch 'gdb/master' into gbenson/rtld-probes
@ 2013-05-23 11:52 gary
  0 siblings, 0 replies; 5+ messages in thread
From: gary @ 2013-05-23 11:52 UTC (permalink / raw)
  To: archer-commits

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

The branch, gbenson/rtld-probes has been updated
       via  d01bc1176b596cc0deb3caac49efcd08e439fccb (commit)
       via  b16c8a2c1d92cc46fa034b3d68f548f32eefe740 (commit)
       via  6da2203229ddd61d193047563fce8b67a37dac68 (commit)
       via  04b96ba8e83e2aa7cec25a09a00408627db043f4 (commit)
       via  6b6c2f27084c210fad10384f916b985ccda73179 (commit)
       via  43224db0aa6c76780b9af3e08b35d0d3f3601c64 (commit)
       via  439b15b2d2f920695d4a9282fbeca19aa1286710 (commit)
       via  d97085d6f99cbad6969a42c581e56b80f1a7ec46 (commit)
       via  06d59c620a5c8a598b9711ee7869ca83175b93f1 (commit)
       via  a72f82fc28e2e0464fc59fc418c2a2b7d6db315c (commit)
       via  8169424bbf064788c952aadb142993fa4eee61f6 (commit)
       via  99a8549b696b9943585e216bb352aa274b9344a9 (commit)
       via  a019568598ef099621feee572b3229079d68e6a2 (commit)
       via  6fcd25589f95ed1c663b4993b5faa47fad2389d4 (commit)
       via  72de6e69758282b35491e7289d368eb7542f638f (commit)
       via  fc07e754275bc3e4bbe2bd762fdd8fdb57ddc102 (commit)
       via  d6fab887386fae52a12bd6864382564bbeda8514 (commit)
       via  00ed95a3aacde879bc7fcb7888c69091f33b41b8 (commit)
       via  412237328f6a7293cfba3f85d914f896db975af1 (commit)
       via  783bc92bdf91418a80557af431c7e4f86ecee768 (commit)
       via  d72eabc6f823fe4e3a4eafa81a119867c988a0c4 (commit)
       via  5f9197eeaf0fa87eb98ac6ebaf88930f33821eab (commit)
       via  61ce8822bafd4554dd911d8f58d7142f3839bb2b (commit)
       via  fa466a282b30a743765b2a8cd1ecc74bb5d796db (commit)
       via  6f6adb3c6b95796c51a48920526c6ef98afae9f8 (commit)
       via  e3be5bf957b120a042ceb164213af36d7bca32b5 (commit)
       via  c8d7739e9cf54d4aa465bde90a6ec94ffdfb33c4 (commit)
       via  488588c3628913be0dbcf7113cee04c1cd791d5d (commit)
       via  4f20a2011c6cec47718bff32a9a8de67eac63b53 (commit)
       via  3b29b975fe1a101ef9feb0a130570228152019c9 (commit)
       via  13f2e76510cd8d5b2da22d958cdcc3dd3e785005 (commit)
       via  a5d4bb2f9bfe5ed5911e9e79d0f00a8de790727d (commit)
       via  aac6de18bb842276b6d26bea129de9901ae891df (commit)
       via  b7bab74342776d73cef3a9c060810fbb80328312 (commit)
       via  7645df08c5ba29820e44a03f7bbf70b478801cae (commit)
       via  c6bf3878c5f48650e928c55e7a454583d977a1cf (commit)
       via  e3ae979a6c36d47350919caaf654e656dea3ac76 (commit)
       via  01219ac3f8e7fa6f5a5876afd826d0283d29524b (commit)
       via  2f2a2015c740d447fee472e08471aa28d416b551 (commit)
       via  c91374499747d84609217f6815ffa6e637dedba3 (commit)
       via  1d990d7bb9acc77de45d92801bc116f875bfd621 (commit)
       via  1dbe9d429b900945876f8c8c0358f4a18ce57c66 (commit)
       via  49fca17027ea8a35eae2353248b527415f95f25e (commit)
       via  2005985ad1c8abbf905a9c6ab269e9a96f836e3b (commit)
       via  35c1e5efc16caf256acb5c76df8f02a3f1de246e (commit)
       via  2d3bbd57c568f6586015ee82b9d2db1d1432cb14 (commit)
       via  39cc9036cec20e713f4ec002e425422c21f81b12 (commit)
       via  29b26fc5635d26ca73927809396f6c8c03de159e (commit)
       via  7513d357f031eb43c1dc4b309faa80922c41004d (commit)
       via  62234c99e3a311c07838ebaea38198d7f4239d0c (commit)
       via  a1dc2890b9843e7bbadb81cf7d733d2954dbb097 (commit)
       via  c84620664b6cd95ef9d2609c73c6832dba830cdf (commit)
       via  636305372b3cdc5b60127ed7ea546bdbee217226 (commit)
       via  2e687216be4e6f289cb8083e18f1ccfb3bde90cd (commit)
       via  e0ede36274a194c07ed4407f4471849e3bda9db8 (commit)
       via  27ace36109505b3b255e60778b487decce10e92e (commit)
       via  7fb29343dacbc73483669327128c491a9a17ccaa (commit)
       via  80a8b525413b213614508a73c3b95e683e412942 (commit)
       via  a906bc6480dbdc7cc1bd54884702fb807ef0fbc1 (commit)
       via  9b859adb4f3dfc4df5022746517422d8769100ee (commit)
       via  65882c1a92a8d600890bab983a7e013faac37e3e (commit)
       via  6466b77e27b5743f65a4c3e02fa6ef17c86f43bd (commit)
       via  e99af83087857cf32e550d45c338587dd0fc1a6c (commit)
       via  174e82f2f135bada36bbb0abf52b46319421b71a (commit)
       via  3d850673810aa884193630d83749cb658165c8b2 (commit)
       via  cf5b0fcbc621db7b4b9da236866a26431151def6 (commit)
       via  5ce3c185948cce3e2d7e1801bb19aac009ca7ebb (commit)
       via  6a7ee8d8ad61cfb463d7e9bb95dd7dd23f5d8110 (commit)
       via  210e3c157c1380359c9702b99eac0a83416ccc24 (commit)
       via  81387c7f1f50f0b076617fd37e2df0055a74e762 (commit)
       via  b30830ad38d34bdeedd0e5571845821eae50b661 (commit)
       via  73748a82bb4a64335cc3388b34ef9c5486b69e65 (commit)
       via  d0a19b37c43775341c5412d90635353345b5f5c8 (commit)
       via  8bc515ce4080608a1a35b00d8d9706a5778025d6 (commit)
       via  826738a7377eb04bf47c7a9f469948de0b4ec4ab (commit)
       via  cd1f6ea471233b241a973de805d3bb6386d6edf1 (commit)
       via  f3cc1179691abf92468d89452aae2e1fe5ced731 (commit)
       via  9cba98336ff14e06e83494a55c71e795f130700d (commit)
       via  5aee30367e9dfb9af9b3b461d91eb640ed2c94ea (commit)
       via  452e29236ed5bf99404ecd3531df85a058a12ff5 (commit)
       via  4072a8adda6f9c894beee03ed64a2b3c9b8c182b (commit)
       via  12eebc99a69a969e7d2adaffdc48e6714ecccb6e (commit)
       via  0dc1cb92d94b5f56c9bf29b2b103839453b22f36 (commit)
       via  0baf8277ae52466a945c9e97bdc64459b38cca94 (commit)
       via  f1710886bbcad31da44b5ab3be5e9fbc04c0fb49 (commit)
       via  d0b63f741de6049646fe979182fb390f219ce934 (commit)
       via  4b7405c0381c72b154d8dddd82cf4e960e27720c (commit)
       via  7d9b86e671db86e2d42b833f6033bad30312fea2 (commit)
       via  73b53903b87f8b8d4561327358bb2ecb55d202fb (commit)
       via  4fd63bf1390f2e850157a51c5771a304dc713d31 (commit)
       via  cc10b3df010272968aa2e6e1768ffd5da2100f4b (commit)
       via  d192e191467b71a5ab3bc93515126ed534148602 (commit)
       via  5a4337e6ec84ebc21bdf15e9d7076576e4f8e862 (commit)
       via  6f78e1e9b3d53d75b3f8c9fe2fb0c90774fc3641 (commit)
       via  f26df3c4024643a8608ba16fd9cfd1e04048b9d7 (commit)
       via  dde6c19a39f11b3835b9903fc459f337b86daf81 (commit)
       via  10361b212f7b40ed6eacf773adf7716f8f640e1e (commit)
       via  dbd14a18547bd78def0d91c5bb5324d79b87cad4 (commit)
       via  1035e7311fb8ea56f99c4698e9e8ee1dfb0c4f86 (commit)
       via  92dc8d9605a1472907a18e5548b0116ed759c42b (commit)
       via  753a490543a83113f173beba637b2adf661b8698 (commit)
       via  8e8d0e321d16b1c1bdb71ad268df467a13ad3b81 (commit)
       via  5aa148e4cbf9f25d8a1a33d71c029abe3a7d9f6c (commit)
       via  0e8baff8e5a7752131364f177906d70ee92934f0 (commit)
       via  0c4d80b4815ec4698a37846243ac1994f4d461bf (commit)
       via  7353e382d81309bf17cc4addd99ef6e52df49150 (commit)
       via  10853ff1dc86eb6f331f4c7b175d1cb0308b19d0 (commit)
       via  4917f7eef3ad12d18fe0757ffda9de60ba556078 (commit)
       via  e55999758aa986a1f3e55ad3e741e3d591e3b38a (commit)
       via  19d4501df9cf271fed4f30f8a24e786d4add9552 (commit)
       via  6f0258cb652b897a1c2e50197a59c7e8c117f91b (commit)
       via  b01b13936c8ef44b9eb3bc1f6a85edc4c6610888 (commit)
       via  e6e0cb74ef4c2fad6b021adbf9cfb28e1b90372a (commit)
       via  aaff5eec7e98db292460ab53f47194a9e762798d (commit)
      from  bf30bd84f8d2f12d1d7a5695aa48929808fae88f (commit)

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

- Log -----------------------------------------------------------------
commit d01bc1176b596cc0deb3caac49efcd08e439fccb
Merge: b16c8a2 06d59c6
Author: Gary Benson <gbenson@redhat.com>
Date:   Thu May 23 12:52:17 2013 +0100

    Merge remote branch 'gdb/master' into gbenson/rtld-probes

commit b16c8a2c1d92cc46fa034b3d68f548f32eefe740
Author: Gary Benson <gbenson@redhat.com>
Date:   Thu May 23 12:50:13 2013 +0100

    Jan's changes

commit 6da2203229ddd61d193047563fce8b67a37dac68
Author: Gary Benson <gbenson@redhat.com>
Date:   Thu May 23 12:41:58 2013 +0100

    Ah

commit 04b96ba8e83e2aa7cec25a09a00408627db043f4
Author: Gary Benson <gbenson@redhat.com>
Date:   Thu May 23 12:37:06 2013 +0100

    Oops

commit 6b6c2f27084c210fad10384f916b985ccda73179
Author: Gary Benson <gbenson@redhat.com>
Date:   Thu May 23 12:12:08 2013 +0100

    Jan's changes

commit 43224db0aa6c76780b9af3e08b35d0d3f3601c64
Author: Gary Benson <gbenson@redhat.com>
Date:   Thu May 23 10:58:11 2013 +0100

    Add program space arg to section map update inbibiting stuff

commit 439b15b2d2f920695d4a9282fbeca19aa1286710
Author: Gary Benson <gbenson@redhat.com>
Date:   Thu May 23 10:50:51 2013 +0100

    Make the protocol match the documentation

commit d97085d6f99cbad6969a42c581e56b80f1a7ec46
Author: Gary Benson <gbenson@redhat.com>
Date:   Thu May 23 10:50:30 2013 +0100

    Document the remote protocol

commit 06d59c620a5c8a598b9711ee7869ca83175b93f1
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu May 23 06:39:41 2013 +0000

    mi/mi-cmd-break.c: Use xsnprintf instead of sprintf (ARI fix)
    
    gdb/ChangeLog:
    
            * mi/mi-cmd-break.c (mi_argv_to_format): Use xsnprintf instead
            of sprintf.

commit a72f82fc28e2e0464fc59fc418c2a2b7d6db315c
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu May 23 06:00:53 2013 +0000

    Document new <data-dir>/system-gdbinit area
    
    gdb/doc/ChangeLog:
    
            * gdb.texinfo (Installed System-wide Configuration Scripts):
            Add subsection describing the scripts now available under
            the data-dir's system-gdbbinit subdirectory.
            * NEWS: Add entry announcing the availability of system-wide
            configuration scripts for ElinOS and Wind River Linux.

commit 8169424bbf064788c952aadb142993fa4eee61f6
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu May 23 03:35:59 2013 +0000

    	* format.c (bfd_check_format_matches): Don't match a target in
    	targ_selvecs if some other target is a better match.  If
    	targets implement match priority, fall back to the first of
    	the best matches.

commit 99a8549b696b9943585e216bb352aa274b9344a9
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu May 23 00:00:05 2013 +0000

    daily update

commit a019568598ef099621feee572b3229079d68e6a2
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Thu May 23 00:00:03 2013 +0000

    *** empty log message ***

commit 6fcd25589f95ed1c663b4993b5faa47fad2389d4
Author: Keith Seitz <keiths@redhat.com>
Date:   Wed May 22 21:16:17 2013 +0000

    	* ada-lang.c (is_known_support_routine): Add explicit free of
    	'func_name' from find_frame_funname.
    	(ada_unhandled_exception_name_addr_from_raise): Add cleanups
    	for func_name from find_frame_funname.
    	* python/py-frame.c (frapy_name): Add explicit free of
    	'name' from find_frame_funname.
    	* stack.c (find_frame_funname): Add comment explaining that
    	funcp must be freed by the caller.
    	Return copy of symbol names instead of pointers.
    	(print_frame): Add a cleanup for 'funname' from
    	find_frame_funname.
    	* stack.h (find_frame_funname): Remove "const" from
    	'funname' parameter.

commit 72de6e69758282b35491e7289d368eb7542f638f
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed May 22 20:51:49 2013 +0000

    	PR c++/15401:
    	* c-valprint.c (c_value_print): Use value_addr for
    	references.  Convert back to reference type with value_ref.
    gdb/testsuite
    	* gdb.cp/class2.cc (main): New local 'aref'.
    	* gdb.cp/class2.exp: Check printing of 'aref'.

commit fc07e754275bc3e4bbe2bd762fdd8fdb57ddc102
Author: Richard Sandiford <rsandifo@nildram.co.uk>
Date:   Wed May 22 18:08:25 2013 +0000

    include/opcode/
    2013-05-22  Jürgen Urban  <JuergenUrban@gmx.de>
    
    	* mips.h (M_LQC2_AB, M_SQC2_AB): New macros.
    
    opcodes/
    2013-05-22  Jürgen Urban  <JuergenUrban@gmx.de>
    
    	* mips-opc.c (mips_builtin_opcodes): Add R5900 VU0 instructions.
    
    gas/
    2013-05-22  Jürgen Urban  <JuergenUrban@gmx.de>
    
    	* config/tc-mips.c (macro): Handle M_LQC2_AB and M_SQC2_AB.
    
    gas/testsuite/
    2013-05-22  Jürgen Urban  <JuergenUrban@gmx.de>
    
    	* gas/mips/r5900-full.s, gas/mips/r5900-full.d: Add tests for LQ
    	and SQ macros.
    	* gas/mips/r5900-vu0.s, gas/mips/r5900-vu0.d: New test.
    	* gas/mips/mips.exp: Run it.

commit d6fab887386fae52a12bd6864382564bbeda8514
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed May 22 17:02:34 2013 +0000

    Add EM_INTEL205 to EM_INTEL209
    
    	* common.h (EM_INTEL205): New.
    	(EM_INTEL206): Likewise.
    	(EM_INTEL207): Likewise.
    	(EM_INTEL208): Likewise.
    	(EM_INTEL209): Likewise.

commit 00ed95a3aacde879bc7fcb7888c69091f33b41b8
Author: Doug Evans <dje@google.com>
Date:   Wed May 22 16:30:24 2013 +0000

    	* gdb.threads/wp-replication.c (main): Insert some code at the start
    	to ensure the breakpoint on main is only hit once.  Fix comment.

commit 412237328f6a7293cfba3f85d914f896db975af1
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Wed May 22 16:18:11 2013 +0000

    Fix reporting of DLL unload events on MS-Windows.
    
     gdb/windows-nat.c (handle_unload_dll): Don't call solib_add for the
     unloaded DLL, it will be done by handle_solib_event.  See
     http://sourceware.org/ml/gdb-patches/2013-05/msg00713.html for the
     details.

commit 783bc92bdf91418a80557af431c7e4f86ecee768
Author: pmuldoon <pmuldoon>
Date:   Wed May 22 12:27:12 2013 +0000

    2013-05-22  Phil Muldoon  <pmuldoon@redhat.com>
    
    	* ui-out.c: Create typedef ui_out_level_p and define vector
    	operations for that type.
    	(struct ui_out): Use a vector instead of an array.
    	(current_level): Return level from a vector.
    	(push_level): Create a level in a vector.
    	(pop_level): Delete a level in a vector.
    	(ui_out_new): Create initial level zero level, and store in a
    	vector.
    	(ui_out_destroy): Add vector cleanup.

commit d72eabc6f823fe4e3a4eafa81a119867c988a0c4
Author: qiyao <qiyao>
Date:   Wed May 22 09:51:49 2013 +0000

    readline/
    
    	* configure.in: Invoke AC_CANONICAL_BUILD.
    	Change $host_os to $build_os.
    	* configure: Regenerated.

commit 5f9197eeaf0fa87eb98ac6ebaf88930f33821eab
Author: Pedro Alves <palves@redhat.com>
Date:   Wed May 22 09:31:44 2013 +0000

    Let the ARI know gdb_Py_DECREF is OK.
    
    The ARI complains with:
    
    > gdb/python/python-internal.h:177: code: editCase function: Function name starts lower case but has uppercased letters.
    gdb/python/python-internal.h:177:gdb_Py_DECREF (void *op)
    
    gdb_Py_DECREF is just wrapping a python macro that happens to be mixed case.
    
    gdb/
    2013-05-22  Pedro Alves  <palves@redhat.com>
    
    	* python/python-internal.h (gdb_Py_DECREF): Tag with
    	"ARI: editCase function".

commit 61ce8822bafd4554dd911d8f58d7142f3839bb2b
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed May 22 08:39:52 2013 +0000

    	PR binutils/15462
    	* elfxx-mips.c (_bfd_mips_elf_relocate_section): Warning fix.

commit fa466a282b30a743765b2a8cd1ecc74bb5d796db
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed May 22 06:13:59 2013 +0000

    	PR binutils/15474
    	* srec.c (srec_set_section_contents): Properly convert size
    	and offset to address when octets_per_byte is not unity.

commit 6f6adb3c6b95796c51a48920526c6ef98afae9f8
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed May 22 00:00:05 2013 +0000

    daily update

commit e3be5bf957b120a042ceb164213af36d7bca32b5
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed May 22 00:00:03 2013 +0000

    *** empty log message ***

commit c8d7739e9cf54d4aa465bde90a6ec94ffdfb33c4
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date:   Tue May 21 23:41:29 2013 +0000

    2013-05-21  Paul Pluzhnikov  <ppluzhnikov@google.com>
    
    	* solib-svr4.c (svr4_free_so): Protect against NULL dereference.

commit 488588c3628913be0dbcf7113cee04c1cd791d5d
Author: Pedro Alves <palves@redhat.com>
Date:   Tue May 21 20:53:21 2013 +0000

    py_decref: Don't check for NULL before calling Py_DECREF.
    
    The only difference between Py_DECREF and Py_XDECREF is that the latter allows passing
    in a NULL object, while the former prohibits it.  Given that, it's natural to expect
    the same from py_decref vs py_xdecref.
    
    gdb/
    2013-05-21  Pedro Alves  <palves@redhat.com>
    
    	* python/py-prettyprint.c (apply_val_pretty_printer): Check
    	whether PRINTER is NULL before installing a Py_DECREF cleanup.
    	* python/py-utils.c (py_decref): Don't check for NULL before
    	calling Py_DECREF.

commit 4f20a2011c6cec47718bff32a9a8de67eac63b53
Author: Pedro Alves <palves@redhat.com>
Date:   Tue May 21 20:52:29 2013 +0000

    Centralize workaround for Python 2.6's Py_DECREF.
    
    Wrap/redefine Py_DECREF ourselves, avoiding the need for uses to care
    about extra braces due to the fact that Python only started wrapping Py_DECREF
    in 'do {} while (0)' after 2.6.
    
    gdb/
    2013-05-21  Pedro Alves  <palves@redhat.com>
    
    	* python/py-utils.c (py_decref): Remove extra braces.
    	(gdb_pymodule_addobject): Remove extra braces.
    	* python-internal.h (gdb_Py_DECREF): New static inline function.
    	(Py_DECREF): Redefine as calling gdb_Py_DECREF.

commit 3b29b975fe1a101ef9feb0a130570228152019c9
Author: Keith Seitz <keiths@redhat.com>
Date:   Tue May 21 19:11:50 2013 +0000

    	* gdb.base/filesym.exp: Use gdb_test_multiple instead of
    	gdb_expect.
    	Add test to flush the remaining input buffer so that this
    	file passes testsuite/12649.

commit 13f2e76510cd8d5b2da22d958cdcc3dd3e785005
Author: philippe <philippe>
Date:   Tue May 21 18:47:04 2013 +0000

    Fix internal error caused by interaction between catch signal and fork

commit a5d4bb2f9bfe5ed5911e9e79d0f00a8de790727d
Author: sterling <sterling>
Date:   Tue May 21 17:58:46 2013 +0000

    2013-05-21  Sterling Augustine  <saugustine@google.com>
    
    	* boards/remote-stdio-gdbserver.exp: New file.

commit aac6de18bb842276b6d26bea129de9901ae891df
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue May 21 15:02:28 2013 +0000

    gdb/
    	Workaround Python 2.6.
    	* python/py-utils.c (gdb_pymodule_addobject): Wrap Py_DECREF into
    	a block.

commit b7bab74342776d73cef3a9c060810fbb80328312
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue May 21 15:00:32 2013 +0000

    gdb/testsuite/
    	PR testsuite/12649
    	* gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
    	racy matches.

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

Summary of changes:
 bfd/ChangeLog                                      |   48 ++
 bfd/coff-rs6000.c                                  |    4 +-
 bfd/coff64-rs6000.c                                |    3 +
 bfd/ecoff.c                                        |    4 +-
 bfd/elf32-vax.c                                    |   19 +-
 bfd/elf64-aarch64.c                                |   55 --
 bfd/elfxx-mips.c                                   |    2 +-
 bfd/format.c                                       |   22 +-
 bfd/srec.c                                         |    7 +-
 bfd/version.h                                      |    2 +-
 gdb/ChangeLog                                      |  577 ++++++++++++++++++++
 gdb/Makefile.in                                    |    5 +-
 gdb/NEWS                                           |   14 +
 gdb/acinclude.m4                                   |    2 +-
 gdb/ada-lang.c                                     |   44 ++-
 gdb/breakpoint.c                                   |   11 +-
 gdb/breakpoint.h                                   |    1 +
 gdb/c-valprint.c                                   |   24 +-
 gdb/configure                                      |  239 ++++++++-
 gdb/configure.ac                                   |   13 +-
 gdb/data-directory/Makefile.in                     |   58 ++-
 gdb/doc/ChangeLog                                  |   19 +
 gdb/doc/gdb.texinfo                                |  167 ++++++-
 gdb/dwarf2read.c                                   |  428 +++++++++++++--
 gdb/frame.c                                        |  101 +++-
 gdb/gdbserver/ChangeLog                            |   35 ++
 gdb/gdbserver/i386-low.c                           |    2 +-
 gdb/gdbserver/linux-low.c                          |  115 +++--
 gdb/gdbserver/lynx-low.c                           |   58 ++-
 gdb/mi/mi-cmd-break.c                              |  164 +++++-
 gdb/mi/mi-cmds.c                                   |    2 +
 gdb/mi/mi-cmds.h                                   |    1 +
 gdb/mi/mi-main.c                                   |    6 +-
 gdb/objfiles.c                                     |   10 +-
 gdb/objfiles.h                                     |    4 +-
 gdb/ppc-linux-nat.c                                |   19 +-
 gdb/psymtab.c                                      |   45 +-
 gdb/python/py-arch.c                               |   16 +-
 gdb/python/py-auto-load.c                          |    4 +-
 gdb/python/py-block.c                              |   19 +-
 gdb/python/py-bpevent.c                            |    3 +-
 gdb/python/py-breakpoint.c                         |   15 +-
 gdb/python/py-cmd.c                                |   79 ++-
 gdb/python/py-continueevent.c                      |    3 +-
 gdb/python/py-event.c                              |   27 +-
 gdb/python/py-event.h                              |   21 +-
 gdb/python/py-events.h                             |    3 +-
 gdb/python/py-evtregistry.c                        |   17 +-
 gdb/python/py-evts.c                               |   47 +-
 gdb/python/py-exitedevent.c                        |    3 +-
 gdb/python/py-finishbreakpoint.c                   |   25 +-
 gdb/python/py-frame.c                              |   96 ++--
 gdb/python/py-function.c                           |   27 +-
 gdb/python/py-gdb-readline.c                       |    7 +-
 gdb/python/py-inferior.c                           |  149 +++---
 gdb/python/py-infthread.c                          |   12 +-
 gdb/python/py-lazy-string.c                        |    8 +-
 gdb/python/py-newobjfileevent.c                    |    3 +-
 gdb/python/py-objfile.c                            |   12 +-
 gdb/python/py-param.c                              |   31 +-
 gdb/python/py-prettyprint.c                        |   10 +-
 gdb/python/py-progspace.c                          |   12 +-
 gdb/python/py-signalevent.c                        |    3 +-
 gdb/python/py-symbol.c                             |   82 ++--
 gdb/python/py-symtab.c                             |   36 +-
 gdb/python/py-threadevent.c                        |    3 +
 gdb/python/py-type.c                               |   64 +--
 gdb/python/py-utils.c                              |   49 ++-
 gdb/python/py-value.c                              |   21 +-
 gdb/python/python-internal.h                       |  195 +++++--
 gdb/python/python.c                                |  170 ++++--
 gdb/rs6000-aix-tdep.c                              |   88 ++--
 gdb/solib-svr4.c                                   |  183 ++++---
 gdb/solib.c                                        |   33 +-
 gdb/solib.h                                        |    2 +-
 gdb/stack.c                                        |   15 +-
 gdb/stack.h                                        |    2 +-
 gdb/symmisc.c                                      |  138 +++++
 gdb/system-gdbinit/elinos.py                       |   79 +++
 gdb/system-gdbinit/wrs-linux.py                    |   25 +
 gdb/testsuite/ChangeLog                            |   96 ++++
 gdb/testsuite/boards/remote-stdio-gdbserver.exp    |  127 +++++
 gdb/testsuite/gdb.ada/complete.exp                 |   24 +-
 gdb/testsuite/gdb.ada/float_param.exp              |   43 ++
 gdb/testsuite/gdb.ada/float_param/foo.adb          |   23 +
 gdb/testsuite/gdb.ada/float_param/pck.adb          |   35 ++
 gdb/testsuite/gdb.ada/float_param/pck.ads          |   31 +
 gdb/testsuite/gdb.base/break-probes.c              |    6 +-
 gdb/testsuite/gdb.base/break-probes.exp            |   11 +-
 .../{info-shared.c => catch-signal-fork.c}         |   60 ++-
 gdb/testsuite/gdb.base/catch-signal-fork.exp       |   43 ++
 .../gdb.base/{break-probes.c => filesym.c}         |   18 +-
 gdb/testsuite/gdb.base/filesym.exp                 |   51 ++
 gdb/testsuite/gdb.base/fixsection.c                |    4 +-
 gdb/testsuite/gdb.base/info-shared.c               |    8 +-
 gdb/testsuite/gdb.base/info-shared.exp             |   37 +-
 gdb/testsuite/gdb.base/maint.exp                   |  100 +---
 gdb/testsuite/gdb.base/watch-read.exp              |    2 -
 gdb/testsuite/gdb.cp/class2.cc                     |    1 +
 gdb/testsuite/gdb.cp/class2.exp                    |    4 +
 gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp     |   33 +-
 gdb/testsuite/gdb.dwarf2/implptrconst.exp          |    2 +-
 gdb/testsuite/gdb.dwarf2/method-ptr.exp            |    2 +-
 gdb/testsuite/gdb.dwarf2/missing-sig-type.exp      |    4 +-
 gdb/testsuite/gdb.dwarf2/nostaticblock.exp         |    2 +-
 gdb/testsuite/gdb.dwarf2/subrange.exp              |    2 +-
 gdb/testsuite/gdb.gdb/python-selftest.exp          |   30 +
 gdb/testsuite/gdb.mi/Makefile.in                   |    2 +-
 gdb/testsuite/gdb.mi/mi-dprintf.c                  |   59 ++
 gdb/testsuite/gdb.mi/mi-dprintf.exp                |  145 +++++
 gdb/testsuite/gdb.threads/wp-replication.c         |    8 +-
 gdb/testsuite/lib/dwarf.exp                        |  144 ++++--
 gdb/ui-out.c                                       |   44 ++-
 gdb/utils.h                                        |    2 +-
 gdb/varobj.c                                       |  186 ++++---
 gdb/version.in                                     |    2 +-
 gdb/windows-nat.c                                  |    2 +-
 include/elf/ChangeLog                              |    8 +
 include/elf/common.h                               |    5 +
 include/opcode/ChangeLog                           |    4 +
 include/opcode/mips.h                              |    2 +
 opcodes/ChangeLog                                  |   35 ++
 opcodes/ia64-asmtab.c                              |   10 +-
 opcodes/ia64-raw.tbl                               |    8 +-
 opcodes/ia64-waw.tbl                               |    2 +-
 opcodes/mips-opc.c                                 |   27 +-
 opcodes/ppc-dis.c                                  |    5 +-
 opcodes/ppc-opc.c                                  |  177 ++++++-
 readline/ChangeLog.gdb                             |    6 +
 readline/configure                                 |    3 +-
 readline/configure.in                              |    3 +-
 sim/arm/ChangeLog                                  |    5 +
 sim/arm/armemu.c                                   |   12 +-
 sim/testsuite/sim/arm/ChangeLog                    |    5 +
 sim/testsuite/sim/arm/movw-movt.ms                 |   53 ++
 135 files changed, 4662 insertions(+), 1268 deletions(-)
 create mode 100644 gdb/system-gdbinit/elinos.py
 create mode 100644 gdb/system-gdbinit/wrs-linux.py
 create mode 100644 gdb/testsuite/boards/remote-stdio-gdbserver.exp
 create mode 100644 gdb/testsuite/gdb.ada/float_param.exp
 create mode 100644 gdb/testsuite/gdb.ada/float_param/foo.adb
 create mode 100644 gdb/testsuite/gdb.ada/float_param/pck.adb
 create mode 100644 gdb/testsuite/gdb.ada/float_param/pck.ads
 copy gdb/testsuite/gdb.base/{info-shared.c => catch-signal-fork.c} (53%)
 create mode 100644 gdb/testsuite/gdb.base/catch-signal-fork.exp
 copy gdb/testsuite/gdb.base/{break-probes.c => filesym.c} (79%)
 create mode 100644 gdb/testsuite/gdb.base/filesym.exp
 create mode 100644 gdb/testsuite/gdb.gdb/python-selftest.exp
 create mode 100644 gdb/testsuite/gdb.mi/mi-dprintf.c
 create mode 100644 gdb/testsuite/gdb.mi/mi-dprintf.exp
 create mode 100644 sim/testsuite/sim/arm/movw-movt.ms

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 24231ca..d01e687 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,51 @@
+2013-05-23  Alan Modra  <amodra@gmail.com>
+
+	* format.c (bfd_check_format_matches): Don't match a target in
+	targ_selvecs if some other target is a better match.  If
+	targets implement match priority, fall back to the first of
+	the best matches.
+
+2013-05-22  Eric Herman  <eric@freesa.org>
+
+	PR binutils/15462
+	* elfxx-mips.c (_bfd_mips_elf_relocate_section): Warning fix.
+
+2013-05-22  Ralf Dreesen  <gamma@dreesen.net>
+
+	PR binutils/15474
+	* srec.c (srec_set_section_contents): Properly convert size
+	and offset to address when octets_per_byte is not unity.
+
+2013-05-20  Maciej W. Rozycki  <macro@linux-mips.org>
+
+	* elf32-vax.c (elf_vax_instantiate_got_entries): Only set the
+	refcount member of the gotplt_union when resetting the reference
+	count.  Adjust comment.
+
+2013-05-20  Will Newton  <will.newton@linaro.org>
+
+	* elf64-aarch64.c (elf64_aarch64_link_hash_entry): Remove
+	relocs_copied member.
+	(elf64_aarch64_link_hash_newfunc): Remove initialization of
+	relocs_copied member.
+	(elf64_aarch64_copy_indirect_symbol): Remove code to copy
+	relocs_copied member.
+
+2013-05-19  Maciej W. Rozycki  <macro@linux-mips.org>
+
+	* elf32-vax.c (elf_vax_adjust_dynamic_symbol): Convert K&R
+	function definition.
+
+2013-05-16  Cary Coutant  <ccoutant@google.com>
+
+	* ecoff.c (ecoff_link_check_archive_element): Add initializers for
+	external_ext_size and esize.
+
+2013-05-16  Tristan Gingold  <gingold@adacore.com>
+
+	* coff-rs6000.c (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_16.
+	* coff64-rs6000.c (xcoff64_reloc_type_lookup): Likewise.
+
 2013-05-15  Andreas Schwab  <schwab@suse.de>
 
 	* elf64-aarch64.c (elf_backend_default_execstack): Define to 0.
diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c
index 0945aca..aa61afb 100644
--- a/bfd/coff-rs6000.c
+++ b/bfd/coff-rs6000.c
@@ -1098,7 +1098,6 @@ reloc_howto_type xcoff_howto_table[] =
 	 0xffff,		/* src_mask */
 	 0xffff,		/* dst_mask */
 	 FALSE),		/* pcrel_offset */
-
 };
 
 void
@@ -1146,6 +1145,9 @@ _bfd_xcoff_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED,
       return &xcoff_howto_table[8];
     case BFD_RELOC_PPC_TOC16:
       return &xcoff_howto_table[3];
+    case BFD_RELOC_16:
+      /* Note that this relocation is only internally used by gas.  */
+      return &xcoff_howto_table[0xc];
     case BFD_RELOC_32:
     case BFD_RELOC_CTOR:
       return &xcoff_howto_table[0];
diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c
index 5f4a502..56a0d25 100644
--- a/bfd/coff64-rs6000.c
+++ b/bfd/coff64-rs6000.c
@@ -1826,6 +1826,9 @@ xcoff64_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED,
       return &xcoff64_howto_table[8];
     case BFD_RELOC_PPC_TOC16:
       return &xcoff64_howto_table[3];
+    case BFD_RELOC_16:
+      /* Note that this relocation is only internally used by gas.  */
+      return &xcoff64_howto_table[0xc];
     case BFD_RELOC_32:
     case BFD_RELOC_CTOR:
       return &xcoff64_howto_table[0x1c];
diff --git a/bfd/ecoff.c b/bfd/ecoff.c
index 5add50c..7bfb333 100644
--- a/bfd/ecoff.c
+++ b/bfd/ecoff.c
@@ -3561,9 +3561,9 @@ ecoff_link_check_archive_element (bfd *abfd,
   void (* const swap_ext_in) (bfd *, void *, EXTR *)
     = backend->debug_swap.swap_ext_in;
   HDRR *symhdr;
-  bfd_size_type external_ext_size;
+  bfd_size_type external_ext_size = 0;
   void * external_ext = NULL;
-  bfd_size_type esize;
+  bfd_size_type esize = 0;
   char *ssext = NULL;
   char *ext_ptr;
   char *ext_end;
diff --git a/bfd/elf32-vax.c b/bfd/elf32-vax.c
index f13ec1b..77b8e0d 100644
--- a/bfd/elf32-vax.c
+++ b/bfd/elf32-vax.c
@@ -914,9 +914,8 @@ elf_vax_gc_sweep_hook (bfd *abfd, struct bfd_link_info *info, asection *sec,
    understand.  */
 
 static bfd_boolean
-elf_vax_adjust_dynamic_symbol (info, h)
-     struct bfd_link_info *info;
-     struct elf_link_hash_entry *h;
+elf_vax_adjust_dynamic_symbol (struct bfd_link_info *info,
+			       struct elf_link_hash_entry *h)
 {
   bfd *dynobj;
   asection *s;
@@ -1263,10 +1262,10 @@ elf_vax_discard_copies (struct elf_vax_link_hash_entry *h,
 
 /* This function is called via elf_link_hash_traverse.  It looks for entries
    that have GOT or PLT (.GOT) references.  If creating a static object or a
-   shared object with -Bsymbolic, it resets the reference count back to 0
-   and sets the offset to -1 so normal PC32 relocation will be done.  If
-   creating a shared object or executable, space in the .got and .rela.got
-   will be reserved for the symbol.  */
+   shared object with -Bsymbolic, or the symbol has been forced local, then
+   it resets the reference count back to -1 so normal PC32 relocation will
+   be done.  Otherwise space in the .got and .rela.got will be reserved for
+   the symbol.  */
 
 static bfd_boolean
 elf_vax_instantiate_got_entries (struct elf_link_hash_entry *h, void * infoptr)
@@ -1291,10 +1290,8 @@ elf_vax_instantiate_got_entries (struct elf_link_hash_entry *h, void * infoptr)
       || (info->shared && info->symbolic)
       || h->forced_local)
     {
-      h->got.refcount = 0;
-      h->got.offset = (bfd_vma) -1;
-      h->plt.refcount = 0;
-      h->plt.offset = (bfd_vma) -1;
+      h->got.refcount = -1;
+      h->plt.refcount = -1;
     }
   else if (h->got.refcount > 0)
     {
diff --git a/bfd/elf64-aarch64.c b/bfd/elf64-aarch64.c
index aef472f..fe9d5b1 100644
--- a/bfd/elf64-aarch64.c
+++ b/bfd/elf64-aarch64.c
@@ -1730,26 +1730,6 @@ elf64_aarch64_mkobject (bfd *abfd)
 				  AARCH64_ELF_DATA);
 }
 
-/* The AArch64 linker needs to keep track of the number of relocs that it
-   decides to copy in check_relocs for each symbol.  This is so that
-   it can discard PC relative relocs if it doesn't need them when
-   linking with -Bsymbolic.  We store the information in a field
-   extending the regular ELF linker hash table.  */
-
-/* This structure keeps track of the number of relocs we have copied
-   for a given symbol.  */
-struct elf64_aarch64_relocs_copied
-{
-  /* Next section.  */
-  struct elf64_aarch64_relocs_copied *next;
-  /* A section in dynobj.  */
-  asection *section;
-  /* Number of relocs copied in this section.  */
-  bfd_size_type count;
-  /* Number of PC-relative relocs copied in this section.  */
-  bfd_size_type pc_count;
-};
-
 #define elf64_aarch64_hash_entry(ent) \
   ((struct elf64_aarch64_link_hash_entry *)(ent))
 
@@ -1769,9 +1749,6 @@ struct elf64_aarch64_link_hash_entry
   /* Track dynamic relocs copied for this symbol.  */
   struct elf_dyn_relocs *dyn_relocs;
 
-  /* Number of PC relative relocs copied for this symbol.  */
-  struct elf64_aarch64_relocs_copied *relocs_copied;
-
   /* Since PLT entries have variable size, we need to record the
      index into .got.plt instead of recomputing it from the PLT
      offset.  */
@@ -1950,7 +1927,6 @@ elf64_aarch64_link_hash_newfunc (struct bfd_hash_entry *entry,
   if (ret != NULL)
     {
       ret->dyn_relocs = NULL;
-      ret->relocs_copied = NULL;
       ret->got_type = GOT_UNKNOWN;
       ret->plt_got_offset = (bfd_vma) - 1;
       ret->stub_cache = NULL;
@@ -2041,37 +2017,6 @@ elf64_aarch64_copy_indirect_symbol (struct bfd_link_info *info,
       eind->dyn_relocs = NULL;
     }
 
-  if (eind->relocs_copied != NULL)
-    {
-      if (edir->relocs_copied != NULL)
-	{
-	  struct elf64_aarch64_relocs_copied **pp;
-	  struct elf64_aarch64_relocs_copied *p;
-
-	  /* Add reloc counts against the indirect sym to the direct sym
-	     list.  Merge any entries against the same section.  */
-	  for (pp = &eind->relocs_copied; (p = *pp) != NULL;)
-	    {
-	      struct elf64_aarch64_relocs_copied *q;
-
-	      for (q = edir->relocs_copied; q != NULL; q = q->next)
-		if (q->section == p->section)
-		  {
-		    q->pc_count += p->pc_count;
-		    q->count += p->count;
-		    *pp = p->next;
-		    break;
-		  }
-	      if (q == NULL)
-		pp = &p->next;
-	    }
-	  *pp = edir->relocs_copied;
-	}
-
-      edir->relocs_copied = eind->relocs_copied;
-      eind->relocs_copied = NULL;
-    }
-
   if (ind->root.type == bfd_link_hash_indirect)
     {
       /* Copy over PLT info.  */
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index fa80771..a3b50f3 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -9354,7 +9354,7 @@ _bfd_mips_elf_relocate_section (bfd *output_bfd, struct bfd_link_info *info,
       const char *name;
       bfd_vma value = 0;
       reloc_howto_type *howto;
-      bfd_boolean cross_mode_jump_p;
+      bfd_boolean cross_mode_jump_p = FALSE;
       /* TRUE if the relocation is a RELA relocation, rather than a
          REL relocation.  */
       bfd_boolean rela_relocation_p = TRUE;
diff --git a/bfd/format.c b/bfd/format.c
index e2afa3b..b8f39ca 100644
--- a/bfd/format.c
+++ b/bfd/format.c
@@ -376,6 +376,9 @@ bfd_check_format_matches (bfd *abfd, bfd_format format, char ***matching)
 	}
     }
 
+  /* We have more than one equally good match.  If any of the best
+     matches is a target in config.bfd targ_defvec or targ_selvecs,
+     choose it.  */
   if (match_count > 1)
     {
       const bfd_target * const *assoc = bfd_associated_vector;
@@ -385,7 +388,8 @@ bfd_check_format_matches (bfd *abfd, bfd_format format, char ***matching)
 	  int i = match_count;
 
 	  while (--i >= 0)
-	    if (matching_vector[i] == right_targ)
+	    if (matching_vector[i] == right_targ
+		&& right_targ->match_priority <= best_match)
 	      break;
 
 	  if (i >= 0)
@@ -396,6 +400,22 @@ bfd_check_format_matches (bfd *abfd, bfd_format format, char ***matching)
 	}
     }
 
+  /* We still have more than one equally good match, and at least some
+     of the targets support match priority.  Choose the first of the
+     best matches.  */
+  if (match_count > 1 && best_count != match_count)
+    {
+      int i;
+
+      for (i = 0; i < match_count; i++)
+	{
+	  right_targ = matching_vector[i];
+	  if (right_targ->match_priority <= best_match)
+	    break;
+	}
+      match_count = 1;
+    }
+
   /* There is way too much undoing of half-known state here.  We
      really shouldn't iterate on live bfd's.  Note that saving the
      whole bfd and restoring it would be even worse; the first thing
diff --git a/bfd/srec.c b/bfd/srec.c
index 6226773..ded9e76 100644
--- a/bfd/srec.c
+++ b/bfd/srec.c
@@ -870,6 +870,7 @@ srec_set_section_contents (bfd *abfd,
 			   file_ptr offset,
 			   bfd_size_type bytes_to_do)
 {
+  int opb = bfd_octets_per_byte (abfd);
   tdata_type *tdata = abfd->tdata.srec_data;
   srec_data_list_type *entry;
 
@@ -892,16 +893,16 @@ srec_set_section_contents (bfd *abfd,
 	 regardless of the siez of the addresses.  */
       if (S3Forced)
 	tdata->type = 3;
-      else if ((section->lma + offset + bytes_to_do - 1) <= 0xffff)
+      else if ((section->lma + (offset + bytes_to_do) / opb - 1) <= 0xffff)
 	;  /* The default, S1, is OK.  */
-      else if ((section->lma + offset + bytes_to_do - 1) <= 0xffffff
+      else if ((section->lma + (offset + bytes_to_do) / opb - 1) <= 0xffffff
 	       && tdata->type <= 2)
 	tdata->type = 2;
       else
 	tdata->type = 3;
 
       entry->data = data;
-      entry->where = section->lma + offset;
+      entry->where = section->lma + offset / opb;
       entry->size = bytes_to_do;
 
       /* Sort the records by address.  Optimize for the common case of
diff --git a/bfd/version.h b/bfd/version.h
index 4fbb51d..5c3d229 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20130515
+#define BFD_VERSION_DATE 20130523
 #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/gdb/ChangeLog b/gdb/ChangeLog
index 13bdc3d..1c21cd4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,580 @@
+2013-05-23  Joel Brobecker  <brobecker@adacore.com>
+
+	* mi/mi-cmd-break.c (mi_argv_to_format): Use xsnprintf instead
+	of sprintf.
+
+2013-05-22  Keith Seitz  <keiths@redhat.com>
+
+	* ada-lang.c (is_known_support_routine): Add explicit free of
+	'func_name' from find_frame_funname.
+	(ada_unhandled_exception_name_addr_from_raise): Add cleanups
+	for func_name from find_frame_funname.
+	* python/py-frame.c (frapy_name): Add explicit free of
+	'name' from find_frame_funname.
+	* stack.c (find_frame_funname): Add comment explaining that
+	funcp must be freed by the caller.
+	Return copy of symbol names instead of pointers.
+	(print_frame): Add a cleanup for 'funname' from
+	find_frame_funname.
+	* stack.h (find_frame_funname): Remove "const" from
+	'funname' parameter.
+
+2013-05-22  Tom Tromey  <tromey@redhat.com>
+
+	PR c++/15401:
+	* c-valprint.c (c_value_print): Use value_addr for
+	references.  Convert back to reference type with value_ref.
+
+2013-05-22  Eli Zaretskii  <eliz@gnu.org>
+
+	* windows-nat.c (handle_unload_dll): Don't call solib_add for the
+	unloaded DLL, it will be done by handle_solib_event.  See
+	http://sourceware.org/ml/gdb-patches/2013-05/msg00713.html for the
+	details.
+
+2013-05-22  Phil Muldoon  <pmuldoon@redhat.com>
+
+	* ui-out.c: Create typedef ui_out_level_p and define vector
+	operations for that type.
+	(struct ui_out): Use a vector instead of an array.
+	(current_level): Return level from a vector.
+	(push_level): Create a level in a vector.
+	(pop_level): Delete a level in a vector.
+	(ui_out_new): Create initial level zero level, and store in a
+	vector.
+	(ui_out_destroy): Add vector cleanup.
+
+2013-05-22  Pedro Alves  <palves@redhat.com>
+
+	* python/python-internal.h (gdb_Py_DECREF): Tag with
+	"ARI: editCase function".
+
+2013-05-21  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+	* solib-svr4.c (svr4_free_so): Protect against NULL dereference.
+
+2013-05-21  Pedro Alves  <palves@redhat.com>
+
+	* python/py-prettyprint.c (apply_val_pretty_printer): Check
+	whether PRINTER is NULL before installing a Py_DECREF cleanup.
+	* python/py-utils.c (py_decref): Don't check for NULL before
+	calling Py_DECREF.
+
+2013-05-21  Pedro Alves  <palves@redhat.com>
+
+	* python/py-utils.c (py_decref): Remove extra braces.
+	(gdb_pymodule_addobject): Remove extra braces.
+	* python-internal.h (gdb_Py_DECREF): New static inline function.
+	(Py_DECREF): Redefine as calling gdb_Py_DECREF.
+
+2013-05-21  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+	* breakpoints.c (detach_breakpoints): Do not
+	detach breakpoints locations with loc_type bp_loc_other.
+
+2013-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	Workaround Python 2.6.
+	* python/py-utils.c (gdb_pymodule_addobject): Wrap Py_DECREF into
+	a block.
+
+2013-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	Code cleanup: constification.
+	* solib.c (solib_ops): Make return type and ops variable type const.
+	(set_solib_ops): Make the new_ops parameter and ops variable const.
+	(solib_find, solib_map_sections, clear_so, free_so, update_solib_list)
+	(solib_add, solib_keep_data_in_core, clear_solib)
+	(solib_create_inferior_hook, in_solib_dynsym_resolve_code)
+	(reload_shared_libraries, solib_global_lookup): Make the ops variable
+	const.
+	* solib.h (set_solib_ops): Make the new_ops parameter const.
+
+2013-05-21  Joel Brobecker  <brobecker@adacore.com>
+
+	* data-directory/Makefile.in (SYSTEM_GDBINIT_SRCDIR): New
+	variable.
+	(VPATH): Add SYSTEM_GDBINIT_SRCDIR.
+	(SYSTEM_GDBINIT_DIR, SYSTEM_GDBINIT_INSTALL_DIR)
+	(SYSTEM_GDBINIT_FILES): New variables.
+	(all): Add stamp-system-gdbinit.
+	(stamp-system-gdbinit): New rule.
+	(clean-system-gdbinit, install-system-gdbinit)
+	(uninstall-system-gdbinit): New rules.  Make them .PHONY.
+	(install-only): Add dependency on install-system-gdbinit.
+	(uninstall): Add dependency on uninstall-system-gdbinit.
+	(clean): Add dependency on clean-system-gdbinit.
+	* system-gdbinit/elinos.py: New file.
+	* system-gdbinit/wrs-linux.py: New file.
+
+2013-05-21  Joel Brobecker  <brobecker@adacore.com>
+
+	* ada-lang.c (old_renaming_is_invisible): Fix cleanup leak.
+
+2013-05-21  Hui Zhu  <hui@codesourcery.com>
+
+	* breakpoint.c (dprintf_breakpoint_ops): Remove its static.
+	* breakpoint.h (dprintf_breakpoint_ops): Add extern.
+	* mi/mi-cmd-break.c (ctype.h): New include.
+	(gdb_obstack.h): New include.
+	(mi_argv_to_format, mi_cmd_break_insert_1): New.
+	(mi_cmd_break_insert): Call mi_cmd_break_insert_1.
+	(mi_cmd_dprintf_insert): New.
+	* mi/mi-cmds.c (mi_cmds): Add "dprintf-insert".
+	* mi/mi-cmds.h (mi_cmd_dprintf_insert): New extern.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+	* python/py-prettyprint.c (search_pp_list): Decref 'attr'.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+	* python/py-value.c (valpy_get_dynamic_type): Simplify
+	dynamic_type assignment.  Use Py_XINCREF.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+	* python/py-type.c (typy_fields): Unconditionally decref 'r'.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+	* python/py-frame.c (frapy_older, frapy_newer, gdbpy_newest_frame)
+	(gdbpy_selected_frame): Move object-construction code
+	out of TRY_CATCH.
+
+2013-05-20  Tom Tromey  <tromey@redhat.com>
+
+	* python/py-arch.c (gdbpy_initialize_arch): Use
+	gdb_pymodule_addobject.
+	* python/py-block.c (gdbpy_initialize_blocks): Use
+	gdb_pymodule_addobject.
+	* python/py-breakpoint.c (gdbpy_initialize_breakpoints): Use
+	gdb_pymodule_addobject.
+	* python/py-cmd.c (gdbpy_initialize_breakpoints): Use
+	gdb_pymodule_addobject.


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


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

* [SCM]  gbenson/rtld-probes: Merge remote branch 'gdb/master' into gbenson/rtld-probes
@ 2013-05-15 12:37 gary
  0 siblings, 0 replies; 5+ messages in thread
From: gary @ 2013-05-15 12:37 UTC (permalink / raw)
  To: archer-commits

The branch, gbenson/rtld-probes has been updated
       via  e68b85cf908240cf301f9b627ed02d716e629c29 (commit)
       via  1a3bc74ef88ffa00a433710c22e25129021b57d2 (commit)
       via  78762a4af473e619e3d2b4c545f544ab887d5b6b (commit)
       via  7a6238d05b50241a569ca445dfa618c3cd3a638c (commit)
       via  a91d830489296a37cc62b9cedff6072b88a8e9fe (commit)
       via  a4c8dde8904ab79f98b6450b1b8deb4c4c32fa7f (commit)
       via  d3184353b6f0f57269d312135c4073c3ebeea74a (commit)
       via  405f66c46796dbbc453d77ddd8472899c7e0359e (commit)
       via  b5ae236fa445289bccdfcb131df21dc1f7512567 (commit)
       via  a6b1ebe618d1e0e0a01cbeecd11c227469eb7ce9 (commit)
       via  100be925a50e9bc2634749aef30454ef91892fae (commit)
       via  f34f21507d436eccdc711811486bdb2a3fff0fd7 (commit)
       via  499e1aa537ff95059f94e3578b46bad03476f81d (commit)
       via  9ebb53df62142e78f45f2038d1abd6cc50140cf3 (commit)
      from  32774de1333ab48c13ad61ff0869292df26ec1b0 (commit)

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

- Log -----------------------------------------------------------------
commit e68b85cf908240cf301f9b627ed02d716e629c29
Merge: 1a3bc74 78762a4
Author: Gary Benson <gbenson@redhat.com>
Date:   Wed May 15 13:36:41 2013 +0100

    Merge remote branch 'gdb/master' into gbenson/rtld-probes

commit 1a3bc74ef88ffa00a433710c22e25129021b57d2
Author: Gary Benson <gbenson@redhat.com>
Date:   Wed May 15 13:33:55 2013 +0100

    More fine-grained section map update inhibiting

commit 78762a4af473e619e3d2b4c545f544ab887d5b6b
Author: mmetzger <mmetzger>
Date:   Wed May 15 07:04:11 2013 +0000

    The "record goto" command scans its arguments for "begin", "start", or "end".
    Turn those into sub-commands.
    
    Document the "record goto" command.

commit 7a6238d05b50241a569ca445dfa618c3cd3a638c
Author: Andreas Schwab <schwab@suse.de>
Date:   Wed May 15 06:51:18 2013 +0000

    * elf64-aarch64.c (elf_backend_default_execstack): Define to 0.

commit a91d830489296a37cc62b9cedff6072b88a8e9fe
Author: sekanath <sekanath>
Date:   Wed May 15 05:06:23 2013 +0000

    gas/
    * i386-gen.c (cpu_flag_init): Add CpuFSGSBase in CPU_BDVER3_FLAGS.
    * i386-init.h: Regenerated.

commit a4c8dde8904ab79f98b6450b1b8deb4c4c32fa7f
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed May 15 00:00:32 2013 +0000

    *** empty log message ***

commit d3184353b6f0f57269d312135c4073c3ebeea74a
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed May 15 00:00:06 2013 +0000

    daily update

commit 405f66c46796dbbc453d77ddd8472899c7e0359e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue May 14 20:41:45 2013 +0000

    gdb/
    	* linespec.c (convert_linespec_to_sals): New comment for
    	SOURCE_FILENAME assignment.

commit b5ae236fa445289bccdfcb131df21dc1f7512567
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue May 14 20:39:12 2013 +0000

    gdb/
    	* cleanups.c (restore_my_cleanups): Replace gdb_assert by
    	internal_warning.

commit a6b1ebe618d1e0e0a01cbeecd11c227469eb7ce9
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue May 14 20:36:12 2013 +0000

    	* eval.c (parse_and_eval_long): Make 'exp' const.
    	* value.h (parse_and_eval_long): Update.

commit 100be925a50e9bc2634749aef30454ef91892fae
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue May 14 20:35:23 2013 +0000

    	* ui-file.c (gdb_fopen): Make arguments const.
    	* ui-file.h (gdb_fopen): Make arguments const.

commit f34f21507d436eccdc711811486bdb2a3fff0fd7
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue May 14 20:33:36 2013 +0000

    	* remote.c (remote_set_trace_notes): Make arguments const.
    	* target.c (update_current_target): Update cast.
    	* target.h (to_set_trace_notes): Make arguments const.

commit 499e1aa537ff95059f94e3578b46bad03476f81d
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue May 14 20:32:14 2013 +0000

    	* go32-nat.c (go32_terminal_info): Make 'args' const.
    	* inferior.h (child_terminal_info): Update.
    	* inflow.c (child_terminal_info): Make 'args' const.
    	* target.c (default_terminal_info): Make 'args' const.
    	(debug_to_terminal_save_ours): Likewise.
    	* target.h (struct target_ops) <to_terminal_info>: Make argument
    	const.

commit 9ebb53df62142e78f45f2038d1abd6cc50140cf3
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue May 14 20:30:48 2013 +0000

    	* gcore.c (create_gcore_bfd): Make 'filename' const.
    	* gcore.h (create_gcore_bfd): Make 'filename' const.
    	* record-full.c (record_full_save): Make 'recfilename' const.
    	* target.c (target_save_record): Make 'filename' const.
    	* target.h (struct target_ops) <to_save_record>: Make 'filename'
    	const.
    	(target_save_record): Likewise.

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

Summary of changes:
 bfd/ChangeLog       |    4 +++
 bfd/elf64-aarch64.c |    1 +
 bfd/version.h       |    2 +-
 gdb/ChangeLog       |   56 +++++++++++++++++++++++++++++++++++++++++++++++++++
 gdb/cleanups.c      |    5 +++-
 gdb/doc/ChangeLog   |    5 ++++
 gdb/doc/gdb.texinfo |   17 +++++++++++++++
 gdb/eval.c          |    2 +-
 gdb/gcore.c         |    2 +-
 gdb/gcore.h         |    2 +-
 gdb/go32-nat.c      |    2 +-
 gdb/inferior.h      |    2 +-
 gdb/inflow.c        |    2 +-
 gdb/linespec.c      |    4 +++
 gdb/objfiles.c      |   56 +++++++++++++++++++++++++++-----------------------
 gdb/record-full.c   |    4 +-
 gdb/record.c        |   54 ++++++++++++++++++++++++++++++++++++------------
 gdb/remote.c        |    3 +-
 gdb/target.c        |   12 ++++------
 gdb/target.h        |    9 ++++---
 gdb/ui-file.c       |    2 +-
 gdb/ui-file.h       |    2 +-
 gdb/value.h         |    2 +-
 gdb/version.in      |    2 +-
 opcodes/ChangeLog   |    5 ++++
 opcodes/i386-gen.c  |    2 +-
 opcodes/i386-init.h |    2 +-
 27 files changed, 193 insertions(+), 68 deletions(-)

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index eb254b7..24231ca 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2013-05-15  Andreas Schwab  <schwab@suse.de>
+
+	* elf64-aarch64.c (elf_backend_default_execstack): Define to 0.
+
 2013-05-10  Joel Brobecker  <brobecker@adacore.com>
 
 	* coffcode.h (styp_to_sec_flags) [RS6000COFF_C]: Add handling
diff --git a/bfd/elf64-aarch64.c b/bfd/elf64-aarch64.c
index e3cae95..aef472f 100644
--- a/bfd/elf64-aarch64.c
+++ b/bfd/elf64-aarch64.c
@@ -7181,6 +7181,7 @@ const struct elf_size_info elf64_aarch64_size_info =
 #define elf_backend_may_use_rela_p     1
 #define elf_backend_default_use_rela_p 1
 #define elf_backend_got_header_size (GOT_ENTRY_SIZE * 3)
+#define elf_backend_default_execstack  0
 
 #undef  elf_backend_obj_attrs_section
 #define elf_backend_obj_attrs_section		".ARM.attributes"
diff --git a/bfd/version.h b/bfd/version.h
index 89b903a..4fbb51d 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20130514
+#define BFD_VERSION_DATE 20130515
 #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/gdb/ChangeLog b/gdb/ChangeLog
index c978f0b..7c6e1f0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,59 @@
+2013-05-15  Markus Metzger  <markus.t.metzger@intel.com>
+
+	* record.c (record_goto_cmdlist): New.
+	(cmd_record_goto): Split into this ...
+	(cmd_record_goto_begin): ... this
+	(cmd_record_goto_end): ... and this.
+	(_initialize_record): Change "record goto" to prefix command.
+	Add commands for "record goto begin" and "record goto end".
+	Add an alias for "record goto start" to "record goto begin".
+
+2013-05-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* linespec.c (convert_linespec_to_sals): New comment for
+	SOURCE_FILENAME assignment.
+
+2013-05-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* cleanups.c (restore_my_cleanups): Replace gdb_assert by
+	internal_warning.
+
+2013-05-14  Tom Tromey  <tromey@redhat.com>
+
+	* eval.c (parse_and_eval_long): Make 'exp' const.
+	* value.h (parse_and_eval_long): Update.
+
+2013-05-14  Tom Tromey  <tromey@redhat.com>
+
+	* ui-file.c (gdb_fopen): Make arguments const.
+	* ui-file.h (gdb_fopen): Make arguments const.
+
+2013-05-14  Tom Tromey  <tromey@redhat.com>
+
+	* remote.c (remote_set_trace_notes): Make arguments const.
+	* target.c (update_current_target): Update cast.
+	* target.h (to_set_trace_notes): Make arguments const.
+
+2013-05-14  Tom Tromey  <tromey@redhat.com>
+
+	* go32-nat.c (go32_terminal_info): Make 'args' const.
+	* inferior.h (child_terminal_info): Update.
+	* inflow.c (child_terminal_info): Make 'args' const.
+	* target.c (default_terminal_info): Make 'args' const.
+	(debug_to_terminal_save_ours): Likewise.
+	* target.h (struct target_ops) <to_terminal_info>: Make argument
+	const.
+
+2013-05-13  Tom Tromey  <tromey@redhat.com>
+
+	* gcore.c (create_gcore_bfd): Make 'filename' const.
+	* gcore.h (create_gcore_bfd): Make 'filename' const.
+	* record-full.c (record_full_save): Make 'recfilename' const.
+	* target.c (target_save_record): Make 'filename' const.
+	* target.h (struct target_ops) <to_save_record>: Make 'filename'
+	const.
+	(target_save_record): Likewise.
+
 2013-05-13  Tom Tromey  <tromey@redhat.com>
 
     	PR gdb/15338:
diff --git a/gdb/cleanups.c b/gdb/cleanups.c
index 02db9f5..898e526 100644
--- a/gdb/cleanups.c
+++ b/gdb/cleanups.c
@@ -261,7 +261,10 @@ save_final_cleanups (void)
 static void
 restore_my_cleanups (struct cleanup **pmy_chain, struct cleanup *chain)
 {
-  gdb_assert (*pmy_chain == SENTINEL_CLEANUP);
+  if (*pmy_chain != SENTINEL_CLEANUP)
+    internal_warning (__FILE__, __LINE__,
+		      _("restore_my_cleanups has found a stale cleanup"));
+
   *pmy_chain = chain;
 }
 
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 908fbb4..b14e17a 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2013-05-15  Markus Metzger  <markus.t.metzger@intel.com>
+
+	* gdb.texinfo (Process Record and Replay): Document the
+	"record goto" command and its sub-commands.
+
 2013-05-10 Phil Muldoon  <pmuldoon@redhat.com>
 
 	* gdb.texinfo (Backtrace): Add "no-filter" argument.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 1869d74..02c2408 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -6209,6 +6209,23 @@ usual ``live'' debugging of the process from that state.
 When the inferior process exits, or @value{GDBN} detaches from it,
 process record and replay target will automatically stop itself.
 
+@kindex record goto
+@item record goto
+Go to a specific location in the execution log.  There are several
+ways to specify the location to go to:
+
+@table @code
+@item record goto begin
+@itemx record goto start
+Go to the beginning of the execution log.
+
+@item record goto end
+Go to the end of the execution log.
+
+@item record goto @var{n}
+Go to instruction number @var{n} in the execution log.
+@end table
+
 @kindex record save
 @item record save @var{filename}
 Save the execution log to a file @file{@var{filename}}.
diff --git a/gdb/eval.c b/gdb/eval.c
index cf1fda9..539489f 100644
--- a/gdb/eval.c
+++ b/gdb/eval.c
@@ -91,7 +91,7 @@ parse_and_eval_address (const char *exp)
 /* Like parse_and_eval_address, but treats the value of the expression
    as an integer, not an address, returns a LONGEST, not a CORE_ADDR.  */
 LONGEST
-parse_and_eval_long (char *exp)
+parse_and_eval_long (const char *exp)
 {
   struct expression *expr = parse_expression (exp);
   LONGEST retval;
diff --git a/gdb/gcore.c b/gdb/gcore.c
index 1d1c20f..620be54 100644
--- a/gdb/gcore.c
+++ b/gdb/gcore.c
@@ -49,7 +49,7 @@ static int gcore_memory_sections (bfd *);
    Open a new bfd core file for output, and return the handle.  */
 
 bfd *
-create_gcore_bfd (char *filename)
+create_gcore_bfd (const char *filename)
 {
   bfd *obfd = gdb_bfd_openw (filename, default_gcore_target ());
 
diff --git a/gdb/gcore.h b/gdb/gcore.h
index 8d2e8b6..0f67a1e 100644
--- a/gdb/gcore.h
+++ b/gdb/gcore.h
@@ -20,7 +20,7 @@
 #if !defined (GCORE_H)
 #define GCORE_H 1
 
-extern bfd *create_gcore_bfd (char *filename);
+extern bfd *create_gcore_bfd (const char *filename);
 extern void write_gcore_file (bfd *obfd);
 extern bfd *load_corefile (char *filename, int from_tty);
 
diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c
index ea6d1ca..0d9bb9d 100644
--- a/gdb/go32-nat.c
+++ b/gdb/go32-nat.c
@@ -876,7 +876,7 @@ go32_terminal_init (void)
 }
 
 static void
-go32_terminal_info (char *args, int from_tty)
+go32_terminal_info (const char *args, int from_tty)
 {
   printf_unfiltered ("Inferior's terminal is in %s mode.\n",
 		     !inf_mode_valid
diff --git a/gdb/inferior.h b/gdb/inferior.h
index 196d033..2a5770d 100644
--- a/gdb/inferior.h
+++ b/gdb/inferior.h
@@ -175,7 +175,7 @@ extern void default_print_registers_info (struct gdbarch *gdbarch,
 					  struct frame_info *frame,
 					  int regnum, int all);
 
-extern void child_terminal_info (char *, int);
+extern void child_terminal_info (const char *, int);
 
 extern void term_info (char *, int);
 
diff --git a/gdb/inflow.c b/gdb/inflow.c
index 5146b3a..79a99d1 100644
--- a/gdb/inflow.c
+++ b/gdb/inflow.c
@@ -563,7 +563,7 @@ term_info (char *arg, int from_tty)
 }
 
 void
-child_terminal_info (char *args, int from_tty)
+child_terminal_info (const char *args, int from_tty)
 {
   struct inferior *inf;
   struct terminal_info *tinfo;
diff --git a/gdb/linespec.c b/gdb/linespec.c
index 1c7a7a0..989c8d2 100644
--- a/gdb/linespec.c
+++ b/gdb/linespec.c
@@ -2059,6 +2059,10 @@ convert_linespec_to_sals (struct linespec_state *state, linespec_p ls)
 	  {
 	    const char *fullname = symtab_to_fullname (state->default_symtab);
 
+	    /* It may be more appropriate to keep DEFAULT_SYMTAB in its symtab
+	       form so that displaying SOURCE_FILENAME can follow the current
+	       FILENAME_DISPLAY_STRING setting.  But as it is used only rarely
+	       it has been kept for code simplicity only in absolute form.  */
 	    ls->source_filename = xstrdup (fullname);
 	  }
     }
diff --git a/gdb/objfiles.c b/gdb/objfiles.c
index 6378339..3af1064 100644
--- a/gdb/objfiles.c
+++ b/gdb/objfiles.c
@@ -67,11 +67,17 @@ struct objfile *rt_common_objfile;	/* For runtime common symbols */
 
 struct objfile_pspace_info
 {
-  int objfiles_changed_p;
   struct obj_section **sections;
   int num_sections;
 
-  /* Nonzero if section map updates should be inhibited.  */
+  /* Nonzero if object files have been added since the section map
+     was last updated.  */
+  int new_objfiles_available;
+
+  /* Nonzero if the section map MUST be updated before use.  */
+  int section_map_dirty;
+
+  /* Nonzero if section map updates should be inhibited if possible.  */
   int inhibit_updates;
 };
 
@@ -320,7 +326,7 @@ allocate_objfile (bfd *abfd, int flags)
   objfile->flags |= flags;
 
   /* Rebuild section map next time we need it.  */
-  get_objfile_pspace_data (objfile->pspace)->objfiles_changed_p = 1;
+  get_objfile_pspace_data (objfile->pspace)->new_objfiles_available = 1;
 
   return objfile;
 }
@@ -649,8 +655,7 @@ free_objfile (struct objfile *objfile)
   obstack_free (&objfile->objfile_obstack, 0);
 
   /* Rebuild section map next time we need it.  */
-  gdb_assert (!get_objfile_pspace_data (objfile->pspace)->inhibit_updates);
-  get_objfile_pspace_data (objfile->pspace)->objfiles_changed_p = 1;
+  get_objfile_pspace_data (objfile->pspace)->section_map_dirty = 1;
 
   xfree (objfile);
 }
@@ -830,7 +835,7 @@ objfile_relocate1 (struct objfile *objfile,
   }
 
   /* Rebuild section map next time we need it.  */
-  get_objfile_pspace_data (objfile->pspace)->objfiles_changed_p = 1;
+  get_objfile_pspace_data (objfile->pspace)->section_map_dirty = 1;
 
   /* Update the table in exec_ops, used to read memory.  */
   ALL_OBJFILE_OSECTIONS (objfile, s)
@@ -1295,11 +1300,14 @@ static void
 update_section_map (struct program_space *pspace,
 		    struct obj_section ***pmap, int *pmap_size)
 {
+  struct objfile_pspace_info *pspace_info;
   int alloc_size, map_size, i;
   struct obj_section *s, **map;
   struct objfile *objfile;
 
-  gdb_assert (get_objfile_pspace_data (pspace)->objfiles_changed_p != 0);
+  pspace_info = get_objfile_pspace_data (current_program_space);
+  gdb_assert (pspace_info->section_map_dirty != 0
+	      || pspace_info->new_objfiles_available != 0);
 
   map = *pmap;
   xfree (map);
@@ -1355,21 +1363,6 @@ bsearch_cmp (const void *key, const void *elt)
   return 1;
 }
 
-static void
-update_space_info_sections (struct objfile_pspace_info *pspace_info)
-{
-  if (pspace_info->objfiles_changed_p && !pspace_info->inhibit_updates)
-    {
-      update_section_map (current_program_space,
-			  &pspace_info->sections,
-			  &pspace_info->num_sections);
-
-      /* Don't need updates to section map until objfiles are added,
-         removed or relocated.  */
-      pspace_info->objfiles_changed_p = 0;
-    }
-}
-
 /* Returns a section whose range includes PC or NULL if none found.   */
 
 struct obj_section *
@@ -1384,7 +1377,19 @@ find_pc_section (CORE_ADDR pc)
     return s;
 
   pspace_info = get_objfile_pspace_data (current_program_space);
-  update_space_info_sections (pspace_info);
+  if (pspace_info->section_map_dirty
+      || (pspace_info->new_objfiles_available
+	  && !pspace_info->inhibit_updates))
+    {
+      update_section_map (current_program_space,
+			  &pspace_info->sections,
+			  &pspace_info->num_sections);
+
+      /* Don't need updates to section map until objfiles are added,
+         removed or relocated.  */
+      pspace_info->new_objfiles_available = 0;
+      pspace_info->section_map_dirty = 0;
+    }
 
   /* The C standard (ISO/IEC 9899:TC2) requires the BASE argument to
      bsearch be non-NULL.  */
@@ -1424,14 +1429,14 @@ in_plt_section (CORE_ADDR pc, char *name)
 }
 \f
 
-/* Set objfiles_changed_p so section map will be rebuilt next time it
+/* Set section_map_dirty so section map will be rebuilt next time it
    is used.  Called by reread_symbols.  */
 
 void
 objfiles_changed (void)
 {
   /* Rebuild section map next time we need it.  */
-  get_objfile_pspace_data (current_program_space)->objfiles_changed_p = 1;
+  get_objfile_pspace_data (current_program_space)->section_map_dirty = 1;
 }
 
 /* See comments in objfiles.h.  */
@@ -1439,7 +1444,6 @@ objfiles_changed (void)
 void
 inhibit_section_map_updates (void)
 {
-  update_space_info_sections (get_objfile_pspace_data (current_program_space));
   get_objfile_pspace_data (current_program_space)->inhibit_updates = 1;
 }
 
diff --git a/gdb/record-full.c b/gdb/record-full.c
index aa3ad85..3a8d326 100644
--- a/gdb/record-full.c
+++ b/gdb/record-full.c
@@ -251,7 +251,7 @@ static void
 
 static void record_full_goto_insn (struct record_full_entry *entry,
 				   enum exec_direction_kind dir);
-static void record_full_save (char *recfilename);
+static void record_full_save (const char *recfilename);
 
 /* Alloc and free functions for record_full_reg, record_full_mem, and
    record_full_end entries.  */
@@ -2632,7 +2632,7 @@ record_full_save_cleanups (void *data)
    format, with an extra section for our data.  */
 
 static void
-record_full_save (char *recfilename)
+record_full_save (const char *recfilename)
 {
   struct record_full_entry *cur_record_full_list;
   uint32_t magic;
diff --git a/gdb/record.c b/gdb/record.c
index 76d9fd2..cbbe365 100644
--- a/gdb/record.c
+++ b/gdb/record.c
@@ -48,6 +48,7 @@ static unsigned int record_call_history_size = 10;
 static unsigned int record_call_history_size_setshow_var;
 
 struct cmd_list_element *record_cmdlist = NULL;
+struct cmd_list_element *record_goto_cmdlist = NULL;
 struct cmd_list_element *set_record_cmdlist = NULL;
 struct cmd_list_element *show_record_cmdlist = NULL;
 struct cmd_list_element *info_record_cmdlist = NULL;
@@ -314,23 +315,39 @@ cmd_record_save (char *args, int from_tty)
 void
 cmd_record_goto (char *arg, int from_tty)
 {
-  require_record_target ();
+  ULONGEST insn;
 
   if (arg == NULL || *arg == '\0')
     error (_("Command requires an argument (insn number to go to)."));
 
-  if (strncmp (arg, "start", strlen ("start")) == 0
-      || strncmp (arg, "begin", strlen ("begin")) == 0)
-    target_goto_record_begin ();
-  else if (strncmp (arg, "end", strlen ("end")) == 0)
-    target_goto_record_end ();
-  else
-    {
-      ULONGEST insn;
+  insn = parse_and_eval_long (arg);
 
-      insn = parse_and_eval_long (arg);
-      target_goto_record (insn);
-    }
+  require_record_target ();
+  target_goto_record (insn);
+}
+
+/* The "record goto begin" command.  */
+
+static void
+cmd_record_goto_begin (char *arg, int from_tty)
+{
+  if (arg != NULL && *arg != '\0')
+    error (_("Junk after argument: %s."), arg);
+
+  require_record_target ();
+  target_goto_record_begin ();
+}
+
+/* The "record goto end" command.  */
+
+static void
+cmd_record_goto_end (char *arg, int from_tty)
+{
+  if (arg != NULL && *arg != '\0')
+    error (_("Junk after argument: %s."), arg);
+
+  require_record_target ();
+  target_goto_record_end ();
 }
 
 /* Read an instruction number from an argument string.  */
@@ -751,10 +768,19 @@ Default filename is 'gdb_record.<process_id>'."),
            &record_cmdlist);
   add_alias_cmd ("s", "stop", class_obscure, 1, &record_cmdlist);
 
-  add_cmd ("goto", class_obscure, cmd_record_goto, _("\
+  add_prefix_cmd ("goto", class_obscure, cmd_record_goto, _("\
 Restore the program to its state at instruction number N.\n\
 Argument is instruction number, as shown by 'info record'."),
-	   &record_cmdlist);
+		  &record_goto_cmdlist, "record goto ", 1, &record_cmdlist);
+
+  add_cmd ("begin", class_obscure, cmd_record_goto_begin,
+	   _("Go to the beginning of the execution log."),
+	   &record_goto_cmdlist);
+  add_alias_cmd ("start", "begin", class_obscure, 1, &record_goto_cmdlist);
+
+  add_cmd ("end", class_obscure, cmd_record_goto_end,
+	   _("Go to the end of the execution log."),
+	   &record_goto_cmdlist);
 
   add_cmd ("instruction-history", class_obscure, cmd_record_insn_history, _("\
 Print disassembled instructions stored in the execution log.\n\
diff --git a/gdb/remote.c b/gdb/remote.c
index d6e5522..e1cf8a4 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -11142,7 +11142,8 @@ remote_set_trace_buffer_size (LONGEST val)
 }
 
 static int


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


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

end of thread, other threads:[~2013-07-04 14:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-14 13:15 [SCM] gbenson/rtld-probes: Merge remote branch 'gdb/master' into gbenson/rtld-probes gary
2013-05-15 12:37 gary
2013-05-23 11:52 gary
2013-06-06  9:06 gary
2013-07-04 14:29 gary

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