From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25176 invoked by alias); 22 May 2012 03:49:45 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 25154 invoked by uid 9813); 22 May 2012 03:49:44 -0000 Date: Tue, 22 May 2012 03:49:00 -0000 Message-ID: <20120522034943.25140.qmail@sourceware.org> From: sergiodj@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-sergiodj-cpp-template-lookup: reverse-20080717-branchpoint-11743-gc46b4e8 X-Git-Refname: refs/heads/archer-sergiodj-cpp-template-lookup X-Git-Reftype: branch X-Git-Oldrev: 0000000000000000000000000000000000000000 X-Git-Newrev: c46b4e83e39b3a044212841d43d03b23841cf0f6 X-SW-Source: 2012-q2/txt/msg00030.txt.bz2 List-Id: The branch, archer-sergiodj-cpp-template-lookup has been created at c46b4e83e39b3a044212841d43d03b23841cf0f6 (commit) - Log ----------------------------------------------------------------- commit c46b4e83e39b3a044212841d43d03b23841cf0f6 Author: Alan Modra Date: Tue May 22 00:00:04 2012 +0000 daily update commit 1180e752393b9da745008a4f0583b1c2bbca533c Author: gdbadmin Date: Tue May 22 00:00:03 2012 +0000 *** empty log message *** commit 272cb31d810a541dcc44f942fabb3167580b838e Author: Maciej W. Rozycki Date: Mon May 21 23:50:25 2012 +0000 * linux-low.c (linux_store_registers): Don't re-retrieve data with ptrace that has already been obtained from /proc. Always copy any data retrieved with ptrace to the buffer supplied. commit c69ef372db94854dd1d77034692380c36826d32c Author: Tom Tromey Date: Mon May 21 19:47:50 2012 +0000 PR c++/7173: * gnu-v3-abi.c (gnuv3_baseclass_offset): Return early for Java types. * value.h (value_cast_pointers): Update. * valops.c (value_cast_pointers): Add 'subclass_check' argument. (value_cast): Update. (update_search_result): New function. (do_search_struct_field): New, from search_struct_field. Check for ambiguous results. (search_struct_field): Rewrite. * infcall.c (value_arg_coerce): Update. * eval.c (evaluate_subexp_standard) : Use value_cast_pointers. * ada-lang.c (ada_convert_actual): Update. testsuite * gdb.cp/inherit.exp (test_print_mi_members): Expect errors. Remove kfails. (test_print_mi_member_types): Likewise. commit 595d240f3ac8cddd8d730ef30b2521474855b5ef Author: Tom Tromey Date: Mon May 21 16:52:42 2012 +0000 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set print symbol' change. commit 292665f595d509735ce9f82f8256b090917eefdd Author: Tom Tromey Date: Mon May 21 15:27:20 2012 +0000 * macroexp.c (macro_stringify): Terminate the string. commit 5846d4c42febd6938b6f45e584b31a3435fa4a39 Author: Andreas Schwab Date: Mon May 21 08:17:12 2012 +0000 * elf32-m68k.c (elf_m68k_grok_prstatus): New function. (elf_m68k_grok_psinfo): New function. (elf_backend_grok_prstatus): Define. (elf_backend_grok_psinfo): Define. commit 39906b4e1e81cb4868ff8742fd47e2d2178f6025 Author: Alan Modra Date: Mon May 21 00:00:04 2012 +0000 daily update commit f0394a5d96389b4b13afaecf3720cfe6ec3fba67 Author: gdbadmin Date: Mon May 21 00:00:02 2012 +0000 *** empty log message *** commit 1a028ae103d259a731240806ea65481f1a808211 Author: Jan Kratochvil Date: Sun May 20 20:35:16 2012 +0000 gdb/ * NEWS (--with-auto-load-dir): Prepend $debugdir to the default path. Describe it. * auto-load.c (auto_load_expand_dir_vars): New function. (auto_load_safe_path_vec_update): Use it, remove the substitute_path_component call thanks to it. (auto_load_objfile_script): Remove the debug_file_directory processing. Use auto_load_expand_dir_vars, remove the substitute_path_component call thanks to it. * configure: Regenerate. * configure.ac (--with-auto-load-dir): Prepend $debugdir to the default path. Escape $ also for $debugdir. (--with_auto_load_safe_path): Escape $ also for $debugdir. * utils.c (substitute_path_component): Accept also DIRNAME_SEPARATOR. gdb/doc/ * gdb.texinfo (Separate Debug Files): New anchor debug-file-directory. Mention also --with-separate-debug-dir. (Auto-loading): Prepend $debugdir in the sample output. (Auto-loading safe path): Likewise. Mention also $debugdir for the auto-load safe-path variable. (objfile-gdb.py file): Remove the extra debug-file-directory paragraph. Mention also $debugdir for 'set auto-load scripts-directory'. commit 605ae15df3cab3929f21ccae1e190c6d7dc0d41f Author: Doug Evans Date: Sun May 20 17:15:26 2012 +0000 * dwarf2read.c (recursively_find_pc_sect_symtab): Initialize "s" before use. Check for symtab->includes == NULL before scanning it. commit 8ac12dd451be09bad00044c58f120c88751b12ae Author: Hans-Peter Nilsson Date: Sun May 20 05:34:22 2012 +0000 PR 14072 * interp.c: Include config.h before system header files. commit f602b69598653641b9c274d451200c08687fd80f Author: gdbadmin Date: Sun May 20 00:00:32 2012 +0000 *** empty log message *** commit 0f8af78d65052cc6d8e766f58cabba8afec1c13f Author: Alan Modra Date: Sun May 20 00:00:05 2012 +0000 daily update commit cd0de0c139051b685c02fa4994613ae30830f939 Author: Maciej W. Rozycki Date: Sat May 19 19:30:45 2012 +0000 * elf64-mips.c (elf_backend_got_header_size): Correct definition. * elfxx-mips.c (_bfd_mips_elf_adjust_dynamic_symbol): Use the ELF backend's GOT header size instead of hardcoding it. commit 37627c11b51180d3b2b32d03f4f055a382b9c7fc Author: Maciej W. Rozycki Date: Sat May 19 19:27:01 2012 +0000 * elf32-vax.c (elf_vax_relocate_section) : Don't check if info->shared again. commit 31e36a1097a8c8b1bceea9b7c45b75007c380694 Author: Maciej W. Rozycki Date: Sat May 19 19:23:23 2012 +0000 * elf32-vax.c (elf_vax_relocate_section) : Use section flags rather than its name as the check for text sections. commit d55769b2f75eed62cad33cddc94a6cc9ef223ec0 Author: Maciej W. Rozycki Date: Sat May 19 19:13:54 2012 +0000 * elf64-mips.c (mips_elf64_be_swap_reloc_out): Also make sure the third reloc offset is the same as the first. commit 98cc0d09da4db2a14bd8a891a6c8f162f64e11ee Author: Nick Clifton Date: Sat May 19 16:46:13 2012 +0000 PR 14072 * wrapper.c: Include config.h before system header files. * callback.c: Include config.h before system header files. * cgen-trace.c: Likewise. * cgen-utils.c: Likewise. * gentmap.c: Likewise. * sim-if.c: Include config.h before system header files. * compile.c: Include config.h before system header files. * sim-main.h: Likewise. * gdb-if.c: Include config.h before system header files. * load.c: Likewise. * syscalls.c: Likewise. * trace.c: Likewise. * interp.c: Include config.h before system header files. commit 0392d178b0cd28000fa384cf30bdd7c82acfe85b Author: Eli Zaretskii Date: Sat May 19 08:50:59 2012 +0000 Use @acronym{MIPS} where appropriate. See http://sourceware.org/ml/gdb-patches/2012-04/threads.html#01091 and http://sourceware.org/ml/gdb-patches/2012-05/threads.html#00731 for the related discussions. * gdb.texinfo (Continuing and Stepping, Selection, Byte Order) (MIPS Embedded, MIPS, MIPS Register packet Format) (Target Descriptions, MIPS Features): Use @acronym{MIPS} where appropriate. commit 2e0d3c37937edbf803b956e64a76d6771eae29c6 Author: Alan Modra Date: Sat May 19 06:58:44 2012 +0000 bfd/ * elf32-ppc.h (has_vle_insns, is_ppc_vle): Delete. (has_tls_reloc, has_tls_get_addr_call): Move back to.. * elf32-ppc.c: ..here. (ppc_elf_section_flags, elf_backend_section_flags): Delete. (ppc_elf_modify_segment_map): Use ELF sh_flags to detect VLE sections. opcodes/ * ppc-dis.c: Don't include elf32-ppc.h, do include elf/ppc.h. (get_powerpc_dialect): Detect VLE sections from ELF sh_flags. ld/testsuite/ * ld-powerpc/vle.ld: New. * ld-powerpc/powerpc.exp (vle reloc tests): Link using vle.ld. commit 611dc5b2958d6cde31d3fc6cb27820dfac45a78a Author: Thiago Jung Bauermann Date: Sat May 19 01:05:37 2012 +0000 * gdb.python/py-prompt.exp: Quit if the target is remote. commit b183b5bc41840bcedc21752d65717bc5420d77ee Author: Alan Modra Date: Sat May 19 00:00:05 2012 +0000 daily update commit a0007b8d18ab17b974c2286b81fd3a651bd711cb Author: gdbadmin Date: Sat May 19 00:00:03 2012 +0000 *** empty log message *** commit 50f22bcc71a370af07f5acca9a2f3e8c9d467b1b Author: Maciej W. Rozycki Date: Fri May 18 23:53:18 2012 +0000 * mips-tdep.c (mips_reg3_to_reg): Optimize storage. commit 24c4e62acea50679c7decb3707376beeca9eec42 Author: Maciej W. Rozycki Date: Fri May 18 23:46:39 2012 +0000 gdb/ * NEWS: Add microMIPS support and "set mips compression", "show mips compression" commands. * mips-tdep.h (mips_isa): New enum. (gdbarch_tdep): Add mips_isa. (mips_pc_is_mips16): Update prototype. (mips_pc_is_mips, mips_pc_is_micromips): New prototypes. * mips-tdep.c (mips_compression_mips16): New variable. (mips_compression_micromips): Likewise. (mips_compression_strings): Likewise. (mips_compression_string): Likewise. (is_mips16_isa, is_micromips_isa): New functions. (is_mips16_addr): Rename to... (is_compact_addr): ... this. (unmake_mips16_addr): Likewise to... (unmake_compact_addr): ... this. (make_mips16_addr): Likewise to... (make_compact_addr): ... this. (is_mips_addr, is_mips16_addr, is_micromips_addr): New functions. (mips_elf_make_msymbol_special): Handle microMIPS code. (msymbol_is_special): Rename to... (msymbol_is_mips16): ... this. (mips_make_symbol_special, mips_pc_is_mips16): Update accordingly. (msymbol_is_mips, msymbol_is_micromips): New functions. (mips16_to_32_reg): Rename to... (mips_reg3_to_reg): ... this. (mips_pc_is_mips, mips_pc_is_micromips): New functions. (mips_pc_isa): Likewise. (mips_read_pc, mips_unwind_pc, mips_write_pc): Handle microMIPS code. (mips_fetch_instruction): Pass return status instead of printing an error message if requested. Handle microMIPS code. Bail out on an invalid ISA. (micromips_op): New macro. (b0s4_imm, b0s5_imm, b0s5_reg, b0s7_imm, b0s10_imm): Likewise. (b1s9_imm, b2s3_cc, b4s2_regl, b5s5_op, b5s5_reg): Likewise. (b6s4_op, b7s3_reg): Likewise. (b0s6_op, b0s11_op, b0s12_imm, b0s16_imm, b0s26_imm): Likewise. (b6s10_ext, b11s5_reg, b12s4_op): Likewise. (mips_insn_size): New function. (mips32_next_pc): Update mips_fetch_instruction call. (micromips_relative_offset7): New function. (micromips_relative_offset10): Likewise. (micromips_relative_offset16): Likewise. (micromips_pc_insn_size): Likewise. (micromips_bc1_pc): Likewise. (micromips_next_pc): Likewise. (unpack_mips16): Update mips_fetch_instruction call. (extended_mips16_next_pc): Update according to change to mips16_to_32_reg. (mips_next_pc): Update mips_pc_is_mips16 call. Handle microMIPS code. (mips16_scan_prologue): Update mips_fetch_instruction call. Update according to change to mips16_to_32_reg. (mips_insn16_frame_sniffer): Update mips_pc_is_mips16 call. (mips_insn16_frame_base_sniffer): Likewise. (micromips_decode_imm9): New function. (micromips_scan_prologue): Likewise. (mips_micro_frame_cache): Likewise. (mips_micro_frame_this_id): Likewise. (mips_micro_frame_prev_register): Likewise. (mips_micro_frame_sniffer): Likewise. (mips_micro_frame_unwind): New variable. (mips_micro_frame_base_address): New function. (mips_micro_frame_base): New variable. (mips_micro_frame_base_sniffer): New function. (mips32_scan_prologue): Update mips_fetch_instruction call. (mips_insn32_frame_sniffer): Check for the standard MIPS ISA rather than for MIPS16. (mips_insn32_frame_base_sniffer): Likewise. (mips_addr_bits_remove): Handle microMIPS code. (deal_with_atomic_sequence): Rename to... (mips_deal_with_atomic_sequence): ... this. Update the type of the variable used to hold an instruction. Remove the ISA bit check. Update mips_fetch_instruction call. (micromips_deal_with_atomic_sequence): New function. (deal_with_atomic_sequence): Likewise. (mips_about_to_return): Handle microMIPS code. Update mips_fetch_instruction call. (heuristic_proc_start): Check for the standard MIPS ISA rather than for MIPS16. Update mips_pc_is_mips16 and mips_fetch_instruction calls. Handle microMIPS code. (mips_push_dummy_code): Handle microMIPS code. (mips_eabi_push_dummy_call): Likewise. (mips_o32_return_value): Update mips_pc_is_mips16 call. (mips_o64_push_dummy_call): Handle microMIPS code. (mips_o64_return_value): Update mips_pc_is_mips16 call. (is_delayed): Remove function. (mips_single_step_through_delay): Replace the call to is_delayed with mips32_instruction_has_delay_slot. Correct MIPS16 handling. Handle microMIPS code. (mips_skip_prologue): Update mips_pc_is_mips16 call. Handle microMIPS code. (mips32_in_function_epilogue_p): Update mips_fetch_instruction call. (micromips_in_function_epilogue_p): New function. (mips16_in_function_epilogue_p): Update mips_fetch_instruction call. (mips_in_function_epilogue_p): Update mips_pc_is_mips16 call. Handle microMIPS. (gdb_print_insn_mips): Likewise. (mips_breakpoint_from_pc): Likewise. (mips_remote_breakpoint_from_pc): New function. (mips32_instruction_has_delay_slot): Simplify making use of the updated mips_fetch_instruction interface. (micromips_instruction_has_delay_slot): New function. (mips16_instruction_has_delay_slot): Simplify making use of the updated mips_fetch_instruction interface. (mips_adjust_breakpoint_address): Check for the standard MIPS ISA rather than for MIPS16 ISA. Update for unmake_compact_addr calls. Handle microMIPS code. (mips_get_mips16_fn_stub_pc): Update mips_fetch_instruction call. (mips_skip_trampoline_code): Handle microMIPS code. (global_mips_compression): New function. (mips_gdbarch_init): Handle the compressed ISA setting from ELF file flags. Register the microMIPS remote breakpoint handler and heuristic frame unwinder. (show_mips_compression): New function. (_initialize_mips_tdep): Add the "set mips compression" and "show mips compression" commands. gdb/doc/ * gdb.texinfo (MIPS): Document "set mips compression" and "show mips compression". (MIPS Breakpoint Kinds): New subsubsection. commit d05aebdb050351d6d606eedb8d7e9383a1605641 Author: Maciej W. Rozycki Date: Fri May 18 23:45:13 2012 +0000 Fix typo. commit dfb2afbbd00f62ba8f6a3473582677b719ba7cc1 Author: Maciej W. Rozycki Date: Fri May 18 23:12:31 2012 +0000 * gdb.texinfo (Architecture-Specific Protocol Details): Define nodes for subsections. Add @acronym mark-ups and adjust formatting. commit fafb0a7c27df02beed24b3f2edc73821f3ba707d Author: H.J. Lu Date: Fri May 18 22:26:16 2012 +0000 Don't make _DYNAMIC/_GLOBAL_OFFSET_TABLE_ absolute bfd/ * elf32-i386.c (elf_i386_finish_dynamic_symbol): Don't make _DYNAMIC nor _GLOBAL_OFFSET_TABLE_ absolute. * elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise. ld/testsuite/ * ld-i386/tlsdesc-nacl.rd: Update for dynamic sym changes. * ld-i386/tlsdesc.rd: Likewise. * ld-i386/tlsgdesc-nacl.rd: Likewise. * ld-i386/tlsgdesc.rd: Likewise. * ld-i386/tlsnopic-nacl.rd: Likewise. * ld-i386/tlsnopic.rd: Likewise. * ld-i386/tlspic-nacl.rd: Likewise. * ld-i386/tlspic.rd: Likewise. * ld-x86-64/tlsdesc-nacl.rd: Likewise. * ld-x86-64/tlsdesc.rd: Likewise. * ld-x86-64/tlsgdesc-nacl.rd: Likewise. * ld-x86-64/tlsgdesc.rd: Likewise. * ld-x86-64/tlspic-nacl.rd: Likewise. * ld-x86-64/tlspic.rd: Likewise. commit 766c92154f8afb810d0f6a98d3b38eb5f9d5c51b Author: sergiodj Date: Fri May 18 21:02:45 2012 +0000 2012-05-18 Sergio Durigan Junior * ada-lang.c: * ada-tasks.c: * ada-varobj.c: * amd64-darwin-tdep.c: * arm-symbian-tdep.c: * arm-tdep.c: * avr-tdep.c: * ax-gdb.c: * bfin-linux-tdep.c: * breakpoint.c: * c-valprint.c: * cli/cli-cmds.c: * coffread.c: * cp-support.c: * cris-tdep.c: * dwarf2-frame-tailcall.c: * dwarf2-frame.c: * dwarf2expr.c: * dwarf2loc.c: * dwarf2read.c: * elfread.c: * eval.c: * expprint.c: * f-valprint.c: * frv-tdep.c: * h8300-tdep.c: * hppa-hpux-tdep.c: * hppa-tdep.c: * hppanbsd-tdep.c: * i386-nto-tdep.c: * i386-tdep.c: * i387-tdep.c: * ia64-tdep.c: * jit.c: * linespec.c: * linux-tdep.c: * lm32-tdep.c: * m2-valprint.c: * m32c-tdep.c: * m32r-rom.c: * m32r-tdep.c: * m68k-tdep.c: * m68klinux-tdep.c: * mi/mi-main.c: * microblaze-tdep.c: * mips-linux-tdep.c: * mips-tdep.c: * mn10300-tdep.c: * p-valprint.c: * parse.c: * ppc-linux-tdep.c: * ppc-sysv-tdep.c: * printcmd.c: * python/py-finishbreakpoint.c: * python/py-inferior.c: * python/py-infthread.c: * python/py-type.c: * python/python.c: * remote-fileio.c: * remote-m32r-sdi.c: * remote-mips.c: * reverse.c: * rl78-tdep.c: * rs6000-aix-tdep.c: * rs6000-tdep.c: * s390-tdep.c: * score-tdep.c: * sh64-tdep.c: * skip.c: * solib-darwin.c: * solib-dsbt.c: * solib-frv.c: * sparc-tdep.c: * spu-multiarch.c: * spu-tdep.c: * stack.c: * symfile.c: * symtab.c: * tic6x-tdep.c: * tracepoint.c: * v850-tdep.c: * valarith.c: * valprint.c: * value.c: * xcoffread.c: * xtensa-tdep.c: * ada-lang.c: * ada-tasks.c: * ada-varobj.c: * amd64-darwin-tdep.c: * arm-symbian-tdep.c: * arm-tdep.c: Delete unused variables. commit 4e8aeb1c90f2fd419abdbc4dab86b0288ad488f7 Author: Jan Kratochvil Date: Fri May 18 17:51:30 2012 +0000 gdb/testsuite/ Fix ERROR: internal buffer is full. * gdb.base/info-os.exp (expect_multiline): New function. (get process list, get process groups, get threads) (get file descriptors, get internet-domain sockets) (get shared-memory regions, get semaphores, get message queues): Use it for these tests. commit e1b876b7b2aefe35bbf92b8ec65c95c5fa9fc13e Author: Jan Kratochvil Date: Fri May 18 17:47:27 2012 +0000 gdb/ Rename $ddir to $datadir. * NEWS (--with-auto-load-dir): Rename $ddir to $datadir. * auto-load.c (auto_load_safe_path_vec_update) (auto_load_gdb_datadir_changed, auto_load_objfile_script): Likewise. * configure: Regenerate. * configure.ac (--with-auto-load-dir, --with-auto-load-safe-path): Likewise. Remove the 'use $ddir' help string. gdb/doc/ Rename $ddir to $datadir. * gdb.texinfo (Auto-loading, Auto-loading safe path) (objfile-gdb.py file): Rename $ddir to $datadir. commit 3ec14992acb06caa2b3a26633844603589db7f8a Author: Jan Kratochvil Date: Fri May 18 17:44:31 2012 +0000 gdb/ * auto-load.c (show_auto_load_safe_path): Accept any combination of DIRNAME_SEPARATOR and IS_DIR_SEPARATOR for wild-match. commit 91f1b48d293baf26788d049d0e06e5dd623b5212 Author: Roland McGrath Date: Fri May 18 16:38:21 2012 +0000 * archive.c (_bfd_generic_read_ar_hdr_mag): Fix last change so as not to clobber the ar_fmag field stored in ARED->arch_header. commit 2167931cf70f91206efb8b01e848a55d82a347ce Author: Tom Tromey Date: Fri May 18 15:31:39 2012 +0000 PR exp/13907: * valprint.h (struct value_print_options) : New field. * valprint.c (user_print_options): Add default for symbol_print. (show_symbol_print): New function. (generic_val_print): Respect symbol_print. (_initialize_valprint): Add "print symbol" setting. * f-valprint.c (f_val_print): Respect symbol_print. * c-valprint.c (c_val_print): Respect symbol_print. * NEWS: Update. * printcmd.c (print_address_symbolic): Return int. Ignore some zero-size symbols. (print_address_demangle): Return int. * defs.h: (print_address_symbolic): Return int. * value.h (print_address_demangle): Return int. doc * gdb.texinfo (Print Settings): Document 'set print symbol'. testsuite * gdb.mi/mi-var-cmd.exp: Update. * gdb.objc/basicclass.exp (do_objc_tests): Update. * gdb.cp/virtbase.exp: Update. * gdb.cp/classes.exp (test_static_members): Update. * gdb.cp/casts.exp: Update. * gdb.base/pointers.exp: Update. * gdb.base/funcargs.exp (pointer_args): Update. (structs_by_reference): Update. * gdb.base/find.exp: Update. * gdb.base/call-strs.exp: Send "set print symbol off". * gdb.base/call-ar-st.exp: Update. * gdb.ada/fun_addr.exp: Update. * gdb.base/printcmds.exp (test_print_symbol): New proc. Call it. (test_print_repeats_10, test_print_strings) (test_print_char_arrays): Update. commit 6d07a30f94f9dbc34aab6fcbb4f8895ef019249b Author: Tom Tromey Date: Fri May 18 15:29:11 2012 +0000 * valprint.c (val_print_string): Don't print leading space. * p-valprint.c (pascal_val_print) : Optionally print space before string or vtbl. * m2-valprint.c (print_unpacked_pointer): Optionally print space before string. * jv-valprint.c (java_value_print): Print space before string. * go-valprint.c (print_go_string): Print space before string. * f-valprint.c (f_val_print) : Optionally print space before string. * c-valprint.c (c_val_print) : Optionally print space before string or vtbl. * auxv.c (fprint_target_auxv): Print space after address. commit 266ba1ac775fcc840534050597328fdac996677b Author: Tom Tromey Date: Fri May 18 15:28:22 2012 +0000 * printcmd.c (print_address_demangle): Remove special case for 0. testsuite * gdb.mi/mi2-var-display.exp: Update. * gdb.mi/mi-var-display.exp: Update. * gdb.mi/mi-var-child.exp: Update. * gdb.cp/expand-psymtabs-cxx.exp: Update. * gdb.cp/cp-relocate.exp (get_func_address): Update. commit 08606e7cb162edf50b95dcec17245fbec635a892 Author: Tom Tromey Date: Fri May 18 15:27:19 2012 +0000 * printcmd.c (print_address_demangle): Add 'opts' argument. * p-valprint.c (pascal_val_print): Update. * jv-valprint.c (java_val_print): Update. * value.h: Update. * valprint.c (generic_val_print): Update. (print_function_pointer_address): Add 'options' argument. Remove 'addressprint' argument. Update. * m2-valprint.c (print_unpacked_pointer): Update. * gnu-v3-abi.c (print_one_vtable): Update. (gnuv3_print_method_ptr): Update. * f-valprint.c (f_val_print): Update. * cp-valprint.c (cp_print_value_fields): Update. * valprint.h (print_function_pointer_address): Update. * c-valprint.c (c_val_print): Update. commit 60c28fa99a96590a61cae6d4f4d9a8f42bac53ac Author: Pedro Alves Date: Fri May 18 15:11:51 2012 +0000 2012-05-18 Pedro Alves * mach-o.h: Don't include sysdep.h. commit aa68d1611e5d3a1090c951c779860027d4f8248e Author: Tom Tromey Date: Fri May 18 14:26:20 2012 +0000 * psymtab.c (find_pc_sect_symtab_from_partial): Return the symtab directly corresponding to the found psymtab. * dwarf2read.c (recursively_find_pc_sect_symtab): New function. (dw2_find_pc_sect_symtab): Use it. * block.h (blockvector_contains_pc): Declare. * block.c (find_block_in_blockvector): New function. (blockvector_for_pc_sect): Use it. (blockvector_contains_pc): New function. commit 0de57761edd371e460ff8722b4e072ded309447e Author: Maciej W. Rozycki Date: Fri May 18 12:43:04 2012 +0000 * mips-tdep.h (mips_write_pc): New prototype. * mips-tdep.c (mips_write_pc): Make external, add description. * mips-linux-tdep.c (mips_linux_write_pc): Use mips_write_pc, add description. commit e00eef26cedbe11f00e3b79ee5175160ed06299b Author: Maciej W. Rozycki Date: Fri May 18 12:30:20 2012 +0000 * mips-tdep.c (mips_read_pc): Use gdbarch_pc_regnum instead of mips_regnum->pc. (mips_unwind_pc, mips_write_pc): Likewise. (mips_gdbarch_init): Remove a comment on gdbarch_pc_regnum and gdbarch_read_pc. commit 798d8584964794bc551039cd0942205d208d4fe7 Author: Nick Clifton Date: Fri May 18 10:29:11 2012 +0000 PR 14072 * bfd-in.h: Check for PACKAGE or PACKAGE_VERSION before complaining about config.h not having been included. * bfd-in2.h: Regenerate. commit 5d54d3da9d332f1cdfc6e9a9d0e7024061b17877 Author: Alan Modra Date: Fri May 18 05:31:15 2012 +0000 * ia64-opc.c: Remove #include "ansidecl.h". * z8kgen.c: Include sysdep.h first. commit 98b19dd16579ecefed6341c8ed02f72e81563761 Author: Alan Modra Date: Fri May 18 01:59:38 2012 +0000 * arc-dis.c: Include sysdep.h first, remove some redundant includes. * bfin-dis.c: Likewise. * i860-dis.c: Likewise. * ia64-dis.c: Likewise. * ia64-gen.c: Likewise. * m68hc11-dis.c: Likewise. * mmix-dis.c: Likewise. * msp430-dis.c: Likewise. * or32-dis.c: Likewise. * rl78-dis.c: Likewise. * rx-dis.c: Likewise. * tic4x-dis.c: Likewise. * tilegx-opc.c: Likewise. * tilepro-opc.c: Likewise. * rx-decode.c: Regenerate. commit cb0b02b64e32bd326026fcec2862fdfbf1f949f5 Author: Alan Modra Date: Fri May 18 00:39:28 2012 +0000 * ppc-opc.c (powerpc_macros): Add entries for e_extlwi to e_clrlslwi. commit 469950c1f8d89bb339b5f11f66afad5ef97f4d3b Author: Alan Modra Date: Fri May 18 00:30:46 2012 +0000 * ppc-opc.c (extract_sprg): Use ALLOW8_SPRG to include VLE. commit 9774317fbddd3c379b67018539699ef57f475a53 Author: Doug Evans Date: Fri May 18 00:04:12 2012 +0000 * info-macros.exp: Pass "debug" to prepare_for_testing. commit a9674404447b123da1d0fd80269c65cbf3273f91 Author: Alan Modra Date: Fri May 18 00:00:05 2012 +0000 daily update commit 7d4ff5c2ba4babdb2b27a50d12d75f11091c5eef Author: gdbadmin Date: Fri May 18 00:00:02 2012 +0000 *** empty log message *** commit cbadc992dce56a8d98beac685da7a6e00e45cff0 Author: Andreas Schwab Date: Thu May 17 22:23:37 2012 +0000 bfd/ * aclocal.m4: Regenerate. * Makefile.in: Regenerate. binutils/ * aclocal.m4: Regenerate. * configure: Regenerate. * config.in: Regenerate. * Makefile.in: Regenerate. gas/ * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. commit 083d92c8f91ebfd6c8446ce5567b3c3bf0c84c92 Author: Doug Evans Date: Thu May 17 19:03:55 2012 +0000 * Makefile.in (clean): Remove Fission .dwo and .dwp files. * gdb.ada/Makefile.in (clean): Ditto. * gdb.arch/Makefile.in (clean): Ditto. * gdb.asm/Makefile.in (clean): Ditto. * gdb.base/Makefile.in (clean): Ditto. * gdb.cell/Makefile.in (clean): Ditto. * gdb.cp/Makefile.in (clean): Ditto. * gdb.disasm/Makefile.in (clean): Ditto. * gdb.dwarf2/Makefile.in (clean): Ditto. * gdb.fortran/Makefile.in (clean): Ditto. * gdb.go/Makefile.in (clean): Ditto. * gdb.hp/Makefile.in (clean): Ditto. * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto. * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto. * gdb.hp/gdb.compat/Makefile.in (clean): Ditto. * gdb.hp/gdb.defects/Makefile.in (clean): Ditto. * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto. * gdb.java/Makefile.in (clean): Ditto. * gdb.linespec/Makefile.in (clean): Ditto. * gdb.mi/Makefile.in (clean): Ditto. * gdb.modula2/Makefile.in (clean): Ditto. * gdb.multi/Makefile.in (clean): Ditto. * gdb.objc/Makefile.in (clean): Ditto. * gdb.opencl/Makefile.in (clean): Ditto. * gdb.opt/Makefile.in (clean): Ditto. * gdb.pascal/Makefile.in (clean): Ditto. * gdb.python/Makefile.in (clean): Ditto. * gdb.reverse/Makefile.in (clean): Ditto. * gdb.server/Makefile.in (clean): Ditto. * gdb.stabs/Makefile.in (clean): Ditto. * gdb.threads/Makefile.in (clean): Ditto. * gdb.trace/Makefile.in (clean): Ditto. * gdb.xml/Makefile.in (clean): Ditto. commit e4e33eade749a1e5596f28a419c6f365240c3237 Author: Joel Brobecker Date: Thu May 17 17:27:02 2012 +0000 procfs.c: Remove unused functions and make many functions static gdb/ChangeLog: * procfs.c (procfs_find_new_threads, procfs_pid_to_str, proc_warn, proc_error, proc_get_status, proc_flags, proc_why, proc_what, proc_nsysarg, proc_sysargs, proc_set_run_on_last_close, proc_unset_run_on_last_close, proc_unset_inherit_on_fork, proc_set_async, proc_unset_async, proc_stop_process, proc_wait_for_stop, proc_run_process, proc_set_traced_signals, proc_set_traced_faults, proc_set_traced_sysentry, proc_set_traced_sysexit, proc_set_held_signals, proc_get_held_signals, proc_get_traced_signals, proc_get_traced_faults, proc_get_traced_sysentry, proc_get_traced_sysexit, proc_clear_current_fault, proc_set_current_signal, proc_clear_current_signal, proc_get_gregs, proc_get_fpregs, proc_set_gregs, proc_set_fpregs, proc_kill, proc_parent_pid, proc_get_nthreads, proc_get_nthreads, proc_get_nthreads, proc_get_current_thread, proc_get_current_thread, proc_get_current_thread, proc_update_threads, proc_update_threads, proc_update_threads, proc_update_threads, proc_iterate_over_threads, procfs_find_new_threads, procfs_pid_to_str): Make static. Remove advance declaration. (proc_cursig): Make static. Conditionalized defintion on PROCFS_DONT_PIOCSSIG_CURSIG being defined. (proc_syscall, proc_set_kill_on_last_close, proc_unset_kill_on_last_close, proc_set_inherit_on_fork, proc_get_pending_signals, proc_get_signal_actions, proc_trace_signal, proc_ignore_signal): Delete. commit 1a4ada44e97c3cf4cca42b00e7bd8f1edf9a6d32 Author: Nick Clifton Date: Thu May 17 15:13:17 2012 +0000 PR 14072 * configure.in: Add check that sysdep.h has been included before any system header files. * configure: Regenerate. * config.in: Regenerate. * sysdep.h: Generate an error if included before config.h. * alpha-opc.c: Include sysdep.h before any other header file. * alpha-dis.c: Likewise. * avr-dis.c: Likewise. * cgen-opc.c: Likewise. * cr16-dis.c: Likewise. * cris-dis.c: Likewise. * crx-dis.c: Likewise. * d10v-dis.c: Likewise. * d10v-opc.c: Likewise. * d30v-dis.c: Likewise. * d30v-opc.c: Likewise. * h8500-dis.c: Likewise. * i370-dis.c: Likewise. * i370-opc.c: Likewise. * m10200-dis.c: Likewise. * m10300-dis.c: Likewise. * micromips-opc.c: Likewise. * mips-opc.c: Likewise. * mips61-opc.c: Likewise. * moxie-dis.c: Likewise. * or32-opc.c: Likewise. * pj-dis.c: Likewise. * ppc-dis.c: Likewise. * ppc-opc.c: Likewise. * s390-dis.c: Likewise. * sh-dis.c: Likewise. * sh64-dis.c: Likewise. * sparc-dis.c: Likewise. * sparc-opc.c: Likewise. * spu-dis.c: Likewise. * tic30-dis.c: Likewise. * tic54x-dis.c: Likewise. * tic80-dis.c: Likewise. * tic80-opc.c: Likewise. * tilegx-dis.c: Likewise. * tilepro-dis.c: Likewise. * v850-dis.c: Likewise. * v850-opc.c: Likewise. * vax-dis.c: Likewise. * w65-dis.c: Likewise. * xgate-dis.c: Likewise. * xtensa-dis.c: Likewise. * rl78-decode.opc: Likewise. * rl78-decode.c: Regenerate. * rx-decode.opc: Likewise. * rx-decode.c: Regenerate. * configure.in: Add check that sysdep.h has been included before any system header files. * configure: Regenerate. * config.in: Regenerate. * sysdep.h: Generate an error if included before config.h. * configure.in: Add check that sysdep.h has been included before any system header files. * configure: Regenerate. * config.in: Regenerate. * aclocal.m4: Regenerate. * bfd-in.h: Generate an error if included before config.h. * sysdep.h: Likewise. * bfd-in2.h: Regenerate. * compress.c: Remove #include "config.h". * plugin.c: Likewise. * elf32-m68hc1x.c: Include sysdep.h before alloca-conf.h. * elf64-hppa.c: Likewise. * som.c: Likewise. * xsymc.c: Likewise. * configure.in: Add check that sysdep.h has been included before any system header files. * configure: Regenerate. * config.in: Regenerate. * configure.in: Add check that sysdep.h has been included before any system header files. * configure: Regenerate. * config.in: Regenerate. * aclocal.m4: Regenerate. * Makefile.am: Use wrappers around C files generated by flex. * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate. * itbl-lex-wrapper.c: New file. * config/bfin-lex-wrapper.c: New file. * cgen.c: Include as.h before setjmp.h. * config/tc-dlx.c: Include as.h before any other header. * config/tc-h8300.c: Likewise. * config/tc-lm32.c: Likewise. * config/tc-mep.c: Likewise. * config/tc-microblaze.c: Likewise. * config/tc-mmix.c: Likewise. * config/tc-msp430.c: Likewise. * config/tc-or32.c: Likewise. * config/tc-tic4x.c: Likewise. * config/tc-tic54x.c: Likewise. * config/tc-xtensa.c: Likewise. * configure.in: Add check that sysdep.h has been included before any system header files. * configure: Regenerate. * config.in: Regenerate. * unwind-ia64.h: Include config.h. commit 4fc03ee2c2ee360ddb138e8c039bf25f817ceae0 Author: Alan Modra Date: Thu May 17 06:29:02 2012 +0000 * elf.c (ignore_section_sym): Correct comment. Don't return true for absolute section. (elf_map_symbols): Move stray comment. Adjust for above change. Don't discard global section symbols. commit 4fc101a9cb095990b5faceedca6aae18f2abe88b Author: Alan Modra Date: Thu May 17 02:43:34 2012 +0000 bfd/ * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make _DYNAMIC, _GLOBAL_OFFSET_TABLE_ or _PROCEDURE_LINKAGE_TABLE_ absolute. * elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Don't make _DYNAMIC absolute. ld/testsuite/ * ld-powerpc/tlsso.r: Update for dynamic sym changes. * ld-powerpc/tlsso32.d: Likewise. * ld-powerpc/tlsso32.r: Likewise. * ld-powerpc/tlstocso.r: Likewise. commit 121616d52de5b0656c44d7d93deb0f9b9653113c Author: Alan Modra Date: Thu May 17 02:24:48 2012 +0000 bfd/ * elf32-ppc.c (has_tls_reloc, has_tls_get_addr_call, has_vle_insns, is_ppc_vle): Move to.. * elf32-ppc.h: ..here, making is_ppc_vle a macro. opcodes/ * ppc_dis.c: Don't include elf/ppc.h. commit 9f128b889e70501ed992157e7fabf71d0a11e006 Author: gdbadmin Date: Thu May 17 00:00:33 2012 +0000 *** empty log message *** commit ad2a95f061d9da701f8efa4785b824e57a52d288 Author: Alan Modra Date: Thu May 17 00:00:06 2012 +0000 daily update commit 5759f6e981aaf93f4fa270cce18d20a8fabd4bb4 Author: sergiodj Date: Wed May 16 22:10:46 2012 +0000 2012-05-16 Sergio Durigan Junior * coffread.c (cs_section_address): Passing proper argument for `bfd_get_section_vma'. * dwarf2read.c (dwarf2_locate_sections): Likewise, for `bfd_get_section_flags'. * remote.c (remote_trace_set_readonly_regions): Likewise, for `bfd_get_section_vma'. commit 899ec733fc45a1c08c456c9867d77f03d8d5c502 Author: Tom Tromey Date: Wed May 16 20:31:07 2012 +0000 PR macros/13205: * macrotab.h: (macro_define_special): Declare. (enum macro_special_kind): New. (struct macro_definition) : Update comments. * macrotab.c (new_macro_definition): Unconditionally set 'argc'. (macro_define_object_internal): New function. (macro_define_object): Use it. (macro_define_special): New function. (fixup_definition): New function. (macro_lookup_definition, foreach_macro_in_scope) (foreach_macro): Use fixup_definition. * macroexp.h (macro_stringify): Declare. * macroexp.c (free_buffer_return_text): New function. (stringify): Constify "arg". (macro_stringify): New function. * dwarf2read.c (macro_start_file): Call macro_define_special. testsuite * gdb.base/macscp1.c (macscp_expr): Add comment. * gdb.base/macscp.exp: Test __FILE__ and __LINE__. commit e591efe2b117115f526732b4fea696b9d75aafdc Author: Joel Brobecker Date: Wed May 16 17:57:58 2012 +0000 Fix one of my ChangeLog entries. I copy/pasted the wrong text... This fixes it. commit 8b0b2ac916cadabf270cdc24f9ceaae1627d5a23 Author: Nick Clifton Date: Wed May 16 16:38:22 2012 +0000 * bfd-in.h (bfd_get_section_name, bfd_get_section_vma, bfd_get_section_lma, bfd_get_section_alignment, bfd_get_section_flags, bfd_get_section_userdata): Rewrite macros in order to use the `bfd' argument. * bfd-in2.h: Regenerate. * elf-vxworks.c (elf_vxworks_finish_dynamic_entry): Pass proper `bfd' as the first argument for `bfd_get_section_alignment'. * elf32-arm.c (create_ifunc_sections): Likewise, for `bfd_set_section_alignment'. * elf32-m32r.c (m32r_elf_relocate_section): Likewise, for `bfd_get_section_name'. * elf32-microblaze.c (microblaze_elf_relocate_section): Likewise. * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise. (ppc_elf_relocate_section): Likewise. * elf64-mmix.c (mmix_final_link_relocate): Likewise, for `bfd_get_section_vma'. * elf64-ppc.c (create_linkage_sections): Likewise, for `bfd_set_section_alignment'. * emultempl/m68hc1xelf.em (hook_in_stub): Pass proper `bfd' as the first argument for `bfd_get_section_name'. * config/tc-alpha.c (maybe_set_gp): Pass proper `bfd' as the first argument for `bfd_get_section_vma'. commit cfe2b8e6bdeb438186db605159a1a1ddd1670d24 Author: Nick Clifton Date: Wed May 16 14:52:15 2012 +0000 PR 13503 * reloc.c: Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO. * bfd-in2.h: Regenerate. * libbfd.h: Regenrate. * elf32-avr.c (elf_avr_howto_table): Rename R_AVR_8_HHI8 to R_AVR_8_HLO8. (avr_reloc_map): Ditto. * config/tc-avr.c (avr_cons_fix_new): Rename R_AVR_8_HHI8 to R_AVR_8_HLO8. (exp_mod_data) Ditto. And replace "hhi8" with "hlo8". (md_apply_fix): Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO. * avr.h (RELOC_NUMBERS): Rename R_AVR_8_HHI8 to R_AVR_8_HLO8. commit 2a54d68f40a0066b757d9c099cf0a45ddb5eb286 Author: Maciej W. Rozycki Date: Wed May 16 14:34:59 2012 +0000 gdb/ * breakpoint.h (bp_location): Add related_address member. * inferior.h (get_return_value): Take a pointer to struct value instead of struct type for the function requested. * value.h (using_struct_return): Likewise. * gdbarch.sh (return_value): Take a pointer to struct value instead of struct type for the function requested. * breakpoint.c (set_breakpoint_location_function): Initialize related_address for bp_gnu_ifunc_resolver breakpoints. * elfread.c (elf_gnu_ifunc_resolver_return_stop): Pass the requested function's address to gdbarch_return_value. * eval.c (evaluate_subexp_standard): Pass the requested function's address to using_struct_return. * infcall.c (call_function_by_hand): Pass the requested function's address to using_struct_return and gdbarch_return_value. * infcmd.c (get_return_value): Take a pointer to struct value instead of struct type for the function requested. (print_return_value): Update accordingly. (finish_command_continuation): Likewise. * stack.c (return_command): Pass the requested function's address to using_struct_return and gdbarch_return_value. * value.c (using_struct_return): Take a pointer to struct value instead of struct type for the function requested. Pass the requested function's address to gdbarch_return_value. * python/py-finishbreakpoint.c (finish_breakpoint_object): New function_value member, replacing function_type. (bpfinishpy_dealloc): Update accordingly. (bpfinishpy_pre_stop_hook): Likewise. (bpfinishpy_init): Likewise. Record the requested function's address. * mips-tdep.c (mips_fval_reg): New enum. (mips_o32_push_dummy_call): For MIPS16 FP doubles do not swap words put in GP registers. (mips_o64_push_dummy_call): Update a comment. (mips_o32_return_value): Take a pointer to struct value instead of struct type for the function requested and use it to check if using the MIPS16 calling convention. Return the designated general purpose registers for floating-point values returned in MIPS16 mode. (mips_o64_return_value): Likewise. * ppc-tdep.h (ppc_sysv_abi_return_value): Update prototype. (ppc_sysv_abi_broken_return_value): Likewise. (ppc64_sysv_abi_return_value): Likewise. * alpha-tdep.c (alpha_return_value): Take a pointer to struct value instead of struct type for the function requested. * amd64-tdep.c (amd64_return_value): Likewise. * amd64-windows-tdep.c (amd64_windows_return_value): Likewise. * arm-tdep.c (arm_return_value): Likewise. * avr-tdep.c (avr_return_value): Likewise. * bfin-tdep.c (bfin_return_value): Likewise. * cris-tdep.c (cris_return_value): Likewise. * frv-tdep.c (frv_return_value): Likewise. * h8300-tdep.c (h8300_return_value): Likewise. (h8300h_return_value): Likewise. * hppa-tdep.c (hppa32_return_value): Likewise. (hppa64_return_value): Likewise. * i386-tdep.c (i386_return_value): Likewise. * ia64-tdep.c (ia64_return_value): Likewise. * iq2000-tdep.c (iq2000_return_value): Likewise. * lm32-tdep.c (lm32_return_value): Likewise. * m32c-tdep.c (m32c_return_value): Likewise. * m32r-tdep.c (m32r_return_value): Likewise. * m68hc11-tdep.c (m68hc11_return_value): Likewise. * m68k-tdep.c (m68k_return_value): Likewise. (m68k_svr4_return_value): Likewise. * m88k-tdep.c (m88k_return_value): Likewise. * mep-tdep.c (mep_return_value): Likewise. * microblaze-tdep.c (microblaze_return_value): Likewise. * mn10300-tdep.c (mn10300_return_value): Likewise. * moxie-tdep.c (moxie_return_value): Likewise. * mt-tdep.c (mt_return_value): Likewise. * ppc-linux-tdep.c (ppc_linux_return_value): Likewise. * ppc-sysv-tdep.c (ppc_sysv_abi_return_value): Likewise. (ppc_sysv_abi_broken_return_value): Likewise. (ppc64_sysv_abi_return_value): Likewise. * ppcnbsd-tdep.c (ppcnbsd_return_value): Likewise. * rl78-tdep.c (rl78_return_value): Likewise. * rs6000-aix-tdep.c (rs6000_return_value): Likewise. * rx-tdep.c (rx_return_value): Likewise. * s390-tdep.c (s390_return_value): Likewise. * score-tdep.c (score_return_value): Likewise. * sh-tdep.c (sh_return_value_nofpu): Likewise. (sh_return_value_fpu): Likewise. * sh64-tdep.c (sh64_return_value): Likewise. * sparc-tdep.c (sparc32_return_value): Likewise. * sparc64-tdep.c (sparc64_return_value): Likewise. * spu-tdep.c (spu_return_value): Likewise. * tic6x-tdep.c (tic6x_return_value): Likewise. * v850-tdep.c (v850_return_value): Likewise. * vax-tdep.c (vax_return_value): Likewise. * xstormy16-tdep.c (xstormy16_return_value): Likewise. * xtensa-tdep.c (xtensa_return_value): Likewise. * gdbarch.c: Regenerate. * gdbarch.h: Regenerate. gdb/testsuite/ * gdb.base/return-nodebug.exp: Also test float and double types. commit d4863f2cd25935c8d2ad97969fd7346996ee94b9 Author: Nick Clifton Date: Wed May 16 14:26:45 2012 +0000 PR binutils/13558 * bfd/aout-cris.c: Include sysdep.h before bfd.h. * bfd/aout-ns32k.c: Likewise. * bfd/aout-sparcle.c: Likewise. * bfd/aout0.c: Likewise. * bfd/bfd-in2.h: Likewise. * bfd/coff-stgo32.c: Likewise. * bfd/cpu-lm32.c: Likewise. * bfd/cpu-microblaze.c: Likewise. * bfd/cpu-score.c: Likewise. * bfd/cpu-tilegx.c: Likewise. * bfd/cpu-tilepro.c: Likewise. * bfd/elf32-lm32.c: Likewise. * bfd/elf32-microblaze.c: Likewise. * bfd/elf32-score7.c: Likewise. * bfd/elf32-tilepro.c: Likewise. * bfd/elfxx-tilegx.c: Likewise. * bfd/mach-o.h: Likewise. * bfd/nlm32-ppc.c: Likewise. * bfd/ns32knetbsd.c: Likewise. * bfd/pef.h: Likewise. * bfd/plugin.c: Likewise. * bfd/stab-syms.c: Likewise. * bfd/sunos.c: Likewise. * bfd/syms.c: Likewise. * bfd/xsym.h: Likewise. * Makefile.am (CFILES): Add syslex_wrap.c. (sysinfo): Depend upon syslex_wrap.o. (syslex_wrap.o): New rule. (syslex.o): Delete rule. * syslex_wrap.c: New file. * Makefile.in: Regenerate. commit acc2e0918a103ffe0b6e69b4587e4d670dfc4190 Author: Alan Modra Date: Wed May 16 14:13:25 2012 +0000 * elflink.c: Rename flaginfo to flinfo throughout, except.. (bfd_elf_lookup_section_flags): ..here, rename finfo to flaginfo. Formatting, style. Simplify flag match. commit 2c2c4e0c75b87e1ca629d503e89121ffb8c726ca Author: Alan Modra Date: Wed May 16 13:57:10 2012 +0000 * dwarf2.c: Formatting. (arange_add): Pass in unit rather than bfd. Update callers. Ignore empty ranges. Don't ask for cleared memory. (parse_comp_unit): Only set unit->base_address if processing DW_TAG_compile_unit. (find_debug_info): Optimise section lookup. (place_sections): Use bfd_alloc for stash->adjusted_sections. (find_line): Match previously parsed comp unit addresses as we do for newly parsed comp units. commit 7226043182e55def31870fe18b06ff067e516880 Author: Alan Modra Date: Wed May 16 13:00:28 2012 +0000 * archive.c (_bfd_generic_read_ar_hdr_mag): Ensure sscanf stops at end of ar_size field. commit 515f3cf5022ef190fb5fe1f9b002239e69481bb3 Author: Nick Clifton Date: Wed May 16 10:53:48 2012 +0000 * arm-dis.c (arm_opcodes): Don't disassemble STMFD/LDMIA sp!, {reg} to PUSH/POP {reg}. * binutils-all/arm/objdump.exp: STMFD/LDMIA sp!, {reg} don't disassemble to PUSH/POP {reg} any longer. * gas/arm/stm-ldm.d: STMFD/LDMIA sp!, {reg} don't disassemble to PUSH/POP {reg} any longer. Some new test cases have been added as well. * gas/arm/stm-ldm.s: Likewise. commit 91a0f9c436b3bc1ae57993a03454c68f595b7261 Author: Alan Modra Date: Wed May 16 03:35:28 2012 +0000 PR ld/13962 PR ld/7023 * elf.c (bfd_section_from_shdr): Fail when .dynsym sh_info is out of range. As a special case, fix sh_info for zero sh_size. Do the same for .symtab. commit cadc8a0c38e69566da6bcf71a792fa21cc5b7964 Author: Alan Modra Date: Wed May 16 00:00:04 2012 +0000 daily update commit 0b29e1df902f012ba29c7bd458eb406b05ca0c61 Author: gdbadmin Date: Wed May 16 00:00:03 2012 +0000 *** empty log message *** commit b52d83c1671735c2d7536bdb333801a47af0398a Author: Tom Tromey Date: Tue May 15 20:26:06 2012 +0000 * python/python.c (gdbpy_find_pc_line): Use gdb_py_ulongest. commit fabc80cb371b07a92be760f00713f007b658632e Author: Joel Brobecker Date: Tue May 15 16:42:41 2012 +0000 init_breakpoint_sal: Add quotes around part of command in error message gdb/ChangeLog: * breakpoint.c (init_breakpoint_sal): Add quotes around part of command in two error message. commit ee19925d0d56d9e5edce1f1739dac11e9adb1fa8 Author: Joel Brobecker Date: Tue May 15 14:48:18 2012 +0000 Remove trailing spaces in breakpoint.c:init_breakpoint_sal gdb/ChangeLog: * breakpoint.c (init_breakpoint_sal): Remove trailing spaces. commit 886387e0a5cea3d3963cc6d0076fa9d39b8acc23 Author: Joel Brobecker Date: Tue May 15 14:33:27 2012 +0000 Minor style fixes in breakpoint.c:find_condition_and_thread Mostly removing trailing spaces at end of lines, and also adding an empty line after the function's documentation. gdb/ChangeLog: * breakpoint.c (find_condition_and_thread): Minor reformatting. commit 9bf15ba446268370d1fb878bd7c787693ea8b65d Author: Jan Kratochvil Date: Tue May 15 13:36:17 2012 +0000 gdb/testsuite/ * gdb.base/dprintf.exp: Remove now redundant breakpoint for main. commit 195994982e974dc010b38e631b6d6b86e839d91e Author: Jan Kratochvil Date: Tue May 15 13:08:57 2012 +0000 gdb/testsuite/ PR testsuite/12649 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main. commit 981206b5ab7412807fbd4bd35d2007d113a311a5 Author: Nick Clifton Date: Tue May 15 12:55:32 2012 +0000 * config/tc-m68hc11.c: Add S12X and XGATE co-processor support. Add option to offset S12 addresses into XGATE memory space. Tweak target flags to match other tools. (i.e. -m m68hc11). * doc/as.texinfo: Mention new options. * doc/c-m68hc11.texi: Document new options. * NEWS: Mention new support. * archures.c: Add bfd_arch_m9s12x and bfd_arch_m9s12xg. * config.bfd: Likewise. * cpu-m9s12x.c: New. * cpu-m9s12xg.c: New. * elf32-m68hc12.c: Add S12X and XGATE co-processor support. Add option to offset S12 addresses into XGATE memory space. Fix carry bug in IMM16 (IMM8 low/high) relocate. * Makefile.am (ALL_MACHINES): Add cpu-m9s12x and cpu-m9s12xg. (ALL_MACHINES_CFILES): Likewise. * reloc.c: Add S12X relocs. * Makefile.in: Regenerate. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * gas/m68hc11/insns9s12x.s: New * gas/m68hc11/insns9s12x.d: New * gas/m68hc11/hexprefix.s: New * gas/m68hc11/hexprefix.d: New * gas/m68hc11/9s12x-exg-sex-tfr.s: New * gas/m68hc11/9s12x-exg-sex-tfr.d: New * gas/m68hc11/insns9s12xg.s: New * gas/m68hc11/insns9s12xg.d: New * gas/m68hc11/9s12x-mov.s: New * gas/m68hc11/9s12x-mov.d: New * gas/m68hc11/m68hc11.exp: Updated * gas/m68hc11/*.d: Brought in line with changed objdump output. * gas/all/gas.exp: XFAIL all hc11/12 targets for redef2,3. * gas/elf/elf.exp: XFAIL all hc11/12 targets for redef. * gas/elf/dwarf2-1.d: Skip for hc11/12 targets. * gas/elf/dwarf2-2.d: Likewise. * ld-m68hc11/xgate-link.s: New. * ld-m68hc11/xgate-link.d: New. * ld-m68hc11/xgate-offset.s: New. * ld-m68hc11/xgate-offset.d: New. * ld-m68hc11/xgate1.s: New. * ld-m68hc11/xgate1.d: New. * ld-m68hc11/xgate2.s: New. * ld-m68hc11/m68hc11.exp: Updated. * ld-m68hc11/*.d: Brought in line with changed objdump output. * ld-gc/gc.exp: Update CFLAGS for m68hc11. * ld-plugin/plugin.exp: Likewise. * ld-srec/srec.exp: XFAIL for m68hc11 and m68hc12. * configure.in: Add S12X and XGATE co-processor support to m68hc11 target. * disassemble.c: Likewise. * configure: Regenerate. * m68hc11-dis.c: Make objdump output more consistent, use hex instead of decimal and use 0x prefix for hex. * m68hc11-opc.c: Add S12X and XGATE opcodes. * dis-asm.h (print_insn_m9s12x): Prototype. (print_insn_m9s12xg): Prototype. * m68hc11.h (R_M68HC12_16B, R_M68HC12_PCREL_9, R_M68HC12_PCREL_10) R_M68HC12_HI8XG, R_M68HC12_LO8XG): New relocations. (E_M68HC11_XGATE_RAMOFFSET): Define. * m68hc11.h: Add XGate definitions. (struct m68hc11_opcode): Add xg_mask field. commit 6ccff3a2af1b838dcdebf22796b6ad892a486cac Author: Jan Kratochvil Date: Tue May 15 04:12:16 2012 +0000 gdb/ * NEWS (show auto-load scripts-directory): Add forgotten command. commit efbfb13c30f2d0260a1c972b48b0d50cf32be94f Author: Jan Kratochvil Date: Tue May 15 04:08:44 2012 +0000 gdb/ * spu-tdep.c (spu_catch_start): Update create_breakpoint caller parameters. commit b3af67058d479d24a01cd620dbeaa1f51e0f081c Author: Alan Modra Date: Tue May 15 00:00:05 2012 +0000 daily update commit 1ad417229534f43488e6decd0a217aad344b3f3e Author: gdbadmin Date: Tue May 15 00:00:02 2012 +0000 *** empty log message *** commit b1df36a1fced348b09d958761ca7031b9b8431ed Author: sergiodj Date: Mon May 14 20:33:16 2012 +0000 gdb/testsuite/ChangeLog: 2012-05-14 Sergio Durigan Junior * gdb.base/stap-probe.exp (stap_test): Remove calls to `rerun_to_main'. (stap_test_no_debuginfo): Likewise. commit 3ce835db2f6491a192018eb305ac6daee872f556 Author: jwlemke Date: Mon May 14 19:45:12 2012 +0000 Add support for PowerPC VLE. 2012-05-14 Catherine Moore * NEWS: Mention PowerPC VLE port. 2012-05-14 James Lemke Catherine Moore bfd/ * bfd.c (bfd_lookup_section_flags): Add section parm. * ecoff.c (bfd_debug_section): Remove flag_info initializer. * elf-bfd.h (bfd_elf_section_data): Move in section_flag_info. (bfd_elf_lookup_section_flags): Add section parm. * elf32-ppc.c (is_ppc_vle): New function. (ppc_elf_modify_segment_map): New function. (elf_backend_modify_segment_map): Define. (has_vle_insns): New define. * elf32-ppc.h (ppc_elf_modify_segment_map): Declare. * elflink.c (bfd_elf_lookup_section_flags): Add return value & parm. Move in logic to omit / include a section. * libbfd-in.h (bfd_link_info): Add section parm. (bfd_generic_lookup_section_flags): Likewise. * reloc.c (bfd_generic_lookup_section_flags): Likewise. * section.c (bfd_section): Move out section_flag_info. (BFD_FAKE_SECTION): Remove flag_info initializer. * targets.c (_bfd_lookup_section_flags): Add section parm. 2012-05-14 Catherine Moore bfd/ * archures.c (bfd_mach_ppc_vle): New. * bfd-in2.h: Regenerated. * cpu-powerpc.c (bfd_powerpc_archs): New entry for vle. * elf32-ppc.c (split16_format_type): New enumeration. (ppc_elf_vle_split16): New function. (HOWTO): Add entries for R_PPC_VLE relocations. (ppc_elf_reloc_type_lookup): Handle PPC_VLE relocations. (ppc_elf_section_flags): New function. (ppc_elf_lookup_section_flags): New function. (ppc_elf_section_processing): New function. (ppc_elf_check_relocs): Handle PPC_VLE relocations. (ppc_elf_relocation_section): Likewise. (elf_backend_lookup_section_flags_hook): Define. (elf_backend_section_flags): Define. (elf_backend_section_processing): Define. * elf32-ppc.h (ppc_elf_section_processing): Declare. * libbfd.h: Regenerated. * reloc.c (BFD_RELOC_PPC_VLE_REL8, BFD_RELOC_PPC_VLE_REL15, BFD_RELOC_PPC_VLE_REL24, BFD_RELOC_PPC_VLE_LO16A, BFD_RELOC_PPC_VLE_LO16D, BFD_RELOC_PPC_VLE_HI16A, BFD_RELOC_PPC_VLE_HI16D, BFD_RELOC_PPC_VLE_HA16A, BFD_RELOC_PPC_VLE_HA16D, BFD_RELOC_PPC_VLE_SDA21, BFD_RELOC_PPC_VLE_SDA21_LO, BFD_RELOC_PPC_VLE_SDAREL_LO16A, BFD_RELOC_PPC_VLE_SDAREL_LO16D, BFD_RELOC_PPC_VLE_SDAREL_HI16A, BFD_RELOC_PPC_VLE_SDAREL_HI16D, BFD_RELOC_PPC_VLE_SDAREL_HA16A, BFD_RELOC_PPC_VLE_SDAREL_HA16D): New bfd relocations. 2012-05-14 James Lemke gas/ * config/tc-ppc.c (insn_validate): New func of existing code to call.. (ppc_setup_opcodes): ..from 2 places here. Revise for second (VLE) opcode table. Add #ifdef'd code to print opcode tables. 2012-05-14 James Lemke gas/ * config/tc-ppc.c (ppc_setup_opcodes): Allow out-of-order for the VLE conditional branches. 2012-05-14 Catherine Moore Maciej W. Rozycki Rhonda Wittels gas/ * config/tc-ppc.c (PPC_VLE_SPLIT16A): New macro. (PPC_VLE_SPLIT16D): New macro. (PPC_VLE_LO16A): New macro. (PPC_VLE_LO16D): New macro. (PPC_VLE_HI16A): New macro. (PPC_VLE_HI16D): New macro. (PPC_VLE_HA16A): New macro. (PPC_VLE_HA16D): New macro. (PPC_APUINFO_VLE): New definition. (md_chars_to_number): New function. (md_parse_option): Check for combinations of little endian and -mvle. (md_show_usage): Document -mvle. (ppc_arch): Recognize VLE. (ppc_mach): Recognize bfd_mach_ppc_vle. (ppc_setup_opcodes): Print the opcode table if * config/tc-ppc.h (ppc_frag_check): Declare. * doc/c-ppc.texi: Document -mvle. * NEWS: Mention PowerPC VLE port. 2012-05-14 Catherine Moore gas/ * config/tc-ppc.h (ppc_dw2_line_min_insn_length): Declare. (DWARF2_LINE_MIN_INSN_LENGTH): Redefine. * config/tc-ppc.c (ppc_dw2_line_min_insn_length): New. * dwarf2dbg.c (scale_addr_delta): Handle values of 1 for DWARF2_LINE_MIN_INSN_LENGTH. 2012-05-14 Catherine Moore Maciej W. Rozycki Rhonda Wittels gas/testsuite/ * gas/ppc/ppc.exp: Run new tests. * gas/ppc/vle-reloc.d: New test. * gas/ppc/vle-reloc.s: New test. * gas/ppc/vle-simple-1.d: New test. * gas/ppc/vle-simple-1.s: New test. * gas/ppc/vle-simple-2.d: New test. * gas/ppc/vle-simple-2.s: New test. * gas/ppc/vle-simple-3.d: New test. * gas/ppc/vle-simple-3.s: New test. * gas/ppc/vle-simple-4.d: New test. * gas/ppc/vle-simple-4.s: New test. * gas/ppc/vle-simple-5.d: New test. * gas/ppc/vle-simple-5.s: New test. * gas/ppc/vle-simple-6.d: New test. * gas/ppc/vle-simple-6.s: New test. * gas/ppc/vle.d: New test. * gas/ppc/vle.s: New test. 2012-05-14 James Lemke include/elf/ * ppc.h (SEC_PPC_VLE): Remove. 2012-05-14 Catherine Moore James Lemke include/elf/ * ppc.h (R_PPC_VLE_REL8): New reloction. (R_PPC_VLE_REL15): Likewise. (R_PPC_VLE_REL24): Likewise. (R_PPC_VLE_LO16A): Likewise. (R_PPC_VLE_LO16D): Likewise. (R_PPC_VLE_HI16A): Likewise. (R_PPC_VLE_HI16D): Likewise. (R_PPC_VLE_HA16A): Likewise. (R_PPC_VLE_HA16D): Likewise. (R_PPC_VLE_SDA21): Likewise. (R_PPC_VLE_SDA21_LO): Likewise. (R_PPC_VLE_SDAREL_LO16A): Likewise. (R_PPC_VLE_SDAREL_LO16D): Likewise. (R_PPC_VLE_SDAREL_HI16A): Likewise. (R_PPC_VLE_SDAREL_HI16D): Likewise. (R_PPC_VLE_SDAREL_HA16A): Likewise. (R_PPC_VLE_SDAREL_HA16D): Likewise. (SEC_PPC_VLE): Remove. (PF_PPC_VLE): New program header flag. (SHF_PPC_VLE): New section header flag. (vle_opcodes, vle_num_opcodes): New. (VLE_OP): New macro. (VLE_OP_TO_SEG): New macro. 2012-05-14 Catherine Moore Maciej W. Rozycki Rhonda Wittels include/opcode/ * ppc.h (PPC_OPCODE_VLE): New definition. (PPC_OP_SA): New macro. (PPC_OP_SE_VLE): New macro. (PPC_OP): Use a variable shift amount. (powerpc_operand): Update comments. (PPC_OPSHIFT_INV): New macro. (PPC_OPERAND_CR): Replace with... (PPC_OPERAND_CR_BIT): ...this and (PPC_OPERAND_CR_REG): ...this. 2012-05-14 James Lemke ld/ * ldlang.c (walk_wild_consider_section): Don't copy section_flag_list. Pass it to callback. (walk_wild_section_general): Pass section_flag_list to callback. (lang_add_section): Add sflag_list parm. Move out logic to keep / omit a section & call bfd_lookup_section_flags. (output_section_callback_fast): Add sflag_list parm. Add new parm to lang_add_section calls. (output_section_callback): Likewise. (check_section_callback): Add sflag_list parm. (lang_place_orphans): Add new parm to lang_add_section calls. (gc_section_callback): Add sflag_list parm. (find_relro_section_callback): Likewise. * ldlang.h (callback_t): Add flag_info parm. (lang_add_section): Add sflag_list parm. * emultempl/armelf.em (elf32_arm_add_stub_section): Add lang_add_section parm. * emultempl/beos.em (gld*_place_orphan): Likewise. * emultempl/elf32.em (gld*_place_orphan): Likewise. * emultempl/hppaelf.em (hppaelf_add_stub_section): Likewise. * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Likewise. * emultempl/mipself.em (mips_add_stub_section): Likewise. * emultempl/mmo.em (mmo_place_orphan): Likewise. * emultempl/pe.em (gld_*_place_orphan): Likewise. * emultempl/pep.em (gld_*_place_orphan): Likewise. * emultempl/ppc64elf.em (ppc_add_stub_section): Likewise. * emultempl/spuelf.em (spu_place_special_section): Likewise. * emultempl/vms.em (vms_place_orphan): Likewise. 2012-05-14 James Lemke ld/testsuite/ * ld-powerpc/powerpc.exp: Create ppceabitests. * ld-powerpc/vle-multiseg.s: New. * ld-powerpc/vle-multiseg-1.d: New. * ld-powerpc/vle-multiseg-1.ld: New. * ld-powerpc/vle-multiseg-2.d: New. * ld-powerpc/vle-multiseg-2.ld: New. * ld-powerpc/vle-multiseg-3.d: New. * ld-powerpc/vle-multiseg-3.ld: New. * ld-powerpc/vle-multiseg-4.d: New. * ld-powerpc/vle-multiseg-4.ld: New. * ld-powerpc/vle-multiseg-5.d: New. * ld-powerpc/vle-multiseg-5.ld: New. * ld-powerpc/vle-multiseg-6.d: New. * ld-powerpc/vle-multiseg-6.ld: New. * ld-powerpc/vle-multiseg-6a.s: New. * ld-powerpc/vle-multiseg-6b.s: New. * ld-powerpc/vle-multiseg-6c.s: New. * ld-powerpc/vle-multiseg-6d.s: New. * ld-powerpc/powerpc.exp: Run new tests. 2012-05-14 Catherine Moore ld/ * NEWS: Mention PowerPC VLE port. 2012-05-14 Catherine Moore ld/testsuite/ * ld-powerpc/apuinfo.rd: Update for VLE. * ld-powerpc/vle-reloc-1.d: New. * ld-powerpc/vle-reloc-1.s: New. * ld-powerpc/vle-reloc-2.d: New. * ld-powerpc/vle-reloc-2.s: New. * ld-powerpc/vle-reloc-3.d: New. * ld-powerpc/vle-reloc-3.s: New. * ld-powerpc/vle-reloc-def-1.s: New. * ld-powerpc/vle-reloc-def-2.s: New. * ld-powerpc/vle-reloc-def-3.s: New. 2012-05-14 James Lemke opcodes/ * ppc-dis.c (get_powerpc_dialect): Use is_ppc_vle. (PPC_OPCD_SEGS, VLE_OPCD_SEGS): New defines. (vle_opcd_indices): New array. (lookup_vle): New function. (disassemble_init_powerpc): Revise for second (VLE) opcode table. (print_insn_powerpc): Likewise. * ppc-opc.c: Likewise. 2012-05-14 Catherine Moore Maciej W. Rozycki Rhonda Wittels Nathan Froyd opcodes/ * ppc-opc.c (insert_arx, extract_arx): New functions. (insert_ary, extract_ary): New functions. (insert_li20, extract_li20): New functions. (insert_rx, extract_rx): New functions. (insert_ry, extract_ry): New functions. (insert_sci8, extract_sci8): New functions. (insert_sci8n, extract_sci8n): New functions. (insert_sd4h, extract_sd4h): New functions. (insert_sd4w, extract_sd4w): New functions. (insert_vlesi, extract_vlesi): New functions. (insert_vlensi, extract_vlensi): New functions. (insert_vleui, extract_vleui): New functions. (insert_vleil, extract_vleil): New functions. (BI_MASK, BB_MASK, BT): Use PPC_OPERAND_CR_BIT. (BI16, BI32, BO32, B8): New. (B15, B24, CRD32, CRS): New. (CRD, OBF, BFA, CR, CRFS): Use PPC_OPERAND_CR_REG. (DB, IMM20, RD, Rx, ARX, RY, RZ): New. (ARY, SCLSCI8, SCLSCI8N, SE_SD, SE_SDH): New. (SH6_MASK): Use PPC_OPSHIFT_INV. (SI8, UI5, OIMM5, UI7, BO16): New. (VLESIMM, VLENSIMM, VLEUIMM, VLEUIMML): New. (XT6, XA6, XB6, XB6S, XC6): Use PPC_OPSHIFT_INV. (ALLOW8_SPRG): New. (insert_sprg, extract_sprg): Check ALLOW8_SPRG. (OPVUP, OPVUP_MASK OPVUP): New (BD8, BD8_MASK, BD8IO, BD8IO_MASK): New. (EBD8IO, EBD8IO1_MASK, EBD8IO2_MASK, EBD8IO3_MASK): New. (BD15, BD15_MASK, EBD15, EBD15_MASK, EBD15BI, EBD15BI_MASK): New. (BD24,BD24_MASK, C_LK, C_LK_MASK, C, C_MASK): New. (IA16, IA16_MASK, I16A, I16A_MASK, I16L, I16L_MASK): New. (IM7, IM7_MASK, LI20, LI20_MASK, SCI8, SCI8_MASK): New. (SCI8BF, SCI8BF_MASK, SD4, SD4_MASK): New. (SE_IM5, SE_IM5_MASK): New. (SE_R, SE_R_MASK, SE_RR, SE_RR_MASK): New. (EX, EX_MASK, BO16F, BO16T, BO32F, BO32T): New. (BO32DNZ, BO32DZ): New. (NO371, PPCSPE, PPCISEL, PPCEFS, MULHW): Include PPC_OPCODE_VLE. (PPCVLE): New. (powerpc_opcodes): Add new VLE instructions. Update existing instruction to include PPCVLE if supported. * ppc-dis.c (ppc_opts): Add vle entry. (get_powerpc_dialect): New function. (powerpc_init_dialect): VLE support. (print_insn_big_powerpc): Call get_powerpc_dialect. (print_insn_little_powerpc): Likewise. (operand_value_powerpc): Handle negative shift counts. (print_insn_powerpc): Handle 2-byte instruction lengths. commit 668a11ea8bd151e893c74cb5abc87b61a046a6d6 Author: H.J. Lu Date: Mon May 14 18:56:39 2012 +0000 Call initialize_tdesc_x32/initialize_tdesc_x32_avx * amd64-tdep.c: Include features/i386/x32.c and features/i386/x32-avx.c. (_initialize_amd64_tdep): Call initialize_tdesc_x32 and initialize_tdesc_x32_avx. commit 70ddfe4b74c70244b3236aef2c68392a674ac105 Author: Stan Shebs Date: Mon May 14 15:38:31 2012 +0000 2012-05-14 Stan Shebs Add dynamic printf. * breakpoint.h (enum bptype): New type bp_dprintf. (struct breakpoint): New field extra_string. (struct breakpoint_ops): Add arg to create_breakpoints_sal. (create_breakpoint): Add extra_string arg. * breakpoint.c (dprintf_breakpoint_ops): New. (is_breakpoint): Add bp_dprintf. (bpstat_what): Add dprintf case. (bptype_string): Ditto. (print_one_breakpoint_location): Ditto. (init_bp_location): Ditto. (bkpt_print_mention): Ditto. (dprintf_style_enums): New array. (dprintf_style): New global. (dprintf_function): New global. (dprintf_channel): New global. (update_dprintf_command_list): New function. (update_dprintf_commands): New function. (init_breakpoint_sal): Add extra_string argument, handle it. (create_breakpoint_sal): Add extra_string argument. (create_breakpoints_sal): Add extra_string argument, update callers. (find_condition_and_thread): Add extra argument. (create_breakpoint): Add extra_string argument, record it. (dprintf_command): New function. (break_command_1): Add arg to create_breakpoint call. (handle_gnu_v3_exceptions): Ditto. (trace_command): Ditto. (ftrace_command): Ditto. (strace_command): Ditto. (bkpt_print_mention): Add dprintf case. (create_breakpoint_sal_default): Add extra_string argument. (_initialize_breakpoint): Add new commands. * mi/mi-cmd-break.c (mi_cmd_break_insert): Add arg to call. * python/py-breakpoint.c (bppy_init): Ditto. * python/py-finishbreakpoint.c (bpfinishpy_init): Ditto. * gdb.texinfo (Dynamic Printf): New subsection. * gdb.base/dprintf.c: New file. * gdb.base/dprintf.exp: New file. commit 6e456a5234aa257cdb73135ad8e4a865b7d87abb Author: Maciej W. Rozycki Date: Mon May 14 09:32:02 2012 +0000 * mips-tdep.c (mips_push_dummy_code): Correct description typo. commit 334b3111006df64f989815aacd73866415a45eda Author: sivachandra Date: Mon May 14 03:06:45 2012 +0000 2012-05-14 Siva Chandra Reddy * python/python.c (gdbpy_find_pc_line): Use ULONGEST instead of unsigned long long. commit bd2c23be40b771e89dbbca0c39473a2c0101dee0 Author: Hui Zhu Date: Mon May 14 02:20:54 2012 +0000 2012-05-11 Hui Zhu * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing. * gdb.trace/disconnected-tracing.c: New file. * gdb.trace/disconnected-tracing.exp: New file. commit f6988eea6d6d38d49a9a93b4660b063e8b3bfe35 Author: gdbadmin Date: Mon May 14 00:00:33 2012 +0000 *** empty log message *** commit f800eb90ecc50fa57356832cd7804a552b7470ce Author: Alan Modra Date: Mon May 14 00:00:04 2012 +0000 daily update commit d7eeb735cad4e16a48b7c02ca91cde509b224a55 Author: sivachandra Date: Sun May 13 11:33:41 2012 +0000 2012-05-13 Siva Chandra Reddy Add a new function gdb.find_pc_line to the Python API. * NEWS (Python Scripting): Add entry about the new function. * python/python.c (gdbpy_find_pc_line): New function which implements gdb.find_pc_line. (GdbMethods): Add entry for the new function. doc/ * gdb.texinfo (Basic Python): Add description about the function gdb.find_pc_line testsuite/ * gdb.python/python.c: Add a new breakpoint comment. * gdb.python/python.exp: Add tests to test gdb.find_pc_line. commit c1cdce1f5413f6c3f26de1a2f4ac0335e4f5cbdc Author: Alan Modra Date: Sun May 13 00:00:05 2012 +0000 daily update commit 9e3f5cac561f5741d5d930a757484d67d4a02fee Author: gdbadmin Date: Sun May 13 00:00:03 2012 +0000 *** empty log message *** commit 941c11d57ecda87af1476db0107308f66c187d61 Author: Jan Kratochvil Date: Sat May 12 14:20:30 2012 +0000 gdb/doc/ * gdb.texinfo (Separate Debug Files): Use plural form for global debugging information directory. commit 484f2ff6684f1148f227d2c8e691df93830a96dd Author: Pedro Alves Date: Sat May 12 08:54:02 2012 +0000 2012-05-12 Pedro Alves * amd64-linux-tdep.c (_initialize_amd64_linux_tdep): Call initialize_tdesc_x32_linux and initialize_tdesc_x32_avx_linux. commit ee6d4081f3efb82cb0c2c052b878557bcef8cb76 Author: Eli Zaretskii Date: Sat May 12 06:35:03 2012 +0000 src/inferior.c: Include completer.h (initialize_inferiors): Set completer of add-inferior to filename_completer. commit cd8df4e34847924e0bd00ed97abf0df2f8cd67ed Author: Mike Frysinger Date: Sat May 12 03:10:17 2012 +0000 MAINTAINERS: clarify policy with config/ (and other top level files) Rather than copy & paste more text, just merge the existing config/ section with the existing intl/ section. This ends up clarifying the policy with that subdir (and top level files) that any commit made to gcc's repo is allowed to be merged with the sourceware tree without pre-approval. Signed-off-by: Mike Frysinger commit 5e20fe12e84f13a860861f8a5c5af3652bdfc84c Author: Alan Modra Date: Sat May 12 00:00:05 2012 +0000 daily update commit 0242e770f60e02730ed3a2c460060427baf97f4c Author: gdbadmin Date: Sat May 12 00:00:03 2012 +0000 *** empty log message *** commit ca348b9fc6f9b9653f5e216591bc2294d81ceefc Author: H.J. Lu Date: Fri May 11 22:33:27 2012 +0000 Check gdbarch_ptr_bit for x32 core dump * amd64-linux-tdep.c (amd64_linux_core_read_description): Check gdbarch_ptr_bit for x32 core dump. commit 9fd88dde4642324c9000582b8bb76e16239abfcf Author: H.J. Lu Date: Fri May 11 22:31:26 2012 +0000 Include 32-linux.c and x32-avx-linux.c * amd64-linux-tdep.c: Include features/i386/x32-linux.c and features/i386/x32-avx-linux.c. commit 2e01eef6b3e2152435a344c7de3351d4b92525dd Author: Stan Shebs Date: Fri May 11 22:24:19 2012 +0000 2012-05-11 Stan Shebs Kwok Cheung Yeung * NEWS: Describe new info os commands. * common/linux-osdata.c (PID_T, TIME_T): Define. (MAX_PID_T_STRLEN): New. (linux_common_core_of_thread): Add comment. Change to use PID_T and MAX_PID_T_STRLEN. (command_from_pid): Add comment. Change to use PID_T. (commandline_from_pid): Change to use PID_T. (user_from_pid): Add comment. (get_process_owner): Add comment. Change to use PID_T and MAX_PID_T_STRLEN. (get_number_of_cpu_cores): Add comment. (get_cores_used_by_process): Add comment. Change to use PID_T and MAX_PID_T_STRLEN. (linux_xfer_osdata_processes): Change to use PID_T and MAX_PID_T_STRLEN. (compare_processes): New function. (linux_xfer_osdata_processgroups): New function. (linux_xfer_osdata_threads): Change to use PID_T. (linux_xfer_osdata_fds): New function. (format_socket_state, print_sockets): New functions. (union socket_addr): New union. (linux_xfer_osdata_isockets): New function. (time_from_time_t, group_from_gid): New functions. (linux_xfer_osdata_shm): New function. (linux_xfer_osdata_sem): New function. (linux_xfer_osdata_msg): New function. (linux_xfer_osdata_modules): New function. (osdata_table): Add new entries. * common/buffer.c (buffer_xml_printf): Add support for long and long long format specifiers. * gdb.texinfo (Operating System Auxiliary Information): Document new 'info os' subcommands. * gdb.base/info-os.exp: New file. * gdb.base/info-os.c: New file. commit c615242d6f5c95f35af23d00ec8d7091f6fe1850 Author: H.J. Lu Date: Fri May 11 22:02:25 2012 +0000 Declare tdesc_x32_linux/tdesc_x32_avx_linux * amd64-linux-tdep.h (tdesc_x32_linux): New. (tdesc_x32_avx_linux): Likewise. commit 1731760918d1680e9dd3e4b34b7ceb375cfcba0e Author: Jan Kratochvil Date: Fri May 11 18:23:11 2012 +0000 gdb/doc/ * gdb.texinfo (Auto-loading, Init File in the Current Directory) (libthread_db.so.1 file, objfile-gdb.gdb file, objfile-gdb.py file) (dotdebug_gdb_scripts section): Add reference to 'Auto-loading safe path'. commit 23d483435a81370b62c587994817e365862c651f Author: Jan Kratochvil Date: Fri May 11 18:20:25 2012 +0000 gdb/ Implement multi-component --with-auto-load-dir. * NEWS (set auto-load scripts-directory, --with-auto-load-dir): New entries. (--with-auto-load-safe-path): Update the default value description. * auto-load.c (auto_load_dir, set_auto_load_dir, show_auto_load_dir): New. (auto_load_objfile_script): Add DEBUG_AUTO_LOAD output. Remove GDB_DATADIR NULL check. Replace GDB_DATADIR/auto-load by AUTO_LOAD_DIR. Support $ddir and multiple components in it. (_initialize_auto_load): Initialize also auto_load_dir. Install new "set auto-load scripts-directory". * config.in: Regenerate. * configure: Regenerate. * configure.ac (--with-auto-load-dir): New configure option. (--auto-load-safe-path): Change the default to --with-auto-load-dir. gdb/doc/ Implement multi-component --with-auto-load-dir. * gdb.texinfo (Auto-loading): New references for 'set auto-load scripts-directory' and 'show auto-load scripts-directory'. (Auto-loading safe path): Describe the new default. Move $ddir substituation reference to 'objfile-gdb.py file'. (objfile-gdb.py file): Describe script-name alias. Change real-name to script-name. Describe new 'set auto-load scripts-directory' and 'show auto-load scripts-directory'. commit e7dce50ad0b3c0437d3d4541bc4197cd2452baab Author: Jan Kratochvil Date: Fri May 11 18:13:22 2012 +0000 gdb/ Provide $ddir substitution for --with-auto-load-safe-path. * NEWS (--with-auto-load-safe-path, --without-auto-load-safe-path): New entries. * auto-load.c: Include observer.h. (auto_load_safe_path_vec_update): Call substitute_path_component for each component. New variable ddir_subst. (auto_load_gdb_datadir_changed): New function. (set_auto_load_safe_path): Rename DEFAULT_AUTO_LOAD_SAFE_PATH to AUTO_LOAD_SAFE_PATH. New comment. (_initialize_auto_load): Rename DEFAULT_AUTO_LOAD_SAFE_PATH to AUTO_LOAD_SAFE_PATH. Install auto_load_gdb_datadir_changed. * config.in: Regenerate. * configure: Regenerate. * configure.ac (--auto-load-safe-path): Rename DEFAULT_AUTO_LOAD_SAFE_PATH to AUTO_LOAD_SAFE_PATH. Default to GDB_DATADIR/auto-load. * defs.h (substitute_path_component): New declaration. * top.c: Include observer.h. (set_gdb_datadir): New function. (init_main): Install it for "set data-directory". * utils.c (substitute_path_component): New function. gdb/doc/ Provide $ddir substitution for --with-auto-load-safe-path. * gdb.texinfo (Auto-loading): Replace /usr/local by $ddir/auto-load. (Auto-loading safe path): Likewise. Mention the default value, $ddir substitution, --with-auto-load-safe-path and --without-auto-load-safe-path. * observer.texi (gdb_datadir_changed): New. commit 27e670ef3c91ca1f6146ef0da19df2e8fd5fb938 Author: Jan Kratochvil Date: Fri May 11 18:06:26 2012 +0000 gdb/ Make auto-load handle multiple components of DEBUG_FILE_DIRECTORY. * auto-load.c (auto_load_objfile_script): Remove check for NULL DEBUG_FILE_DIRECTORY. Handle multiple components of DEBUG_FILE_DIRECTORY. commit bf8dde2a61cfc8261c156a2ae67aed967af9a6d2 Author: Nick Clifton Date: Fri May 11 14:25:29 2012 +0000 PR binutils/14028 * configure.in: Invoke ACX_HEADER_STRING. * configure: Regenerate. * config.in: Regenerate. * sysdep.h: If STRINGS_WITH_STRING is defined then include both string.h and strings.h. commit e1472911964d98cb3adacb6e401e849a1ebe936e Author: Pedro Alves Date: Fri May 11 13:34:33 2012 +0000 2012-05-11 Yao Qi Pedro Alves * linux-low.c (enum stopping_threads_kind): New. (stopping_threads): Change type to `enum stopping_threads_kind'. (handle_extended_wait): If stopping and suspending threads, leave the new_lwp suspended too. (linux_wait_for_event): Adjust. (stop_all_lwps): Set `stopping_threads' to STOPPING_AND_SUSPENDING_THREADS or STOPPING_THREADS depending on whether we're suspending threads or just stopping them. Assert no recursion happens. commit 602ee7a5fb6ebf7b75024666f1aa5efaf61351d4 Author: Nick Clifton Date: Fri May 11 12:59:22 2012 +0000 PR 13503 * reloc.c: Add new ENUM for BFD_RELOC_AVR_8_LO, BFD_RELOC_AVR_8_HI, BFD_RELOC_AVR_8_HHI. * bfd-in2.h: Regenerate. * libbfd.h: Regenrate. * elf32-avr.c (elf_avr_howto_table): Add entries for R_AVR_8_LO8, R_AVR_8_HI8, R_AVR_8_HHI8. (avr_reloc_map): Add RELOC mappings for R_AVR_8_LO8, R_AVR_8_HI8, R_AVR_8_HHI8. * config/tc-avr.c (exp_mod_pm): Remove variable. (exp_mod_data_t): New typedef. (pexp_mod_data, exp_mod_data): New variables. (avr_parse_cons_expression): Scan through exp_mod_data[] to find data expression modifiers "pm", "gs", "lo8", hi8", "hhi8", "hh8" and set pexp_mod_data accordingly to be used in avr_cons_fix_new. (avr_cons_fix_new): Handle new data expression modifiers shipped in pexp_mod_data. (md_apply_fix): Handle BFD_RELOC_AVR_8_LO, BFD_RELOC_AVR_8_HI, BFD_RELOC_AVR_8_HHI. * elf/avr.h (RELOC_NUMBERS): Add values for R_AVR_8_LO8, R_AVR_8_HI8, R_AVR_8_HHI8. commit 1ee37781613f20a35655f467153b9240104db5ff Author: Nick Clifton Date: Fri May 11 09:41:21 2012 +0000 PR binutils/14006 * arm-dis.c (print_insn): Fix detection of instruction mode in files containing multiple executable sections. commit fa49244192b342f9812b3684dfb9d8c908536eb2 Author: H.J. Lu Date: Fri May 11 00:50:42 2012 +0000 Use int and bfd_signed_vma in x32 addend overflow check bfd/ * elf64-x86-64.c (elf_x86_64_relocate_section): Use int in x32 addend overflow check. gas/ * config/tc-i386.c (tc_gen_reloc): Use bfd_signed_vma in x32 addend overflow check. commit 7c6e5aa830b3b7b289135e51f14e6fc3739546d4 Author: DJ Delorie Date: Fri May 11 00:01:58 2012 +0000 * elf32-rx.c (rx_elf_object_p): Ignore empty segments. commit ffda7cf2af95917ebbe4c310cff38cf191c1c834 Author: Alan Modra Date: Fri May 11 00:00:04 2012 +0000 daily update commit c51413c7d5af47077c21acb4a7831dd4269decff Author: gdbadmin Date: Fri May 11 00:00:03 2012 +0000 *** empty log message *** commit 9a4a2dca8d77f169501492ca21f20de6cf4367e9 Author: H.J. Lu Date: Thu May 10 20:46:31 2012 +0000 Display signed hex number in x32 addend overflow check bfd/ * elf64-x86-64.c (elf_x86_64_relocate_section): Display signed hex number in x32 addend overflow check. gas/ * config/tc-i386.c (tc_gen_reloc): Display signed hex number in x32 addend overflow check. ld/testsuite/ * ld-x86-64/ilp32-11.d: Updated. commit 7f0f013febae34343dd707c27435578c1b72c91e Author: Tom Tromey Date: Thu May 10 20:17:46 2012 +0000 * dwarf2read.c (recursively_write_psymbols): New function. (write_psymtabs_to_index): Use it. * dwarf2read.c (struct dwarf2_queue_item) : New field. (load_cu, dw2_do_instantiate_symtab, process_psymtab_comp_unit) (load_partial_comp_unit): Update. (queue_comp_unit): Add argument 'pretend_language'. (process_queue): Update. (psymtab_to_symtab_1): Skip dependencies that have a user. (load_partial_comp_unit_reader): Give meaning to the 'data' argument. (load_full_comp_unit): Add 'pretend_language' argument. (process_full_comp_unit): Add 'pretend_language' argument. Set language on CU. (process_imported_unit_die, read_file_scope, read_type_unit_scope): Update. (maybe_queue_comp_unit): Add 'pretend_language' argument. (follow_die_offset, follow_die_sig, read_signatured_type_reader): Update. (prepare_one_comp_unit): Add 'pretend_language' argument. * dwarf2read.c: (dwarf2_per_cu_ptr): New typedef. (struct dwarf2_per_objfile) : New field. (struct dwarf2_per_cu_data) : New field. (dw2_do_instantiate_symtab): Check whether symtab was read in before queueing. (dw2_instantiate_symtab): Add assertion. Call process_cu_includes. (process_psymtab_comp_unit): Compute 'dependencies' for psymtab. (partial_symtab_p): New typedef. (set_partial_user): New function. (dwarf2_build_psymtabs_hard): Use set_partial_user. (scan_partial_symbols): Add imported CU to imported_symtabs. (dwarf2_psymtab_to_symtab): Call process_cu_includes. (psymtab_to_symtab_1): Do nothing if psymtab is readin. (get_symtab, recursively_compute_inclusions) (compute_symtab_includes, process_cu_includes) (process_imported_unit_die): New functions. (process_die) : New case. (dwarf2_per_objfile_free): Free 'imported_symtabs'. * dwarf2read.c (struct dwarf2_per_cu_data) : Update comment. (struct partial_die_info) : Remove. : New field. (process_psymtab_comp_unit): Add 'read_partial' argument. Update. (process_type_comp_unit, dwarf2_build_psymtabs_hard): Update. (scan_partial_symbols): Handle DW_TAG_imported_unit. (add_partial_symbol): Update. (process_die): Handle DW_TAG_partial_unit. (read_file_scope): Update comment. (load_partial_dies): Handle DW_TAG_imported_unit. (read_partial_die): Handle DW_TAG_partial_unit, DW_AT_import. (determine_prefix, dwarf2_name): Handle DW_TAG_partial_unit. commit 6586bd20e8bd59d48340c172a3749063bf54a903 Author: Tom Tromey Date: Thu May 10 20:07:02 2012 +0000 * cc-with-dwz.sh: New file. commit 231f22020d5c27da9088a0fc9ff8ca9e7a3e1c24 Author: Tom Tromey Date: Thu May 10 20:03:59 2012 +0000 * symtab.h (struct symtab) : New fields. * block.h (struct block_iterator) : New fields. * block.c (initialize_block_iterator, find_iterator_symtab) (block_iterator_step, block_iter_name_step) (block_iter_match_step): New functions. (block_iterator_first, block_iterator_next) (block_iter_name_first, block_iter_name_next) (block_iter_match_first, block_iter_match_next): Rewrite. (get_block_symtab): New function. commit acd8b956f985b1cb4ceec33b64d5be4e4bc2f973 Author: Tom Tromey Date: Thu May 10 19:59:12 2012 +0000 * jv-lang.c (get_java_class_symtab): Use allocate_global_block, set_block_symtab. * jit.c (finalize_symtab): Use allocate_global_block, set_block_symtab. * buildsym.c (finish_block_internal): New function, from old finish_block. (finish_block): Rewrite. (end_symtab): Use finish_block_internal, set_block_symtab. * block.h (struct global_block): New. (allocate_global_block, set_block_symtab): Declare. * block.c (allocate_global_block, set_block_symtab): New functions. commit 3632d5ad495785d22007899979f50f24b75fa063 Author: Tom Tromey Date: Thu May 10 19:54:44 2012 +0000 * psymtab.c (partial_map_expand_apply): Add assertion. (partial_map_symtabs_matching_filename): Skip included psymtabs. (psymtab_to_symtab): Find unshared psymtab. (dump_psymtab): Print including psymtabs. (recursively_search_psymtabs): New function. (expand_symtabs_matching_via_partial): Use it. * psympriv.h (struct partial_symtab) : New fields. (enum psymtab_search_status): New. commit 5426c0270cb904085af5977c02a20b27ea396b1f Author: Tom Tromey Date: Thu May 10 19:50:04 2012 +0000 * tracepoint.c (scope_info): Update. * symtab.c (lookup_block_symbol, iterate_over_symbols) (find_pc_sect_symtab, search_symbols) (default_make_symbol_completion_list_break_on) (make_file_symbol_completion_list): Update. * symmisc.c (dump_symtab_1): Update. * stack.c (print_frame_args, iterate_over_block_locals) (print_frame_labels, iterate_over_block_arg_vars): Update. * python/py-block.c (block_object) : Remove. : New field. : Change type. (blpy_iter): Update. (blpy_block_syms_iternext): Update. * psymtab.c (map_block): Use block iterators. * objfiles.c (objfile_relocate1): Use ALL_DICT_SYMBOLS. * mi/mi-cmd-stack.c (list_args_or_locals): Update. * mdebugread.c (parse_symbol, mylookup_symbol): Update. * infrun.c (check_exception_resume): Update. * cp-support.c (make_symbol_overload_list_block): Update. * coffread.c (patch_opaque_types): Update. * buildsym.c (finish_block, end_symtab): Use ALL_DICT_SYMBOLS. * block.h (struct block_iterator): New. (block_iterator_first, block_iterator_next, block_iter_name_first) (block_iter_name_next, block_iter_match_first) (block_iter_match_next): Declare. (ALL_BLOCK_SYMBOLS): Redefine. * block.c (block_iterator_first, block_iterator_next) (block_iter_name_first, block_iter_name_next) (block_iter_match_first, block_iter_match_next): New functions. * ada-lang.c (ada_add_block_symbols) (ada_make_symbol_completion_list): Use block iterator. commit 8f6da93c4b3f64e6da253cd0d199c4c7250318f1 Author: Tom Tromey Date: Thu May 10 19:44:46 2012 +0000 * psymtab.c (PSYMTAB_TO_SYMTAB): Remove. (find_pc_sect_symtab_from_partial, lookup_symbol_aux_psymtabs) (lookup_partial_symbol, find_last_source_symtab_from_partial) (read_psymtabs_with_filename, map_matching_symbols_psymtab) (expand_symtabs_matching_via_partial, maintenance_check_symtabs): Update. commit 0e4ae25cf5188906e9bd41c38673b31ef2d6a736 Author: H.J. Lu Date: Thu May 10 17:15:12 2012 +0000 Count R_X86_64_RELATIVE64 as reloc_class_relative bfd/ * elf64-x86-64.c (elf_x86_64_reloc_type_class): Handle R_X86_64_RELATIVE64. ld/testsuite/ * ld-x86-64/pr13082-1a.d: Check RELACOUNT. * ld-x86-64/pr13082-1b.d: Likewise. commit 3b05e454327d0ea2d33c67bce77640f815c9466b Author: Joel Brobecker Date: Thu May 10 16:25:18 2012 +0000 Add print 'file'::var testcase with two libs defining the same global variable gdb/testsuite/ChangeLog: * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c, gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp: New files. gdb/ChangeLog: * config/djgpp/fnchange.lst: Add entries for print-file-var-lib1.c, print-file-var-lib2.c, print-file-var-main.c and print-file-var.exp (located in gdb/testsuite/gdb.base). commit ffb779b3d87b95b9b6a12003bd62804935ccb040 Author: Joel Brobecker Date: Thu May 10 16:24:58 2012 +0000 New testcase: gdb.base/ctxobj.exp gdb/testsuite/ChangeLog: * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c, gdb.base/ctxobj.exp: New files. commit 439e2afe4a00ff5f7c07ac033208207e095b1708 Author: Joel Brobecker Date: Thu May 10 16:24:38 2012 +0000 Search global symbols from the expression's block objfile first. gdb/ChangeLog: * findvar.c (default_read_var_value): For LOC_UNRESOLVED symbols, try locating the symbol in the symbol's own objfile first, before extending the search to all objfiles. * symtab.c (lookup_symbol_aux_objfile): New function, extracted out of lookup_symbol_aux_symtabs. (lookup_symbol_aux_symtabs): Add new parameter "exclude_objfile". Replace extracted-out code by call to lookup_symbol_aux_objfile. Do not search EXCLUDE_OBJFILE. (lookup_static_symbol_aux): Update call to lookup_symbol_aux_symtabs. (lookup_symbol_global): Search for matches in the block's objfile first, before searching all other objfiles. commit 66e9d518c733e1f658104009f22ce76e38ca4150 Author: Tristan Gingold Date: Thu May 10 14:10:34 2012 +0000 2012-05-10 Tristan Gingold * printcmd.c (set_command): Add pre/post inc/dec. commit b431cbf92f2f9b4890cde22a5deac3aa2c9bfd36 Author: Nick Clifton Date: Thu May 10 13:42:02 2012 +0000 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. commit d9fe0d08758e6ca7b6b571eb4a510dbb0cfcfe8e Author: H.J. Lu Date: Thu May 10 03:25:16 2012 +0000 Check 64-bit relocation addend overflow for x32 bfd/ * elf64-x86-64.c (elf_x86_64_relocate_section): Check addend overflow for R_X86_64_RELATIVE64. gas/ * config/tc-i386.c (tc_gen_reloc): Check x32 addend overflow for BFD_RELOC_64. gas/testsuite/ * gas/i386/ilp32/ilp32.exp: Run reloc64-inval. * gas/i386/ilp32/reloc64.s: Add tests for ".quad". * gas/i386/ilp32/reloc64.d: Updated. * gas/i386/ilp32/reloc64-inval.l: New file. * gas/i386/ilp32/reloc64-inval.s: Likewise. ld/testsuite/ * ld-x86-64/ilp32-11.d: New file. * ld-x86-64/ilp32-11.s: Likewise. * ld-x86-64/x86-64.exp: Run ilp32-11. commit fca8f70c57c1f2c0831c0c89be377a7aeca278e3 Author: gdbadmin Date: Thu May 10 00:00:33 2012 +0000 *** empty log message *** commit ab86d66ba333cb09eb2cb82f9e4ca7feffbbe721 Author: Alan Modra Date: Thu May 10 00:00:05 2012 +0000 daily update commit 27d9651708d8633becc57d11a72098a0bba8e9e0 Author: Frank Ch. Eigler Date: Wed May 9 21:06:12 2012 +0000 2012-05-09 Frank Ch. Eigler * gdb.1: Document -ex option. commit d39f59a4a4d1ae340b36b47dc8e8def3f5420ec2 Author: Tom Tromey Date: Wed May 9 20:24:03 2012 +0000 * gdb.trace/strace.exp: Add 'quiet' to compiler flags. commit b804a4fcaa829eca1ed254e569f626eef9c64bcd Author: Jan Kratochvil Date: Wed May 9 19:29:25 2012 +0000 gdb/doc/ * gdb.texinfo (Separate Debug Files, Auto-loading safe path): Replace directory separator by path separator. commit 42a9e17601728a5674ab4ebdfc2b22ce33c0a946 Author: Jan Kratochvil Date: Wed May 9 18:15:58 2012 +0000 gdb/doc/ * gdb.texinfo (Auto-loading): Wrap too long lines in @smallexample. Twice. commit 9f484c56df0db96efac86cb923fca408a9955ce8 Author: Maciej W. Rozycki Date: Wed May 9 14:29:49 2012 +0000 * lib/gdb.exp (gdb_test_multiple): Correct formatting. commit 79aa0acefe568a144bb77bb89b68226100ebb3a4 Author: Joel Brobecker Date: Wed May 9 14:29:12 2012 +0000 Remove AT_SYMBOL Now that this method is no longer used by any architecture, we can remove its support. gdb/ChangeLog: * infcall.c (call_function_by_hand): Remove AT_SYMBOL handling. * inferior.h (AT_SYMBOL): Delete. commit 88e37e0256a5476e0feef134e4ac9388d416cea8 Author: Joel Brobecker Date: Wed May 9 14:28:58 2012 +0000 mips: Switch inferior function calls to ON_STACK method. This patch switches the mips code to use the ON_STACK method for function calls instead of AT_SYMBOL, which we want to remove. gdb/ChangeLog: * mips-tdep.c (mips_push_dummy_code): New function. (mips_gdbarch_init): Set the gdbarch call_dummy_location to ON_STACK and install mips_push_dummy_code as our gdbarch push_dummy_code routine. commit 9a332a5ddd4b117cd167fb178f96b9d60df3704f Author: Pedro Alves Date: Wed May 9 11:47:12 2012 +0000 2012-05-09 Pedro Alves * target.c (set_maintenance_target_async_permitted): Rename to ... (set_target_async_command): ... this. (show_maintenance_target_async_permitted): Rename to ... (show_target_async_command): ... this. (initialize_targets): Adjust. commit 589385d0d55f4e45b8855586fb09573057db1c98 Author: Doug Evans Date: Wed May 9 05:10:20 2012 +0000 * go-exp.y (classify_name): Add missing assignment of fields of yylval.ssym. commit 8c2662a4f08a8b2e7a99aca1da0a1074eac1fa0b Author: Alan Modra Date: Wed May 9 00:00:04 2012 +0000 daily update commit ca25c970e4e3cbcdf9fcafad07b74d3fd9aa37f1 Author: gdbadmin Date: Wed May 9 00:00:03 2012 +0000 *** empty log message *** commit dca8366d3cc3e563b70ebbefe393e01d67fb14b8 Author: Eli Zaretskii Date: Tue May 8 18:49:39 2012 +0000 Display the ">" prompt in interactive mode while reading canned commands, even when the current interpreter is MI. interps.c (interp_set_temp): New function. interps.h (interp_set_temp): Add prototype. cli/cli-script.c (restore_interp): New cleanup function. (read_command_lines): Temporarily override the current interpreter with CLI and arrange for restoring the original one. commit 45d8bc9e8d78042bc5d9678a9535a0bccc9ba5b7 Author: dougkwan Date: Tue May 8 17:18:16 2012 +0000 2012-05-08 Ben Cheng * bfd/elf.c: Preserve the original p_align and p_flags if they are valid. commit 86e40049f11d2c0e6a4831a5816c170474b0d229 Author: Joel Sherrill Date: Tue May 8 14:07:06 2012 +0000 2012-05-12 Joel Sherrill * microblaze-rom.c (_initialize_picobug_rom): Add prototype. commit a5739ddf06b3c0366ff10c809a52c4da32be37f7 Author: Maciej W. Rozycki Date: Tue May 8 07:22:18 2012 +0000 * gdb.mi/mi-var-display.exp: Check for the existence of $fp before using it. commit dc93b99d1966948172d9f3a2b80b5e71814d6533 Author: sergiodj Date: Tue May 8 01:35:32 2012 +0000 2012-05-07 Sergio Durigan Junior * probe.c (parse_probes): Move conditional to check for debuginfo files from here... * stap-probe.c (stap_get_probes): ... to here. commit 83abc3972e39abde65375503a8b8c5cad1763caa Author: Alan Modra Date: Tue May 8 00:00:05 2012 +0000 daily update commit 2268193e687f27d58e2a223cd471d168bf7f69e1 Author: gdbadmin Date: Tue May 8 00:00:03 2012 +0000 *** empty log message *** commit 3ac4d58759c135a0a8f9a727b50d6f53bf7e9302 Author: Mark Kettenis Date: Mon May 7 21:02:41 2012 +0000 H.J. Lu * amd64-tdep.c (amd64_analyze_prologue): Additionally check for `movl %esp, %ebp' for the X32 ABI. commit 198d53a07e02ded87505d5576ee877b517504873 Author: Tom Tromey Date: Mon May 7 15:18:35 2012 +0000 * dwarf2read.c (dwarf_tag_name): Return const char *. Use get_DW_TAG_name. (dwarf_attr_name): Return const char *. Use get_DW_AT_name. (dwarf_form_name): Return const char *. Use get_DW_FORM_name. (dwarf_stack_op_name): Remove. (dwarf_cfi_name): Return const char *. Use get_DW_ATE_name. (decode_locdesc): Use get_DW_OP_name. * dwarf2loc.c (unimplemented): Use get_DW_OP_name. (dwarf2_compile_expr_to_ax): Likewise. (disassemble_dwarf_expression): Likewise. * dwarf2expr.h: (dwarf_stack_op_name): Remove. commit 4f3a11e615ccc4f86b014975d2e5263f371b6aba Author: cltang Date: Mon May 7 13:17:27 2012 +0000 2012-05-07 Chung-Lin Tang * sh-linux-tdep.c: Include trad-frame.h and tramp-frame.h. (sh_linux_sigtramp_cache): New function. (sh_linux_sigreturn_init): New function. (sh_linux_rt_sigreturn_init): New function. (SH_MOVW,SH_TRAP,SH_OR_R0_R0): New symbols for instruction patterns. (SH_NR_SIGRETURN,SH_NR_RT_SIGRETURN): New symbols for sigreturn syscall codes. (sh_linux_sigreturn_tramp_frame): New tramp_frame definition. (sh_linux_rt_sigreturn_tramp_frame): Likewise. (sh_linux_init_abi): Add init calls to register new tramp_frame definitions under 32-bit SH, update comments. commit 6851566c8d062d77dac716533b9090e499eed38c Author: Pedro Alves Date: Mon May 7 10:59:25 2012 +0000 Add PR number to ChangeLog entry. 2012-05-07 Pedro Alves PR gdb/10952 * amd64-linux-tdep.c: Include glibc-tdep.h. (amd64_linux_init_abi): Install glibc_skip_solib_resolver as gdbarch_skip_solib_resolver callback. commit dfe0a7e232de15450e76b30319ad915fcbedcf10 Author: Pedro Alves Date: Mon May 7 10:47:18 2012 +0000 2012-05-07 Pedro Alves * amd64-linux-tdep.c: Include glibc-tdep.h. (amd64_linux_init_abi): Install glibc_skip_solib_resolver as gdbarch_skip_solib_resolver callback. commit c64a8eb7918d6f317abba18e31814be3d6d51812 Author: Alan Modra Date: Mon May 7 09:25:25 2012 +0000 * elf64-ia64-vms.c (elf64_ia64_relocate_section): Update RELOC_AGAINST_DISCARDED_SECTION invocation. commit 8899053f9ff88935f1c7e9c4d9efda27613ed45c Author: Hans-Peter Nilsson Date: Mon May 7 05:44:35 2012 +0000 * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Declare and use local variable i_ instead of assuming and using a variable i. commit 6d5652337b4faee330f37f900f2222037de844f9 Author: Maciej W. Rozycki Date: Mon May 7 03:27:45 2012 +0000 * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Handle compound relocations. * elfxx-mips.c (mips_reloc_against_discarded_section): New function. (_bfd_mips_elf_relocate_section): Call it, in place of RELOC_AGAINST_DISCARDED_SECTION. * elf-m10200.c (mn10200_elf_relocate_section): Update arguments to RELOC_AGAINST_DISCARDED_SECTION. * elf-m10300.c (mn10300_elf_relocate_section): Likewise. * elf32-arm.c (elf32_arm_relocate_section): Likewise. * elf32-avr.c (elf32_avr_relocate_section): Likewise. * elf32-bfin.c (bfin_relocate_section): Likewise. (bfinfdpic_relocate_section): Likewise. * elf32-cr16.c (elf32_cr16_relocate_section): Likewise. * elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise. * elf32-cris.c (cris_elf_relocate_section): Likewise. * elf32-crx.c (elf32_crx_relocate_section): Likewise. * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. * elf32-epiphany.c (epiphany_elf_relocate_section): Likewise. * elf32-fr30.c (fr30_elf_relocate_section): Likewise. * elf32-frv.c (elf32_frv_relocate_section): Likewise. * elf32-h8300.c (elf32_h8_relocate_section): Likewise. * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. * elf32-i370.c (i370_elf_relocate_section): Likewise. * elf32-i386.c (elf_i386_relocate_section): Likewise. * elf32-i860.c (elf32_i860_relocate_section): Likewise. * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise. * elf32-lm32.c (lm32_elf_relocate_section): Likewise. * elf32-m32c.c (m32c_elf_relocate_section): Likewise. * elf32-m32r.c (m32r_elf_relocate_section): Likewise. * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise. * elf32-m68k.c (elf_m68k_relocate_section): Likewise. * elf32-mcore.c (mcore_elf_relocate_section): Likewise. * elf32-mep.c (mep_elf_relocate_section): Likewise. * elf32-moxie.c (moxie_elf_relocate_section): Likewise. * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. * elf32-mt.c (mt_elf_relocate_section): Likewise. * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. * elf32-ppc.c (ppc_elf_relocate_section): Likewise. * elf32-rl78.c (rl78_elf_relocate_section): Likewise. * elf32-rx.c (rx_elf_relocate_section): Likewise. * elf32-s390.c (elf_s390_relocate_section): Likewise. * elf32-score.c (s3_bfd_score_elf_relocate_section): Likewise. * elf32-score7.c (s7_bfd_score_elf_relocate_section): Likewise. * elf32-sh.c (sh_elf_relocate_section): Likewise. * elf32-spu.c (spu_elf_relocate_section): Likewise. * elf32-tic6x.c (elf32_tic6x_relocate_section): Likewise. * elf32-tilepro.c (tilepro_elf_relocate_section): Likewise. * elf32-v850.c (v850_elf_relocate_section): Likewise. * elf32-vax.c (elf_vax_relocate_section): Likewise. * elf32-xc16x.c (elf32_xc16x_relocate_section): Likewise. * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. * elf64-alpha.c (elf64_alpha_relocate_section_r): Likewise. (elf64_alpha_relocate_section): Likewise. * elf64-hppa.c (elf64_hppa_relocate_section): Likewise. * elf64-mmix.c (mmix_elf_relocate_section): Likewise. * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. * elf64-s390.c (elf_s390_relocate_section): Likewise. * elf64-sh64.c (sh_elf64_relocate_section): Likewise. * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise. * elfnn-ia64.c (elfNN_ia64_relocate_section): Likewise. * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise. * elfxx-tilegx.c (tilegx_elf_relocate_section): Likewise. commit ae05410d77dcaeb32cd6fba66373d14a0fa679ec Author: Alan Modra Date: Mon May 7 00:00:04 2012 +0000 daily update commit 49fab043172d73659598218c2ec79e29753d40c7 Author: gdbadmin Date: Mon May 7 00:00:03 2012 +0000 *** empty log message *** commit d5cd1ea4b91638dace44e8262445a42724fa4734 Author: Jan Kratochvil Date: Sun May 6 15:30:59 2012 +0000 gdb/ * auto-load.c (set_auto_load_safe_path): Reset AUTO_LOAD_SAFE_PATH back to DEFAULT_AUTO_LOAD_SAFE_PATH if it is being set to "". (show_auto_load_safe_path): Check any-directory by comparison with "/". (add_auto_load_safe_path): Change the error message. (_initialize_auto_load): Change the "safe-path" help text. * configure: Regenerate * configure.ac (--without-auto-load-safe-path): Set WITH_AUTO_LOAD_SAFE_PATH to /. gdb/doc/ * gdb.texinfo (Auto-loading safe path): Make 'directories' for 'set auto-load safe-path' optional. Mention if it is omitted. Change disabling security protection condition to "/", twice. commit 05f801120472982a91fdc17f1eddbc2c5158aa5d Author: gdbadmin Date: Sun May 6 00:00:33 2012 +0000 *** empty log message *** commit 52f7194318464f407b515a74a52f43e25bd6a272 Author: Alan Modra Date: Sun May 6 00:00:04 2012 +0000 daily update commit fb5b58d11c6dd736c282b4dfa6e4ef813e99e937 Author: sergiodj Date: Sat May 5 05:36:23 2012 +0000 2012-05-05 Sergio Durigan Junior * stap-probe.h: Do not include unecessary `probe.h'. commit c46cd70815d0b75fd302cea3e7dc89a6d38b2826 Author: Alan Modra Date: Sat May 5 04:51:14 2012 +0000 PR ld/14052 PR ld/13621 bfd/ * linker.c (_bfd_nearby_section): Revert 2012-02-13 change. ld/testsuite/ * ld-elf/warn2.d: Revert 2012-02-13 change. * ld-elf/zerosize1.d, ld-elf/zerosize1.s: Delete. commit 7b0e88eff9a36c4fe5e9dd35c9e9487076d0bbc7 Author: Alan Modra Date: Sat May 5 04:37:27 2012 +0000 Regenerate. commit 25f9a0c4e74fb7bd73e30d830d4ff2f0f33ea7f9 Author: Alan Modra Date: Sat May 5 03:05:23 2012 +0000 Replace all uses of bfd_abs_section, bfd_com_section, bfd_und_section and bfd_ind_section with their _ptr variants, or use corresponding bfd_is_* macros. commit 4a26b722329788de89641deaff98e9f549e66a05 Author: Alan Modra Date: Sat May 5 00:00:04 2012 +0000 daily update commit c573d33396ca9a97a83f7df7b15c07ff65754ec9 Author: gdbadmin Date: Sat May 5 00:00:03 2012 +0000 *** empty log message *** commit 3a185deb248d7f66bade22257f9807abcf78aa3a Author: Joel Brobecker Date: Fri May 4 18:43:12 2012 +0000 Fix typo in last gdb/ChangeLog entry. commit c03e4e1865f3d25197d1ae3121963a7571432c02 Author: Joel Brobecker Date: Fri May 4 18:41:33 2012 +0000 MAINTAINERS: Add Chris Faylor in `Past Maintainers' section. gdb/ChangeLog: * MAINTAINER (Past Maintainers): Add Chris Faylor. commit be99a4846257d665e0a0db366a4aa0068f3a4568 Author: Joel Brobecker Date: Fri May 4 18:36:28 2012 +0000 Segment register reading on Windows targets. This patch makes sure that the value of segment registers are read properly as 16bit values on Windows. gdb/ChangeLog: * windows-nat.h (segment_register_p_ftype): New typedef. (windows_set_segment_register_p): Add declaration. * windows-nat.c (segment_register_p): New static global. (windows_set_segment_register_p): New function. (do_windows_fetch_inferior_registers): Add special handling for segment registers. * amd64-windows-nat.c: #include "amd64-tdep.h". (amd64_windows_segment_register_p): New function. (_initialize_amd64_windows_nat): Call windows_set_segment_register_p. * i386-windows-nat.c: #include "i386-tdep.h". (i386_windows_segment_register_p): New function. (_initialize_i386_windows_nat): Call windows_set_segment_register_p. commit 0599b1780d127fff8f7c29af624921b987b4d7b4 Author: Tristan Gingold Date: Fri May 4 07:57:57 2012 +0000 2012-05-04 Tristan Gingold * printcmd.c (set_command): Emit a warning if the expression is not an assignment. testsuite/ 2012-05-04 Tristan Gingold * gdb.base/set-noassign.exp: New test. commit 494e00bc65a0f9b4c28f5507ffe9a23243eb8667 Author: gdbadmin Date: Fri May 4 00:00:33 2012 +0000 *** empty log message *** commit 09899cde317e30b4e3ced0b0dabe599c210fb7dd Author: Alan Modra Date: Fri May 4 00:00:05 2012 +0000 daily update commit 3c616950b787ff7a6118aaa174ed6e5258962649 Author: Joel Brobecker Date: Thu May 3 22:07:56 2012 +0000 not-procfs.c: Make procfs_find_new_threads and procfs_pid_to_str static. gdb/ChangeLog: * nto-procfs.c (procfs_find_new_threads, procfs_pid_to_str): Make static. commit 22a6e32340e20eee5cddb1a853d3ccc7a127a358 Author: sergiodj Date: Thu May 3 20:04:04 2012 +0000 2012-05-03 Sergio Durigan Junior * stap-probe.c (stap_is_operator): Change declaration. (stap_get_opcode): Change return value. (stap_parse_argument_1): Update calls to `stap_get_opcode' and `stap_parse_argument_1'. commit a3f380d95902752d04bc1c7e32f3cc6caf893c56 Author: Pedro Alves Date: Thu May 3 14:59:40 2012 +0000 2012-05-03 Pedro Alves * infrun.c (displaced_step_fixup): Add "displaced:" prefix to debug log. commit bbaf13050b3ddf8ea719926dc9b39297e7716b2d Author: Nick Clifton Date: Thu May 3 13:11:53 2012 +0000 Add support for Motorola XGATE embedded CPU commit fdd29ac77f716feee19077a648ca17c9c127049e Author: Nick Clifton Date: Thu May 3 13:04:57 2012 +0000 Add support for Motorola XGATE embedded CPU commit c341d28dad551b3220aeefabd749dfe476f36eff Author: Tristan Gingold Date: Thu May 3 12:49:21 2012 +0000 2012-05-03 Tristan Gingold * dwarf2.c (decode_line_info): Ignore DW_LNE_HP_source_file_correlation. commit aae4b2a766fa1ac4ea6b09b7e3988f4f163999ac Author: sivachandra Date: Thu May 3 07:07:21 2012 +0000 2012-05-03 Siva Chandra Reddy Add two new methods global_block and static_block to gdb.Symtab objects. * NEWS (Python scripting): Add entry about the new methods. * python/py-symtab.c (stpy_global_block): New function which implements the gdb.Symtab.global_block() method. (stpy_static_block): New function which implements the gdb.Symtab.static_block() method. (symtab_object_methods): Add entries for the two new methods. * testsuite/gdb.python/py-symbol.exp: Add tests to test the new methods gdb.Symtab.global_block() and gdb.Symtab.static_block(). * tessuite/gdb.python/py-symbol.c: Add new struct to help test gdb.Symtab.static_block(). * doc/gdb.texinfo (Symbol Tables In Python): Add documentation about the new methods global_block and static_block on gdb.Symtab objects. commit 8dc45ec19783a0a2ed26a996e5c64a4385a1accb Author: Doug Evans Date: Thu May 3 06:49:04 2012 +0000 * gdb.dwarf2/pr13961.S: Add file and source location, but leave commented out. commit a0ff24a465e3c2b53a35f5a4fe6e16a286fbfd9f Author: Doug Evans Date: Thu May 3 05:27:30 2012 +0000 * dwarf2read.c (dw2_find_symbol_file): Don't crash if there are no files. commit aa09d558dcf6fe978a0fa04a0ec1cab0c91d2389 Author: qiyao Date: Thu May 3 02:05:14 2012 +0000 gdb/testsuite: * gdb.base/catch-syscall.exp: Skip it before compilation if target doesn't support. * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise. * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise. commit d5bebd7c26b9f5061e59b2e85c561cdc471461f5 Author: qiyao Date: Thu May 3 01:52:31 2012 +0000 gdb/testsuite: * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860. commit d7d52ef7fddf70e7c8ef1a8f9b91d385fb22ae6a Author: qiyao Date: Thu May 3 01:42:47 2012 +0000 gdb: * i386-tdep.c (i386_fetch_pointer_argument): Remove extra space. (i386_process_record): Ditto. commit bc6e973cbbc6032395a4cb755efc907664d9d57a Author: Joel Brobecker Date: Thu May 3 00:09:38 2012 +0000 Make infcall.c:unwind_on_signal_p static. gdb/ChangeLog: * infcall.c (unwind_on_signal_p): Make static. commit c4285cf047e39782cfb06bca008f14385bbe72e5 Author: gdbadmin Date: Thu May 3 00:00:33 2012 +0000 *** empty log message *** commit 0b19bb927b3dfc732aeb71abdd52e7c2cede9e4b Author: Alan Modra Date: Thu May 3 00:00:04 2012 +0000 daily update commit db2e999af6cbbbd6ab6cedf38888012cf29ac38a Author: Joel Brobecker Date: Wed May 2 23:18:35 2012 +0000 Fix -Wmissing-prototypes errors in sol-thread.c gdb/ChangeLog: * sol-thread.c (solaris_pid_to_str): Make static. (_initialize_sol_thread): Add prototype. commit 5ce1f960cf993a09e2a55746f961c5ed0d32ef01 Author: Joel Brobecker Date: Wed May 2 23:06:57 2012 +0000 Delete unused procfs_pid_to_str extern in sol-thread.c gdb/ChangeLog: * sol-thread.c (procfs_pid_to_str): Delete extern declaration. commit dfd1876cae1751c40c3c80d846ad0c1a98d112d1 Author: Christopher Faylor Date: Wed May 2 22:12:05 2012 +0000 * MAINTAINERS: Remove myself. commit 2f6074f78378c001ba6d783cdeb87fd62877f5ad Author: Roland McGrath Date: Wed May 2 21:37:21 2012 +0000 * configure.ac (ENABLE_GOLD): Consider *-*-nacl* targets ELF. * configure: Regenerate. gold/ * nacl.cc: New file. * nacl.h: New file. * Makefile.am (CCFILES, HFILES): Add them. * Makefile.in: Regenerate. * i386.cc (Output_data_plt_i386_nacl): New class. (Output_data_plt_i386_nacl_exec): New class. (Output_data_plt_i386_nacl_dyn): New class. (Target_i386_nacl): New class. (Target_selector_i386_nacl): New class. (target_selector_i386): Use it instead of Target_selector_i386. * x86_64.cc (Output_data_plt_x86_64_nacl): New class. (Target_x86_64_nacl): New class. (Target_selector_x86_64_nacl): New class. (target_selector_x86_64, target_selector_x32): Use it instead of Target_selector_x86_64. * arm.cc (Output_data_plt_arm_nacl): New class. (Target_arm_nacl): New class. (Target_selector_arm_nacl): New class. (target_selector_arm, target_selector_armbe): Use it instead of Target_selector_arm. * target-select.cc (select_target): Take new Input_file* and off_t arguments, pass them on to recognize method of selector. * object.cc (make_elf_sized_object): Update caller. * parameters.cc (parameters_force_valid_target): Likewise. * incremental.cc (make_sized_incremental_binary): Likewise. * target-select.h: Update decl. (Target_selector::recognize): Take new Input_file* argument, pass it on to do_recognize. (Target_selector::do_recognize): Take new Input_file* argument. * freebsd.h (Target_selector_freebsd::do_recognize): Likewise. * powerpc.cc (Target_selector_powerpc::do_recognize): Likewise. * sparc.cc (Target_selector_sparc::do_recognize): Likewise. * testsuite/testfile.cc (Target_selector::do_recognize): Likewise. * target.h (Target::Target_info): New members isolate_execinstr and rosegment_gap. (Target::isolate_execinstr, Target::rosegment_gap): New methods. * arm.cc (Target_arm::arm_info): Update initializer. * i386.cc (Target_i386::i386_info): Likewise. * powerpc.cc (Target_powerpc::powerpc_info): Likewise. * sparc.cc (Target_sparc::sparc_info): Likewise. * x86_64.cc (Target_x86_64::x86_64_info): Likewise. * testsuite/testfile.cc (Target_test::test_target_info): Likewise. * layout.cc (Layout::attach_allocated_section_to_segment): Take new const Target* argument. If target->isolate_execinstr(), act like --rosegment. (Layout::find_first_load_seg): Take new const Target* argument; if target->isolate_execinstr(), reject PF_X segments. (Layout::relaxation_loop_body): Update caller. (Layout::set_segment_offsets): If target->isolate_execinstr(), reset file offset to zero when we hit LOAD_SEG, and then do a second loop over the segments before LOAD_SEG to reassign offsets after addresses have been determined. Handle target->rosegment_gap(). (Layout::attach_section_to_segment): Take new const Target* argument; pass it to attach_allocated_section_to_segment. (Layout::make_output_section): Update caller. (Layout::attach_sections_to_segments): Take new const Target* argument; pass it to attach_section_to_segment. * gold.cc (queue_middle_tasks): Update caller. * layout.h (Layout): Update method decls with new arguments. * arm.cc (Target_arm::Target_arm): Take optional argument for the Target_info pointer to use. (Target_arm::do_make_data_plt): New virtual method. (Target_arm::make_data_plt): New method that calls it. (Target_arm::make_plt_entry): Use it. (Output_data_plt_arm::Output_data_plt_arm): Take additional argument for the section alignment. (Output_data_plt_arm::do_first_plt_entry_offset): New abstract virtual method. (Output_data_plt_arm::first_plt_entry_offset): Call it. (Output_data_plt_arm::do_get_plt_entry_size): New abstract virtual method. (Output_data_plt_arm::get_plt_entry_size): Call it. (Output_data_plt_arm::do_fill_plt_entry): New abstract virtual method. (Output_data_plt_arm::fill_plt_entry): New method that calls it. (Output_data_plt_arm::do_fill_first_plt_entry): New abstract virtual method. (Output_data_plt_arm::fill_first_plt_entry): New method that calls it. (Output_data_plt_arm::set_final_data_size): Use get_plt_entry_size method instead of sizeof(plt_entry). (Output_data_plt_arm::add_entry): Likewise. Use first_plt_entry_offset method instead of sizeof(first_plt_entry). (Target_arm::first_plt_entry_offset): Call method on this->plt_ rather than static method. (Target_arm::plt_entry_size): Likewise. (Output_data_plt_arm::first_plt_entry, Output_data_plt_arm::plt_entry): Move to ... (Output_data_plt_arm_standard): ... here, new class. (Output_data_plt_arm::do_write): Move guts of PLT filling to... (Output_data_plt_arm_standard::do_fill_first_plt_entry): ... here ... (Output_data_plt_arm_standard::do_fill_plt_entry): ... and here. * x86_64.cc (Output_data_plt_x86_64::Output_data_plt_x86_64): Take additional argument for the PLT entry size. (Output_data_plt_x86_64::get_tlsdesc_plt_offset): Use get_plt_entry_size method rather than plt_entry_size variable. (Output_data_plt_x86_64::reserve_slot): Likewise. (Output_data_plt_x86_64::do_adjust_output_section): Likewise. (Output_data_plt_x86_64::add_entry): Likewise. (Output_data_plt_x86_64::add_local_ifunc_entry): Likewise. (Output_data_plt_x86_64::address_for_global): Likewise. (Output_data_plt_x86_64::address_for_local): Likewise. (Output_data_plt_x86_64::set_final_data_size): Likewise. (Output_data_plt_x86_64::first_plt_entry_offset): Likewise. Make method non-static. (Output_data_plt_x86_64::do_get_plt_entry_size): New abstract virtual method. (Output_data_plt_x86_64::get_plt_entry_size): Just call that. (Output_data_plt_x86_64::do_add_eh_frame): New abstract virtual method. (Output_data_plt_x86_64::add_eh_frame): New method to call it. (Output_data_plt_x86_64::do_fill_first_plt_entry): New abstract virtual method. (Output_data_plt_x86_64::fill_first_plt_entry): New method to call it. (Output_data_plt_x86_64::do_fill_plt_entry): New abstract virtual method. (Output_data_plt_x86_64::fill_plt_entry): New method to call it. (Output_data_plt_x86_64::do_fill_tlsdesc_entry): New abstract virtual method. (Output_data_plt_x86_64::fill_tlsdesc_entry): New method to call it. (Output_data_plt_x86_64::plt_entry_size) (Output_data_plt_x86_64::first_plt_entry) (Output_data_plt_x86_64::plt_entry) (Output_data_plt_x86_64::tlsdesc_plt_entry) (Output_data_plt_x86_64::plt_eh_frame_fde_size) (Output_data_plt_x86_64::plt_eh_frame_fde): Move to ... (Output_data_plt_x86_64_standard): ... here, new class. (Target_x86_64::Target_x86_64): Take optional argument for the Target_info pointer to use. (Target_x86_64::do_make_data_plt): New virtual method. (Target_x86_64::make_data_plt): New method to call it. (Target_x86_64::init_got_plt_for_update): Use that. Call this->plt_->add_eh_frame method here. (Output_data_plt_x86_64::init): Don't do add_eh_frame_for_plt here. (Target_x86_64::first_plt_entry_offset): Call method on this->plt_ rather than static method. (Target_x86_64::plt_entry_size): Likewise. (Output_data_plt_x86_64::do_write): Use get_plt_entry_size method rather than plt_entry_size variable. Move guts of PLT filling to... (Output_data_plt_x86_64_standard::do_fill_first_plt_entry): ... here ... (Output_data_plt_x86_64_standard::do_fill_plt_entry): ... and here ... (Output_data_plt_x86_64_standard::do_fill_tlsdesc_entry): ... and here. * i386.cc (Output_data_plt_i386::Output_data_plt_i386): Take additional argument for the section alignment. Don't do add_eh_frame_for_plt here. (Output_data_plt_i386::first_plt_entry_offset): Make the method non-static. Use get_plt_entry_size method rather than plt_entry_size variable. (Output_data_plt_i386::do_get_plt_entry_size): New abstract virtual method. (Output_data_plt_i386::get_plt_entry_size): Call it. (Output_data_plt_i386::do_add_eh_frame): New abstract virtual method. (Output_data_plt_i386::add_eh_frame): New method to call it. (Output_data_plt_i386::do_fill_first_plt_entry): New abstract virtual method. (Output_data_plt_i386::fill_first_plt_entry): New method to call it. (Output_data_plt_i386::do_fill_plt_entry): New abstract virtual method. (Output_data_plt_i386::fill_plt_entry): New method to call it. (Output_data_plt_i386::set_final_data_size): Use get_plt_entry_size method instead of plt_entry_size. (Output_data_plt_i386::plt_entry_size) (Output_data_plt_i386::plt_eh_frame_fde_size) (Output_data_plt_i386::plt_eh_frame_fde): Move to ... (Output_data_plt_i386_standard): ... here, new class. (Output_data_plt_i386_exec): New class. (Output_data_plt_i386::exec_first_plt_entry): Move to ... (Output_data_plt_i386_exec::first_plt_entry): ... here. (Output_data_plt_i386::exec_plt_entry): Move to ... (Output_data_plt_i386_exec::plt_entry): ... here. (Output_data_plt_i386_dyn): New class. (Output_data_plt_i386::first_plt_entry): Move to ... (Output_data_plt_i386_dyn::first_plt_entry): ... here. (Output_data_plt_i386::dyn_plt_entry): Move to ... (Output_data_plt_i386_dyn::plt_entry): ... here. (Target_i386::Target_i386): Take optional argument for the Target_info pointer to use. (Target_i386::do_make_data_plt): New virtual method. (Target_i386::make_data_plt): New method to call it. (Target_i386::make_plt_section): Use that. Call this->plt_->add_eh_frame method here. (Output_data_plt_i386::add_entry): Use get_plt_entry_size method rather than plt_entry_size variable. (Output_data_plt_i386::add_local_ifunc_entry): Likewise. (Output_data_plt_i386::address_for_local): Likewise. (Output_data_plt_i386::do_write): Likewise. Move guts of PLT filling to... (Output_data_plt_i386_exec::do_fill_first_plt_entry): ... here ... (Output_data_plt_i386_exec::do_fill_plt_entry): ... and here ... (Output_data_plt_i386_dyn::do_fill_first_plt_entry): ... and here ... (Output_data_plt_i386_dyn::do_fill_plt_entry): ... and here. Change-Id: Id24b95600489835ff5e860a39c147203d4380c2b commit 3a08ca094422dc873d9c48fda20ddf177d28f432 Author: Jan Kratochvil Date: Wed May 2 20:00:31 2012 +0000 gdb/ Fix --without-auto-load-safe-path for MS-Windows host platform. * auto-load.c (filename_is_in_dir): Return 1 for DIR_LEN 0. commit e38205ccdaca63d80c104921aa061d6f90f0a8ac Author: Cary Coutant Date: Wed May 2 18:33:43 2012 +0000 include/ * dwarf2.def: Remove DW_FORM_GNU_ref_index, replace DW_AT_GNU_ref_base with DW_AT_GNU_ranges_base. commit 397f8451227945ad001094f7c25b9801a0782272 Author: sivachandra Date: Wed May 2 17:27:50 2012 +0000 2012-05-02 Siva Chandra Reddy * doc/gdb.texinfo (Blocks In Python): Add a note saying that future improvements to GDB and its infrastructure can move symbols across blocks within a symbol table. commit 39ed5f37ddf43fc14c8e5c76f9dec9f23d09ea59 Author: Eli Zaretskii Date: Wed May 2 17:13:38 2012 +0000 gdb_curses.h: Undefine KEY_EVENT before including curses headers. Move "#undef MOUSE_MOVED" before any curses header inclusion. commit 9e8dd0f9f50272c4852c78c6d9e4b69c96ca98ec Author: sergiodj Date: Wed May 2 04:59:32 2012 +0000 2012-05-02 Sergio Durigan Junior * features/i386/i386-mmx-linux.c: Regenerate. * features/rs6000/powerpc-32.c: Likewise. * features/rs6000/powerpc-32l.c: Likewise. * features/rs6000/powerpc-403.c: Likewise. * features/rs6000/powerpc-403gc.c: Likewise. * features/rs6000/powerpc-405.c: Likewise. * features/rs6000/powerpc-505.c: Likewise. * features/rs6000/powerpc-601.c: Likewise. * features/rs6000/powerpc-602.c: Likewise. * features/rs6000/powerpc-603.c: Likewise. * features/rs6000/powerpc-604.c: Likewise. * features/rs6000/powerpc-64.c: Likewise. * features/rs6000/powerpc-64l.c: Likewise. * features/rs6000/powerpc-750.c: Likewise. * features/rs6000/powerpc-860.c: Likewise. * features/rs6000/powerpc-e500.c: Likewise. * features/rs6000/powerpc-e500l.c: Likewise. * features/rs6000/powerpc-isa205-32l.c: Likewise. * features/rs6000/powerpc-isa205-64l.c: Likewise. * features/rs6000/rs6000.c: Likewise. commit ae5498b5feba445e44de5c5384fca412b9a010f3 Author: sergiodj Date: Wed May 2 04:40:21 2012 +0000 2012-05-02 Sergio Durigan Junior * i386-tdep.c (i386_stap_parse_special_token) : Remove unused variable. * stap-probe.c (stap_parse_single_operand) : Likewise. (stap_parse_argument) : Likewise. (handle_stap_probe) : Likewise. commit 16c6b9aded340ae5d2711318ddaeeb09440ec972 Author: gdbadmin Date: Wed May 2 00:00:33 2012 +0000 *** empty log message *** commit 5a5184934f6e019038b09c1f761db1116b1d1faa Author: Alan Modra Date: Wed May 2 00:00:05 2012 +0000 daily update commit 8582948400c8f999e2fb8622ea11ef92b06e9b1d Author: Nick Clifton Date: Tue May 1 16:07:31 2012 +0000 PR binutils/13121 Rename 'finfo' to 'flaginfo' to avoid conflicts with AIX system headers. commit f322f943bc66287aab0814f6939f2c20268c4a1f Author: Doug Evans Date: Tue May 1 03:00:35 2012 +0000 * dwarf2read.c (init_cutu_and_read_dies): Renamed from init_and_read_dies_worker. All callers updated. (init_cu_and_read_dies, init_tu_and_read_dies): Delete. All calls replaced with init_cutu_and_read_dies. (load_partial_comp_unit): Pass 1 for use_existing_cu. (find_partial_die): Remove FIXME. Don't free current CU. testsuite/ * gdb.dwarf2/pr13961.S: New file. * gdb.dwarf2/pr13961.exp: New file. commit 048b4ceed0304ec4a8003ca53ec4cad112b13a4e Author: Doug Evans Date: Tue May 1 02:55:33 2012 +0000 Fix bug in date in previous entry. commit 66b455ee4271a1220e1ac73ac529ffc81929e350 Author: gdbadmin Date: Tue May 1 00:00:33 2012 +0000 *** empty log message *** commit bc7a54a4d23f06dbe6eb04a2aa66e202ac4a7d7f Author: Alan Modra Date: Tue May 1 00:00:04 2012 +0000 daily update commit 13874398a35beb6886581001e6737ca1528325f6 Author: DJ Delorie Date: Mon Apr 30 22:04:22 2012 +0000 * rx-decode.opc (MOV): Do not sign-extend immediates which are already the maximum bit size. * rx-decode.c: Regenerate. commit 181aa75ab5359d5b1627b66e30082223996e52e1 Author: sterling Date: Mon Apr 30 18:06:48 2012 +0000 2012-04-26 Sterling Augustine * contrib: New directory. * contrib/test_pubnames_and_indexes.py: New file. commit 7a2a89fa6d51ec3691b7399acdb33b4faa60fc73 Author: Doug Evans Date: Mon Apr 30 15:50:34 2012 +0000 * dwarf2read.c (dwarf_decode_macros): New arg section_name. All callers updated. (init_cu_die_reader): Verify the section is non-empty. (dwarf_decode_line_header): Don't dereference section->asection until we know the section is present. commit c7f4024d95e06260a120db287aa81f9a3924c343 Author: gdbadmin Date: Mon Apr 30 00:00:33 2012 +0000 *** empty log message *** commit 734267c19d154e46e1f6990371803b815acc640a Author: Alan Modra Date: Mon Apr 30 00:00:05 2012 +0000 daily update commit 9d9da345ad3a7ec0c9b0b83ffd8e0eb9011e670f Author: sergiodj Date: Sun Apr 29 15:14:29 2012 +0000 2012-04-29 Sergio Durigan Junior * tracepoint.c (start_tracing, stop_tracing): Checking for NULL probes. commit 1c69b540334ac77b256e39ac2ef79a64c539f193 Author: qiyao Date: Sun Apr 29 07:20:40 2012 +0000 gdb: * gdb-code-style.el: New hook gdb-markup-hook and gdb-comment-hook. commit 83214202be96a1aaa9f7280a4bebbcb82fd0e7b6 Author: qiyao Date: Sun Apr 29 06:45:02 2012 +0000 gdb/doc: * gdb.texinfo (Architectures): Remove menu entry `A29K'. (A29K): Remove. commit 6dfc1407a1403cef8023e42d90cd00e75c4923bf Author: qiyao Date: Sun Apr 29 06:40:02 2012 +0000 gdb/testsuite: * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'. commit b1a94be3498868c32eda23b0b20a295e3671a3a1 Author: qiyao Date: Sun Apr 29 06:28:30 2012 +0000 gdb/gdbserver: * server.h: Move some code to ... * gdbthread.h: ... here. New. * Makefile.in (inferiors.o, regcache.o): Depends on gdbthread.h (remote-utils.o, server.o, target.o tracepoint.o): Likewise. (nto-low.o, win32-low.o): Likewise. * inferiors.c, linux-low.h, nto-low.c: Include gdbthread.h. * regcache.c, remote-utils.c, server.c: Likewise. * target.c, tracepoint.c, win32-low.c: Likewise. commit b394f8e4eff5f87a7670a26a156b1187bcf77a40 Author: gdbadmin Date: Sun Apr 29 00:00:32 2012 +0000 *** empty log message *** commit 6f6dd3c51353327da13bee57c852bd6bc389b955 Author: Alan Modra Date: Sun Apr 29 00:00:05 2012 +0000 daily update commit 9ec1e83549cc1181a26e64712d805ef623afeb3b Author: Doug Evans Date: Sat Apr 28 23:22:11 2012 +0000 Initial support for Fission. http://gcc.gnu.org/wiki/DebugFission * symfile.c (default_symfile_relocate): Use sectp->owner instead of objfile->obfd. * symfile.h (dwarf2_debug_sections): New member addr. * dwarf2expr.c (execute_stack_op): New case DW_OP_GNU_addr_index. (ctx_no_get_addr_index): New function. * dwarf2expr.h (dwarf_expr_context_funcs): New member get_addr_index. (ctx_no_get_addr_index): Declare. * dwarf2-frame.c (dwarf2_frame_ctx_funcs): Update. * dwarf2loc.c (dwarf_expr_get_addr_index): New function. (dwarf_expr_ctx_funcs): Update. (needs_get_addr_index): New function. (needs_frame_ctx_funcs): Update. * dwarf2loc.h (dwarf2_read_addr_index): Declare. * dwarf2read.c: #include "gdbcore.h". (dwarf2_per_objfile): New members addr, dwo_files. (dwarf2_elf_names): Add entry for addr. (struct dwo_section_names): New type. (dwo_section_names): New static global. (dwarf2_cu): New members dwo_unit, addr_base, have_addr_base. (dwarf2_per_cu_data): New member is_debug_types, all boolean uses of old debug_types_section member updated to use this. Rename member debug_types_section to info_or_types_section, all uses updated. (signatured_type): Rename member type_offset to type_offset_in_tu, all uses updated. New member type_offset_in_section. (struct dwo_sections): New type. (struct dwo_unit): New type. (struct dwo_file): New type. (die_reader_specs): New member dwo_file. (dwarf2_locate_sections): Watch for .debug_addr. (zlib_decompress_section): Use sectp->owner instead of objfile->obfd. (dwarf2_read_section): Get bfd of section from bfd's asection, instead of objfile. (create_cus_from_index): Initialize the_cu->info_or_types_section. (create_signatured_type_table_from_index): Initialize sig_type->info_or_types_section. (dw2_get_file_names): Statement lists for type units with DWO files live in the DWO file. (create_debug_types_hash_table): New function. (create_all_type_units): Rewrite. (init_cu_die_reader): New arg dwo_file, all callers updated. (init_and_read_dies_worker): Get section from this_cu->info_or_types_section. Set sig_type->type_offset_in_section. Watch for DW_AT_GNU_dwo_name and if present lookup the file and continue reading the CU/TU from there. (init_cutu_and_read_dies_no_follow): New arg dwo_file, all callers updated. Get section from this_cu->info_or_types_section. (create_all_comp_units): Initialize this_cu->info_or_types_section. (skip_one_die): New cases DW_FORM_GNU_addr_index, DW_FORM_GNU_str_index. (hash_dwo_file, eq_dwo_file): New functions. (allocate_dwo_file_hash_table): New function. (hash_dwo_unit, eq_dwo_unit): New functions. (allocate_dwo_unit_table): New function. (dwarf2_locate_dwo_sections): New function. (struct create_dwo_info_table_data): New type. (create_debug_info_hash_table_reader): New function. (create_debug_info_hash_table): New function. (try_open_dwo_file, open_dwo_file, init_dwo_file): New function. (lookup_dwo_file): New function. (lookup_dwo_comp_unit, lookup_dwo_type_unit): New functions. (free_dwo_file, free_dwo_file_cleanup): New functions. (free_dwo_file_from_slot, free_dwo_files): New functions. (dwarf2_get_pc_bounds): Handle DW_FORM_GNU_addr_index. (dwarf2_record_block_ranges): Ditto. (read_partial_die): Ditto. (process_enumeration_scope): Update to use type_offset_in_section. (read_full_die_1): New function. (read_full_die): Rewrite. (read_attribute_value): New cases DW_FORM_GNU_addr_index, DW_FORM_GNU_str_index. (read_addr_index_1, read_addr_index): New functions. (read_addr_index_from_leb128): New function. (struct dwarf2_read_addr_index_data): New type. (dwarf2_read_addr_index_reader): New function. (dwarf2_read_addr_index): New function. (read_str_index): New function. (leb128_size): New function. (dwarf_decode_line_header): Delete arg abfd, all callers updated. If processing a type unit from a DWO file, get the line section from the DWO file. (var_decode_location): Watch for DW_OP_GNU_addr_index. (dwarf2_const_value_attr): New cases DW_FORM_GNU_addr_index, DW_FORM_GNU_str_index. (lookup_die_type): Check whether section offset of type's die is known before looking it up. Remove assert. Condition can legimately happen for inter-cu type references. (dwarf_attr_name): Handle Fission attributes. (dwarf_form_name): Handle Fission forms. (dump_die_shallow): New cases DW_FORM_GNU_addr_index, DW_FORM_GNU_str_index. (follow_die_sig): Update to use type_offset_in_section. (decode_locdesc): New case DW_OP_GNU_addr_index. (skip_form_bytes): New cases DW_FORM_GNU_addr_index, DW_FORM_GNU_str_index. (cu_debug_loc_section): New function. (fill_in_loclist_baton, dwarf2_symbol_mark_computed): Call it. (dwarf2_per_objfile_free): Unmap .debug_addr section. Free DWO files if present. * xcoffread.c (dwarf2_xcoff_names): Add .debug_addr. testsuite/ * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from .Ltype_int_in_cu2. Use name "int2" instead of "int". All uses updated. * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of "ptype func_cu1" to expand cu2 before cu1. commit de45b914ae4aa76fd7cb82ab4935ffd06fd9fc43 Author: Doug Evans Date: Sat Apr 28 22:46:16 2012 +0000 Refactor DIE reading. * dwarf2read.c (dwarf2_per_objfile): Replace members debug_info_type_hash and debug_types_type_hash with die_type_hash. (die_reader_specs): New member "die_section". Temporarily make member "buffer" non-const, pending constifying all info_ptr uses. (die_reader_func_ftype): New typedef. (dw2_get_file_names_reader): New function. (dw2_get_file_names): Rewrite. (read_and_check_type_unit_head): Rename arg type_offset to type_offset_in_tu. (create_all_type_units): Improve debugging message. Improve dummy type unit check. (init_cu_die_reader): New arg "section". All callers updated. (init_and_read_dies_worker): New function. (init_cu_and_read_dies, init_tu_and_read_dies): New functions. (init_cutu_and_read_dies_no_follow): New function. (init_cutu_and_read_dies_simple): New function. (process_psymtab_comp_unit_reader): New function. (process_psymtab_comp_unit): Delete args section, is_debug_types_section. Rewrite. All callers updated. (process_psymtab_type_unit): Renamed from process_type_comp_unit. All callers updated. Rewrite. (load_partial_comp_unit_reader): New function. (load_partial_comp_unit): Rewrite. (skip_children): New arg reader. Delete args buffer, cu. All callers updated. (skip_one_die): New arg reader. Delete args buffer, cu. All callers updated. (locate_pdi_sibling): New arg reader. Delete args buffer, abfd, cu. All callers updated. (load_full_comp_unit_reader): New function. (load_full_comp_unit): Rewrite. (read_comp_unit): Delete. (read_die_and_children_1): Delete, contents moved ... (read_die_and_children): ... here. (dwarf2_read_abbrevs): New arg abbrev_section. All callers updated. (load_partial_dies): New arg reader. Delete args abfd, buffer, cu. All callers updated. (read_partial_die): New arg reader. Delete args abfd, buffer, cu. All callers updated. (find_partial_die): Rewrite load_all_dies support. (read_attribute_value): New arg reader. Delete args abfd, cu. All callers updated. (read_attribute): New arg reader. Delete args abfd, cu. All callers updated. (load_full_type_unit): Add assert. (read_signatured_type_reader): New function. (read_signatured_type): Rewrite. (free_stack_comp_unit): Remove call to age_cached_comp_units. (free_one_cached_comp_unit): Change target_cu arg to target_per_cu. All callers updated. Set per_cu->cu = NULL after freeing it. (dwarf2_per_cu_offset_and_type): Renamed from dwarf2_offset_and_type. (per_cu_offset_and_type_hash): Renamed from offset_and_type_hash. (per_cu_offset_and_type_eq): Renamed from offset_and_type_eq. (set_die_type): Update. (get_die_type_at_offset): Update. (read_file_scope): Call prepare_one_comp_unit. (read_type_unit_scope): Ditto. (prepare_one_comp_unit): Set producer if present. commit f00fcaa9861ff36a500efb3f26b9822b93ff836d Author: Doug Evans Date: Sat Apr 28 21:41:06 2012 +0000 * dwarf2.def (DW_OP): Add DW_OP_GNU_addr_index. commit 6612c340b6a3cf0c9251e6cba29b654e7c4de224 Author: sergiodj Date: Sat Apr 28 04:52:26 2012 +0000 2012-04-28 Sergio Durigan Junior * probe.c (compile_rx_or_error): Silence ARI warning about missing gettext function on `error'. commit 8aa3a52adea0f4eaa5328428c7a4c261e1672a95 Author: Doug Evans Date: Sat Apr 28 04:38:03 2012 +0000 * dwarf2read.c (dwarf2_read_index): Don't use index if symbol table is empty. commit af6d45f30f2a443282569de9386750411e849c56 Author: Alan Modra Date: Sat Apr 28 00:00:05 2012 +0000 daily update commit 6b52b4b4281d733f44eca13094fc3320d20c5004 Author: gdbadmin Date: Sat Apr 28 00:00:03 2012 +0000 *** empty log message *** commit 21accbac0e0adbc652afbc23a08b4342adc5b97e Author: sergiodj Date: Fri Apr 27 20:52:03 2012 +0000 gdb/doc/ChangeLog: 2012-04-27 Sergio Durigan Junior Tom Tromey * gdb.texinfo (Static Probe Points): New entry, explaining SystemTap and generic static probe support on GDB. gdb/testsuite/ChangeLog: 2012-04-27 Sergio Durigan Junior Tom Tromey * gdb.base/default.exp: Add `$_probe_arg*' convenience variables. * gdb.base/stap-probe.c: New file. * gdb.base/stap-probe.exp: New file. * gdb.trace/stap-trace.c: New file. * gdb.trace/stap-trace.exp: New file. * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in libgcc's unwinder. commit 014135139c612fe1fbe6f11d2350f72325a66f7c Author: sergiodj Date: Fri Apr 27 20:48:52 2012 +0000 2012-04-27 Sergio Durigan Junior Tom Tromey * breakpoint.c (struct breakpoint_objfile_data) ,,, : New fields. (free_breakpoint_probes): New function. (create_longjmp_master_breakpoint): Prefer SystemTap probe over `_Unwind_DebugHook'. (create_exception_master_breakpoint): Likewise. (_initialize_breakpoint): Registering cleanup for SystemTap probes. * infrun.c: Including necessary header files for handling SystemTap probes. (handle_inferior_event): Handling longjmp breakpoint and exceptions via SystemTap probes. (check_exception_resume): Remove `func' argument. Handle exception unwinding breakpoint set via a SystemTap probe. (insert_exception_resume_from_probe): New function. commit 5b44dfe11eec41925b48c244ee32f363886bd84c Author: sergiodj Date: Fri Apr 27 20:47:48 2012 +0000 2012-04-27 Sergio Durigan Junior Tom Tromey Jan Kratochvil * Makefile.in (SFILES): Add `probe' and `stap-probe'. (COMMON_OBS): Likewise. (HFILES_NO_SRCDIR): Add `probe'. * NEWS: Mention support for static and SystemTap probes. * amd64-tdep.c (amd64_init_abi): Initializing proper fields used by SystemTap probes' arguments parser. * arm-linux-tdep.c: Including headers needed to perform the parsing of SystemTap probes' arguments. (arm_stap_is_single_operand): New function. (arm_stap_parse_special_token): Likewise. (arm_linux_init_abi): Initializing proper fields used by SystemTap probes' arguments parser. * ax-gdb.c (require_rvalue): Removing static declaration. (gen_expr): Likewise. * ax-gdb.h (gen_expr): Declaring function. (require_rvalue): Likewise. * breakpoint.c: Include `gdb_regex.h' and `probe.h'. (bkpt_probe_breakpoint_ops): New variable. (momentary_breakpoint_from_master): Set the `probe' value. (add_location_to_breakpoint): Likewise. (break_command_1): Using proper breakpoint_ops according to the argument passed by the user in the command line. (bkpt_probe_insert_location): New function. (bkpt_probe_remove_location): Likewise. (bkpt_probe_create_sals_from_address): Likewise. (bkpt_probe_decode_linespec): Likewise. (tracepoint_probe_create_sals_from_address): Likewise. (tracepoint_probe_decode_linespec): Likewise. (tracepoint_probe_breakpoint_ops): New variable. (trace_command): Using proper breakpoint_ops according to the argument passed by the user in the command line. (initialize_breakpoint_ops): Initializing breakpoint_ops for static probes on breakpoints and tracepoints. * breakpoint.h (struct bp_location) : New field. * cli-utils.c (skip_spaces_const): New function. (extract_arg): Likewise. * cli-utils.h (skip_spaces_const): Likewise. (extract_arg): Likewise. * coffread.c (coff_sym_fns): Add `sym_probe_fns' value. * configure.ac: Append `stap-probe.o' to be generated when ELF support is present. * configure: Regenerate. * dbxread.c (aout_sym_fns): Add `sym_probe_fns' value. * elfread.c: Include `probe.h' and `arch-utils.h'. (probe_key): New variable. (elf_get_probes): New function. (elf_get_probe_argument_count): Likewise. (elf_evaluate_probe_argument): Likewise. (elf_compile_to_ax): Likewise. (elf_symfile_relocate_probe): Likewise. (stap_probe_key_free): Likewise. (elf_probe_fns): New variable. (elf_sym_fns): Add `sym_probe_fns' value. (elf_sym_fns_lazy_psyms): Likewise. (elf_sym_fns_gdb_index): Likewise. (_initialize_elfread): Initialize objfile cache for static probes. * gdb_vecs.h (struct probe): New forward declaration. (probe_p): New VEC declaration. * gdbarch.c: Regenerate. * gdbarch.h: Regenerate. * gdbarch.sh (stap_integer_prefix): New variable. (stap_integer_suffix): Likewise. (stap_register_prefix): Likewise. (stap_register_suffix): Likewise. (stap_register_indirection_prefix): Likewise. (stap_register_indirection_suffix): Likewise. (stap_gdb_register_prefix): Likewise. (stap_gdb_register_suffix): Likewise. (stap_is_single_operand): New function. (stap_parse_special_token): Likewise. (struct stap_parse_info): Forward declaration. * i386-tdep.c: Including headers needed to perform the parsing of SystemTap probes' arguments. (i386_stap_is_single_operand): New function. (i386_stap_parse_special_token): Likewise. (i386_elf_init_abi): Initializing proper fields used by SystemTap probes' arguments parser. * i386-tdep.h (i386_stap_is_single_operand): New function. (i386_stap_parse_special_token): Likewise. * machoread.c (macho_sym_fns): Add `sym_probe_fns' value. * mipsread.c (ecoff_sym_fns): Likewise. * objfiles.c (objfile_relocate1): Support relocation for static probes. * parse.c (prefixify_expression): Remove static declaration. (initialize_expout): Likewise. (reallocate_expout): Likewise. * parser-defs.h (initialize_expout): Declare function. (reallocate_expout): Likewise. (prefixify_expression): Likewise. * ppc-linux-tdep.c: Including headers needed to perform the parsing of SystemTap probes' arguments. (ppc_stap_is_single_operand): New function. (ppc_stap_parse_special_token): Likewise. (ppc_linux_init_abi): Initializing proper fields used by SystemTap probes' arguments parser. * probe.c: New file, for generic statically defined probe support. * probe.h: Likewise. * s390-tdep.c: Including headers needed to perform the parsing of SystemTap probes' arguments. (s390_stap_is_single_operand): New function. (s390_gdbarch_init): Initializing proper fields used by SystemTap probes' arguments parser. * somread.c (som_sym_fns): Add `sym_probe_fns' value. * stap-probe.c: New file, for SystemTap probe support. * stap-probe.h: Likewise. * symfile.h: Include `gdb_vecs.h'. (struct sym_probe_fns): New struct. (struct sym_fns) : New field. * symtab.c (init_sal): Initialize `probe' field. * symtab.h (struct probe): Forward declaration. (struct symtab_and_line) : New field. * tracepoint.c (start_tracing): Adjust semaphore on breakpoints locations. (stop_tracing): Likewise. * xcoffread.c (xcoff_sym_fns): Add `sym_probe_fns' value. commit a446a01b22076bf815e641b258dd2aeed4fd1a5b Author: David S. Miller Date: Fri Apr 27 20:43:33 2012 +0000 Add support for sparc %cfr ASR register. opcodes/ * sparc-dis.c (v9a_asr_reg_names): Add 'cfr'. * sparc-opc.c (sparc_opcodes): Add rd/wr cases for %cfr. gas/ * config/tc-sparc.c (v9a_asr_table): Add 'cfr'. gas/testsuite/ * gas/sparc/sparc.exp: Run cfr test. * gas/sparc/cfr.s: New testcase. * gas/sparc/cfr.d: Likewise. commit f3a9452f6c0dab2c189a86c6daf57aabba0859f4 Author: sergiodj Date: Fri Apr 27 20:38:36 2012 +0000 2012-04-27 Sergio Durigan Junior Tom Tromey * ax-gdb.c (gen_expr): Clean up code to handle internal variables and to compile agent expressions. * infrun.c (siginfo_make_value): New argument `ignore'. (siginfo_funcs): New struct. (_initialize_infrun): New argument when calling `create_internalvar_type_lazy'. * thread.c (thread_id_make_value): New argument `ignore'. (thread_funcs): New struct. (_initialize_thread): New argument when calling `create_internalvar_type_lazy'. * tracepoint.c (sdata_make_value): New argument `ignore'. (sdata_funcs): New struct. (_initialize_tracepoint): New argument when calling `create_internalvar_type_lazy'. * value.c (make_value): New struct. (create_internalvar_type_lazy): New argument `data'. (compile_internalvar_to_ax): New function. (value_of_internalvar): Properly handling `make_value' case. (clear_internalvar): Likewise. (show_convenience): Adding `TRY_CATCH' block. * value.h (internalvar_make_value): Delete, replace by... (struct internalvar_funcs): ... this. (create_internalvar_type_lazy) : Delete argument. (create_internalvar_type_lazy) , : New arguments. (compile_internalvar_to_ax): New function. * windows-tdep.c (tlb_make_value): New argument `ignore'. (tlb_funcs): New struct. (_initialize_windows_tdep): New argument when calling `create_internalvar_type_lazy'. ----------------------------------------------------------------------- hooks/post-receive -- Repository for Project Archer.