Jan Kratochvil [Mon, 27 Aug 2012 16:43:26 +0000 (16:43 +0000)]
 
ChangeLog fix:
	PR gdb/14494.
	* dwarf2read.c (dwarf2_locate_sections): Move variable aflag here.
	Move the SEC_HAS_CONTENTS check here - for any NAMES use.
	(dwarf2_locate_sections) <eh_frame>: Move the variable and check from
	here.
Jan Kratochvil [Mon, 27 Aug 2012 16:37:45 +0000 (16:37 +0000)]
 
gdb/
	* dwarf2read.c (dwarf2_locate_sections): Move variable aflag here.
	Move the SEC_HAS_CONTENTS check here - for any NAMES use.
	(dwarf2_locate_sections) <eh_frame>: Move the variable and check from
	here.
Jan Kratochvil [Mon, 27 Aug 2012 16:34:35 +0000 (16:34 +0000)]
 
gdb/testsuite/
	* gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
	* gdb.arch/i386-cfi-notcurrent.S: New file.
	* gdb.arch/i386-cfi-notcurrent.exp: New file.
Pedro Alves [Mon, 27 Aug 2012 08:58:01 +0000 (08:58 +0000)]
 
2012-08-27  Wei-cheng Wang  <cole945@gmail.com>
	* memattr.c (create_mem_region): Fix memory region overlapping
	checking.
2012-08-27  Wei-cheng Wang  <cole945@gmail.com>
	    Yao Qi <yao@codesourcery.com>
	    Pedro Alves <palves@redhat.com>
	* gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
	New procedures.
	(top level): Add overlap checking tests.
Alan Modra [Mon, 27 Aug 2012 00:00:04 +0000 (00:00 +0000)]
 
daily update
gdbadmin [Mon, 27 Aug 2012 00:00:03 +0000 (00:00 +0000)]
 
*** empty log message ***
H.J. Lu [Sun, 26 Aug 2012 14:41:28 +0000 (14:41 +0000)]
 
Don't set HOST_LIB_PATH_bfd/HOST_LIB_PATH_opcodes
	PR binutils/4970
	* Makefile.def (host_modules): Rmove lib_path=.libs from bfd
	and opcodes.
	* Makefile.in: Regenerated.
H.J. Lu [Sun, 26 Aug 2012 14:34:40 +0000 (14:34 +0000)]
 
Sync toplevel files with GCC tree
2012-08-14   Diego Novillo  <dnovillo@google.com>
	Merge from cxx-conversion branch.
	* Makefile.tpl (STAGE[+id+]_CXXFLAGS): Remove
	POSTSTAGE1_CONFIGURE_FLAGS.
	* Makefile.in: Regenerate.
	* configure.ac (ENABLE_BUILD_WITH_CXX): Remove.  Update all users.
	Force C++ when bootstrapping.
	* configure: Regenerate.
2012-07-06  Richard Guenther  <rguenther@suse.de>
	* Makefile.def (cloog): Pass $(HOST_GMPINC) and $(HOST_ISLINC)
	as CPPFLAGS, pass path to built gmp as LDFLAGS, always use
	--with-gmp=system.
	* Makefile.in: Regenerated.
	* configure: Likewise.
2012-07-06  Richard Guenther  <rguenther@suse.de>
	* configure.ac (extra_isl_gmp_configure_flags): Initialize and subst.
	* Makefile.def (isl): Use extra_isl_gmp_configure_flags and
	supply V=1 as extra_make_flags.
	* configure: Regenerated.
	* Makefile.in: Likewise.
2012-07-03  Richard Guenther  <rguenther@suse.de>
	* Makfile.def (isl): Remove not necessary extra_exports and
	extra_make_flags.
	(cloog): Use $$CPPFLAGS instead of ${CPPFLAGS}.
	* Makefile.in: Regenerated.
2012-07-03  Richard Guenther  <rguenther@suse.de>
	* Makefile.def (cloog): Add V=1 to extra_make_flags.
	* configure.ac: If either the ISL or the CLooG check failed
	do not try to build in-tree versions.
	* Makefile.in: Regenerated.
	* configure: Regenerated.
2012-07-02  Richard Guenther  <rguenther@suse.de>
	Michael Matz  <matz@suse.de>
	Tobias Grosser <tobias@grosser.es>
	Sebastian Pop <sebpop@gmail.com>
	* Makefile.def: Add ISL host module, remove PPL host module.
	Adjust ClooG host module to use the proper ISL.
	* Makefile.tpl: Pass ISL include flags instead of PPL ones.
	* configure.ac: Include config/isl.m4.  Add ISL host library,
	remove PPL.  Remove PPL configury, add ISL configury, adjust
	ClooG configury.
	* Makefile.in: Regenerated.
	* configure: Likewise.
2012-07-02  Richard Guenther  <rguenther@suse.de>
	Merge from graphite branch
	2011-07-21  Tobias Grosser  <tobias@grosser.es>
	* configure: Regenerated.
	* config/cloog.m4: Remove support for CLooG-ppl and CLooG-parma,
	both cloog.org and legacy versions. The only supported version will
	be CLooG with the isl backend.
	2011-07-21  Tobias Grosser  <tobias@grosser.es>
	* configure: Regenerated.
	* configure.ac: Require cloog isl 0.17.0
	2011-07-21  Tobias Grosser  <tobias@grosser.es>
	* configure: Regenerated.
	* config/cloog.m4: Do not define CLOOG_ORG
2012-06-29  Steven Bosscher  <steven@gcc.gnu.org>
	* configure.ac: Skip C if explicitly selected.
	* configure: Regenerate.
2012-06-28  Christophe Lyon <christophe.lyon@st.com>
	* configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Make sure
	they contain -O2.
	* configure: Regenerate.
2012-06-20  Jason Merrill  <jason@redhat.com>
	* Makefile.tpl (check-target-libgomp-c++): New.
	(check-target-libitm-c++): New.
	* Makefile.def (c++): Add them.
	* Makefile.in: Regenerate.
2012-05-16  Olivier Hainque  <hainque@adacore.com>
	* Makefile.tpl (gcc-no-fixedincludes): Rename into ...
	(gcc-install-no-fixedincludes): Now forwarder to local target in gcc/
	(install-no-fixedincludes): Adjust accordingly.
	* Makefile.in: Regenerate.
2012-05-09  Nick Clifton  <nickc@redhat.com>
	    Paul Smith  <psmith@gnu.org>
	PR bootstrap/50461
	* configure.ac (mpfr-dir): When using in-tree MPFR sources
	allow for the fact that from release v3.1.0 of MPFR the source
	files were moved into a src sub-directory.
	* configure: Regenerate.
2012-05-07  Janne Blomqvist  <jb@gcc.gnu.org>
	* configure.ac: Bump minimum MPFR version to 2.4.0.
	* configure: Regenerated.
2012-05-01  Richard Henderson  <rth@redhat.com>
	* Makefile.def (libatomic): New target_module.
	* configure.ac (target_libraries): Add libatomic.
	(noconfigdirs): Check if libatomic is supported.
	* Makefile.in, configure: Rebuild.
config/
2012-08-26  Art Haas <ahaas@impactweather.com>
	* cloog.m4 (CLOOG_INIT_FLAGS): Use = instead of == in test.
2012-07-04  Tristan Gingold  <gingold@adacore.com>
	* isl.m4 (ISL_CHECK_VERSION): Set to yes if cross-compiling.
	Fix comments.
2012-07-03  Richard Guenther  <rguenther@suse.de>
	* cloog.m4: Remove debugging print.
