public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
From: pmuldoon@sourceware.org
To: archer-commits@sourceware.org
Subject: [SCM]  archer-pmuldoon-python-backtrace: Merge remote-tracking branch 'gdb/master' into archer-pmuldoon-python-backtrace
Date: Mon, 25 Jun 2012 17:43:00 -0000	[thread overview]
Message-ID: <20120625174319.28503.qmail@sourceware.org> (raw)

The branch, archer-pmuldoon-python-backtrace has been updated
       via  37f49ab0a4aa78db0a115bf706ae8e875853d794 (commit)
       via  1522aebf8d13fbec0e9578715bb408d3697983fa (commit)
       via  1a6c92d76cb83c8bda90dde2327f44f1b94d1f9d (commit)
       via  01d4295eeaef0b3034a6452625c8224ed14093c6 (commit)
       via  871539d8b8cde156587d078503dcae07de8bed43 (commit)
       via  484a083486cc8cc0e105c51486bf176b9d8a4c7d (commit)
       via  754c7c289ed48b3d2a0010d0e47d0207ed796e86 (commit)
       via  08667985d067f25b578f50eb787d85986e8cfd76 (commit)
       via  8f0a87176c4a104d0a2bf14e77a39e463b3707b9 (commit)
       via  ab46e670dc678a8aec1ca01a767d807406754e25 (commit)
       via  dc913d9ad2766103977b56ba8c22523a93d141b6 (commit)
       via  b0d913703657f900acc45f294d2539af88b3ed7a (commit)
       via  519c54ac498a3d680c811ae16fd2ea9642a8019d (commit)
       via  e4ce7bce4a9957a0aef2bda5ae6c819cb9bb9cdc (commit)
       via  314628aa40121835b9dab7cdd4b15310cd3eec87 (commit)
       via  d9c088109447c868461ac09645183bf8fc62d0ca (commit)
       via  a1d0f651d0fe8d3cd326fa60e9ae42b7dfd4aa24 (commit)
       via  6c959f9c0b1a273bc195c0852c05ec1741278134 (commit)
       via  2ff914f3e09bf0cbfd8168da0d1b9d0743ff391d (commit)
       via  bdbd9758806ed855af89244870fdc52cf3ff09bc (commit)
       via  29bbd3eb50a8440c05097e6e2b4f0e6178a498dc (commit)
       via  9d725a0777c18abe82207d8887a51ef441fab712 (commit)
       via  925f597d3f2822dac8848dad8e7ca052fb52209b (commit)
       via  682ebe3bf9d9b17cdc2a78888ee3faadc6b958d0 (commit)
       via  631afecfe38ebb44d555a30ec66dcfcbc88e3472 (commit)
       via  7be446bf360cfd1343622339545e460546d7816f (commit)
       via  7328ff1b15ebbbcdb9bf108d12ae34439eefb4fc (commit)
       via  0a3a829157a83c7d2361671ac9e91f803e4be2e5 (commit)
       via  3bbaae891f7b49604360aaed6368894f46426cad (commit)
       via  9e62ed256f7956cc19c70476a2c881752409721e (commit)
      from  95041c461af676b94e1230bc319b4fe937740b07 (commit)

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

- Log -----------------------------------------------------------------
commit 37f49ab0a4aa78db0a115bf706ae8e875853d794
Merge: 95041c4 1522aeb
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Mon Jun 25 18:42:51 2012 +0100

    Merge remote-tracking branch 'gdb/master' into archer-pmuldoon-python-backtrace

commit 1522aebf8d13fbec0e9578715bb408d3697983fa
Author: eager <eager>
Date:   Mon Jun 25 16:53:19 2012 +0000

    PR14291:  KeyboardInterrupt not caught for Python output

commit 1a6c92d76cb83c8bda90dde2327f44f1b94d1f9d
Author: mgretton <mgretton>
Date:   Mon Jun 25 12:56:17 2012 +0000

    2012-06-25  Greta Yorsh  <greta.yorsh@arm.com>
    
    	* gdb/testsuite/gdb.arch/arm-disp-step.S: Fix use of .global directives.

commit 01d4295eeaef0b3034a6452625c8224ed14093c6
Author: mgretton <mgretton>
Date:   Mon Jun 25 12:32:42 2012 +0000

    2012-06-25  Greta Yorsh  <greta.yorsh@arm.com>
    
    	* gdb/arm-tdep.c (arm_in_function_epilogue_p): Recognize POP with a single
    	register as a stack alignment in ARM mode.

commit 871539d8b8cde156587d078503dcae07de8bed43
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon Jun 25 00:00:32 2012 +0000

    *** empty log message ***

commit 484a083486cc8cc0e105c51486bf176b9d8a4c7d
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Jun 25 00:00:05 2012 +0000

    daily update

commit 754c7c289ed48b3d2a0010d0e47d0207ed796e86
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Jun 24 09:12:31 2012 +0000

    gdb/
    	Update gnulib to GIT commit a39f53ccb70a613e647e1019fb4c63645220267e.
    	* gnulib/config.in: Regenerate.
    	* gnulib/configure: Likewise.
    	* gnulib/import/m4/extensions.m4: Update it.
    	* gnulib/import/m4/gnulib-common.m4: Likewise.
    	* gnulib/import/m4/memmem.m4: Likewise.
    	* gnulib/import/m4/mmap-anon.m4: Likewise.
    	* gnulib/import/m4/multiarch.m4: Likewise.
    	* gnulib/import/stdint.in.h: Likewise.

commit 08667985d067f25b578f50eb787d85986e8cfd76
Author: qiyao <qiyao>
Date:   Sun Jun 24 07:28:06 2012 +0000

    gdb:
    	* corefile.c (write_memory_with_notification): New.
    	* gdbcore.h: Declare write_memory_with_notification.
    	* ada-lang.c (ada_value_assign): Replace 'write_memory' and
    	'observer_notify_memory_changed' with 'write_memory_with_notification'.
    	* valops.c (value_assign): Likewise.
    	* python/py-inferior.c (infpy_write_memory): Call
    	'write_memory_with_notification'.

commit 8f0a87176c4a104d0a2bf14e77a39e463b3707b9
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Jun 24 06:58:10 2012 +0000

    gdb/
    	* cc-with-index.sh: Use also -ex "set auto-load no".

commit ab46e670dc678a8aec1ca01a767d807406754e25
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Jun 24 06:36:26 2012 +0000

    gdb/testsuite/
    	Fix regression by the previous commit.
    	* gdb.python/lib-types.exp: Add c++ to the compilation flags.

commit dc913d9ad2766103977b56ba8c22523a93d141b6
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun Jun 24 00:00:32 2012 +0000

    *** empty log message ***

commit b0d913703657f900acc45f294d2539af88b3ed7a
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Jun 24 00:00:04 2012 +0000

    daily update

commit 519c54ac498a3d680c811ae16fd2ea9642a8019d
Author: Doug Evans <dje@google.com>
Date:   Sat Jun 23 22:23:43 2012 +0000

    	PR 14125
    	* NEWS: Document additions to .gdb_index.
    	* dwarf2read.c: #include "gdb/gdb-index.h".
    	(DW2_GDB_INDEX_SYMBOL_STATIC_SET_VALUE): New macro.
    	(DW2_GDB_INDEX_SYMBOL_KIND_SET_VALUE): New macro.
    	(DW2_GDB_INDEX_CU_SET_VALUE): New macro.
    	(dwarf2_read_index): Recognize version 7.
    	(dw2_do_expand_symtabs_matching): New args want_specific_block,
    	block_kind, domain): All callers updated.
    	(dw2_find_symbol_file): Handle new index CU values.
    	(dw2_expand_symtabs_matching): Match symbol kind if requested.
    	(add_index_entry): New args is_static, kind.  All callers updated.
    	(offset_type_compare, uniquify_cu_indices): New functions
    	(symbol_kind): New function.
    	(write_psymtabs_to_index): Remove duplicate CU values.
    	(write_psymtabs_to_index): Write .gdb_index version 7.
    
    	doc/
    	* gdb.texinfo (Index Section Format): Document version 7 format.
    
    	include/gdb/
    	* gdb-index.h: New file.

commit e4ce7bce4a9957a0aef2bda5ae6c819cb9bb9cdc
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Jun 23 00:00:33 2012 +0000

    *** empty log message ***

commit 314628aa40121835b9dab7cdd4b15310cd3eec87
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Jun 23 00:00:04 2012 +0000

    daily update

