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, 23 Jul 2012 19:41:00 -0000	[thread overview]
Message-ID: <20120723194157.29867.qmail@sourceware.org> (raw)

The branch, archer-pmuldoon-python-backtrace has been updated
       via  ba8c5e70fec3ee279735a4552039d044b36e000e (commit)
       via  ea9d522e8c645377ffcb789862066e6bbb844eed (commit)
       via  a962b808682570763a45279b35abe4fd058b21d2 (commit)
       via  d0c57e98a587a85fccf8377096a3ff0956099be0 (commit)
       via  5feafdc48ee0157865ef636861713ed049504956 (commit)
       via  d6c48b471538719626d3ac0eae2e3da5d5e26277 (commit)
       via  612c29ac072387bbddc9b0f4321353b929d5737b (commit)
       via  8b3d8cbf611383b5759061e49521fb3cd83d4a71 (commit)
       via  8ee2b379b49d8132dc895ba40e80cf36044358ba (commit)
       via  51152bae0268ce24ede6c2830eefe114821b8e35 (commit)
       via  225ca477e8e9244ac77fc766728101cff3c6b902 (commit)
       via  e5debb3f451136a32c8e3e34b9dd79d02ad58669 (commit)
       via  ef42572c5a98cb7b0d9604d2a3fad0f5018444d1 (commit)
       via  16a3fcb0d7270817f9d48d4785d889eb4b48c648 (commit)
       via  90612a9561c247cec701ff2cdb5f224be88a2db5 (commit)
       via  4cedb2c8a768fde04db0bdff29fe55928b1aefb5 (commit)
       via  79e39b7af07d72cc7281137cb485f7772b3c1493 (commit)
       via  c46fef7000a9ed799725829ff25f6c8fe392a6c0 (commit)
       via  c3a09919048a2dcd937655d12acdb000d905841b (commit)
       via  3cc3c12d24bab698e7cec1859998fae5729c2de9 (commit)
       via  2a2696dcb32f202052aee2f874b23b5a1dab2f19 (commit)
       via  a2d46894fe06ff4a5960efa7493b72e42098c06f (commit)
       via  bf739cb8363c646f5cc29100f7ab8ff16f92912a (commit)
       via  d5d8d714b6501dd82397d29ae38a7f63f81d025a (commit)
       via  2a3986d5229b62f4f5adfcc44286704324d8dbad (commit)
       via  507c8f61614dbdd7d859178d57b59d36e37fce16 (commit)
       via  120b3ce0dbbb0fd1ce23237927fd481233490f2e (commit)
       via  21ec09f931f78f59086d9ad86435e56035fea3f4 (commit)
       via  5576c49655c1715dc16a231690c8dc8891fa72f4 (commit)
       via  e757261d542fa9a156b9f170d23e4b023c1f1937 (commit)
       via  3715236eef195162825541d11470a1f47552de9e (commit)
       via  0907694ded18164443b11111ac2ee6fb20ad51d1 (commit)
       via  79650b47ceb1eae84048db3652b9ef89842623e5 (commit)
       via  d003ec71554f479bf819004bd4663e30d6d81adf (commit)
       via  a23fa27d5a315b7801bb925a2a99e871f8832bb3 (commit)
       via  2295b9bae645c263f07ad38ac327b515b24678ff (commit)
       via  191b2c6423e7d024ac1f8db321ba02da7dfa66fe (commit)
       via  4a92ec72fcee678854bdecf7c449ff47bfe3a1af (commit)
       via  9fdee3dbe7987dd0a7793fb75dcea12dbaa23a49 (commit)
       via  beac7b08cb0749b79fc6ac3f8a0d2888c489bd6d (commit)
      from  1380c3b69cef932b6a1bd65987a7578c47e07eb9 (commit)

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

- Log -----------------------------------------------------------------
commit ba8c5e70fec3ee279735a4552039d044b36e000e
Merge: 1380c3b ea9d522
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Mon Jul 23 20:39:15 2012 +0100

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

commit ea9d522e8c645377ffcb789862066e6bbb844eed
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Jul 23 18:54:25 2012 +0000

    	* rs6000-nat.c (add_vmap): Rewrite archive loop.  Fix reference
    	counting.
    	* exec.c (exec_close_1): Unconditionally release vmap's BFD.
    	(map_vmap): Acquire a reference to the BFD.

commit a962b808682570763a45279b35abe4fd058b21d2
Author: siddhesh <siddhesh>
Date:   Mon Jul 23 18:08:27 2012 +0000

    	* p-valprint.c (pascal_object_print_value): Replace potentially
    	unsafe alloca with xmalloc/xfree.
    	* valops.c (search_struct_method): Likewise.

commit d0c57e98a587a85fccf8377096a3ff0956099be0
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Jul 23 15:25:11 2012 +0000

    	* solib-svr4.c (enable_break): Update.
    	* bfd-target.h (target_bfd_reopen): Update documentation.

commit 5feafdc48ee0157865ef636861713ed049504956
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Jul 23 15:03:58 2012 +0000

    	* symfile.c (separate_debug_file_exists): Update.
    	(gdb_bfd_open_maybe_remote): Rename from bfd_open_maybe_remote.
    	(reread_symbols): Update.
    	* elfread.c (build_id_verify): Update.
    	* symfile.h (gdb_bfd_open_maybe_remote): Rename from
    	bfd_open_maybe_remote.

commit d6c48b471538719626d3ac0eae2e3da5d5e26277
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Jul 23 15:01:49 2012 +0000

    	* gdb_bfd.c (gdb_bfd_ref, gdb_bfd_unref): Fix comment.

commit 612c29ac072387bbddc9b0f4321353b929d5737b
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Jul 23 14:58:44 2012 +0000

    	* coffread.c (coff_symfile_read): Make a cleanup for 'debugfile'
    	and 'abfd'.
    	* elfread.c (elf_symfile_read): Make a cleanup for 'debugfile'
    	and 'abfd'.
    	* jit.c (jit_bfd_try_read_symtab): Make a cleanup for 'nbfd'.
    	* machoread.c (macho_add_oso_symfile): Make a cleanup for
    	'abfd'.
    	(macho_symfile_read): Make a cleanup for 'dsym_bfd'.
    	* objfiles.c (allocate_objfile): Acquire a new reference.
    	* rs6000-nat.c (add_vmap): Don't acquire a BFD reference.
    	* solib.c (solib_read_symbols): Don't acquire a BFD reference.
    	* spu-linux-nat.c (spu_symbol_file_add_from_memory): Make
    	a cleanup for 'nbfd'.
    	* symfile-mem.c (symbol_file_add_from_memory): Make a cleanup
    	for 'nbfd'.
    	* symfile.c (symbol_file_add_with_addrs_or_offsets): Don't
    	make a cleanup for 'abfd'.
    	(symbol_file_add): Make a BFD cleanup.