2012-07-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
	* isl.m4 (ISL_CHECK_VERSION): Add -lisl to LIBS, not LDFLAGS.
2012-07-02  Richard Guenther  <rguenther@suse.de>
	* isl.m4 (_ISL_CHECK_CT_PROG): Omit main function header/footer.
	Fix version test.
2012-07-02  Richard Guenther  <rguenther@suse.de>
	Michael Matz  <matz@suse.de>
	Tobias Grosser <tobias@grosser.es>
	Sebastian Pop <sebpop@gmail.com>
	* cloog.m4: Set up to work against ISL only.
	* isl.m4: New file.
H.J. Lu [Sun, 26 Aug 2012 14:09:08 +0000 (14:09 +0000)]
 
Sync libtool.m4 with GCC tree
2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
	Merge upstream change
	* libtool.m4 (_LT_ENABLE_LOCK): Support x32.
2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
	* libtool.m4: Additional FreeBSD 10 fixes.
gdbadmin [Sun, 26 Aug 2012 00:00:33 +0000 (00:00 +0000)]
 
*** empty log message ***
Alan Modra [Sun, 26 Aug 2012 00:00:04 +0000 (00:00 +0000)]
 
daily update
gdbadmin [Sat, 25 Aug 2012 00:00:33 +0000 (00:00 +0000)]
 
*** empty log message ***
Alan Modra [Sat, 25 Aug 2012 00:00:05 +0000 (00:00 +0000)]
 
daily update
H.J. Lu [Fri, 24 Aug 2012 19:00:16 +0000 (19:00 +0000)]
 
Skip gas/elf/group0c.d for Solaris
	* gas/elf/group0c.d: Skip Solaris.
Sriraman Tallam [Fri, 24 Aug 2012 18:35:35 +0000 (18:35 +0000)]
 
Patch adds support to allow plugins to map selected subset of sections to unique
segments.
2012-08-24  Sriraman Tallam  <tmsriram@google.com>
	* gold.cc (queue_middle_tasks): Call layout again when unique
	segments for sections is desired.
	* layout.cc (Layout::Layout): Initialize new members.
	(Layout::get_output_section_flags): New function.
	(Layout::choose_output_section): Call get_output_section_flags.
	(Layout::layout): Make output section for mapping to a unique segment.
	(Layout::insert_section_segment_map): New function.
	(Layout::attach_allocated_section_to_segment): Make unique segment for
	output sections marked so.
	(Layout::segment_precedes): Check for unique segments when sorting.
	* layout.h (Layout::Unique_segment_info): New struct.
	(Layout::Section_segment_map): New typedef.
	(Layout::insert_section_segment_map): New function.
	(Layout::get_output_section_flags): New function.
	(Layout::is_unique_segment_for_sections_specified): New function.
	(Layout::set_unique_segment_for_sections_specified): New function.
	(Layout::unique_segment_for_sections_specified_): New member.
	(Layout::section_segment_map_): New member.
	* object.cc (Sized_relobj_file<size, big_endian>::do_layout):
	Rename is_gc_pass_one to is_pass_one.
	Rename is_gc_pass_two to is_pass_two.
	Rename is_gc_or_icf to is_two_pass.
	Check for which pass based on whether symbols data is present.
	Make it two pass when unique segments for sections is desired.
	* output.cc (Output_section::Output_section): Initialize new
	members.
	* output.h (Output_section::is_unique_segment): New function.
	(Output_section::set_is_unique_segment): New function.
	(Output_section::is_unique_segment_): New member.
	(Output_section::extra_segment_flags): New function.
	(Output_section::set_extra_segment_flags): New function.
	(Output_section::extra_segment_flags_): New member.
	(Output_section::segment_alignment): New function.
	(Output_section::set_segment_alignment): New function.
	(Output_section::segment_alignment_): New member.
	(Output_segment::Output_segment): Initialize is_unique_segment_.
	(Output_segment::is_unique_segment): New function.
	(Output_segment::set_is_unique_segment): New function.
	(Output_segment::is_unique_segment_): New member.
	* plugin.cc (allow_unique_segment_for_sections): New function.
	(unique_segment_for_sections): New function.
	(Plugin::load): Add new functions to transfer vector.
	* Makefile.am (plugin_final_layout.readelf.stdout): Add readelf output.
	* Makefile.in: Regenerate.
	* testsuite/plugin_final_layout.sh: Check if unique segment
	functionality works.
	* testsuite/plugin_section_order.c (onload): Check if new interfaces
	are available.
	(allow_unique_segment_for_sections): New global.
	(unique_segment_for_sections): New global.
	(claim_file_hook): Call allow_unique_segment_for_sections.
	(all_symbols_read_hook): Call unique_segment_for_sections.
2012-08-24  Sriraman Tallam  <tmsriram@google.com>
	* plugin-api.h (ld_plugin_allow_unique_segment_for_sections):
	New interface.
	(ld_plugin_unique_segment_for_sections): New interface.
	(LDPT_ALLOW_UNIQUE_SEGMENT_FOR_SECTIONS): New enum val.
	(LDPT_UNIQUE_SEGMENT_FOR_SECTIONS): New enum val.
	(tv_allow_unique_segment_for_sections): New member.
	(tv_unique_segment_for_sections): New member.
H.J. Lu [Fri, 24 Aug 2012 18:24:52 +0000 (18:24 +0000)]
 
Use failif on ld-elf/exclude3 tests
	* ld-elf/exclude3a.d: Remove target and use failif.
	* ld-elf/exclude3b.d: Change target to *-*-linux* *-*-gnu* and
	use failif
	* ld-elf/exclude3d.d: Removed.
H.J. Lu [Fri, 24 Aug 2012 18:20:40 +0000 (18:20 +0000)]
 
Add Solaris/x86-64 support to eh[1-4] test
	* ld-elf/elf.exp: Add Solaris/x86-64 support to eh[1-4] test.
H.J. Lu [Fri, 24 Aug 2012 17:57:52 +0000 (17:57 +0000)]
 
Properly check x32 support
	* gas/i386/ilp32/ilp32.exp (gas_64_check): Renamed to ...
	(gas_x32_check): This.  Check elf32-x86-64.
	Remove Solaris check.
	* gas/i386/ilp32/cfi/ilp32.exp: Likewise.
	* gas/i386/ilp32/elf/ilp32.exp: Likewise.
	* gas/i386/ilp32/lns/ilp32.exp: Likewise.
H.J. Lu [Fri, 24 Aug 2012 17:42:56 +0000 (17:42 +0000)]
 
Skip x32 tests for Solaris
	* gas/i386/ilp32/ilp32.exp: Skip Solaris.
	* gas/i386/ilp32/cfi/ilp32.exp: Likewise.
	* gas/i386/ilp32/elf/ilp32.exp: Likewise.
	* gas/i386/ilp32/lns/ilp32.exp: Likewise.
Tom Tromey [Fri, 24 Aug 2012 15:26:23 +0000 (15:26 +0000)]
 
	* lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
	gdb_test_multiple fails for other reasons.
Yit Phang Khoo [Fri, 24 Aug 2012 15:23:59 +0000 (15:23 +0000)]
 
Move misplaced entries from gdb/ChangeLog to gdb/doc/ChangeLog.
2012-08-23  Khoo Yit Phang <khooyp@cs.umd.edu>
	Document how to return from "python-interactive" to GDB.
	* gdb.texinfo (Python Commands): Update documentation.
2012-08-22  Khoo Yit Phang <khooyp@cs.umd.edu>
	Add a new "python-interactive" command that starts a standard
	Python interactive prompt with "pi" as alias, and add "py" as
	an alias to "python".
	* gdb.texinfo (Python Commands): Document the new commands.