commit d9c088109447c868461ac09645183bf8fc62d0ca
Author: Roland McGrath <roland@gnu.org>
Date:   Fri Jun 22 21:54:05 2012 +0000

    gas/
    	* NEWS: Mention 'rep ret' too.
    
    gas/testsuite/
    	* gas/i386/rep-ret.d: New file.
    	* gas/i386/rep-ret.s: New file.
    	* gas/i386/i386.exp: Add the new test.
    
    opcodes/
    	* i386-opc.tbl: Add RepPrefixOk to ret.
    	* i386-tbl.h: Regenerate.

commit a1d0f651d0fe8d3cd326fa60e9ae42b7dfd4aa24
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Fri Jun 22 18:59:02 2012 +0000

    Add -Wdeclaration-after-statement to list of compiler warnings
    
    gdb/ChangeLog:
    
            * configure.ac (build_warnings): Add -Wdeclaration-after-statement.
            * configure: Regenerate.

commit 6c959f9c0b1a273bc195c0852c05ec1741278134
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Jun 22 17:59:33 2012 +0000

    	* gdb.python/lib-types.exp: Use standard_testfile,
    	prepare_for_testing.
    	* gdb.python/py-block.exp: Use standard_testfile.
    	* gdb.python/py-breakpoint.exp: Use standard_testfile.
    	* gdb.python/py-events.exp: Use standard_testfile,
    	standard_output_file.
    	* gdb.python/py-evsignal.exp: Use standard_testfile.
    	* gdb.python/py-evethreads.exp: Use standard_testfile.
    	* gdb.python/py-explore-cc.exp: Use standard_testfile.
    	* gdb.python/py-explore.exp: Use standard_testfile.
    	* gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
    	standard_output_file.
    	* gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
    	prepare_for_testing.
    	* gdb.python/py-frame-inline.exp: Use standard_testfile.
    	* gdb.python/py-frame.exp: Use standard_testfile.
    	* gdb.python/py-inferior.exp: Use standard_testfile.
    	* gdb.python/py-infthread.exp: Use standard_testfile.
    	* gdb.python/py-mi.exp: Use standard_testfile.
    	* gdb.python/py-objfile-script.exp: Use standard_testfile,
    	build_executable.
    	* gdb.python/py-objfile.exp: Use standard_testfile.
    	* gdb.python/py-pp-maint.exp: Use standard_testfile,
    	prepare_for_testing.
    	* gdb.python/py-prettyprint.exp: Use standard_testfile.
    	* gdb.python/py-progspace.exp: Use standard_testfile,
    	build_executable.
    	* gdb.python/py-prompt.exp: Use standard_testfile,
    	build_executable.
    	* gdb.python/py-section-script.exp: Use standard_testfile,
    	build_executable.
    	* gdb.python/py-shared.exp: Use standard_testfile,
    	standard_output_file, clean_restart.
    	* gdb.python/py-symbol.exp: Use standard_output_file,
    	prepare_for_testing.
    	* gdb.python/py-symtab.exp: Use standard_output_file,
    	prepare_for_testing
    	* gdb.python/py-template.exp: Use standard_testfile.
    	* gdb.python/py-type.exp: Use standard_testfile.
    	* gdb.python/py-value-cc.exp: Use standard_testfile.
    	* gdb.python/py-value.exp: Use standard_testfile.
    	* gdb.python/python.exp: Use standard_testfile, build_executable.

commit 2ff914f3e09bf0cbfd8168da0d1b9d0743ff391d
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Jun 22 17:15:20 2012 +0000

    	* gdb.objc/basicclass.exp: Use standard_testfile.
    	(do_objc_tests): Don't declare objdir.
    	* gdb.objc/nondebug.exp: Use standard_testfile.
    	(do_objc_tests): Don't declare objdir.
    	* gdb.objc/objcdecode.exp: Use standard_testfile.
    	(do_objc_tests): Don't declare objdir.

commit bdbd9758806ed855af89244870fdc52cf3ff09bc
Author: Roland McGrath <roland@gnu.org>
Date:   Fri Jun 22 16:52:24 2012 +0000

    bfd/
    	* elf.c (assign_file_positions_for_non_load_sections): Define
    	__ehdr_start symbol if it's referenced and there's a PT_LOAD
    	segment that covers both the file and program headers.
    
    ld/
    	* NEWS: Mention __ehdr_start.
    
    ld/testsuite/
    	* ld-elf/ehdr_start.s: New file.
    	* ld-elf/ehdr_start.d: New file.

commit 29bbd3eb50a8440c05097e6e2b4f0e6178a498dc
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Jun 22 16:44:14 2012 +0000

    	* gdb.java/jmain.exp: Use standard_testfile.
    	* gdb.java/jmisc.exp: Use standard_testfile.
    	* gdb.java/jnpe.exp: Use standard_testfile.
    	* gdb.java/jprint.exp: Use standard_testfile.

commit 9d725a0777c18abe82207d8887a51ef441fab712
Author: Roland McGrath <roland@gnu.org>
Date:   Fri Jun 22 16:42:06 2012 +0000

    gas/
    	* config/tc-i386.c (parse_insn): Don't complain about REP prefix
    	when the template has opcode_modifier.repprefixok set.
    	* NEWS: Mention the change.
    
    gas/testsuite/
    	* gas/i386/rep-bsf.d: New file.
    	* gas/i386/rep-bsf.s: New file.
    	* gas/i386/i386.exp: Add the new test.
    
    opcodes/
    	* i386-opc.h (RepPrefixOk): New enum constant.
    	(i386_opcode_modifier): New bitfield 'repprefixok'.
    	* i386-gen.c (opcode_modifiers): Add RepPrefixOk.
    	* i386-opc.tbl: Add RepPrefixOk to bsf, bsr, and to all
    	instructions that have IsString.
    	* i386-tbl.h: Regenerate.

commit 925f597d3f2822dac8848dad8e7ca052fb52209b
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Jun 22 16:39:10 2012 +0000

    	* lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
    	(standard_output_file, standard_testfile): New procs.
    	(build_executable, clean_restart): Use standard_output_file.

commit 682ebe3bf9d9b17cdc2a78888ee3faadc6b958d0
Author: Andreas Schwab <schwab@suse.de>
Date:   Fri Jun 22 09:30:14 2012 +0000

    * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Don't make
    _GLOBAL_OFFSET_TABLE_ and _DYNAMIC absolute.

commit 631afecfe38ebb44d555a30ec66dcfcbc88e3472
Author: qiyao <qiyao>
Date:   Fri Jun 22 08:37:47 2012 +0000

    gdb/doc:
    
    	* gdb.texinfo: Add missing cindex for some packets.

commit 7be446bf360cfd1343622339545e460546d7816f
Author: qiyao <qiyao>
Date:   Fri Jun 22 07:45:56 2012 +0000

    gdb/testsuite:
    
    	* boards/native-gdbserver.exp: New proc ${board}_exec.
    	* boards/native-stdio-gdbserver.exp: Likewise.

commit 7328ff1b15ebbbcdb9bf108d12ae34439eefb4fc
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Jun 22 05:53:02 2012 +0000

    	* elf64-ppc.c (ppc64_elf_func_desc_adjust): Don't emit out-of-line
    	save/restore functions when relocatable.  Make "funcs" static.

commit 0a3a829157a83c7d2361671ac9e91f803e4be2e5
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Jun 22 00:00:32 2012 +0000

    *** empty log message ***

commit 3bbaae891f7b49604360aaed6368894f46426cad
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Jun 22 00:00:05 2012 +0000

    daily update