commit 8b3d8cbf611383b5759061e49521fb3cd83d4a71
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Jul 23 14:57:53 2012 +0000

    	* cli/cli-dump.c (bfd_openr_with_cleanup): Use gdb_bfd_openr.
    	(bfd_openw_with_cleanup): Use gdb_bfd_openw.
    	* corelow.c (core_open): Use gdb_bfd_fopen.
    	* dsrec.c (load_srec): Use gdb_bfd_openr.
    	* exec.c (exec_file_attach): Use gdb_bfd_fopen.
    	* gcore.c (gcore_memory_sections): Use gdb_bfd_openw.
    	* gdb_bfd.c (gdb_bfd_fopen, gdb_bfd_openr, gdb_bfd_openw)
    	(gdb_bfd_openr_iovec, gdb_bfd_openr_next_archived_file)
    	(gdb_bfd_fdopenr): New functions.
    	* gdb_bfd.h (gdb_bfd_fopen, gdb_bfd_openr, gdb_bfd_openw)
    	(gdb_bfd_openr_iovec, gdb_bfd_openr_next_archived_file)
    	(gdb_bfd_fdopenr): Declare.
    	* jit.c (bfd_open_from_target_memory): Use gdb_bfd_openr_iovec.
    	* m32-rom.c (m32r_load, m32r_upload_command): Use gdb_bfd_openr.
    	* machoread.c (macho_symfile_read_all_oso): Use gdb_bfd_openr,
    	gdb_bfd_openr_next_archived_file.
    	(macho_check_dsym): Use gdb_bfd_openr.
    	(macho_add_oso_symfile): Don't call gdb_bfd_stash_filename.
    	* procfs.c (insert_dbx_link_bpt_in_file): Use gdb_bfd_fdopenr.
    	* remote-m32r-sdi.c (m32r_load): Use gdb_bfd_openr.
    	* remote-mips.c (mips_load_srec, pmon_load_fast): Use
    	gdb_bfd_openr.
    	* remote.c (remote_bfd_open): Use gdb_bfd_openr_iovec.
    	* rs6000-nat.c (add_vmap): Use gdb_bfd_openr, gdb_bfd_fdopenr,
    	gdb_bfd_openr_next_archived_file.
    	* solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init):
    	Use gdb_bfd_openr.
    	* solib-pa64.c (pa64_solib_create_inferior_hook): Use
    	gdb_bfd_openr.
    	* solib-spu.c (spu_bfd_fopen): Use gdb_bfd_openr_iovec.
    	* solib.c (solib_bfd_fopen): Use gdb_bfd_fopen.
    	* spu-linux-nat.c (spu_bfd_open): Use gdb_bfd_openr_iovec.
    	* symfile.c (bfd_open_maybe_remote): Use gdb_bfd_openr.
    	(symfile_bfd_open): Use gdb_bfd_fopen.
    	(generic_load): Use gdb_bfd_openr.
    	* windows-nat.c (windows_make_so): Use gdb_bfd_openr.

commit 8ee2b379b49d8132dc895ba40e80cf36044358ba
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Jul 23 14:56:07 2012 +0000

    	* bfd-target.c (target_bfd_reopen): Update.
    	* cli/cli-dump.c (bfd_openr_with_cleanup)
    	(bfd_openw_with_cleanup): Update.
    	* corelow.c (core_open): Update.
    	* dsrec.c (load_srec): Update.
    	* exec.c (exec_file_attach): Update.
    	* gcore.c (create_gcore_bfd): Update.
    	* gdb_bfd.c (gdb_bfd_ref): Return void.
    	(gdb_bfd_open): Update.
    	* gdb_bfd.h (gdb_bfd_ref): Return void.
    	Update comments.
    	* jit.c (jit_bfd_try_read_symtab): Update.
    	* m32r-rom.c (m32r_load, m32r_upload_command): Update.
    	* machoread.c (macho_symfile_read_all_oso): Update.
    	(macho_check_dsym): Update.
    	* procfs.c (insert_dbx_link_bpt_in_file): Update.
    	* remote-m32r-sdi.c (m32r_load): Update.
    	* remote-mips.c (mips_load_srec, pmon_load_fast): Update.
    	* rs6000-nat.c (add_vmap): Update.
    	* solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init):
    	Update.
    	* solib-pa64.c (pa64_solib_create_inferior_hook): Update.
    	* solib-spu.c (spu_bfd_open): Update.
    	* solib.c (solib_bfd_fopen, solib_read_symbols): Update.
    	* spu-linux-nat.c (spu_bfd_open): Update.
    	* symfile.c (bfd_open_maybe_remote, symfile_bfd_open)
    	(generic_load): Update.
    	* windows-nat.c (windows_make_so): Update.

commit 51152bae0268ce24ede6c2830eefe114821b8e35
Author: Nick Clifton <nickc@redhat.com>
Date:   Mon Jul 23 13:19:27 2012 +0000

    	* cisco-core.c (cisco_core_file_failing_command): Make static.
    	(cisco_core_file_failing_signal): Make static.

commit 225ca477e8e9244ac77fc766728101cff3c6b902
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Jul 23 00:00:04 2012 +0000

    daily update

commit e5debb3f451136a32c8e3e34b9dd79d02ad58669
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon Jul 23 00:00:03 2012 +0000

    *** empty log message ***

commit ef42572c5a98cb7b0d9604d2a3fad0f5018444d1
Author: siddhesh <siddhesh>
Date:   Sun Jul 22 16:52:39 2012 +0000

    	* sh-tdep.c (sh_treat_as_flt_p): Remove unused variable LEN.

commit 16a3fcb0d7270817f9d48d4785d889eb4b48c648
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Jul 22 00:00:05 2012 +0000

    daily update

commit 90612a9561c247cec701ff2cdb5f224be88a2db5
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun Jul 22 00:00:02 2012 +0000

    *** empty log message ***

commit 4cedb2c8a768fde04db0bdff29fe55928b1aefb5
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Jul 21 00:00:04 2012 +0000

    daily update

commit 79e39b7af07d72cc7281137cb485f7772b3c1493
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Jul 21 00:00:03 2012 +0000

    *** empty log message ***

commit c46fef7000a9ed799725829ff25f6c8fe392a6c0
Author: Pedro Alves <palves@redhat.com>
Date:   Fri Jul 20 17:54:05 2012 +0000

    2012-07-20  Jeff Kenton  <jkenton@tilera.com>
    
    	* tilegx-linux-tdep.c (tilegx_linux_sigframe_init): Fix
    	SIGTRAMP_FRAME unwinding.