Matthew Gretton-Dann [Fri, 24 Aug 2012 08:14:40 +0000 (08:14 +0000)]
 
	* gas/config/tc-arm.c (ARM_ENC_TAB): Add sha1h and sha2op entries.
	(do_sha1h): New function.
	(do_sha1su1): Likewise.
	(do_sha256su0): Likewise.
	(insns): Add 2 operand SHA instructions.
	* gas/testsuite/gas/arm/armv8-a+crypto.s: Update testcase.
	* gas/testsuite/gas/arm/armv8-a+crypto.d: Likewise.
	* opcodes/arm-dis.c (neon_opcodes): Add 2 operand sha instructions.
Matthew Gretton-Dann [Fri, 24 Aug 2012 08:14:04 +0000 (08:14 +0000)]
 
	* gas/config/tc-arm.c (NEON_ENC_TAB): Add sha3op entry.
	(do_crypto_3op_1): New function.
	(do_sha1c): Likewise.
	(do_sha1p): Likewise.
	(do_sha1m): Likewise.
	(do_sha1su0): Likewise.
	(do_sha256h): Likewise.
	(do_sha256h2): Likewise.
	(do_sha256su1): Likewise.
	(insns): Add SHA 3 operand instructions.
	* gas/testsuite/gas/arm/armv8-a+crypto.d: Update testcase.
	* gas/testsuite/gas/arm/armv8-a+crypto.s: Likewise.
	* opcodes/arm-dis.c (neon_opcodes): Add SHA 3-operand instructions.
Matthew Gretton-Dann [Fri, 24 Aug 2012 08:13:24 +0000 (08:13 +0000)]
 
	* gas/config/tc-arm.c (neon_type_mask): Add P64 type.
	(type_chk_of_el_type): Handle P64 type.
	(el_type_of_type_chk): Likewise.
	(do_neon_vmull): Handle VMULL.P64.
	* gas/testsuite/gas/arm/armv8-a+crypto.d: Update testcase.
	* gas/testsuite/gas/arm/armv8-a+crypto.s: Likewise.
	* opcodes/arm-dis.c (neon_opcodes): Handle VMULL.P64.
Matthew Gretton-Dann [Fri, 24 Aug 2012 08:12:45 +0000 (08:12 +0000)]
 
	* gas/config/tc-arm.c (NEON_ENC_TAB): Add aes entry.
	(neon_type_mask): Add N_UNT.
	(neon_check_type): Don't always decay typed to untyped sizes.
	(do_crypto_2op_1): New function.
	(do_aese): Likewise.
	(do_aesd): Likewise.
	(do_aesmc.8): Likewise.
	(do_aesimc.8): Likewise.
	(insns): Add AES instructions.
	* gas/testsuite/gas/arm/armv8-a+crypto.d: New testcase.
	* gas/testsuite/gas/arm/armv8-a+crypto.s: Likewise.
	* opcodes/arm-dis.c (neon_opcodes): Add support for AES instructions.
Matthew Gretton-Dann [Fri, 24 Aug 2012 08:11:44 +0000 (08:11 +0000)]
 
	* gas/config/tc-arm.c (el_type_type_check): Add handling for 16-bit
	floating point types.
	(do_neon_cvttb_2): New function.
	(do_neon_cvttb_1): Likewise.
	(do_neon_cvtb): Refactor to use do_neon_cvttb_1.
	(do_neon_cvtt): Likewise.
	* gas/testsuite/gas/arm/armv8-a+fp.d: Update testcase.
	* gas/testsuite/gas/arm/armv8-a+fp.s: Likewise.
	* gas/testsuite/gas/arm/half-prec-vfpv3.s: Likewise.
	* opcodes/arm-dis.c (coprocessor_opcodes): Add support for HP/DP
	conversions.
Matthew Gretton-Dann [Fri, 24 Aug 2012 08:11:13 +0000 (08:11 +0000)]
 
	* gas/config/tc-arm.c (NEON_ENC_TAB): Add vrint entries.
	(neon_cvt_mode): Add neon_cvt_mode_r.
	(do_vrint_1): New function.
	(do_vrint_x): Likewise.
	(do_vrint_z): Likewise.
	(do_vrint_r): Likewise.
	(do_vrint_a): Likewise.
	(do_vrint_n): Likewise.
	(do_vrint_p): Likewise.
	(do_vrint_m): Likewise.
	(insns): Add VRINT instructions.
	* gas/testsuite/gas/arm/armv8-a+fpv5.d: Update testcase.
	* gas/testsuite/gas/arm/armv8-a+fpv5.s: Likewise.
	* gas/testsuite/gas/arm/armv8-a+simdv3.d: Likewise.
	* gas/testsuite/gas/arm/armv8-a+simdv3.s: Likewise.
	* opcodes/arm-dis.c (coprocessor_opcodes): Add VRINT.
	(neon_opcodes): Likewise.
Matthew Gretton-Dann [Fri, 24 Aug 2012 08:09:50 +0000 (08:09 +0000)]
 
	* gas/config/tc-arm.c (NEON_ENC_TAB): Add vcvta entry.
	(neon_cvt_mode): New enumeration.
	(do_vfp_nsyn_cvt_fpv8): New function.
	(do_neon_cvt_1): Add support for new conversions.
	(do_neon_cvtr): Use neon_cvt_mode enumerator.
	(do_neon_cvt): Likewise.
	(do_neon_cvta): New function.
	(do_neon_cvtn): Likewise.
	(do_neon_cvtp): Likewise.
	(do_neon_cvtm): Likewise.
	(insns): Add new VCVT instructions.
	* gas/testsuite/gas/arm/armv8-a+fp.d: Update testcase.
	* gas/testsuite/gas/arm/armv8-a+fp.s: Likewise.
	* gas/testsuite/gas/arm/armv8-a+simd.d: Likewise.
	* gas/testsuite/gas/arm/armv8-a+simd.s: Likewise.
	* opcodes/arm-dis.c (coprocessor_opcodes): Add support for new VCVT
	variants.
	(neon_opcodes): Likewise.
Matthew Gretton-Dann [Fri, 24 Aug 2012 08:09:01 +0000 (08:09 +0000)]
 
	* gas/config/tc-arm.c (CVT_FLAVOUR_VAR): New define.
	(CVT_VAR): New helper define.
	(neon_cvt_flavour): New enumeration, function renamed...
	(get_neon_cvt_flavour): ...to this.
	(do_vfp_nsyn_cvt): Update to use new neon_cvt_flavour.
	(do_vfp_nsyn_cvtz): Likewise.
	(do_neon_cvt_1): Likewise.
Matthew Gretton-Dann [Fri, 24 Aug 2012 08:07:36 +0000 (08:07 +0000)]
 
	* gas/config/tc-arm.c (NEON_ENC_TAB): Add vmaxnm, vminnm entries.
	(vfp_or_neon_is_neon_bits): Add NEON_CHECK_ARCH8 enumerator.
	(vfp_or_neon_is_neon): Add check for SIMD for ARMv8.
	(do_maxnm): New function.
	(insns): Add vmaxnm, vminnm entries.
	* gas/testsuite/gas/testsuite/gas/armv8-a+fp.d: Update testcase.
	* gas/testsuite/gas/testsuite/gas/armv8-a+fp.s: Likewise.
	* gas/testsuite/gas/testsuite/gas/armv8-a+simd.d: New testcase.
	* gas/testsuite/gas/testsuite/gas/armv8-a+simd.s: Likewise.
	* opcodes/arm-dis.c (coprocessor_opcodes): Add VMAXNM/VMINNM.
	(neon_opcodes): Likewise.