commit 9e62ed256f7956cc19c70476a2c881752409721e
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Jun 21 20:46:19 2012 +0000

    	* lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
    	(build_executable): Update.
    	(get_compiler_info): Remove 'binfile' argument.
    	* gdb.ada/arrayidx.exp: Update.
    	* gdb.ada/null_array.exp: Update.
    	* gdb.arch/altivec-abi.exp: Update.
    	* gdb.arch/altivec-regs.exp: Update.
    	* gdb.arch/amd64-byte.exp: Update.
    	* gdb.arch/amd64-dword.exp: Update.
    	* gdb.arch/amd64-word.exp: Update.
    	* gdb.arch/i386-avx.exp: Update.
    	* gdb.arch/i386-byte.exp: Update.
    	* gdb.arch/i386-sse.exp: Update.
    	* gdb.arch/i386-word.exp: Update.
    	* gdb.arch/ppc-dfp.exp: Update.
    	* gdb.arch/ppc-fp.exp: Update.
    	* gdb.arch/vsx-regs.exp: Update.
    	* gdb.base/all-bin.exp: Update.
    	* gdb.base/annota1.exp: Update.
    	* gdb.base/async.exp: Update.
    	* gdb.base/attach.exp: Update.
    	* gdb.base/break-interp.exp: Update.
    	* gdb.base/call-ar-st.exp: Update.
    	* gdb.base/call-rt-st.exp: Update.
    	* gdb.base/call-sc.exp: Update.
    	* gdb.base/callfuncs.exp: Update.
    	* gdb.base/catch-load.exp: Update.
    	* gdb.base/completion.exp: Update.
    	* gdb.base/complex.exp: Update.
    	* gdb.base/condbreak.exp: Update.
    	* gdb.base/consecutive.exp: Update.
    	* gdb.base/constvars.exp: Update.
    	* gdb.base/corefile.exp: Update.
    	* gdb.base/eval-skip.exp: Update.
    	* gdb.base/expand-psymtabs.exp: Update.
    	* gdb.base/exprs.exp: Update.
    	* gdb.base/fileio.exp: Update.
    	* gdb.base/fixsection.exp: Update.
    	* gdb.base/funcargs.exp: Update.
    	* gdb.base/gdb11530.exp: Update.
    	* gdb.base/gdb1555.exp: Update.
    	* gdb.base/gnu-ifunc.exp: Update.
    	* gdb.base/gnu_vector.exp: Update.
    	* gdb.base/info-macros.exp: Update.
    	* gdb.base/jit-simple.exp: Update.
    	* gdb.base/jit-so.exp: Update.
    	* gdb.base/jit.exp: Update.
    	* gdb.base/langs.exp: Update.
    	* gdb.base/list.exp: Update.
    	* gdb.base/logical.exp: Update.
    	* gdb.base/long_long.exp: Update.
    	* gdb.base/longjmp.exp: Update.
    	* gdb.base/macscp.exp: Update.
    	* gdb.base/mips_pro.exp: Update.
    	* gdb.base/miscexprs.exp: Update.
    	* gdb.base/morestack.exp: Update.
    	* gdb.base/nodebug.exp: Update.
    	* gdb.base/opaque.exp: Update.
    	* gdb.base/pc-fp.exp: Update.
    	* gdb.base/pending.exp: Update.
    	* gdb.base/permissions.exp: Update.
    	* gdb.base/pointers.exp: Update.
    	* gdb.base/prelink.exp: Update.
    	* gdb.base/printcmds.exp: Update.
    	* gdb.base/psymtab.exp: Update.
    	* gdb.base/ptype.exp: Update.
    	* gdb.base/relational.exp: Update.
    	* gdb.base/scope.exp: Update.
    	* gdb.base/setvar.exp: Update.
    	* gdb.base/shlib-call.exp: Update.
    	* gdb.base/shreloc.exp: Update.
    	* gdb.base/signals.exp: Update.
    	* gdb.base/sizeof.exp: Update.
    	* gdb.base/so-impl-ld.exp: Update.
    	* gdb.base/so-indr-cl.exp: Update.
    	* gdb.base/solib-disc.exp: Update.
    	* gdb.base/solib-display.exp: Update.
    	* gdb.base/solib-nodir.exp: Update.
    	* gdb.base/solib-overlap.exp: Update.
    	* gdb.base/solib-symbol.exp: Update.
    	* gdb.base/solib-weak.exp: Update.
    	* gdb.base/solib.exp: Update.
    	* gdb.base/store.exp: Update.
    	* gdb.base/structs.exp: Update.
    	* gdb.base/structs2.exp: Update.
    	* gdb.base/type-opaque.exp: Update.
    	* gdb.base/unload.exp: Update.
    	* gdb.base/varargs.exp: Update.
    	* gdb.base/volatile.exp: Update.
    	* gdb.base/watch_thread_num.exp: Update.
    	* gdb.base/watchpoint-solib.exp: Update.
    	* gdb.base/watchpoint.exp: Update.
    	* gdb.base/watchpoints.exp: Update.
    	* gdb.base/whatis.exp: Update.
    	* gdb.cell/arch.exp: Update.
    	* gdb.cell/break.exp: Update.
    	* gdb.cell/bt.exp: Update.
    	* gdb.cell/core.exp: Update.
    	* gdb.cell/data.exp: Update.
    	* gdb.cell/ea-cache.exp: Update.
    	* gdb.cell/f-regs.exp: Update.
    	* gdb.cell/fork.exp: Update.
    	* gdb.cell/gcore.exp: Update.
    	* gdb.cell/mem-access.exp: Update.
    	* gdb.cell/ptype.exp: Update.
    	* gdb.cell/registers.exp: Update.
    	* gdb.cell/sizeof.exp: Update.
    	* gdb.cell/solib-symbol.exp: Update.
    	* gdb.cell/solib.exp: Update.
    	* gdb.cp/ambiguous.exp: Update.
    	* gdb.cp/breakpoint.exp: Update.
    	* gdb.cp/bs15503.exp: Update.
    	* gdb.cp/casts.exp: Update.
    	* gdb.cp/class2.exp: Update.
    	* gdb.cp/cpexprs.exp: Update.
    	* gdb.cp/cplusfuncs.exp: Update.
    	* gdb.cp/ctti.exp: Update.
    	* gdb.cp/dispcxx.exp: Update.
    	* gdb.cp/gdb1355.exp: Update.
    	* gdb.cp/gdb2384.exp: Update.
    	* gdb.cp/gdb2495.exp: Update.
    	* gdb.cp/infcall-dlopen.exp: Update.
    	* gdb.cp/local.exp: Update.
    	* gdb.cp/m-data.exp: Update.
    	* gdb.cp/m-static.exp: Update.
    	* gdb.cp/mb-ctor.exp: Update.
    	* gdb.cp/mb-inline.exp: Update.
    	* gdb.cp/mb-templates.exp: Update.
    	* gdb.cp/member-ptr.exp: Update.
    	* gdb.cp/method.exp: Update.
    	* gdb.cp/namespace.exp: Update.
    	* gdb.cp/nextoverthrow.exp: Update.
    	* gdb.cp/nsdecl.exp: Update.
    	* gdb.cp/nsrecurs.exp: Update.
    	* gdb.cp/nsstress.exp: Update.
    	* gdb.cp/nsusing.exp: Update.
    	* gdb.cp/pr-1023.exp: Update.
    	* gdb.cp/pr-1210.exp: Update.
    	* gdb.cp/pr-574.exp: Update.
    	* gdb.cp/pr9631.exp: Update.
    	* gdb.cp/printmethod.exp: Update.
    	* gdb.cp/psmang.exp: Update.
    	* gdb.cp/re-set-overloaded.exp: Update.
    	* gdb.cp/rtti.exp: Update.
    	* gdb.cp/shadow.exp: Update.
    	* gdb.cp/templates.exp: Update.
    	* gdb.cp/try_catch.exp: Update.
    	* gdb.dwarf2/dw2-ranges.exp: Update.
    	* gdb.dwarf2/pr10770.exp: Update.
    	* gdb.fortran/library-module.exp: Update.
    	* gdb.hp/gdb.aCC/optimize.exp: Update.
    	* gdb.hp/gdb.aCC/watch-cmd.exp: Update.
    	* gdb.hp/gdb.base-hp/callfwmall.exp: Update.
    	* gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
    	* gdb.hp/gdb.base-hp/pxdb.exp: Update.
    	* gdb.hp/gdb.base-hp/sized-enum.exp: Update.
    	* gdb.hp/gdb.base-hp/so-thresh.exp: Update.
    	* gdb.hp/gdb.compat/xdb1.exp: Update.
    	* gdb.hp/gdb.compat/xdb2.exp: Update.
    	* gdb.hp/gdb.compat/xdb3.exp: Update.
    	* gdb.hp/gdb.defects/bs14602.exp: Update.
    	* gdb.hp/gdb.defects/solib-d.exp: Update.
    	* gdb.hp/gdb.objdbg/objdbg01.exp: Update.
    	* gdb.hp/gdb.objdbg/objdbg02.exp: Update.
    	* gdb.hp/gdb.objdbg/objdbg03.exp: Update.
    	* gdb.hp/gdb.objdbg/objdbg04.exp: Update.
    	* gdb.mi/gdb792.exp: Update.
    	* gdb.mi/mi-pending.exp: Update.
    	* gdb.mi/mi-solib.exp: Update.
    	* gdb.mi/mi-var-cp.exp: Update.
    	* gdb.opt/clobbered-registers-O2.exp: Update.
    	* gdb.opt/inline-bt.exp: Update.
    	* gdb.opt/inline-cmds.exp: Update.
    	* gdb.opt/inline-locals.exp: Update.
    	* gdb.python/py-events.exp: Update.
    	* gdb.python/py-finish-breakpoint.exp: Update.
    	* gdb.python/py-type.exp: Update.
    	* gdb.reverse/solib-precsave.exp: Update.
    	* gdb.reverse/solib-reverse.exp: Update.
    	* gdb.server/solib-list.exp: Update.
    	* gdb.stabs/weird.exp: Update.
    	* gdb.threads/attach-into-signal.exp: Update.
    	* gdb.threads/attach-stopped.exp: Update.
    	* gdb.threads/tls-shared.exp: Update.
    	* gdb.trace/change-loc.exp: Update.
    	* gdb.trace/strace.exp: Update.

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