commit c3a09919048a2dcd937655d12acdb000d905841b
Author: Doug Evans <dje@google.com>
Date:   Fri Jul 20 17:38:00 2012 +0000

    	* NEWS: Document new options "set/show use-deprecated-index-sections",
    	and delete reference to --use-deprecated-index-sections.
    	* symfile.h (use_deprecated_index_sections): Delete.
    	* dwarf2read.c (use_deprecated_index_sections): Make static.
    	(read_index_from_section): Update wording of how to load
    	deprecated index sections.
    	(_initialize_dwarf2_read): New options
    	"set/show use-deprecated-index-sections".
    	* main.c (captured_main): Delete --use-deprecated-index-sections.
    
    	doc/
    	* gdb.texinfo (Mode Options): Delete --use-deprecated-index-sections.
    	(Index Files): Document how to control the use of deprecated index
    	sections.
    	(Index Section Format): Replace --use-deprecated-index-sections with
    	"set use-deprecated-index-sections on".

commit 3cc3c12d24bab698e7cec1859998fae5729c2de9
Author: Pedro Alves <palves@redhat.com>
Date:   Fri Jul 20 17:27:24 2012 +0000

    2012-07-20  Pedro Alves  <palves@redhat.com>
    
    	PR threads/11692
    	PR gdb/12203
    
    	gdb/
    	* infrun.c (handle_inferior_event) <new thread>: Don't special
    	case minus_one_ptid.
    	<TARGET_WAITKIND_SPURIOUS>: Ditto.
    	* linux-thread-db.c (thread_get_info_callback): Don't return early
    	if the thread is zombie.
    	(thread_from_lwp): Change return type to void.  Rewrite stale
    	comment.
    	(attach_thread): Don't return early if the thread is zombie,
    	instead set its "dying" flag.
    	(thread_db_wait): Don't return TARGET_WAITKIND_SPURIOUS anymore.
    	(find_new_threads_callback): Don't return early if the thread is
    	zombie.
    
    	gdb/testsuite/
    	* gdb.threads/create-fail.c: New file.
    	* gdb.threads/create-fail.exp: New file.

commit 2a2696dcb32f202052aee2f874b23b5a1dab2f19
Author: Pedro Alves <palves@redhat.com>
Date:   Fri Jul 20 16:57:29 2012 +0000

    2012-07-20  Pedro Alves  <palves@redhat.com>
    
    	* linux-nat.c (linux_nat_wait): Dump the passed in target options.
    	* target.c (target_wait): Likewise.
    	(str_comma_list_concat_elem, do_option, target_options_to_string):
    	New functions.
    	* target.h (target_options_to_string): Declare.

commit a2d46894fe06ff4a5960efa7493b72e42098c06f
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Jul 20 16:51:50 2012 +0000

    2012-07-20  Jan Kratochvil <jan.kratochvil@redhat.com>
    	    Tom Tromey  <tromey@redhat.com>
    
    	* dwarf2read.c (dwarf_decode_macros)
    	<DW_MACRO_GNU_define_indirect_alt, DW_MACRO_GNU_undef_indirect_alt,
    	DW_MACRO_GNU_transparent_include_alt>: New cases.
    	(dwarf_decode_macro_bytes) <DW_MACRO_GNU_define_indirect,
    	DW_MACRO_GNU_undef_indirect>: Examine 'section_is_dwz'.

commit bf739cb8363c646f5cc29100f7ab8ff16f92912a
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Jul 20 16:12:38 2012 +0000

    	* dwarf2read.c (try_open_dwo_file): Don't call
    	gdb_bfd_stash_filename.

commit d5d8d714b6501dd82397d29ae38a7f63f81d025a
Author: Pedro Alves <palves@redhat.com>
Date:   Fri Jul 20 11:48:18 2012 +0000

    2012-07-20  Pedro Alves  <palves@redhat.com>
    
    	* i386-tdep.c (i386_record_modrm, i386_record_lea_modrm_addr)
    	(i386_record_lea_modrm, i386_record_push, i386_record_floats)
    	(i386_process_record): Tweak description comments.

commit 2a3986d5229b62f4f5adfcc44286704324d8dbad
Author: Pedro Alves <palves@redhat.com>
Date:   Fri Jul 20 11:22:31 2012 +0000

    2012-07-20  Pedro Alves  <palves@redhat.com>
    
    	* i386-tdep.c (i386_record_modrm, i386_record_lea_modrm_addr)
    	(i386_process_record): Use record_read_memory.
    	* record.c (record_read_memory): New function.
    	(record_arch_list_add_mem, record_exec_insn): Use
    	record_read_memory.
    	* record.h (record_read_memory): Declare.

commit 507c8f61614dbdd7d859178d57b59d36e37fce16
Author: qiyao <qiyao>
Date:   Fri Jul 20 08:59:31 2012 +0000

    gdb/
    	* cli/cli-setshow.c (do_setshow_command): Don't check pointer is
    	NULL for xfree.

commit 120b3ce0dbbb0fd1ce23237927fd481233490f2e
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Jul 20 00:00:32 2012 +0000

    *** empty log message ***

commit 21ec09f931f78f59086d9ad86435e56035fea3f4
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Jul 20 00:00:04 2012 +0000

    daily update

commit 5576c49655c1715dc16a231690c8dc8891fa72f4
Author: Pedro Alves <palves@redhat.com>
Date:   Thu Jul 19 20:00:58 2012 +0000

    2012-07-19  Pedro Alves  <palves@redhat.com>
    
    	* config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
    	* config/vx.exp (gdb_start): Likewise.
    	* gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
    	* gdb.base/setvar.exp (test_set): Likewise.
    	* gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
    	* gdb.reverse/sigall-precsave.exp: Likewise.
    	* gdb.reverse/sigall-reverse.exp: Likewise.

commit e757261d542fa9a156b9f170d23e4b023c1f1937
Author: eager <eager>
Date:   Thu Jul 19 18:27:17 2012 +0000

    2012-07-19  Michael Eager  <eager@eagercon.com>
    
    	* i386-low.c (Z_packet_to_hw_type): Add Z_PACKET_HW_BP, translate
    	to hw_execute.
    	* linux-x86-low.c (x86_insert_point, x86_remove_point):
    	Call i386_low_insert_watchpoint, i386_low_remove_watchpoint to add/del
    	hardware breakpoint.

commit 3715236eef195162825541d11470a1f47552de9e
Author: Pedro Alves <palves@redhat.com>
Date:   Thu Jul 19 17:52:59 2012 +0000

    2012-07-19  Pedro Alves  <palves@redhat.com>
    
    	* record.c (record_resume): Ask the target beneath to report all
    	signals.

commit 0907694ded18164443b11111ac2ee6fb20ad51d1
Author: Pedro Alves <palves@redhat.com>
Date:   Thu Jul 19 17:05:49 2012 +0000

    2012-07-19  Pedro Alves  <palves@redhat.com>
    
    	* gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
    	handler before recording.

commit 79650b47ceb1eae84048db3652b9ef89842623e5
Author: Doug Evans <dje@google.com>
Date:   Thu Jul 19 16:35:43 2012 +0000

    	* dwarf2read.c (dwarf2_ranges_read): Ignore ranges starting at zero if
    	there's no section at address zero.
    	(dwarf2_record_block_ranges): Ditto.