Matthew Gretton-Dann [Fri, 24 Aug 2012 08:06:36 +0000 (08:06 +0000)]
 
	* gas/config/tc-arm.c (NEON_ENC_TAB): Add entries for VSEL.
	(NEON_ENC_FPV8_): New define.
	(do_vfp_nsyn_fpv8): New function.
	(do_vsel): Likewise.
	(insns): Add VSEL instructions.
	* gas/testsuite/gas/arm/armv8-a+fp.d: New testcase.
	* gas/testsuite/gas/arm/armv8-a+fp.s: Likewise.
	* opcodes/arm-dis.c (coprocessor_opcodes): Add VSEL.
	(print_insn_coprocessor): Add new %<>c bitfield format
	specifier.
Matthew Gretton-Dann [Fri, 24 Aug 2012 08:03:39 +0000 (08:03 +0000)]
 
	* gas/config/tc-arm.c (do_rm_rn): New function.
	(do_strlex): Likewise.
	(do_t_strlex): Likewise.
	(insns): Add support for LDRA/STRL instructions.
	* gas/testsuite/gas/arm/armv8-a-bad.l: Update testcase.
	* gas/testsuite/gas/arm/armv8-a-bad.s: Likewise.
	* gas/testsuite/gas/arm/armv8-a.d: Likewise.
	* gas/testsuite/gas/arm/armv8-a.s: Likewise.
	* opcodes/arm-dis.c (arm_opcodes): Add LDRA/STRL instructions.
	(thumb32_opcodes): Likewise.
	(print_arm_insn): Add support for %<>T formatter.
Matthew Gretton-Dann [Fri, 24 Aug 2012 08:02:51 +0000 (08:02 +0000)]
 
	* gas/config/tc-arm.c (do_t_bkpt_hlt1): New function.
	(do_t_hlt): New function.
	(do_t_bkpt): Use do_t_bkpt_hlt1.
	(insns): Add HLT.
	* gas/testsuite/gas/arm/armv8-a-bad.l: Update for HLT.
	* gas/testsuite/gas/arm/armv8-a-bad.s: Likewise.
	* gas/testsuite/gas/arm/armv8-a.d: Likewise.
	* gas/testsuite/gas/arm/armv8-a.s: Likewise.
	* opcodes/arm-dis.c (arm_opcodes): Add HLT.
	(thumb_opcodes): Likewise.
Matthew Gretton-Dann [Fri, 24 Aug 2012 08:02:09 +0000 (08:02 +0000)]
 
	* gas/config/tc-arm.c (insns): Add DCPS instruction.
	* gas/testsuite/gas/arm/armv8-a.d: Update.
	* gas/testsuite/gas/arm/armv8-a.s: Likewise.
	* opcodes/arm-dis.c (thumb32_opcodes): Add DCPS instruction.
Matthew Gretton-Dann [Fri, 24 Aug 2012 08:01:18 +0000 (08:01 +0000)]
 
	* gas/config/tc-arm.c (T16_32_TAB): Add _sevl.
	(insns): Add SEVL.
	* gas/testsuite/gas/arm/armv8-a.s: New testcase.
	* gas/testsuite/gas/arm/armv8-a.d: Likewise.
	* opcodes/arm-dis.c (arm_opcodes): Add SEVL.
	(thumb_opcodes): Likewise.
	(thumb32_opcodes): Likewise.
Matthew Gretton-Dann [Fri, 24 Aug 2012 08:00:20 +0000 (08:00 +0000)]
 
	* gas/config/tc-arm.c (asm_barrier_opt): Add arch field.
	(mark_feature_used): New function.
	(parse_barrier): Check specified option is valid for the
	specified architecture.
	(UL_BARRIER): New macro.
	(barrier_opt_names): Update for new barrier options.
	* gas/testsuite/gas/arm/armv8-a-barrier.s: New testcase.
	* gas/testsuite/gas/arm/armv8-a-barrier-arm.d: Likewise.
	* gas/testsuite/gas/arm/armv8-a-barrier-thumb.d: Likewise.
	* opcodes/arm-dis.c (data_barrier_option): New function.
	(print_insn_arm): Use data_barrier_option.
	(print_insn_thumb32): Use data_barrier_option.
Matthew Gretton-Dann [Fri, 24 Aug 2012 07:59:05 +0000 (07:59 +0000)]
 
	* opcodes/arm-dis.c (COND_UNCOND): New constant.
	(print_insn_coprocessor): Add support for %u format specifier.
	(print_insn_neon): Likewise.
Matthew Gretton-Dann [Fri, 24 Aug 2012 07:58:02 +0000 (07:58 +0000)]
 
	* gas/config/tc-arm.c (do_setend): Warn on deprecated SETEND.
	(do_t_setend): Likewise.
	* gas/testsuite/gas/arm/armv8-a-bad.l: Update
	* gas/testsuite/gas/arm/armv8-a-bad.s: Likewise.
Matthew Gretton-Dann [Fri, 24 Aug 2012 07:57:19 +0000 (07:57 +0000)]
 
	* gas/config/tc-arm.c (do_t_it): Fully initialise now_it.
	(new_automatic_it_block): Likewise.
	(handle_it_block): Record whether current instruction is
	conditionally executed.
	* gas/config/tc-arm.c (depr_insn_mask): New structure.
	(depr_it_insns): New variable.
	(it_fsm_post_encode): Warn on deprecated uses.
	* gas/config/tc-arm.h (current_it): Add new fields.
	* gas/testsuite/gas/arm/armv8-a-it-bad.d: New testcase.
	* gas/testsuite/gas/arm/armv8-a-it-bad.l: Likewise.
	* gas/testsuite/gas/arm/armv8-a-it-bad.s: Likewise.
	* gas/testsuite/gas/arm/ldr-t-bad.s: Update testcase.
	* gas/testsuite/gas/arm/ldr-t.d: Likewise.
	* gas/testsuite/gas/arm/ldr-t.s: Likewise.
	* gas/testsuite/gas/arm/neon-cond-bad-inc.s: Likewise.
	* gas/testsuite/gas/arm/sp-pc-validations-bad-t: Likewise.
	* gas/testsuite/gas/arm/vfp-fma-inc.s: Likewise.
	* gas/testsuite/gas/arm/vfp-neon-syntax-inc.s: Likewise.
Matthew Gretton-Dann [Fri, 24 Aug 2012 07:54:45 +0000 (07:54 +0000)]
 
	* gas/config/tc-arm.c (deprecated_coproc_regs_s): New structure.
	(deprecated_coproc_regs): New variable.
	(deprecated_coproc_reg_count): Likewise.
	(do_co_reg): Error on obsolete & warn on deprecated registers.
	* gas/testsuite/gas/arm/armv8-a-bad.l: Update testcase.
	* gas/testsuite/gas/arm/armv8-a-bad.s: Likewise.
Matthew Gretton-Dann [Fri, 24 Aug 2012 07:52:49 +0000 (07:52 +0000)]
 
	* gas/config/tc-arm.c (check_obsolete): New function.
	(do_rd_rm_rn): Check swp{b} for obsoletion.
	* gas/testsuite/gas/arm/armv8-a-bad.d: New testcase.
	* gas/testsuite/gas/arm/armv8-a-bad.l: Likewise.
	* gas/testsuite/gas/arm/armv8-a-bad.s: Likewise.
	* gas/testsuite/gas/arm/depr-swp.l: Update for change in expected output.
	* gas/testsuite/gas/arm/depr-swp.s: Add additional test.
	* include/opcode/arm.h (ARM_CPU_IS_ANY): New define.