Summary of changes:
 bfd/ChangeLog                                      |   16 +
 bfd/elf.c                                          |   49 +
 bfd/elf32-m68k.c                                   |    5 -
 bfd/elf64-ppc.c                                    |    9 +-
 bfd/version.h                                      |    2 +-
 gdb/ChangeLog                                      |   60 +
 gdb/NEWS                                           |    6 +
 gdb/ada-lang.c                                     |    3 +-
 gdb/arm-tdep.c                                     |    3 +
 gdb/cc-with-index.sh                               |    2 +-
 gdb/configure                                      |    3 +-
 gdb/configure.ac                                   |    3 +-
 gdb/corefile.c                                     |   11 +
 gdb/doc/ChangeLog                                  |    8 +
 gdb/doc/gdb.texinfo                                |  119 +-
 gdb/dwarf2read.c                                   |  273 +-
 gdb/gdbcore.h                                      |    6 +
 gdb/gnulib/config.in                               |    7 +-
 gdb/gnulib/configure                               |   41 +-
 gdb/gnulib/import/m4/extensions.m4                 |    4 +-
 gdb/gnulib/import/m4/gnulib-common.m4              |    7 +-
 gdb/gnulib/import/m4/memmem.m4                     |   24 +-
 gdb/gnulib/import/m4/mmap-anon.m4                  |   12 +-
 gdb/gnulib/import/m4/multiarch.m4                  |    4 +-
 gdb/gnulib/import/stdint.in.h                      |   51 +-
 gdb/python/py-inferior.c                           |    2 +-
 gdb/python/python.c                                |   31 +-
 gdb/testsuite/ChangeLog                            |  270 +
 gdb/testsuite/boards/native-gdbserver.exp          |   12 +
 gdb/testsuite/boards/native-stdio-gdbserver.exp    |   12 +
 gdb/testsuite/gdb.ada/arrayidx.exp                 |    2 +-
 gdb/testsuite/gdb.ada/null_array.exp               |    2 +-
 gdb/testsuite/gdb.arch/altivec-abi.exp             |    2 +-
 gdb/testsuite/gdb.arch/altivec-regs.exp            |    2 +-
 gdb/testsuite/gdb.arch/amd64-byte.exp              |    2 +-
 gdb/testsuite/gdb.arch/amd64-dword.exp             |    2 +-
 gdb/testsuite/gdb.arch/amd64-word.exp              |    2 +-
 gdb/testsuite/gdb.arch/arm-disp-step.S             |    8 +-
 gdb/testsuite/gdb.arch/i386-avx.exp                |    2 +-
 gdb/testsuite/gdb.arch/i386-byte.exp               |    2 +-
 gdb/testsuite/gdb.arch/i386-sse.exp                |    2 +-
 gdb/testsuite/gdb.arch/i386-word.exp               |    2 +-
 gdb/testsuite/gdb.arch/ppc-dfp.exp                 |    2 +-
 gdb/testsuite/gdb.arch/ppc-fp.exp                  |    2 +-
 gdb/testsuite/gdb.arch/vsx-regs.exp                |    2 +-
 gdb/testsuite/gdb.base/all-bin.exp                 |    2 +-
 gdb/testsuite/gdb.base/annota1.exp                 |    2 +-
 gdb/testsuite/gdb.base/async.exp                   |    2 +-
 gdb/testsuite/gdb.base/attach.exp                  |    2 +-
 gdb/testsuite/gdb.base/break-interp.exp            |    2 +-
 .../gdb.base/break-on-linker-gcd-function.exp      |    2 +-
 gdb/testsuite/gdb.base/call-ar-st.exp              |    2 +-
 gdb/testsuite/gdb.base/call-rt-st.exp              |    2 +-
 gdb/testsuite/gdb.base/call-sc.exp                 |    2 +-
 gdb/testsuite/gdb.base/callfuncs.exp               |    2 +-
 gdb/testsuite/gdb.base/catch-load.exp              |    2 +-
 gdb/testsuite/gdb.base/completion.exp              |    2 +-
 gdb/testsuite/gdb.base/complex.exp                 |    2 +-
 gdb/testsuite/gdb.base/condbreak.exp               |    2 +-
 gdb/testsuite/gdb.base/consecutive.exp             |    2 +-
 gdb/testsuite/gdb.base/constvars.exp               |    2 +-
 gdb/testsuite/gdb.base/corefile.exp                |    2 +-
 gdb/testsuite/gdb.base/eval-skip.exp               |    2 +-
 gdb/testsuite/gdb.base/expand-psymtabs.exp         |    2 +-
 gdb/testsuite/gdb.base/exprs.exp                   |    2 +-
 gdb/testsuite/gdb.base/fileio.exp                  |    2 +-
 gdb/testsuite/gdb.base/fixsection.exp              |    2 +-
 gdb/testsuite/gdb.base/funcargs.exp                |    2 +-
 gdb/testsuite/gdb.base/gdb11530.exp                |    2 +-
 gdb/testsuite/gdb.base/gdb1555.exp                 |    2 +-
 gdb/testsuite/gdb.base/gnu-ifunc.exp               |    2 +-
 gdb/testsuite/gdb.base/gnu_vector.exp              |    2 +-
 gdb/testsuite/gdb.base/info-fun.exp                |    2 +-
 gdb/testsuite/gdb.base/info-macros.exp             |    2 +-
 gdb/testsuite/gdb.base/jit-simple.exp              |    2 +-
 gdb/testsuite/gdb.base/jit-so.exp                  |    2 +-
 gdb/testsuite/gdb.base/jit.exp                     |    2 +-
 gdb/testsuite/gdb.base/langs.exp                   |    2 +-
 gdb/testsuite/gdb.base/list.exp                    |    2 +-
 gdb/testsuite/gdb.base/logical.exp                 |    2 +-
 gdb/testsuite/gdb.base/long_long.exp               |    2 +-
 gdb/testsuite/gdb.base/longjmp.exp                 |    2 +-
 gdb/testsuite/gdb.base/macscp.exp                  |    2 +-
 gdb/testsuite/gdb.base/mips_pro.exp                |    2 +-
 gdb/testsuite/gdb.base/miscexprs.exp               |    2 +-
 gdb/testsuite/gdb.base/morestack.exp               |    2 +-
 gdb/testsuite/gdb.base/nodebug.exp                 |    2 +-
 gdb/testsuite/gdb.base/opaque.exp                  |    2 +-
 gdb/testsuite/gdb.base/pc-fp.exp                   |    2 +-
 gdb/testsuite/gdb.base/pending.exp                 |    2 +-
 gdb/testsuite/gdb.base/permissions.exp             |    2 +-
 gdb/testsuite/gdb.base/pointers.exp                |    2 +-
 gdb/testsuite/gdb.base/prelink.exp                 |    2 +-
 gdb/testsuite/gdb.base/printcmds.exp               |    2 +-
 gdb/testsuite/gdb.base/psymtab.exp                 |    2 +-
 gdb/testsuite/gdb.base/ptype.exp                   |    2 +-
 gdb/testsuite/gdb.base/relational.exp              |    2 +-
 gdb/testsuite/gdb.base/scope.exp                   |    2 +-
 gdb/testsuite/gdb.base/setvar.exp                  |    2 +-
 gdb/testsuite/gdb.base/shlib-call.exp              |    2 +-
 gdb/testsuite/gdb.base/shreloc.exp                 |    2 +-
 gdb/testsuite/gdb.base/signals.exp                 |    2 +-
 gdb/testsuite/gdb.base/sizeof.exp                  |    2 +-
 gdb/testsuite/gdb.base/so-impl-ld.exp              |    4 +-
 gdb/testsuite/gdb.base/so-indr-cl.exp              |    2 +-
 gdb/testsuite/gdb.base/solib-disc.exp              |    2 +-
 gdb/testsuite/gdb.base/solib-display.exp           |    2 +-
 gdb/testsuite/gdb.base/solib-nodir.exp             |    2 +-
 gdb/testsuite/gdb.base/solib-overlap.exp           |    2 +-
 gdb/testsuite/gdb.base/solib-symbol.exp            |    2 +-
 gdb/testsuite/gdb.base/solib-weak.exp              |    2 +-
 gdb/testsuite/gdb.base/solib.exp                   |    2 +-
 gdb/testsuite/gdb.base/store.exp                   |    2 +-
 gdb/testsuite/gdb.base/structs.exp                 |    2 +-
 gdb/testsuite/gdb.base/structs2.exp                |    2 +-
 gdb/testsuite/gdb.base/type-opaque.exp             |    2 +-
 gdb/testsuite/gdb.base/unload.exp                  |    2 +-
 gdb/testsuite/gdb.base/varargs.exp                 |    2 +-
 gdb/testsuite/gdb.base/volatile.exp                |    2 +-
 gdb/testsuite/gdb.base/watch_thread_num.exp        |    2 +-
 gdb/testsuite/gdb.base/watchpoint-solib.exp        |    2 +-
 gdb/testsuite/gdb.base/watchpoint.exp              |    2 +-
 gdb/testsuite/gdb.base/watchpoints.exp             |    2 +-
 gdb/testsuite/gdb.base/whatis.exp                  |    2 +-
 gdb/testsuite/gdb.cell/arch.exp                    |    2 +-
 gdb/testsuite/gdb.cell/break.exp                   |    2 +-
 gdb/testsuite/gdb.cell/bt.exp                      |    2 +-
 gdb/testsuite/gdb.cell/core.exp                    |    2 +-
 gdb/testsuite/gdb.cell/data.exp                    |    2 +-
 gdb/testsuite/gdb.cell/ea-cache.exp                |    2 +-
 gdb/testsuite/gdb.cell/f-regs.exp                  |    2 +-
 gdb/testsuite/gdb.cell/fork.exp                    |    2 +-
 gdb/testsuite/gdb.cell/gcore.exp                   |    2 +-
 gdb/testsuite/gdb.cell/mem-access.exp              |    2 +-
 gdb/testsuite/gdb.cell/ptype.exp                   |    2 +-
 gdb/testsuite/gdb.cell/registers.exp               |    2 +-
 gdb/testsuite/gdb.cell/sizeof.exp                  |    2 +-
 gdb/testsuite/gdb.cell/solib-symbol.exp            |    2 +-
 gdb/testsuite/gdb.cell/solib.exp                   |    2 +-
 gdb/testsuite/gdb.cp/ambiguous.exp                 |    2 +-
 gdb/testsuite/gdb.cp/breakpoint.exp                |    2 +-
 gdb/testsuite/gdb.cp/bs15503.exp                   |    2 +-
 gdb/testsuite/gdb.cp/casts.exp                     |    2 +-
 gdb/testsuite/gdb.cp/class2.exp                    |    2 +-
 gdb/testsuite/gdb.cp/cpexprs.exp                   |    2 +-
 gdb/testsuite/gdb.cp/cplusfuncs.exp                |    2 +-
 gdb/testsuite/gdb.cp/ctti.exp                      |    2 +-
 gdb/testsuite/gdb.cp/dispcxx.exp                   |    2 +-
 gdb/testsuite/gdb.cp/gdb1355.exp                   |    2 +-
 gdb/testsuite/gdb.cp/gdb2384.exp                   |    2 +-
 gdb/testsuite/gdb.cp/gdb2495.exp                   |    2 +-
 gdb/testsuite/gdb.cp/infcall-dlopen.exp            |    2 +-
 gdb/testsuite/gdb.cp/local.exp                     |    2 +-
 gdb/testsuite/gdb.cp/m-data.exp                    |    2 +-
 gdb/testsuite/gdb.cp/m-static.exp                  |    2 +-
 gdb/testsuite/gdb.cp/mb-ctor.exp                   |    2 +-
 gdb/testsuite/gdb.cp/mb-inline.exp                 |    2 +-
 gdb/testsuite/gdb.cp/mb-templates.exp              |    2 +-
 gdb/testsuite/gdb.cp/member-ptr.exp                |    2 +-
 gdb/testsuite/gdb.cp/method.exp                    |    2 +-
 gdb/testsuite/gdb.cp/namespace.exp                 |    2 +-
 gdb/testsuite/gdb.cp/nextoverthrow.exp             |    2 +-
 gdb/testsuite/gdb.cp/nsdecl.exp                    |    2 +-
 gdb/testsuite/gdb.cp/nsrecurs.exp                  |    2 +-
 gdb/testsuite/gdb.cp/nsstress.exp                  |    2 +-
 gdb/testsuite/gdb.cp/nsusing.exp                   |    2 +-
 gdb/testsuite/gdb.cp/pr-1023.exp                   |    2 +-
 gdb/testsuite/gdb.cp/pr-1210.exp                   |    2 +-
 gdb/testsuite/gdb.cp/pr-574.exp                    |    2 +-
 gdb/testsuite/gdb.cp/pr9631.exp                    |    2 +-
 gdb/testsuite/gdb.cp/printmethod.exp               |    2 +-
 gdb/testsuite/gdb.cp/psmang.exp                    |    2 +-
 gdb/testsuite/gdb.cp/re-set-overloaded.exp         |    2 +-
 gdb/testsuite/gdb.cp/rtti.exp                      |    2 +-
 gdb/testsuite/gdb.cp/shadow.exp                    |    2 +-
 gdb/testsuite/gdb.cp/templates.exp                 |    2 +-
 gdb/testsuite/gdb.cp/try_catch.exp                 |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-ranges.exp            |    2 +-
 gdb/testsuite/gdb.dwarf2/pr10770.exp               |    2 +-
 gdb/testsuite/gdb.fortran/library-module.exp       |    2 +-
 gdb/testsuite/gdb.hp/gdb.aCC/optimize.exp          |    2 +-
 gdb/testsuite/gdb.hp/gdb.aCC/watch-cmd.exp         |    2 +-
 gdb/testsuite/gdb.hp/gdb.base-hp/callfwmall.exp    |    2 +-
 gdb/testsuite/gdb.hp/gdb.base-hp/hwwatchbus.exp    |    2 +-
 gdb/testsuite/gdb.hp/gdb.base-hp/pxdb.exp          |    2 +-
 gdb/testsuite/gdb.hp/gdb.base-hp/sized-enum.exp    |    2 +-
 gdb/testsuite/gdb.hp/gdb.base-hp/so-thresh.exp     |    2 +-
 gdb/testsuite/gdb.hp/gdb.compat/xdb1.exp           |    2 +-
 gdb/testsuite/gdb.hp/gdb.compat/xdb2.exp           |    2 +-
 gdb/testsuite/gdb.hp/gdb.compat/xdb3.exp           |    2 +-
 gdb/testsuite/gdb.hp/gdb.defects/bs14602.exp       |    2 +-
 gdb/testsuite/gdb.hp/gdb.defects/solib-d.exp       |    2 +-
 gdb/testsuite/gdb.hp/gdb.objdbg/objdbg01.exp       |    2 +-
 gdb/testsuite/gdb.hp/gdb.objdbg/objdbg02.exp       |    2 +-
 gdb/testsuite/gdb.hp/gdb.objdbg/objdbg03.exp       |    2 +-
 gdb/testsuite/gdb.hp/gdb.objdbg/objdbg04.exp       |    2 +-
 gdb/testsuite/gdb.java/jmain.exp                   |    6 +-
 gdb/testsuite/gdb.java/jmisc.exp                   |    6 +-
 gdb/testsuite/gdb.java/jnpe.exp                    |    6 +-
 gdb/testsuite/gdb.java/jprint.exp                  |    6 +-
 gdb/testsuite/gdb.mi/gdb792.exp                    |    2 +-
 .../gdb.mi/mi-inheritance-syntax-error.exp         |    2 +-
 gdb/testsuite/gdb.mi/mi-pending.exp                |    2 +-
 gdb/testsuite/gdb.mi/mi-solib.exp                  |    2 +-
 gdb/testsuite/gdb.mi/mi-var-cp.exp                 |    2 +-
 gdb/testsuite/gdb.objc/basicclass.exp              |    5 +-
 gdb/testsuite/gdb.objc/nondebug.exp                |    5 +-
 gdb/testsuite/gdb.objc/objcdecode.exp              |    5 +-
 gdb/testsuite/gdb.opt/clobbered-registers-O2.exp   |    2 +-
 gdb/testsuite/gdb.opt/inline-bt.exp                |    2 +-
 gdb/testsuite/gdb.opt/inline-cmds.exp              |    2 +-
 gdb/testsuite/gdb.opt/inline-locals.exp            |    2 +-
 gdb/testsuite/gdb.python/lib-types.exp             |   14 +-
 gdb/testsuite/gdb.python/py-block.exp              |    4 +-
 gdb/testsuite/gdb.python/py-breakpoint.exp         |    4 +-
 gdb/testsuite/gdb.python/py-events.exp             |    8 +-
 gdb/testsuite/gdb.python/py-evsignal.exp           |    4 +-
 gdb/testsuite/gdb.python/py-evthreads.exp          |    4 +-
 gdb/testsuite/gdb.python/py-explore-cc.exp         |    4 +-
 gdb/testsuite/gdb.python/py-explore.exp            |    5 +-
 gdb/testsuite/gdb.python/py-finish-breakpoint.exp  |    8 +-
 gdb/testsuite/gdb.python/py-finish-breakpoint2.exp |   13 +-
 gdb/testsuite/gdb.python/py-frame-inline.exp       |    4 +-
 gdb/testsuite/gdb.python/py-frame.exp              |    4 +-
 gdb/testsuite/gdb.python/py-inferior.exp           |    6 +-
 gdb/testsuite/gdb.python/py-infthread.exp          |    4 +-
 gdb/testsuite/gdb.python/py-mi.exp                 |    4 +-
 gdb/testsuite/gdb.python/py-objfile-script.exp     |    8 +-
 gdb/testsuite/gdb.python/py-objfile.exp            |    3 +-
 gdb/testsuite/gdb.python/py-pp-maint.exp           |   18 +-
 gdb/testsuite/gdb.python/py-prettyprint.exp        |    4 +-
 gdb/testsuite/gdb.python/py-progspace.exp          |    8 +-
 gdb/testsuite/gdb.python/py-prompt.exp             |    7 +-
 gdb/testsuite/gdb.python/py-section-script.exp     |    8 +-
 gdb/testsuite/gdb.python/py-shared.exp             |   12 +-
 gdb/testsuite/gdb.python/py-symbol.exp             |   14 +-
 gdb/testsuite/gdb.python/py-symtab.exp             |   14 +-
 gdb/testsuite/gdb.python/py-template.exp           |    4 +-
 gdb/testsuite/gdb.python/py-type.exp               |    6 +-
 gdb/testsuite/gdb.python/py-value-cc.exp           |    4 +-
 gdb/testsuite/gdb.python/py-value.exp              |    4 +-
 gdb/testsuite/gdb.python/python.exp                |   12 +-
 gdb/testsuite/gdb.reverse/solib-precsave.exp       |    2 +-
 gdb/testsuite/gdb.reverse/solib-reverse.exp        |    2 +-
 gdb/testsuite/gdb.server/solib-list.exp            |    2 +-
 gdb/testsuite/gdb.stabs/weird.exp                  |    2 +-
 gdb/testsuite/gdb.threads/attach-into-signal.exp   |    2 +-
 gdb/testsuite/gdb.threads/attach-stopped.exp       |    2 +-
 gdb/testsuite/gdb.threads/tls-shared.exp           |    2 +-
 gdb/testsuite/gdb.trace/change-loc.exp             |    2 +-
 gdb/testsuite/gdb.trace/strace.exp                 |    2 +-
 gdb/testsuite/lib/gdb.exp                          |   92 +-
 gdb/valops.c                                       |    4 +-
 gdb/version.in                                     |    2 +-
 include/gdb/ChangeLog                              |    4 +
 include/gdb/gdb-index.h                            |   99 +
 opcodes/ChangeLog                                  |   12 +
 opcodes/i386-gen.c                                 |   17 +-
 opcodes/i386-opc.h                                 |    9 +-
 opcodes/i386-opc.tbl                               |  120 +-
 opcodes/i386-tbl.h                                 | 8832 ++++++++++----------
 261 files changed, 5879 insertions(+), 4998 deletions(-)
 create mode 100644 include/gdb/gdb-index.h

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index d4902da..538864d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,19 @@
+2012-06-22  Roland McGrath  <mcgrathr@google.com>
+
+	* elf.c (assign_file_positions_for_non_load_sections): Define
+	__ehdr_start symbol if it's referenced and there's a PT_LOAD
+	segment that covers both the file and program headers.
+
+2012-06-22  Andreas Schwab  <schwab@linux-m68k.org>
+
+	* elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Don't make
+	_GLOBAL_OFFSET_TABLE_ and _DYNAMIC absolute.
+
+2012-06-22  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.c (ppc64_elf_func_desc_adjust): Don't emit out-of-line
+	save/restore functions when relocatable.  Make "funcs" static.
+
 2012-06-18  Hans-Peter Nilsson  <hp@axis.com>
 
 	* elf32-cris.c (cris_elf_plt_sym_val): Rewrite to work in presence