commit d003ec71554f479bf819004bd4663e30d6d81adf
Author: qiyao <qiyao>
Date:   Thu Jul 19 16:01:03 2012 +0000

    gdb/
    	* command.h, remote.c: Fix a typo in comment.

commit a23fa27d5a315b7801bb925a2a99e871f8832bb3
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Jul 19 15:38:15 2012 +0000

    	PR exp/13206:
    	* ax-gdb.c (gen_expr) <OP_TYPEOF, OP_DECLTYPE>: New cases.
    	* breakpoint.c (watchpoint_exp_is_const) <OP_TYPEOF,
    	OP_DECLTYPE>: New cases.
    	* c-exp.y (TYPEOF, DECLTYPE): New tokens.
    	(type_exp): Add new productions.
    	(ident_tokens): Add __typeof__, typeof, __typeof, __decltype,
    	and decltype.
    	* eval.c (evaluate_subexp_standard) <OP_TYPEOF, OP_DECLTYPE>:
    	New case.
    	* expprint.c (dump_subexp_body_standard) <OP_TYPEOF,
    	OP_DECLTYPE>: New case.
    	* parse.c (operator_length_standard) <OP_TYPEOF, OP_DECLTYPE>:
    	New case.
    	* std-operator.def (OP_TYPEOF, OP_DECLTYPE): New constants.
    	* varobj.c (varobj_create): Handle OP_TYPEOF, OP_DECLTYPE.
    gdb/testsuite
    	* gdb.cp/casts.exp: Add tests for typeof and decltype.
    	* gdb.cp/casts.cc (decltype): New function.
    	(main): Use it.

commit 2295b9bae645c263f07ad38ac327b515b24678ff
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Jul 19 15:34:38 2012 +0000

    	* c-exp.y (enum token_flags): New.
    	(struct token) <cxx_only>: Remove.
    	<flags>: New field.
    	(tokentab3, tokentab2, ident_tokens): Update.
    	(lex_one_token): Update.  Handle FLAG_SHADOW.

commit 191b2c6423e7d024ac1f8db321ba02da7dfa66fe
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Jul 19 15:33:20 2012 +0000

    	* ax-gdb.c (gen_expr): Handle UNOP_CAST_TYPE, UNOP_MEMVAL_TYPE.
    	* breakpoint.c (watchpoint_exp_is_const): Handle UNOP_CAST_TYPE,
    	UNOP_REINTERPRET_CAST, UNOP_DYNAMIC_CAST.
    	* c-exp.y (exp): Emit UNOP_MEMVAL_TYPE, UNOP_CAST_TYPE.  Update
    	for changes to UNOP_REINTERPRET_CAST, UNOP_DYNAMIC_CAST.  Use
    	type_exp production where appropriate.
    	* eval.c (evaluate_subexp_standard) <UNOP_CAST_TYPE>: New case.
    	<UNOP_DYNAMIC_CAST, UNOP_REINTERPRET_CAST>: Update.
    	<UNOP_MEMVAL_TYPE>: New case.
    	(evaluate_subexp_for_address) <UNOP_MEMVAL_TYPE>: New case.
    	(evaluate_subexp_for_sizeof) <UNOP_MEMVAL_TYPE>: New case.
    	* expprint.c (print_subexp_standard) <UNOP_CAST_TYPE>: New case.
    	<UNOP_MEMVAL_TYPE>: New case.
    	(dump_subexp_body_standard) <UNOP_DYNAMIC_CAST,
    	UNOP_REINTERPRET_CAST>: Update.
    	<UNOP_CAST_TYPE, UNOP_MEMVAL_TYPE>: New cases.
    	* parse.c (operator_length_standard) <UNOP_DYNAMIC_CAST,
    	UNOP_REINTERPRET_CAST>: Update.
    	<UNOP_CAST_TYPE, UNOP_MEMVAL_TYPE>: New cases.
    	* stack.c (return_command): Also check for UNOP_CAST_TYPE.
    	* std-operator.def (UNOP_CAST_TYPE, UNOP_MEMVAL_TYPE): New
    	constants.

commit 4a92ec72fcee678854bdecf7c449ff47bfe3a1af
Author: Pedro Alves <palves@redhat.com>
Date:   Thu Jul 19 14:33:18 2012 +0000

    2012-07-19  Pedro Alves  <palves@redhat.com>
    
    	* gdb.base/sigall.exp (signals): New list.
    	<top level>: Loop over signals in the $signals list instead of
    	calling a test function once per signal.
    	* gdb.reverse/sigall-precsave.exp (signals): New list.
    	<top level>: Loop over signals in the $signals list instead of
    	calling a test function once per signal.
    	* gdb.reverse/sigall-reverse.exp (signals): New list.
    	<top level>: Loop over signals in the $signals list instead of
    	calling a test function once per signal.

commit 9fdee3dbe7987dd0a7793fb75dcea12dbaa23a49
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Jul 19 13:41:02 2012 +0000

    Use vex_len_table in xop_table
    
    	PR binutils/14355
    	* i386-dis.c (VEX_LEN_0FXOP_08_CC): New.
    	(VEX_LEN_0FXOP_08_CD): Likewise.
    	(VEX_LEN_0FXOP_08_CE): Likewise.
    	(VEX_LEN_0FXOP_08_CF): Likewise.
    	(VEX_LEN_0FXOP_08_EC): Likewise.
    	(VEX_LEN_0FXOP_08_ED): Likewise.
    	(VEX_LEN_0FXOP_08_EE): Likewise.
    	(VEX_LEN_0FXOP_08_EF): Likewise.
    	(xop_table): Fix entries for vpcomb, vpcomw, vpcomd, vpcomq,
    	vpcomub, vpcomuw, vpcomud, vpcomuq.
    	(vex_len_table): Add entries for VEX_LEN_0FXOP_08_CC,
    	VEX_LEN_0FXOP_08_CD, VEX_LEN_0FXOP_08_CE, VEX_LEN_0FXOP_08_CF,
    	VEX_LEN_0FXOP_08_EC, VEX_LEN_0FXOP_08_ED, VEX_LEN_0FXOP_08_EE,
    	VEX_LEN_0FXOP_08_EF.

commit beac7b08cb0749b79fc6ac3f8a0d2888c489bd6d
Author: qiyao <qiyao>
Date:   Thu Jul 19 12:48:13 2012 +0000

    	* cli/cli-setshow.c (do_setshow_command): Handle case 'var_filename'
    	and case 'var_optional_filename' together.
    	* infcmd.c (_initialize_infcmd): Call add_setshow_string_noescape_cmd
    	instead of add_setshow_optional_filename_cmd for setshow command
    	'args'.  Set completer for 'set args'.
    
    gdb/testsuite:
    
    	* gdb.base/setshow.exp: Test 'set args ~'.

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