Matthew Gretton-Dann [Fri, 24 Aug 2012 07:50:38 +0000 (07:50 +0000)]
 
	* bfd/elf32-arm.c (v8): New array.
	(tag_cpu_arch_combine): Add support for ARMv8 attributes.
	(elf32_arm_merge_eabi_attributes): Likewise.
	(VFP_VERSION_COUNT): New define.
	* binutils/readelf.c (arm_attr_tag_CPU_arch): Update for ARMv8.
	(arm_attr_tag_FP_arch): Likewise.
	(arm_attr_tag_Advanced_SIMD_arch): Likewise.
	* gas/config/tc-arm.h (arm_ext_v8): New variable.
	(fpu_vfp_ext_armv8): Likewise.
	(fpu_neon_ext_armv8): Likewise.
	(fpu_crypto_ext_armv8): Likewise.
	(arm_archs): Add armv8-a.
	(arm_extensions): Add crypto, fp, and simd.
	(arm_fpus): Add fp-armv8, neon-fp-armv8, crypto-neon-fp-armv8.
	(cpu_arch_ver): Add support for ARMv8.
	(aeabi_set_public_sttributes): Likewise.
	* gas/doc/c-arm.texi (ARM Options): Document new architecture and
	extension options for ARMv8.
	* gas/testsuite/gas/arm/attr-march-all.d: Update for change in expected
	output.
	* gas/testsuite/gas/arm/attr-mfpu-vfpv4-d16.d: Likewise.
	* gas/testsuite/gas/arm/attr-mfpu-vfpv4.d: Likewise.
	* gas/testsuite/gas/arm/attr-march-armv8-a+crypto.d: New testcase.
	* gas/testsuite/gas/arm/attr-march-armv8-a+fp.d: Likewise.
	* gas/testsuite/gas/arm/attr-march-armv8-a+simd.d: Likewise.
	* gas/testsuite/gas/arm/attr-march-armv8-a.d: Likewise.
	* include/elf/arm.h (TAG_CPU_ARCH_V8): New define.
	(MAX_TAG_CPU_ARCH): Update.
	* include/opcode/arm.h (ARM_EXT_V8): New define.
	(FPU_VFP_EXT_ARMV8): Likewise.
	(FPU_NEON_EXT_ARMV8): Likewise.
	(FPU_CRYPTO_EXT_ARMV8): Likewise.
	(ARM_AEXT_V8A): Likewise.
	(FPU_VFP_ARMV8): Likwise.
	(FPU_NEON_ARMV8): Likewise.
	(FPU_CRYPTO_ARMV8): Likewise.
	(FPU_ARCH_VFP_ARMV8): Likewise.
	(FPU_ARCH_NEON_VFP_ARMV8): Likewise.
	(FPU_ARCH_CRYPTO_NEON_VFP_ARMV8): Likewise.
	(ARM_ARCH_V8A): Likwise.
	(ARM_ARCH_V8A_FP): Likewise.
	(ARM_ARCH_V8A_SIMD): Likewise.
	(ARM_ARCH_V8A_CRYPTO): Likewise.
	* ld/testsuite/ld-arm/arm-elf.exp: Add new testcases.
	* ld/testsuite/ld-arm/attr-merge-vfp-3.d: Update for change in expected
	output.
	* ld/testsuite/ld-arm/attr-merge-vfp-3r.d: Likewise.
	* ld/testsuite/ld-arm/attr-merge-vfp-4.d: Likewise.
	* ld/testsuite/ld-arm/attr-merge-vfp-4r.d: Likewise.
	* ld/testsuite/ld-arm/attr-merge-vfp-5.d: Likewise.
	* ld/testsuite/ld-arm/attr-merge-vfp-5r.d: Likewise.
	* ld/testsuite/ld-arm/attr-merge-vfp-7.d: New testcase.
	* ld/testsuite/ld-arm/attr-merge-vfp-7r.d: Likewise.
	* ld/testsuite/ld-arm/attr-merge-vfp-armv8-hard.s: Likewise.
	* ld/testsuite/ld-arm/attr-merge-vfp-armv8.s: Likewise.
Siddhesh Poyarekar [Fri, 24 Aug 2012 03:57:22 +0000 (03:57 +0000)]
 
    * h8300-tdep.c (h8300_push_dummy_call): Replace unsafe alloca
        with xmalloc/cleanup.
        * mt-tdep.c (mt_push_dummy_call): Likewise.
        * tilegx-tdep.c (tilegx_push_dummy_call): Likewise.
        * xstormy16-tdep.c (xstormy16_push_dummy_call): Likewise.
Yao Qi [Fri, 24 Aug 2012 03:19:58 +0000 (03:19 +0000)]
 
gdb/testsuite/
	* lib/gdb.exp (skip_unwinder_tests): Remove pass.
Yao Qi [Fri, 24 Aug 2012 03:17:13 +0000 (03:17 +0000)]
 
gdb/
	* jv-exp.y (push_expression_name): Add "." at the end of error
	message.
gdbadmin [Fri, 24 Aug 2012 00:00:33 +0000 (00:00 +0000)]
 
*** empty log message ***
Alan Modra [Fri, 24 Aug 2012 00:00:05 +0000 (00:00 +0000)]
 
daily update
Yit Phang Khoo [Thu, 23 Aug 2012 18:55:25 +0000 (18:55 +0000)]
 
	Document how to return from "python-interactive" to GDB.
	* doc/gdb.texinfo (Python Commands): Update documentation.
	* python/python.c (_initialize_python): Update documentation.
Pedro Alves [Thu, 23 Aug 2012 16:59:14 +0000 (16:59 +0000)]
 
2012-08-23  Pedro Alves  <palves@redhat.com>
	gdb/
	* infrun.c (_initialize_infrun) <handle command help text>:
	Mention that multiple signals are supported.
	gdb/testsuite/
	* gdb.base/help.exp: Adjust to "handle" help text change.
Pedro Alves [Thu, 23 Aug 2012 16:44:24 +0000 (16:44 +0000)]
 
2012-08-23  Pedro Alves  <palves@redhat.com>
	* infcmd.c (_initialize_infcmd) <signal command>: Fix typo in help
	string.
Yao Qi [Thu, 23 Aug 2012 16:11:10 +0000 (16:11 +0000)]
 
gdb/
	* tracepoint.c (disconnect_tracing): Call set_tracepoint_num.
	(tfind_1): Don't call registers_changed, set_traceframe_num,
	and clear_traceframe_info.
	Call set_current_traceframe.
	(set_current_traceframe): call set_traceframe_num.
gdb/testsuite:
	* gdb.trace/disconnected-tracing.c (start, end): New.
	(main): Call start and end.
	* gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
	existing tests into this proc.
	(disconnected_tfind): New.
Yao Qi [Thu, 23 Aug 2012 14:01:42 +0000 (14:01 +0000)]
 
gdb/testsuite/
	* boards/native-gdbserver.exp (${board}_upload): New.
	* boards/native-stdio-gdbserver.exp (${board}_upload): New.
	* gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
	Execute tfile on remote target.
	Copy trace file from target to host.
Yao Qi [Thu, 23 Aug 2012 01:41:05 +0000 (01:41 +0000)]
 
gdb/gdbserver/
	* server.h: Remove declaration of 'xsnprintf'.
Alan Modra [Thu, 23 Aug 2012 00:00:04 +0000 (00:00 +0000)]
 