diff --git a/bfd/elf.c b/bfd/elf.c
index 0296ef5..1a53548 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -4826,6 +4826,7 @@ assign_file_positions_for_non_load_sections (bfd *abfd,
   Elf_Internal_Phdr *phdrs;
   Elf_Internal_Phdr *p;
   struct elf_segment_map *m;
+  struct elf_segment_map *hdrs_segment;
   bfd_vma filehdr_vaddr, filehdr_paddr;
   bfd_vma phdrs_vaddr, phdrs_paddr;
   file_ptr off;
@@ -4883,6 +4884,7 @@ assign_file_positions_for_non_load_sections (bfd *abfd,
   filehdr_paddr = 0;
   phdrs_vaddr = bed->maxpagesize + bed->s->sizeof_ehdr;
   phdrs_paddr = 0;
+  hdrs_segment = NULL;
   phdrs = elf_tdata (abfd)->phdr;
   for (m = elf_tdata (abfd)->segment_map, p = phdrs;
        m != NULL;
@@ -4903,12 +4905,59 @@ assign_file_positions_for_non_load_sections (bfd *abfd,
 	  phdrs_paddr = p->p_paddr;
 	  if (m->includes_filehdr)
 	    {
+	      hdrs_segment = m;
 	      phdrs_vaddr += bed->s->sizeof_ehdr;
 	      phdrs_paddr += bed->s->sizeof_ehdr;
 	    }
 	}
     }
 
+  if (hdrs_segment != NULL && link_info != NULL)
+    {
+      /* There is a segment that contains both the file headers and the
+	 program headers, so provide a symbol __ehdr_start pointing there.
+	 A program can use this to examine itself robustly.  */
+
+      struct elf_link_hash_entry *hash
+	= elf_link_hash_lookup (elf_hash_table (link_info), "__ehdr_start",
+				FALSE, FALSE, TRUE);
+      /* If the symbol was referenced and not defined, define it.  */
+      if (hash != NULL
+	  && (hash->root.type == bfd_link_hash_new
+	      || hash->root.type == bfd_link_hash_undefined
+	      || hash->root.type == bfd_link_hash_undefweak
+	      || hash->root.type == bfd_link_hash_common))
+	{
+	  asection *s = NULL;
+	  if (hdrs_segment->count != 0)
+	    /* The segment contains sections, so use the first one.  */
+	    s = hdrs_segment->sections[0];
+	  else
+	    /* Use the first (i.e. lowest-addressed) section in any segment.  */
+	    for (m = elf_tdata (abfd)->segment_map; m != NULL; m = m->next)
+	      if (m->count != 0)
+		{
+		  s = m->sections[0];
+		  break;
+		}
+
+	  if (s != NULL)
+	    {
+	      hash->root.u.def.value = filehdr_vaddr - s->vma;
+	      hash->root.u.def.section = s;
+	    }
+	  else
+	    {
+	      hash->root.u.def.value = filehdr_vaddr;
+	      hash->root.u.def.section = bfd_abs_section_ptr;
+	    }
+
+	  hash->root.type = bfd_link_hash_defined;
+	  hash->def_regular = 1;
+	  hash->non_elf = 0;
+	}
+    }
+
   for (m = elf_tdata (abfd)->segment_map, p = phdrs;
        m != NULL;
        m = m->next, p++)
diff --git a/bfd/elf32-m68k.c b/bfd/elf32-m68k.c
index 573003b..1cb03ae 100644
--- a/bfd/elf32-m68k.c
+++ b/bfd/elf32-m68k.c
@@ -4500,11 +4500,6 @@ elf_m68k_finish_dynamic_symbol (output_bfd, info, h, sym)
       bfd_elf32_swap_reloca_out (output_bfd, &rela, loc);
     }
 
-  /* Mark _DYNAMIC and _GLOBAL_OFFSET_TABLE_ as absolute.  */
-  if (strcmp (h->root.root.string, "_DYNAMIC") == 0
-      || h == elf_hash_table (info)->hgot)
-    sym->st_shndx = SHN_ABS;
-
   return TRUE;
 }
 
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index 5278589..46e8247 100644
--- a/bfd/elf64-ppc.c
+++ b/bfd/elf64-ppc.c
@@ -6468,7 +6468,7 @@ ppc64_elf_func_desc_adjust (bfd *obfd ATTRIBUTE_UNUSED,
 {
   struct ppc_link_hash_table *htab;
   unsigned int i;
-  const struct sfpr_def_parms funcs[] =
+  static const struct sfpr_def_parms funcs[] =
     {
       { "_savegpr0_", 14, 31, savegpr0, savegpr0_tail },
       { "_restgpr0_", 14, 29, restgpr0, restgpr0_tail },
@@ -6494,9 +6494,10 @@ ppc64_elf_func_desc_adjust (bfd *obfd ATTRIBUTE_UNUSED,
 
   /* Provide any missing _save* and _rest* functions.  */
   htab->sfpr->size = 0;
-  for (i = 0; i < sizeof (funcs) / sizeof (funcs[0]); i++)
-    if (!sfpr_define (info, &funcs[i]))
-      return FALSE;
+  if (!info->relocatable)
+    for (i = 0; i < sizeof (funcs) / sizeof (funcs[0]); i++)
+      if (!sfpr_define (info, &funcs[i]))
+	return FALSE;
 
   elf_link_hash_traverse (&htab->elf, func_desc_adjust, info);
 
diff --git a/bfd/version.h b/bfd/version.h
index df1d4e6..125b341 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20120621
+#define BFD_VERSION_DATE 20120625
 #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 857fde8..a36ce76 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,63 @@
+2012-06-25  Michael Eager  <eager@eagercon.com>
+
+	PR python/14291
+	* python/python.c (gdbpy_write): Check for interrupted output. 
+
+2012-06-25  Greta Yorsh  <greta.yorsh@arm.com>
+
+	* arm-tdep.c (arm_in_function_epilogue_p): Recognize POP with a single
+	register as a stack alignment in ARM mode.
+
+2012-06-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	Update gnulib to GIT commit a39f53ccb70a613e647e1019fb4c63645220267e.
+	* gnulib/config.in: Regenerate.
+	* gnulib/configure: Likewise.
+	* gnulib/import/m4/extensions.m4: Update it.
+	* gnulib/import/m4/gnulib-common.m4: Likewise.
+	* gnulib/import/m4/memmem.m4: Likewise.
+	* gnulib/import/m4/mmap-anon.m4: Likewise.
+	* gnulib/import/m4/multiarch.m4: Likewise.
+	* gnulib/import/stdint.in.h: Likewise.
+
+2012-06-24  Yao Qi  <yao@codesourcery.com>
+
+	* corefile.c (write_memory_with_notification): New.
+	* gdbcore.h: Declare write_memory_with_notification.
+	* ada-lang.c (ada_value_assign): Replace 'write_memory' and
+	'observer_notify_memory_changed' with 'write_memory_with_notification'.
+	* valops.c (value_assign): Likewise.
+	* python/py-inferior.c (infpy_write_memory): Call
+	'write_memory_with_notification'.
+
+2012-06-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* cc-with-index.sh: Use also -ex "set auto-load no".
+
+2012-06-23  Doug Evans  <dje@google.com>
+
+	PR 14125
+	* NEWS: Document additions to .gdb_index.
+	* dwarf2read.c: #include "gdb/gdb-index.h".
+	(DW2_GDB_INDEX_SYMBOL_STATIC_SET_VALUE): New macro.
+	(DW2_GDB_INDEX_SYMBOL_KIND_SET_VALUE): New macro.
+	(DW2_GDB_INDEX_CU_SET_VALUE): New macro.
+	(dwarf2_read_index): Recognize version 7.
+	(dw2_do_expand_symtabs_matching): New args want_specific_block,
+	block_kind, domain): All callers updated.
+	(dw2_find_symbol_file): Handle new index CU values.
+	(dw2_expand_symtabs_matching): Match symbol kind if requested.
+	(add_index_entry): New args is_static, kind.  All callers updated.
+	(offset_type_compare, uniquify_cu_indices): New functions
+	(symbol_kind): New function.
+	(write_psymtabs_to_index): Remove duplicate CU values.
+	(write_psymtabs_to_index): Write .gdb_index version 7.
+
+2012-06-22  Joel Brobecker  <brobecker@adacore.com>
+
+	* configure.ac (build_warnings): Add -Wdeclaration-after-statement.
+	* configure: Regenerate.
+
 2012-06-20  Yao Qi  <yao@codesourcery.com>
 
 	* python/py-inferior.c: Update comments of infpy_read_memory
diff --git a/gdb/NEWS b/gdb/NEWS
index 5450939..3162b84 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -112,6 +112,12 @@
   the ability to set breakpoints on inlined functions will be lost
   in symbol files with older .gdb_index sections.
 
+  The .gdb_index section has also been updated to record more information
+  about each symbol.  This speeds up the "info variables", "info functions"
+  and "info types" commands when used with programs having the .gdb_index
+  section, as well as speeding up debugging with shared libraries using
+  the .gdb_index section.
+
 * Ada support for GDB/MI Variable Objects has been added.
 
 * GDB can now support 'breakpoint always-inserted mode' in 'record'
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 6f65472..7afcef8 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -2534,8 +2534,7 @@ ada_value_assign (struct value *toval, struct value *fromval)
       else
         move_bits (buffer, value_bitpos (toval),
 		   value_contents (fromval), 0, bits, 0);
-      write_memory (to_addr, buffer, len);
-      observer_notify_memory_changed (to_addr, len, buffer);
+      write_memory_with_notification (to_addr, buffer, len);
 
       val = value_copy (toval);
       memcpy (value_contents_raw (val), value_contents (fromval),
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index df5dea7..568ace5 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -3217,6 +3217,9 @@ arm_in_function_epilogue_p (struct gdbarch *gdbarch, CORE_ADDR pc)
       else if ((insn & 0x0fff0000) == 0x08bd0000)
 	/* POP (LDMIA).  */
 	found_stack_adjust = 1;
+      else if ((insn & 0x0fff0000) == 0x049d0000)
+	/* POP of a single register.  */
+	found_stack_adjust = 1;
     }
 
   if (found_stack_adjust)
diff --git a/gdb/cc-with-index.sh b/gdb/cc-with-index.sh
index 22eefaa..644ba34 100644
--- a/gdb/cc-with-index.sh
+++ b/gdb/cc-with-index.sh
@@ -107,7 +107,7 @@ then
     exit 1
 fi
 
-$GDB --batch-silent -nx -ex "file $output_file" -ex "save gdb-index $output_dir"
+$GDB --batch-silent -nx -ex "set auto-load no" -ex "file $output_file" -ex "save gdb-index $output_dir"
 rc=$?
 [ $rc != 0 ] && exit $rc
 
diff --git a/gdb/configure b/gdb/configure
index 1d03188..b6f4a06 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -12365,7 +12365,8 @@ fi
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wformat-nonliteral -Wno-pointer-sign \
 -Wno-unused -Wunused-value -Wunused-function \
--Wno-switch -Wno-char-subscripts -Wmissing-prototypes"
+-Wno-switch -Wno-char-subscripts -Wmissing-prototypes \
+-Wdeclaration-after-statement"
 
 # Enable -Wno-format by default when using gcc on mingw since many
 # GCC versions complain about %I64.
diff --git a/gdb/configure.ac b/gdb/configure.ac
index e48ec05..f77aa85 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -1850,7 +1850,8 @@ fi
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wformat-nonliteral -Wno-pointer-sign \
 -Wno-unused -Wunused-value -Wunused-function \
--Wno-switch -Wno-char-subscripts -Wmissing-prototypes"
+-Wno-switch -Wno-char-subscripts -Wmissing-prototypes \
+-Wdeclaration-after-statement"
 
 # Enable -Wno-format by default when using gcc on mingw since many
 # GCC versions complain about %I64.
diff --git a/gdb/corefile.c b/gdb/corefile.c
index 611cd62..ac8eff5 100644
--- a/gdb/corefile.c
+++ b/gdb/corefile.c
@@ -34,6 +34,7 @@
 #include "gdb_stat.h"
 #include "completer.h"
 #include "exceptions.h"
+#include "observer.h"
 
 /* Local function declarations.  */
 
@@ -361,6 +362,16 @@ write_memory (CORE_ADDR memaddr,
     memory_error (status, memaddr);
 }
 
+/* Same as write_memory, but notify 'memory_changed' observers.  */
+
+void
+write_memory_with_notification (CORE_ADDR memaddr, const bfd_byte *myaddr,
+				ssize_t len)
+{
+  write_memory (memaddr, myaddr, len);
+  observer_notify_memory_changed (memaddr, len, myaddr);
+}
+
 /* Store VALUE at ADDR in the inferior as a LEN-byte unsigned
    integer.  */
 void
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index c0f28be..ebd9584 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,11 @@
+2012-06-23  Doug Evans  <dje@google.com>
+
+	* gdb.texinfo (Index Section Format): Document version 7 format.
+
+2012-06-22  Yao Qi  <yao@codesourcery.com>
+
+	* gdb.texinfo: Add missing cindex for some packets.
+
 2012-06-20  Keith Seitz  <keiths@redhat.com>
 
 	* gdb.texinfo (GDB/MI Breakpoint Commands): Re-order options
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index b5e3d60..e563303 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -37214,6 +37214,7 @@ tracepoints (@pxref{Tracepoints}).
 @table @samp
 
 @item QTDP:@var{n}:@var{addr}:@var{ena}:@var{step}:@var{pass}[:F@var{flen}][:X@var{len},@var{bytes}]@r{[}-@r{]}
+@cindex @samp{QTDP} packet
 Create a new tracepoint, number @var{n}, at @var{addr}.  If @var{ena}
 is @samp{E}, then the tracepoint is enabled; if it is @samp{D}, then
 the tracepoint is disabled.  @var{step} is the tracepoint's step
@@ -37348,6 +37349,7 @@ target should simply create the trace state variables as they are
 mentioned in expressions.
 
 @item QTFrame:@var{n}
+@cindex @samp{QTFrame} packet
 Select the @var{n}'th tracepoint frame from the buffer, and use the
 register and memory contents recorded there to answer subsequent
 request packets from @value{GDBN}.
@@ -37390,6 +37392,7 @@ Like @samp{QTFrame:range:@var{start}:@var{end}}, but select the first
 frame @emph{outside} the given range of addresses (exclusive).
 
 @item qTMinFTPILen
+@cindex @samp{qTMinFTPILen} packet
 This packet requests the minimum length of instruction at which a fast
 tracepoint (@pxref{Set Tracepoints}) may be placed.  For instance, on
 the 32-bit x86 architecture, it is possible to use a 4-byte jump, but
@@ -37414,30 +37417,36 @@ An empty reply indicates that the request is not supported by the stub.
 @end table
 
 @item QTStart
+@cindex @samp{QTStart} packet
 Begin the tracepoint experiment.  Begin collecting data from
 tracepoint hits in the trace frame buffer.  This packet supports the
 @samp{qRelocInsn} reply (@pxref{Tracepoint Packets,,Relocate
 instruction reply packet}).
 
 @item QTStop
+@cindex @samp{QTStop} packet
 End the tracepoint experiment.  Stop collecting trace frames.
 
 @item QTEnable:@var{n}:@var{addr}
 @anchor{QTEnable}
+@cindex @samp{QTEnable} packet
 Enable tracepoint @var{n} at address @var{addr} in a started tracepoint
 experiment.  If the tracepoint was previously disabled, then collection
 of data from it will resume.
 
 @item QTDisable:@var{n}:@var{addr}
 @anchor{QTDisable}
+@cindex @samp{QTDisable} packet
 Disable tracepoint @var{n} at address @var{addr} in a started tracepoint
 experiment.  No more data will be collected from the tracepoint unless
 @samp{QTEnable:@var{n}:@var{addr}} is subsequently issued.
 
 @item QTinit
+@cindex @samp{QTinit} packet
 Clear the table of tracepoints, and empty the trace frame buffer.
 
 @item QTro:@var{start1},@var{end1}:@var{start2},@var{end2}:@dots{}
+@cindex @samp{QTro} packet
 Establish the given ranges of memory as ``transparent''.  The stub
 will answer requests for these ranges from memory's current contents,
 if they were not collected as part of the tracepoint hit.
@@ -37448,12 +37457,14 @@ still have the same contents they did when the tracepoint was hit, so
 there's no reason for the stub to refuse to provide their contents.
 
 @item QTDisconnected:@var{value}
+@cindex @samp{QTDisconnected} packet
 Set the choice to what to do with the tracing run when @value{GDBN}
 disconnects from the target.  A @var{value} of 1 directs the target to
 continue the tracing run, while 0 tells the target to stop tracing if
 @value{GDBN} is no longer in the picture.
 
 @item qTStatus
+@cindex @samp{qTStatus} packet
 Ask the stub if there is a trace experiment running right now.
 
 The reply has the form:
@@ -37573,7 +37584,9 @@ was not collected.
 @end table
 
 @item qTfP
+@cindex @samp{qTfP} packet
 @itemx qTsP
+@cindex @samp{qTsP} packet
 These packets request data about tracepoints that are being used by
 the target.  @value{GDBN} sends @code{qTfP} to get the first piece
 of data, and multiple @code{qTsP} to get additional pieces.  Replies
@@ -37581,7 +37594,9 @@ to these packets generally take the form of the @code{QTDP} packets
 that define tracepoints. (FIXME add detailed syntax)
 
 @item qTfV
+@cindex @samp{qTfV} packet
 @itemx qTsV
+@cindex @samp{qTsV} packet
 These packets request data about trace state variables that are on the
 target.  @value{GDBN} sends @code{qTfV} to get the first vari of data,
 and multiple @code{qTsV} to get additional variables.  Replies to
@@ -37592,6 +37607,8 @@ trace state variables.
 @itemx qTsSTM
 @anchor{qTfSTM}
 @anchor{qTsSTM}
+@cindex @samp{qTfSTM} packet
+@cindex @samp{qTsSTM} packet
 These packets request data about static tracepoint markers that exist
 in the target program.  @value{GDBN} sends @code{qTfSTM} to get the
 first piece of data, and multiple @code{qTsSTM} to get additional
@@ -37623,18 +37640,21 @@ query), until the target responds with @samp{l} (lower-case ell, for
 
 @item qTSTMat:@var{address}
 @anchor{qTSTMat}
+@cindex @samp{qTSTMat} packet
 This packets requests data about static tracepoint markers in the
 target program at @var{address}.  Replies to this packet follow the
 syntax of the @samp{qTfSTM} and @code{qTsSTM} packets that list static
 tracepoint markers.
 
 @item QTSave:@var{filename}
+@cindex @samp{QTSave} packet
 This packet directs the target to save trace data to the file name
 @var{filename} in the target's filesystem.  @var{filename} is encoded
 as a hex string; the interpretation of the file name (relative vs
 absolute, wild cards, etc) is up to the target.
 
 @item qTBuffer:@var{offset},@var{len}
+@cindex @samp{qTBuffer} packet
 Return up to @var{len} bytes of the current contents of trace buffer,
 starting at @var{offset}.  The trace buffer is treated as if it were
 a contiguous collection of traceframes, as per the trace file format.
@@ -37648,6 +37668,7 @@ This packet directs the target to use a circular trace buffer if
 @var{value} is 1, or a linear buffer if the value is 0.
 
 @item QTNotes:@r{[}@var{type}:@var{text}@r{]}@r{[};@var{type}:@var{text}@r{]}@dots{}
+@cindex @samp{QTNotes} packet
 This packet adds optional textual notes to the trace run.  Allowable
 types include @code{user}, @code{notes}, and @code{tstop}, the
 @var{text} fields are arbitrary strings, hex-encoded.
@@ -40357,7 +40378,7 @@ index version:
 @item Version 4
 The formula is @code{r = r * 67 + c - 113}.
 
-@item Versions 5 and 6


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


             reply	other threads:[~2012-06-25 17:43 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-25 17:43 pmuldoon [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-02-26 10:18 pmuldoon
2013-02-02 13:02 pmuldoon
2013-01-04 11:43 pmuldoon
2012-11-28 14:55 pmuldoon
2012-11-23 16:55 pmuldoon
2012-11-09 15:09 pmuldoon
2012-10-22 13:01 pmuldoon
2012-09-07 13:38 pmuldoon
2012-09-04 12:17 pmuldoon
2012-09-04 12:13 pmuldoon
2012-08-30 16:58 pmuldoon
2012-08-23 14:56 pmuldoon
2012-08-14 16:08 pmuldoon
2012-08-09 17:02 pmuldoon
2012-08-01 17:00 pmuldoon
2012-07-23 19:41 pmuldoon
2012-07-19 12:40 pmuldoon
2012-07-18 14:22 pmuldoon
2012-07-11 14:21 pmuldoon
2012-06-21 11:12 pmuldoon
2012-06-14 10:27 pmuldoon
2012-06-13 13:52 pmuldoon
2012-06-06 10:42 pmuldoon
2012-05-22 12:36 pmuldoon
2012-04-26 13:31 pmuldoon
2012-04-10 19:22 pmuldoon
2012-04-04 15:05 pmuldoon
2012-03-27 16:42 pmuldoon
2012-03-23 14:48 pmuldoon
2012-03-19 15:08 pmuldoon
2012-03-12 13:42 pmuldoon
2012-03-05 15:58 pmuldoon
2012-02-20 17:52 pmuldoon
2012-02-13 10:41 pmuldoon
2012-01-23 16:39 pmuldoon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120625174319.28503.qmail@sourceware.org \
    --to=pmuldoon@sourceware.org \
    --cc=archer-commits@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).