Summary of changes:
 bfd/ChangeLog                                 |    5 +
 bfd/cisco-core.c                              |    4 +-
 bfd/version.h                                 |    2 +-
 gdb/ChangeLog                                 |  279 +++++++++++++++++++++
 gdb/NEWS                                      |   14 +-
 gdb/ax-gdb.c                                  |   44 ++++
 gdb/bfd-target.c                              |    3 +-
 gdb/bfd-target.h                              |    6 +-
 gdb/breakpoint.c                              |    6 +
 gdb/c-exp.y                                   |  149 +++++++----
 gdb/cli/cli-dump.c                            |    4 +-
 gdb/cli/cli-setshow.c                         |   39 ++--
 gdb/coffread.c                                |    3 +-
 gdb/command.h                                 |    2 +-
 gdb/corelow.c                                 |    8 +-
 gdb/doc/ChangeLog                             |    8 +
 gdb/doc/gdb.texinfo                           |   31 ++-
 gdb/dsrec.c                                   |    2 +-
 gdb/dwarf2read.c                              |   59 ++++-
 gdb/elfread.c                                 |    6 +-
 gdb/eval.c                                    |   86 ++++++-
 gdb/exec.c                                    |   16 +-
 gdb/expprint.c                                |   46 +++-
 gdb/gcore.c                                   |    3 +-
 gdb/gdb_bfd.c                                 |  132 +++++++++-
 gdb/gdb_bfd.h                                 |   57 ++++-
 gdb/gdbserver/ChangeLog                       |    8 +
 gdb/gdbserver/i386-low.c                      |    3 +
 gdb/gdbserver/linux-x86-low.c                 |   19 +-
 gdb/i386-tdep.c                               |  200 ++++-----------
 gdb/infcmd.c                                  |   15 +-
 gdb/infrun.c                                  |    6 +-
 gdb/jit.c                                     |   16 +-
 gdb/linux-nat.c                               |   12 +-
 gdb/linux-thread-db.c                         |   44 +---
 gdb/m32r-rom.c                                |    4 +-
 gdb/machoread.c                               |   28 +--
 gdb/main.c                                    |    2 -
 gdb/objfiles.c                                |    3 +-
 gdb/p-valprint.c                              |    8 +-
 gdb/parse.c                                   |   14 +-
 gdb/procfs.c                                  |    2 +-
 gdb/record.c                                  |   36 ++--
 gdb/record.h                                  |    6 +
 gdb/remote-m32r-sdi.c                         |    2 +-
 gdb/remote-mips.c                             |    4 +-
 gdb/remote.c                                  |   14 +-
 gdb/rs6000-nat.c                              |   32 ++-
 gdb/sh-tdep.c                                 |    2 -
 gdb/solib-darwin.c                            |    5 +-
 gdb/solib-pa64.c                              |    2 +-
 gdb/solib-spu.c                               |    9 +-
 gdb/solib-svr4.c                              |   12 +-
 gdb/solib.c                                   |    7 +-
 gdb/spu-linux-nat.c                           |   18 +-
 gdb/stack.c                                   |    3 +-
 gdb/std-operator.def                          |   15 ++
 gdb/symfile-mem.c                             |   11 +-
 gdb/symfile.c                                 |   40 ++--
 gdb/symfile.h                                 |    5 +-
 gdb/target.c                                  |   58 ++++-
 gdb/target.h                                  |    4 +
 gdb/testsuite/ChangeLog                       |   45 ++++
 gdb/testsuite/config/monitor.exp              |    2 +-
 gdb/testsuite/config/vx.exp                   |    2 +-
 gdb/testsuite/gdb.base/printcmds.exp          |    4 +-
 gdb/testsuite/gdb.base/setshow.exp            |    4 +
 gdb/testsuite/gdb.base/setvar.exp             |    2 +-
 gdb/testsuite/gdb.base/sigall.exp             |  158 +++++++------
 gdb/testsuite/gdb.cp/casts.cc                 |   10 +
 gdb/testsuite/gdb.cp/casts.exp                |   19 ++
 gdb/testsuite/gdb.reverse/sigall-precsave.exp |  331 +++++++++----------------
 gdb/testsuite/gdb.reverse/sigall-reverse.exp  |  305 +++++++----------------
 gdb/testsuite/gdb.threads/create-fail.c       |  119 +++++++++
 gdb/testsuite/gdb.threads/create-fail.exp     |   53 ++++
 gdb/tilegx-linux-tdep.c                       |   14 +-
 gdb/valops.c                                  |   10 +-
 gdb/varobj.c                                  |    4 +-
 gdb/version.in                                |    2 +-
 gdb/windows-nat.c                             |    2 +-
 opcodes/ChangeLog                             |   18 ++
 opcodes/i386-dis.c                            |   64 +++++-
 82 files changed, 1837 insertions(+), 1014 deletions(-)
 create mode 100644 gdb/testsuite/gdb.threads/create-fail.c
 create mode 100644 gdb/testsuite/gdb.threads/create-fail.exp

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 98bd591..98dde86 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2012-07-23  Nick Clifton  <nickc@redhat.com>
+
+	* cisco-core.c (cisco_core_file_failing_command): Make static.
+	(cisco_core_file_failing_signal): Make static.
+
 2012-07-18  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* bfd-in2.h: Regenerated.
diff --git a/bfd/cisco-core.c b/bfd/cisco-core.c
index 7155a63..5d0454c 100644
--- a/bfd/cisco-core.c
+++ b/bfd/cisco-core.c
@@ -303,13 +303,13 @@ cisco_core_file_p (bfd *abfd)
   return (target);
 }
 
-char *
+static char *
 cisco_core_file_failing_command (bfd *abfd ATTRIBUTE_UNUSED)
 {
   return NULL;
 }
 