daily update
gdbadmin [Thu, 23 Aug 2012 00:00:02 +0000 (00:00 +0000)]
 
*** empty log message ***
Sergio Durigan Junior [Wed, 22 Aug 2012 21:31:17 +0000 (21:31 +0000)]
 
2012-08-22  Sergio Durigan Junior  <sergiodj@redhat.com>
	* remote-sim.c (_initialize_remote_sim): Pass NULL argument to
	`register_inferior_data_with_cleanup', fixing regression on PowerPC64.
Yit Phang Khoo [Wed, 22 Aug 2012 21:04:55 +0000 (21:04 +0000)]
 
	Enable readline in Python in a GDB-specific way and block the
	standard Python readline module to prevent conflicts with GDB.
	* Makefile.in (SUBDIR_PYTHON_OBS): Add py-gdb-readline.o.
	(SUBDIR_PYTHON_SRCS): Add python/py-gdb-readline.c.
	(py-gdb-readline.o): Add rule to compile python/py-gdb-readline.c.
	* python/py-gdb-readline.c: New file.
	* python/python-internal.h (gdbpy_initialize_gdb_readline): New
	prototype.
	* python/python.c (_initialize_python): Call
	gdbpy_initialize_gdb_readline.
Keith Seitz [Wed, 22 Aug 2012 20:04:05 +0000 (20:04 +0000)]
 
	* defs.h: Include build-gnulib/config.h
	* server.h: Include build-gnulib-gbserver/config.h.
	* gdbreplay.c: Likewise.
Joseph Myers [Wed, 22 Aug 2012 19:47:58 +0000 (19:47 +0000)]
 
	* arm-tdep.c (thumb_get_next_pc_raw): Mask off low bits for bx pc
	and blx pc.
testsuite:
	* gdb.arch/thumb-bx-pc.S: New file.
	* gdb.arch/thumb-bx-pc.exp: New file.
Yit Phang Khoo [Wed, 22 Aug 2012 19:15:15 +0000 (19:15 +0000)]
 
	Add a new "python-interactive" command that starts a standard
	Python interactive prompt with "pi" as alias, and add "py" as
	an alias to "python".
	* NEWS: Mention the new commands.
	* doc/gdb.texinfo (Python Commands): Document the new
	commands.
	* python/python.c (eval_python_command): New function.
	(python_interactive_command): For "python-interactive" with
	arguments, call eval_python_command.  For "python-interactive"
	without arguments, call PyRun_InteractiveLoop.
	(_initialize_python): Add "python-interactive" command with
	"pi" as alias, and add "py" as an alias to "python".
Cary Coutant [Wed, 22 Aug 2012 18:26:32 +0000 (18:26 +0000)]
 
2012-08-22  Cary Coutant  <ccoutant@google.com>
gold/
	* layout.cc (Layout::include_section): Don't assert on GROUP
	sections with --emit-relocs.
Tom Tromey [Wed, 22 Aug 2012 17:48:55 +0000 (17:48 +0000)]
 
	* defs.h (quit_flag): Don't declare.
	(clear_quit_flag, check_quit_flag, set_quit_flag): Declare.
	(QUIT): Use new functions.
	* event-top.c (command_handler): Use clear_quit_flag.
	(handle_sigint): Use set_quit_flag.
	(async_request_quit): Use check_quit_flag.  Don't check
	immediate_quit.
	* exceptions.c (throw_exception): Use clear_quit_flag.
	* main.c (captured_main): Use clear_quit_flag.
	* python/python.c (clear_quit_flag, set_quit_flag)
	(check_quit_flag): New functions.
	* remote-sim.c (gdb_os_poll_quit): Use check_quit_flag,
	clear_quit_flag.
	* remote.c (remote_wait_as): Use check_quit_flag,
	clear_quit_flag.
	(remote_start_remote): Call QUIT.
	* symfile.c (load_progress): Use check_quit_flag.
	* top.c (command_loop): Use clear_quit_flag.
	(command_line_input): Call QUIT.
	* utils.c (quit_flag): Conditionally define.
	(clear_quit_flag, check_quit_flag, set_quit_flag): New
	functions.
	(prompt_for_continue): Call QUIT.  Use quit, not
	async_request_quit.
	* remote-mips.c (mips_expect_timeout): Call QUIT.
	* monitor.c (monitor_expect): Call QUIT.
Tom Tromey [Wed, 22 Aug 2012 17:31:45 +0000 (17:31 +0000)]
 
	* event-top.c (sigwinch_token, handle_sigwinch): Remove.
	(async_init_signals): Update.
	* utils.c (init_page_info): Don't use SIGWINCH_HANDLER.
	(SIGWINCH_HANDLER_BODY): Remove.
gdb/doc
	* gdbint.texinfo (Host Definition): Remove documentation for
	SIGWINCH_HANDLER and SIGWINCH_HANDLER_BODY.
Tom Tromey [Wed, 22 Aug 2012 16:44:45 +0000 (16:44 +0000)]
 
	* jit.c (jit_object_close_impl): Don't malloc the objfile
	name.
	* objfiles.c (allocate_objfile): Don't malloc the objfile
	name.
	(free_objfile): Don't free the objfile name.
	* objfiles.h (struct objfile) <name>: Update comment.
	* symfile.c (reread_symbols): Fix reference counting.  Don't
	malloc objfile name.
Tom Tromey [Wed, 22 Aug 2012 16:24:39 +0000 (16:24 +0000)]
 
	* windows-nat.c (windows_make_so): Use gdb_bfd_open.
	* symfile.c (bfd_open_maybe_remote): Use gdb_bfd_open.
	(symfile_bfd_open): Likewise.
	(generic_load): Likewise.
	* solib.c (solib_bfd_fopen): Use gdb_bfd_open.
	* solib-pa64.c (pa64_solib_create_inferior_hook): Use
	gdb_bfd_open.
	* solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init):
	Use gdb_bfd_open.
	* rs6000-nat.c (add_vmap): Use gdb_bfd_open.
	* remote-mips.c (mips_load_srec): Use gdb_bfd_open.
	(pmon_load_fast): Likewise.
	* remote-m32r-sdi.c (m32r_load): Use gdb_bfd_open.
	* procfs.c (insert_dbx_link_bpt_in_file): Use gdb_bfd_open.
	* machoread.c (macho_symfile_read_all_oso): Use gdb_bfd_open.
	(macho_check_dsym): Likewise.
	* m32r-rom.c (m32r_load): Use gdb_bfd_open.
	(m32r_upload_command): Likewise.
	* gdb_bfd.h (gdb_bfd_cache): Declare.
	* gdb_bfd.c (struct gdb_bfd_data): New.
	(gdb_bfd_cache): New global.
	(struct gdb_bfd_cache_search): New.
	(hash_bfd): New function.
	(eq_bfd): Likewise.
	(gdb_bfd_open): Likewise.
	(gdb_bfd_ref): Allocate a gdb_bfd_data and attach to the BFD.
	(gdb_bfd_unref): Remove closed BFD from cache.  Update for
	gdb_bfd_data.
	* exec.c (exec_file_attach): Use gdb_bfd_open.
	* dsrec.c (load_srec): Use gdb_bfd_open.
Tom Tromey [Wed, 22 Aug 2012 16:12:50 +0000 (16:12 +0000)]
 
	* dwarf2read.c (macro_start_file): Update.
	* objfiles.c (get_objfile_bfd_data): Initialize macro_cache.
	(free_objfile_per_bfd_storage): Destroy macro_cache.
	(allocate_objfile, free_objfile): Update.
	* objfiles.h (struct objfile_per_bfd_storage) <macro_cache>:
	New field.
	(struct objfile) <macro_cache>: Remove.
	* symfile.c (reread_symbols): Update.
	* symmisc.c (print_symbol_bcache_statistics): Update.
	(print_objfile_statistics): Update.
Tom Tromey [Wed, 22 Aug 2012 16:01:09 +0000 (16:01 +0000)]
 
	* elfread.c (elf_symtab_read): Update.
	* objfiles.c (objfiles_bfd_data): New global.
	(get_objfile_bfd_data, free_objfile_per_bfd_storage)
	(objfile_bfd_data_free, set_objfile_per_bfd): New functions.
	(allocate_objfile, free_objfile): Update.
	(_initialize_objfiles): Initialize objfiles_bfd_data.
	* objfiles.h (struct objfile_per_bfd_storage): New.
	(struct objfile) <per_bfd>: New field.
	<filename_cache>: Remove.
	(set_objfile_per_bfd): Declare.
	* symfile.c (reread_symbols): Update.  Call
	set_objfile_per_bfd.
	(allocate_symtab): Update.
	* symmisc.c (print_symbol_bcache_statistics): Update.
	(print_objfile_statistics): Print the size of the BFD obstack.
gdb/testsuite
	* gdb.base/maint.exp: Update.
Tom Tromey [Wed, 22 Aug 2012 15:50:38 +0000 (15:50 +0000)]
 
	* gdb_bfd.h: Include registry.h.  Use DECLARE_REGISTRY.
	* gdb_bfd.c: Use DEFINE_REGISTRY.
	(struct gdb_bfd_data): Add REGISTRY_FIELDS.
	(gdb_bfd_ref): Call bfd_alloc_data.
	(gdb_bfd_unref): Call bfd_free_data.
Tom Tromey [Wed, 22 Aug 2012 15:31:12 +0000 (15:31 +0000)]
 
	* registry.h (struct registry_fields): New.
	(REGISTRY_FIELDS): Redefine.
	(REGISTRY_ACCESS_FIELD): New macro.
	(DEFINE_REGISTRY): Add ACCESS argument.  Update defined
	functions.
Tom Tromey [Wed, 22 Aug 2012 15:17:21 +0000 (15:17 +0000)]
 
	* auto-load.c (_initialize_auto_load): Update.
	* solib-svr4.c (_initialize_svr4_solib): Update
	* solib-dsbt.c (_initialize_dsbt_solib): Update.
	* solib-darwin.c (_initialize_darwin_solib): Update.
	* registry.h: New file.
	* python/py-progspace.c (gdbpy_initialize_pspace): Update.
	* python/py-inferior.c (gdbpy_initialize_inferior): Update.
	* progspace.h: Include registry.h.  Use DECLARE_REGISTRY.
	(register_program_space_data_with_cleanup)
	(register_program_space_data, program_space_alloc_data)
	(clear_program_space_data, set_program_space_data)
	(program_space_data): Don't declare.
	* progspace.c: Use DEFINE_REGISTRY.
	(struct program_space_data, struct
	program_space_data_registration, struct
	program_space_data_registry, program_space_data_registry)
	(register_program_space_data_with_cleanup)
	(register_program_space_data, program_space_alloc_data)
	(program_space_free_data, clear_program_space_data)
	(set_program_space_data, program_space_data): Remove.
	* objfiles.h: Include registry.h.  Use DECLARE_REGISTRY.
	(struct objfile) <data, num_data>: Replace with REGISTRY_FIELDS.
	(register_objfile_data_with_cleanup, register_objfile_data)
	(clear_objfile_data, set_objfile_data, objfile_data): Don't
	declare.
	* objfiles.c: Use DEFINE_REGISTRY.
	(struct objfile_data, struct objfile_data_registration, struct
	objfile_data_registry, objfile_data_registry)
	(register_objfile_data_with_cleanup, register_objfile_data)
	(objfile_alloc_data, objfile_free_data, clear_objfile_data)
	(set_objfile_data, objfile_data): Remove.
	(_initialize_objfiles): Update.
	* jit.c (_initialize_jit): Update.
	* inflow.c (_initialize_inflow): Update.
	* inferior.h: Include registry.h.  Use DECLARE_REGISTRY.
	(struct inferior) <data, num_data>: Replace with REGISTRY_FIELDS.
	(register_inferior_data_with_cleanup, register_inferior_data)
	(clear_inferior_data, set_inferior_data, inferior_data): Don't
	declare.
	* inferior.c: Use DEFINE_REGISTRY.
	(struct inferior_data, struct inferior_data_registration, struct
	inferior_data_registry, inferior_data_registry)
	(register_inferior_data_with_cleanup, register_inferior_data)
	(inferior_alloc_data, inferior_free_data  clear_inferior_data)
	(set_inferior_data, inferior_data): Remove.
	* auxv.c (_initialize_auxv): Update.
	* ada-lang.c (_initialize_ada_language): Update.
	* breakpoint.c (_initialize_breakpoint): Update.
	* i386-nat.c (i386_use_watchpoints): Update.
Tom Tromey [Wed, 22 Aug 2012 15:01:50 +0000 (15:01 +0000)]
 
	* exec.c (exec_close, exec_file_attach): Update.
	(add_to_section_table): Initialize 'key' field.
	(add_target_sections, remove_target_sections): Add 'key' argument.
	* exec.h (add_target_sections, remove_target_sections): Add
	'key' argument.
	* solib.c (solib_map_sections, update_solib_list, clear_solib)
	(reload_shared_libraries_1): Update.
	* target.h (struct target_section) <key>: New field.
Tom Tromey [Wed, 22 Aug 2012 14:27:49 +0000 (14:27 +0000)]
 
	* lib/gdb.exp (skip_unwinder_tests): New proc.
	* gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
	* gdb.java/jnpe.exp: Use skip_unwinder_tests.
Tom Tromey [Wed, 22 Aug 2012 14:24:05 +0000 (14:24 +0000)]
 
	* cli/cli-cmds.c (filter_sals): Handle nelts == 0 case.
Nick Clifton [Wed, 22 Aug 2012 07:35:36 +0000 (07:35 +0000)]
 
Move aarch64 announcement into 2.23 section.
gdbadmin [Wed, 22 Aug 2012 00:00:34 +0000 (00:00 +0000)]
 
*** empty log message ***
Alan Modra [Wed, 22 Aug 2012 00:00:04 +0000 (00:00 +0000)]
 
daily update
David S. Miller [Tue, 21 Aug 2012 23:00:36 +0000 (23:00 +0000)]
 
Fix sparc opcode encoding for 4-arg crypto instructions.
include/opcode
	* sparc.h (F3F4): New macro.
opcodes
	* sparc-opc.c (4-argument crypto instructions): Fix encoding using
	F3F4 macro.
gas/testsuite
	* gas/sparc/crypto.d: Fix opcodes for 4-arg crypto instructions.
Cary Coutant [Tue, 21 Aug 2012 21:41:04 +0000 (21:41 +0000)]
 
2012-08-21  Cary Coutant  <ccoutant@google.com>
gold/
	* symtab.cc (Symbol_table::gc_mark_undef_symbols): Don't assert
	if --export-dynamic-symbol names an undef symbol.
Tom Tromey [Tue, 21 Aug 2012 19:36:47 +0000 (19:36 +0000)]
 
	* gdb.hp/gdb.aCC/exception.exp: Remove.
Pierre Muller [Tue, 21 Aug 2012 15:43:46 +0000 (15:43 +0000)]
 
	* symfile.c (allocate_symtab): Use host_address_to_string
	function instead of cast of pointer to long which is not
	compatible with x86_64-w64-mingw32 build.
gdbadmin [Tue, 21 Aug 2012 00:00:32 +0000 (00:00 +0000)]
 
*** empty log message ***
Alan Modra [Tue, 21 Aug 2012 00:00:05 +0000 (00:00 +0000)]
 
daily update
Tom Tromey [Mon, 20 Aug 2012 14:32:31 +0000 (14:32 +0000)]
 
	* vms-lib.c (_bfd_vms_lib_get_module): Use bfd_zmalloc for
	areltdata.
	* opncls.c (_bfd_delete_bfd): Free arelt_data.
	* mach-o.c (bfd_mach_o_fat_member_init): Use bfd_zmalloc for
	areltdata.
	* ecoff.c (_bfd_ecoff_slurp_armap): Use free for mapdata.
	* coff-rs6000.c (_bfd_xcoff_read_ar_hdr): Use bfd_zmalloc for
	areltdata.
	(xcoff_write_archive_contents_old): Likewise.
	(xcoff_write_archive_contents_big): Likewise.
	* archive64.c (bfd_elf64_archive_slurp_armap): Use free for
	areltdata.
	* archive.c (_bfd_generic_read_ar_hdr_mag): Use bfd_zmalloc and
	free for areltdata.
	(_bfd_get_elt_at_filepos): Likewise.  Clear n_nfd->arelt_data on
	failure.
	(do_slurp_bsd_armap): Use bfd_zmalloc and free for areltdata.
	(do_slurp_coff_armap): Likewise.
	(_bfd_slurp_extended_name_table): Likewise.
	(bfd_slurp_bsd_armap_f2): Likewise.  Don't leak 'mapdata'.
H.J. Lu [Mon, 20 Aug 2012 13:57:05 +0000 (13:57 +0000)]
 
Replace --n32 with --x32
	* doc/as.texinfo: Replace --n32 with --x32.
Alan Modra [Mon, 20 Aug 2012 03:20:24 +0000 (03:20 +0000)]
 
opcodes/ChangeLog
	* ppc-opc.c (powerpc_opcodes): Changed opcode for vabsdub,
	vabsduh, vabsduw, mviwsplt.
gas/testsuite/ChangeLog
	* gas/ppc/e6500.d: Changed opcode for vabsdub, vabsduh, vabsduw,
	mviwsplt.
Alan Modra [Mon, 20 Aug 2012 00:00:04 +0000 (00:00 +0000)]
 
daily update
gdbadmin [Mon, 20 Aug 2012 00:00:03 +0000 (00:00 +0000)]
 
*** empty log message ***
Andrew Pinski [Sun, 19 Aug 2012 22:22:49 +0000 (22:22 +0000)]
 
2012-08-19  Andrew Pinski  <apinski@cavium.com>
	* mips-tdep.c (is_octeon): New function.
	(is_octeon_bbit_op): New function.
	(mips32_next_pc): Handle Octeon's bbit instructions.
	(mips32_instruction_has_delay_slot): Likewise.
012-08-19  Andrew Pinski  <apinski@cavium.com>
        * gdb.arch/mips-octeon-bbit.c: New file.
        * gdb.arch/mips-octeon-bbit.exp: New Test.
Andrew Pinski [Sun, 19 Aug 2012 22:21:21 +0000 (22:21 +0000)]
 
2012-08-19  Andrew Pinski  <apinski@cavium.com>
	* mips-tdep.c (mips32_next_pc): Fix line spacing of the comment
	before the function.
Andrew Pinski [Sun, 19 Aug 2012 22:20:29 +0000 (22:20 +0000)]
 
2012-08-19  Andrew Pinski  <apinski@cavium.com>
	* mips-tdep.c (mips32_next_pc): Consolidate calls to itype_op.
Keith Seitz [Sun, 19 Aug 2012 19:37:51 +0000 (19:37 +0000)]
 
	PR c++/14365
	* c-typeprint.c (c_type_print_varspec_prefix): Pass
	-1 for SHOW to c_type_print_base for METHODPTR and MEMBERPTR.
	* gdb.dwarf2/dw2-anon-mptr.exp: New file.
	* gdb.dwarf2/dw2-anon-mptr.S: New file.
Alan Modra [Sun, 19 Aug 2012 00:00:04 +0000 (00:00 +0000)]
 
daily update
gdbadmin [Sun, 19 Aug 2012 00:00:03 +0000 (00:00 +0000)]
 
*** empty log message ***
Alan Modra [Sat, 18 Aug 2012 11:12:50 +0000 (11:12 +0000)]
 
	* powerpc.cc: Formatting and white space.
	(Powerpc_relobj): Rename got2_section_ to special_.
	Add opd_ent_shndx_ and opd_ent_off_ vectors.
	(Powerpc_relobj::opd_shndx, init_opd, get_opd_ent, set_opd_ent,
	scan_opd_relocs, do_read_relocs, opd_ent_ndx): New functions.
	(Target_powerpc): Add Address typedef and invalid_address.  Use
	throughout.
	(Target_powerpc::is_branch_reloc): New function.
	(Powerpc_relocate_functions): Add Address typedef, use throughout.
	(Powerpc_relocate_functions:rela, rela_ua): Correct type used
	for dst_mask, value and addend.
	(Powerpc_relobj::do_find_special_sections): Find .opd for 64-bit.
	(ld_2_1, cror_15_15_15, cror_31_31_31): New insn constants.
	(Output_data_glink::do_write): Correct toc base.  Don't try to use
	uint16_t for 24-bit offset.  Use get_output_section_offset and
	check return.
	(Target_powerpc::Scan::local): Handle more relocs.
	(Target_powerpc::do_finalize_sections): Set up DT_PPC64_GLINK.
	(Target_powerpc::Relocate::relocate): Correct toc base calculation.
	Plug in toc restoring insn after plt calls.  Translate branches
	to function descriptor symbols to corresponding entry point.
	(Target_powerpc::relocate_for_relocatable): Check return from
	get_output_section_offset.
	* symtab.h: Comment typo.
Eli Zaretskii [Sat, 18 Aug 2012 11:00:37 +0000 (11:00 +0000)]
 
Fix a typo that prevented "make TAGS" from working.
 gdb/Makefile.in (HFILES_NO_SRCDIR): Fix a typo: golang.h -> go-lang.h.
 The typo broke "make TAGS".
Jan Kratochvil [Sat, 18 Aug 2012 07:02:09 +0000 (07:02 +0000)]
 
gdb/testsuite/
	* gdb.base/solib-corrupted.exp (make solibs looping): Replace
	verbose -log by more specific untested call.
Yao Qi [Sat, 18 Aug 2012 01:00:19 +0000 (01:00 +0000)]
 
gdb/testsuite/
	* gdb.trace/tfind.exp: Move tests on various command help before
	checking target supports trace.
	Fix the expected output of 'help tfind end'.
H.J. Lu [Sat, 18 Aug 2012 00:18:31 +0000 (00:18 +0000)]
 
Remove extra verbose before binutils_run
	* binutils-all/ar.exp (long_filenames): Remove extra verbose
	before binutils_run.
	(thin_archive): Likewise.
	(thin_archive_with_nested): Likewise.  Also run bfdtest1 on
	$archive2.
Alan Modra [Sat, 18 Aug 2012 00:00:05 +0000 (00:00 +0000)]
 
daily update
gdbadmin [Sat, 18 Aug 2012 00:00:03 +0000 (00:00 +0000)]
 
*** empty log message ***