-int
+static int
 cisco_core_file_failing_signal (bfd *abfd ATTRIBUTE_UNUSED)
 {
   return abfd->tdata.cisco_core_data->sig;
diff --git a/bfd/version.h b/bfd/version.h
index 543480f..a7dfeaa 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20120719
+#define BFD_VERSION_DATE 20120723
 #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 171a02e..bce298b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,282 @@
+2012-07-23  Tom Tromey  <tromey@redhat.com>
+
+	* rs6000-nat.c (add_vmap): Rewrite archive loop.  Fix reference
+	counting.
+	* exec.c (exec_close_1): Unconditionally release vmap's BFD.
+	(map_vmap): Acquire a reference to the BFD.
+
+2012-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+	* p-valprint.c (pascal_object_print_value): Replace potentially
+	unsafe alloca with xmalloc/xfree.
+	* valops.c (search_struct_method): Likewise.
+
+2012-07-23  Tom Tromey  <tromey@redhat.com>
+
+	* solib-svr4.c (enable_break): Update.
+	* bfd-target.h (target_bfd_reopen): Update documentation.
+
+2012-07-23  Tom Tromey  <tromey@redhat.com>
+
+	* symfile.c (separate_debug_file_exists): Update.
+	(gdb_bfd_open_maybe_remote): Rename from bfd_open_maybe_remote.
+	(reread_symbols): Update.
+	* elfread.c (build_id_verify): Update.
+	* symfile.h (gdb_bfd_open_maybe_remote): Rename from
+	bfd_open_maybe_remote.
+
+2012-07-23  Tom Tromey  <tromey@redhat.com>
+
+	* gdb_bfd.c (gdb_bfd_ref, gdb_bfd_unref): Fix comment.
+
+2012-07-23  Tom Tromey  <tromey@redhat.com>
+
+	* coffread.c (coff_symfile_read): Make a cleanup for 'debugfile'
+	and 'abfd'.
+	* elfread.c (elf_symfile_read): Make a cleanup for 'debugfile'
+	and 'abfd'.
+	* jit.c (jit_bfd_try_read_symtab): Make a cleanup for 'nbfd'.
+	* machoread.c (macho_add_oso_symfile): Make a cleanup for
+	'abfd'.
+	(macho_symfile_read): Make a cleanup for 'dsym_bfd'.
+	* objfiles.c (allocate_objfile): Acquire a new reference.
+	* rs6000-nat.c (add_vmap): Don't acquire a BFD reference.
+	* solib.c (solib_read_symbols): Don't acquire a BFD reference.
+	* spu-linux-nat.c (spu_symbol_file_add_from_memory): Make
+	a cleanup for 'nbfd'.
+	* symfile-mem.c (symbol_file_add_from_memory): Make a cleanup
+	for 'nbfd'.
+	* symfile.c (symbol_file_add_with_addrs_or_offsets): Don't
+	make a cleanup for 'abfd'.
+	(symbol_file_add): Make a BFD cleanup.
+
+2012-07-23  Tom Tromey  <tromey@redhat.com>
+
+	* cli/cli-dump.c (bfd_openr_with_cleanup): Use gdb_bfd_openr.
+	(bfd_openw_with_cleanup): Use gdb_bfd_openw.
+	* corelow.c (core_open): Use gdb_bfd_fopen.
+	* dsrec.c (load_srec): Use gdb_bfd_openr.
+	* exec.c (exec_file_attach): Use gdb_bfd_fopen.
+	* gcore.c (gcore_memory_sections): Use gdb_bfd_openw.
+	* gdb_bfd.c (gdb_bfd_fopen, gdb_bfd_openr, gdb_bfd_openw)
+	(gdb_bfd_openr_iovec, gdb_bfd_openr_next_archived_file)
+	(gdb_bfd_fdopenr): New functions.
+	* gdb_bfd.h (gdb_bfd_fopen, gdb_bfd_openr, gdb_bfd_openw)
+	(gdb_bfd_openr_iovec, gdb_bfd_openr_next_archived_file)
+	(gdb_bfd_fdopenr): Declare.
+	* jit.c (bfd_open_from_target_memory): Use gdb_bfd_openr_iovec.
+	* m32-rom.c (m32r_load, m32r_upload_command): Use gdb_bfd_openr.
+	* machoread.c (macho_symfile_read_all_oso): Use gdb_bfd_openr,
+	gdb_bfd_openr_next_archived_file.
+	(macho_check_dsym): Use gdb_bfd_openr.
+	(macho_add_oso_symfile): Don't call gdb_bfd_stash_filename.
+	* procfs.c (insert_dbx_link_bpt_in_file): Use gdb_bfd_fdopenr.
+	* remote-m32r-sdi.c (m32r_load): Use gdb_bfd_openr.
+	* remote-mips.c (mips_load_srec, pmon_load_fast): Use
+	gdb_bfd_openr.
+	* remote.c (remote_bfd_open): Use gdb_bfd_openr_iovec.
+	* rs6000-nat.c (add_vmap): Use gdb_bfd_openr, gdb_bfd_fdopenr,
+	gdb_bfd_openr_next_archived_file.
+	* solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init):
+	Use gdb_bfd_openr.
+	* solib-pa64.c (pa64_solib_create_inferior_hook): Use
+	gdb_bfd_openr.
+	* solib-spu.c (spu_bfd_fopen): Use gdb_bfd_openr_iovec.
+	* solib.c (solib_bfd_fopen): Use gdb_bfd_fopen.
+	* spu-linux-nat.c (spu_bfd_open): Use gdb_bfd_openr_iovec.
+	* symfile.c (bfd_open_maybe_remote): Use gdb_bfd_openr.
+	(symfile_bfd_open): Use gdb_bfd_fopen.
+	(generic_load): Use gdb_bfd_openr.
+	* windows-nat.c (windows_make_so): Use gdb_bfd_openr.
+
+2012-07-23  Tom Tromey  <tromey@redhat.com>
+
+	* bfd-target.c (target_bfd_reopen): Update.
+	* cli/cli-dump.c (bfd_openr_with_cleanup)
+	(bfd_openw_with_cleanup): Update.
+	* corelow.c (core_open): Update.
+	* dsrec.c (load_srec): Update.
+	* exec.c (exec_file_attach): Update.
+	* gcore.c (create_gcore_bfd): Update.
+	* gdb_bfd.c (gdb_bfd_ref): Return void.
+	(gdb_bfd_open): Update.
+	* gdb_bfd.h (gdb_bfd_ref): Return void.
+	Update comments.
+	* jit.c (jit_bfd_try_read_symtab): Update.
+	* m32r-rom.c (m32r_load, m32r_upload_command): Update.
+	* machoread.c (macho_symfile_read_all_oso): Update.
+	(macho_check_dsym): Update.
+	* procfs.c (insert_dbx_link_bpt_in_file): Update.
+	* remote-m32r-sdi.c (m32r_load): Update.
+	* remote-mips.c (mips_load_srec, pmon_load_fast): Update.
+	* rs6000-nat.c (add_vmap): Update.
+	* solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init):
+	Update.
+	* solib-pa64.c (pa64_solib_create_inferior_hook): Update.
+	* solib-spu.c (spu_bfd_open): Update.
+	* solib.c (solib_bfd_fopen, solib_read_symbols): Update.
+	* spu-linux-nat.c (spu_bfd_open): Update.
+	* symfile.c (bfd_open_maybe_remote, symfile_bfd_open)
+	(generic_load): Update.
+	* windows-nat.c (windows_make_so): Update.
+
+2012-07-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+	* sh-tdep.c (sh_treat_as_flt_p): Remove unused variable LEN.
+
+2012-07-20  Jeff Kenton  <jkenton@tilera.com>
+
+	* tilegx-linux-tdep.c (tilegx_linux_sigframe_init): Fix
+	SIGTRAMP_FRAME unwinding.
+
+2012-07-20  Doug Evans  <dje@google.com>
+
+	* NEWS: Document new options "set/show use-deprecated-index-sections",
+	and delete reference to --use-deprecated-index-sections.
+	* symfile.h (use_deprecated_index_sections): Delete.
+	* dwarf2read.c (use_deprecated_index_sections): Make static.
+	(read_index_from_section): Update wording of how to load
+	deprecated index sections.
+	(_initialize_dwarf2_read): New options
+	"set/show use-deprecated-index-sections".
+	* main.c (captured_main): Delete --use-deprecated-index-sections.
+
+2012-07-20  Pedro Alves  <palves@redhat.com>
+
+	PR threads/11692
+	PR gdb/12203
+
+	* infrun.c (handle_inferior_event) <new thread>: Don't special
+	case minus_one_ptid.
+	<TARGET_WAITKIND_SPURIOUS>: Ditto.
+	* linux-thread-db.c (thread_get_info_callback): Don't return early
+	if the thread is zombie.
+	(thread_from_lwp): Change return type to void.  Rewrite stale
+	comment.
+	(attach_thread): Don't return early if the thread is zombie,
+	instead set its "dying" flag.
+	(thread_db_wait): Don't return TARGET_WAITKIND_SPURIOUS anymore.
+	(find_new_threads_callback): Don't return early if the thread is
+	zombie.
+
+2012-07-20  Pedro Alves  <palves@redhat.com>
+
+	* linux-nat.c (linux_nat_wait): Dump the passed in target options.
+	* target.c (target_wait): Likewise.
+	(str_comma_list_concat_elem, do_option, target_options_to_string):
+	New functions.
+	* target.h (target_options_to_string): Declare.
+
+2012-07-20  Jan Kratochvil <jan.kratochvil@redhat.com>
+	    Tom Tromey  <tromey@redhat.com>
+
+	* dwarf2read.c (dwarf_decode_macros)
+	<DW_MACRO_GNU_define_indirect_alt, DW_MACRO_GNU_undef_indirect_alt,
+	DW_MACRO_GNU_transparent_include_alt>: New cases.
+	(dwarf_decode_macro_bytes) <DW_MACRO_GNU_define_indirect,
+	DW_MACRO_GNU_undef_indirect>: Examine 'section_is_dwz'.
+
+2012-07-20  Tom Tromey  <tromey@redhat.com>
+
+	* dwarf2read.c (try_open_dwo_file): Don't call
+	gdb_bfd_stash_filename.
+
+2012-07-20  Pedro Alves  <palves@redhat.com>
+
+	* i386-tdep.c (i386_record_modrm, i386_record_lea_modrm_addr)
+	(i386_record_lea_modrm, i386_record_push, i386_record_floats)
+	(i386_process_record): Tweak description comments.
+
+2012-07-20  Pedro Alves  <palves@redhat.com>
+
+	* i386-tdep.c (i386_record_modrm, i386_record_lea_modrm_addr)
+	(i386_process_record): Use record_read_memory.
+	* record.c (record_read_memory): New function.
+	(record_arch_list_add_mem, record_exec_insn): Use
+	record_read_memory.
+	* record.h (record_read_memory): Declare.
+
+2012-07-20  Yao Qi  <yao@codesourcery.com>
+
+	* cli/cli-setshow.c (do_setshow_command): Don't check pointer is
+	NULL for xfree.
+
+2012-07-19  Pedro Alves  <palves@redhat.com>
+
+	* record.c (record_resume): Ask the target beneath to report all
+	signals.
+
+2012-07-19  Doug Evans  <dje@google.com>
+
+	* dwarf2read.c (dwarf2_ranges_read): Ignore ranges starting at zero if
+	there's no section at address zero.
+	(dwarf2_record_block_ranges): Ditto.
+
+2012-07-19  Yao Qi  <yao@codesourcery.com>
+
+	* command.h, remote.c: Fix a typo in comment.
+
+2012-07-19  Tom Tromey  <tromey@redhat.com>
+
+	PR exp/13206:
+	* ax-gdb.c (gen_expr) <OP_TYPEOF, OP_DECLTYPE>: New cases.
+	* breakpoint.c (watchpoint_exp_is_const) <OP_TYPEOF,
+	OP_DECLTYPE>: New cases.
+	* c-exp.y (TYPEOF, DECLTYPE): New tokens.
+	(type_exp): Add new productions.
+	(ident_tokens): Add __typeof__, typeof, __typeof, __decltype,
+	and decltype.
+	* eval.c (evaluate_subexp_standard) <OP_TYPEOF, OP_DECLTYPE>:
+	New case.
+	* expprint.c (dump_subexp_body_standard) <OP_TYPEOF,
+	OP_DECLTYPE>: New case.
+	* parse.c (operator_length_standard) <OP_TYPEOF, OP_DECLTYPE>:
+	New case.
+	* std-operator.def (OP_TYPEOF, OP_DECLTYPE): New constants.
+	* varobj.c (varobj_create): Handle OP_TYPEOF, OP_DECLTYPE.
+
+2012-07-19  Tom Tromey  <tromey@redhat.com>
+
+	* c-exp.y (enum token_flags): New.
+	(struct token) <cxx_only>: Remove.
+	<flags>: New field.
+	(tokentab3, tokentab2, ident_tokens): Update.
+	(lex_one_token): Update.  Handle FLAG_SHADOW.
+
+2012-07-19  Tom Tromey  <tromey@redhat.com>
+
+	* ax-gdb.c (gen_expr): Handle UNOP_CAST_TYPE, UNOP_MEMVAL_TYPE.
+	* breakpoint.c (watchpoint_exp_is_const): Handle UNOP_CAST_TYPE,
+	UNOP_REINTERPRET_CAST, UNOP_DYNAMIC_CAST.
+	* c-exp.y (exp): Emit UNOP_MEMVAL_TYPE, UNOP_CAST_TYPE.  Update
+	for changes to UNOP_REINTERPRET_CAST, UNOP_DYNAMIC_CAST.  Use
+	type_exp production where appropriate.
+	* eval.c (evaluate_subexp_standard) <UNOP_CAST_TYPE>: New case.
+	<UNOP_DYNAMIC_CAST, UNOP_REINTERPRET_CAST>: Update.
+	<UNOP_MEMVAL_TYPE>: New case.
+	(evaluate_subexp_for_address) <UNOP_MEMVAL_TYPE>: New case.
+	(evaluate_subexp_for_sizeof) <UNOP_MEMVAL_TYPE>: New case.
+	* expprint.c (print_subexp_standard) <UNOP_CAST_TYPE>: New case.
+	<UNOP_MEMVAL_TYPE>: New case.
+	(dump_subexp_body_standard) <UNOP_DYNAMIC_CAST,
+	UNOP_REINTERPRET_CAST>: Update.
+	<UNOP_CAST_TYPE, UNOP_MEMVAL_TYPE>: New cases.
+	* parse.c (operator_length_standard) <UNOP_DYNAMIC_CAST,
+	UNOP_REINTERPRET_CAST>: Update.
+	<UNOP_CAST_TYPE, UNOP_MEMVAL_TYPE>: New cases.
+	* stack.c (return_command): Also check for UNOP_CAST_TYPE.
+	* std-operator.def (UNOP_CAST_TYPE, UNOP_MEMVAL_TYPE): New
+	constants.
+
+2012-07-19  Yao Qi  <yao@codesourcery.com>
+	    Jan Kratochvil <jan.kratochvil@redhat.com>
+
+	* cli/cli-setshow.c (do_setshow_command): Handle case 'var_filename'
+	and case 'var_optional_filename' together.
+	* infcmd.c (_initialize_infcmd): Call add_setshow_string_noescape_cmd
+	instead of add_setshow_optional_filename_cmd for setshow command
+	'args'.  Set completer for 'set args'.
+
 2012-07-18  Doug Evans  <dje@google.com>
 
 	* common/gdb_vecs.h: Moved here from ./gdb_vecs.h.
diff --git a/gdb/NEWS b/gdb/NEWS
index f65dd0b..3333810 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -114,11 +114,11 @@
 * The .gdb_index section has been updated to include symbols for
   inlined functions.  GDB will ignore older .gdb_index sections by
   default, which could cause symbol files to be loaded more slowly
-  until their .gdb_index sections can be recreated.  The new option
-  --use-deprecated-index-sections will cause GDB to use any older
-  .gdb_index sections it finds.  This will restore performance, but
-  the ability to set breakpoints on inlined functions will be lost
-  in symbol files with older .gdb_index sections.
+  until their .gdb_index sections can be recreated.  The new command
+  "set use-deprecated-index-sections on" will cause GDB to use any older
+  .gdb_index sections it finds.  This will restore performance, but 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"
@@ -139,6 +139,10 @@
 
 * New commands
 
+  ** "set use-deprecated-index-sections on|off"
+     "show use-deprecated-index-sections on|off"
+     Controls the use of deprecated .gdb_index sections.
+
   ** "catch load" and "catch unload" can be used to stop when a shared
      library is loaded or unloaded, respectively.
 
diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c
index 845153d..f2c5155 100644
--- a/gdb/ax-gdb.c
+++ b/gdb/ax-gdb.c
@@ -2076,6 +2076,23 @@ gen_expr (struct expression *exp, union exp_element **pc,
       }
       break;
 
+    case UNOP_CAST_TYPE:
+      {
+	int offset;
+	struct value *val;
+	struct type *type;
+
+	++*pc;
+	offset = *pc - exp->elts;
+	val = evaluate_subexp (NULL, exp, &offset, EVAL_AVOID_SIDE_EFFECTS);
+	type = value_type (val);
+	*pc = &exp->elts[offset];
+
+	gen_expr (exp, pc, ax, value);
+	gen_cast (ax, value, type);
+      }
+      break;
+
     case UNOP_MEMVAL:
       {
 	struct type *type = check_typedef ((*pc)[1].type);
@@ -2094,6 +2111,31 @@ gen_expr (struct expression *exp, union exp_element **pc,
       }
       break;
 
+    case UNOP_MEMVAL_TYPE:
+      {
+	int offset;
+	struct value *val;
+	struct type *type;
+
+	++*pc;
+	offset = *pc - exp->elts;
+	val = evaluate_subexp (NULL, exp, &offset, EVAL_AVOID_SIDE_EFFECTS);
+	type = value_type (val);
+	*pc = &exp->elts[offset];
+
+	gen_expr (exp, pc, ax, value);
+
+	/* If we have an axs_rvalue or an axs_lvalue_memory, then we
+	   already have the right value on the stack.  For
+	   axs_lvalue_register, we must convert.  */
+	if (value->kind == axs_lvalue_register)
+	  require_rvalue (ax, value);
+
+	value->type = type;
+	value->kind = axs_lvalue_memory;
+      }
+      break;
+
     case UNOP_PLUS:
       (*pc)++;
       /* + FOO is equivalent to 0 + FOO, which can be optimized.  */
@@ -2213,6 +2255,8 @@ gen_expr (struct expression *exp, union exp_element **pc,
       break;
 
     case OP_TYPE:
+    case OP_TYPEOF:
+    case OP_DECLTYPE:
       error (_("Attempt to use a type name as an expression."));
 
     default:
diff --git a/gdb/bfd-target.c b/gdb/bfd-target.c
index 21f53bb..455d3e6 100644
--- a/gdb/bfd-target.c
+++ b/gdb/bfd-target.c
@@ -84,7 +84,8 @@ target_bfd_reopen (struct bfd *abfd)
   struct target_bfd_data *data;
 
   data = XZALLOC (struct target_bfd_data);
-  data->bfd = gdb_bfd_ref (abfd);
+  data->bfd = abfd;
+  gdb_bfd_ref (abfd);
   build_section_table (abfd, &data->table.sections, &data->table.sections_end);
 
   t = XZALLOC (struct target_ops);
diff --git a/gdb/bfd-target.h b/gdb/bfd-target.h
index 71001c5..7f4e628 100644
--- a/gdb/bfd-target.h
+++ b/gdb/bfd-target.h
@@ -23,9 +23,9 @@
 struct bfd;
 struct target_ops;
 
-/* Given an existing BFD, re-open it as a "struct target_ops".  On
-   close, it will also close the corresponding BFD (which is like
-   freopen and fdopen).  */
+/* Given an existing BFD, re-open it as a "struct target_ops".  This
+   acquires a new reference to the BFD.  This reference will be
+   released when the target is closed.  */
 struct target_ops *target_bfd_reopen (struct bfd *bfd);
 
 #endif
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 63cd8de..cbb150f 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -10162,6 +10162,8 @@ watchpoint_exp_is_const (const struct expression *exp)
 	case OP_BITSTRING:
 	case OP_ARRAY:
 	case OP_TYPE:
+	case OP_TYPEOF:
+	case OP_DECLTYPE:
 	case OP_NAME:
 	case OP_OBJC_NSSTRING:
 
@@ -10171,6 +10173,10 @@ watchpoint_exp_is_const (const struct expression *exp)
 	case UNOP_ADDR:
 	case UNOP_HIGH:
 	case UNOP_CAST:
+
+	case UNOP_CAST_TYPE:
+	case UNOP_REINTERPRET_CAST:
+	case UNOP_DYNAMIC_CAST:
 	  /* Unary, binary and ternary operators: We have to check
 	     their operands.  If they are constant, then so is the
 	     result of that operation.  For instance, if A and B are
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index 0613799..174a38c 100644
--- a/gdb/c-exp.y
+++ b/gdb/c-exp.y
@@ -219,6 +219,8 @@ static void check_parameter_typelist (VEC (type_ptr) *);
 %type <sval> operator
 %token REINTERPRET_CAST DYNAMIC_CAST STATIC_CAST CONST_CAST
 %token ENTRY
+%token TYPEOF
+%token DECLTYPE
 
 /* Special type cases, put in to allow the parser to distinguish different
    legal basetypes.  */
@@ -268,6 +270,20 @@ type_exp:	type


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


             reply	other threads:[~2012-07-23 19:41 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-23 19:41 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-19 12:40 pmuldoon
2012-07-18 14:22 pmuldoon
2012-07-11 14:21 pmuldoon
2012-06-25 17:43 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=20120723194157.29867.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).