+2014-12-13 Joel Brobecker <brobecker@adacore.com>
+
+ * acx_configure_dir.m4 (ACX_CONFIGURE_DIR): Add support for
+ new "EXTRA-ARGS" parameter.
+ * configure.ac: If large-file support is disabled in GDB,
+ pass --disable-largefile to ACX_CONFIGURE_DIR call for "gnulib".
+ * configure: Regenerate.
+
+2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ PR symtab/17642
+ * gdbtypes.c (resolve_dynamic_type_internal): Apply check_typedef to
+ TYPE if not TYPE_CODE_TYPEDEF.
+
+2014-12-12 Doug Evans <xdje42@gmail.com>
+
+ * valops.c (value_maybe_namespace_elt): Remove unnecessary test of
+ result != NULL.
+
+2014-12-12 Doug Evans <xdje42@gmail.com>
+
+ * cp-support.h (cp_is_in_anonymous): Renamed from cp_is_anonymous.
+ All callers updated. Rename arg "namespace" to "symbol_name".
+
+2014-12-12 Doug Evans <xdje42@gmail.com>
+
+ * psymtab.c (psym_map_symtabs_matching_filename): Renamed from
+ partial_map_symtabs_matching_filename. All uses updated.
+ (psym_find_pc_sect_compunit_symtab): Renamed from
+ find_pc_sect_compunit_symtab_from_partial. All uses updated.
+ Add function comment.
+ (psym_lookup_symbol): Renamed from lookup_symbol_aux_psymtabs.
+ All uses updated. Add function comment.
+ (psym_relocate): Renamed from relocate_psymtabs. All uses updated.
+ Add function comment.
+ (psym_find_last_source_symtab): Renamed from
+ find_last_source_symtab_from_partial. All uses updated.
+ Add function comment.
+ (psym_forget_cached_source_info): Renamed from
+ forget_cached_source_info_partial. All uses updated.
+ Add function comment.
+ (psym_print_stats): Renamed from print_psymtab_stats_for_objfile.
+ All uses updated. Add function comment.
+ (psym_dump): Renamed from dump_psymtabs_for_objfile. All uses
+ updated. Add function comment.
+ (psym_expand_symtabs_for_function): Renamed from
+ read_symtabs_for_function. All uses updated. Update function comment.
+ (psym_expand_all_symtabs): Renamed from expand_partial_symbol_tables.
+ All uses updated. Add function comment.
+ (psym_expand_symtabs_with_fullname): Renamed from
+ read_psymtabs_with_fullname. All uses updated. Add function comment.
+ (psym_map_symbol_filenames): Renamed from map_symbol_filenames_psymtab.
+ All uses updated. Add function comment.
+ (psym_map_matching_symbols): Renamed from map_matching_symbols_psymtab.
+ All uses updated.
+ (psym_expand_symtabs_matching): Renamed from
+ expand_symtabs_matching_via_partial. All uses updated.
+ Add function comment.
+ (psym_has_symbols): Renamed from objfile_has_psyms. All uses updated.
+ Add function comment.
+
+2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+ Tom Tromey <tromey@redhat.com>
+
+ * NEWS: Update.
+ * symtab.h (struct symbol_computed_ops) <generate_c_location>: New
+ field.
+ * p-lang.c (pascal_language_defn): Update.
+ * opencl-lang.c (opencl_language_defn): Update.
+ * objc-lang.c (objc_language_defn): Update.
+ * m2-lang.c (m2_language_defn): Update.
+ * language.h (struct language_defn) <la_get_compile_instance,
+ la_compute_program>: New fields.
+ * language.c (unknown_language_defn, auto_language_defn)
+ (local_language_defn): Update.
+ * jv-lang.c (java_language_defn): Update.
+ * go-lang.c (go_language_defn): Update.
+ * f-lang.c (f_language_defn): Update.
+ * dwarf2loc.h (dwarf2_compile_property_to_c): Declare.
+ * dwarf2loc.c (dwarf2_compile_property_to_c)
+ (locexpr_generate_c_location, loclist_generate_c_location): New
+ functions.
+ (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Update.
+ * defs.h (enum compile_i_scope_types): New.
+ (enum command_control_type) <compile_control>: New constant.
+ (struct command_line) <control_u>: New field.
+ * d-lang.c (d_language_defn): Update.
+ * compile/compile.c: New file.
+ * compile/compile-c-support.c: New file.
+ * compile/compile-c-symbols.c: New file.
+ * compile/compile-c-types.c: New file.
+ * compile/compile.h: New file.
+ * compile/compile-internal.h: New file.
+ * compile/compile-loc2c.c: New file.
+ * compile/compile-object-load.c: New file.
+ * compile/compile-object-load.h: New file.
+ * compile/compile-object-run.c: New file.
+ * compile/compile-object-run.h: New file.
+ * cli/cli-script.c (multi_line_command_p, print_command_lines)
+ (execute_control_command, process_next_line)
+ (recurse_read_control_structure): Handle compile_control.
+ * c-lang.h (c_get_compile_context, c_compute_program): Declare.
+ * c-lang.c (c_language_defn, cplus_language_defn)
+ (asm_language_defn, minimal_language_defn): Update.
+ * ada-lang.c (ada_language_defn): Update.
+ * Makefile.in (SUBDIR_GCC_COMPILE_OBS, SUBDIR_GCC_COMPILE_SRCS):
+ New variables.
+ (SFILES): Add SUBDIR_GCC_COMPILE_SRCS.
+ (HFILES_NO_SRCDIR): Add compile.h.
+ (COMMON_OBS): Add SUBDIR_GCC_COMPILE_OBS.
+ (INIT_FILES): Add SUBDIR_GCC_COMPILE_SRCS.
+ (compile.o, compile-c-types.o, compile-c-symbols.o)
+ (compile-object-load.o, compile-object-run.o, compile-loc2c.o)
+ (compile-c-support.o): New targets.
+
+2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * s390-linux-tdep.c (s390_gcc_target_options): New function.
+ (s390_gdbarch_init): Add it to gdbarch.
+
+2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * linux-tdep.c: Include objfiles.h and infcall.h.
+ (GDB_MMAP_MAP_PRIVATE, GDB_MMAP_MAP_ANONYMOUS, linux_infcall_mmap): New
+ function.
+ (linux_init_abi): Add linux_infcall_mmap to gdbarch.
+
+2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2loc.h (dwarf2_reg_to_regnum_or_error): Declare.
+ * dwarf2loc.c (dwarf2_reg_to_regnum_or_error): Rename from
+ translate_register. Now public.
+ (dwarf2_compile_expr_to_ax): Update.
+
+2014-12-12 Tom Tromey <tromey@redhat.com>
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2loc.c (dwarf_expr_frame_base_1): Remove declaration.
+ (dwarf_expr_frame_base): Update caller.
+ (dwarf_expr_frame_base_1): Rename to ...
+ (func_get_frame_base_dwarf_block): ... this and make it public.
+ (dwarf2_compile_expr_to_ax, locexpr_describe_location_piece): Update
+ callers.
+ * dwarf2loc.h (func_get_frame_base_dwarf_block): New declaration.
+
+2014-12-12 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_call_frame_cfa>:
+ Update.
+ * dwarf2-frame.c (dwarf2_fetch_cfa_info): New function, based on
+ dwarf2_compile_cfa_to_ax.
+ (dwarf2_compile_cfa_to_ax): Remove.
+ * dwarf2-frame.h (dwarf2_fetch_cfa_info): Declare.
+ (dwarf2_compile_cfa_to_ax): Remove.
+
+2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * infcall.h (call_function_by_hand_dummy): Declare.
+ * infcall.c (call_function_by_hand): Use
+ call_function_by_hand_dummy.
+ (call_function_by_hand_dummy): Rename from call_function_by_hand.
+ Add arguments. Register a destructor.
+
+2014-12-12 Tom Tromey <tromey@redhat.com>
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * osabi.h (osabi_triplet_regexp): Declare.
+ * osabi.c (struct osabi_names): New.
+ (gdb_osabi_names): Change type to struct osabi_names. Update
+ values.
+ (gdbarch_osabi_name): Update.
+ (osabi_triplet_regexp): New function.
+ (osabi_from_tdesc_string, _initialize_gdb_osabi): Update.
+ * i386-tdep.c (i386_gnu_triplet_regexp): New method.
+ (i386_elf_init_abi, i386_go32_init_abi, i386_gdbarch_init): Call
+ set_gdbarch_gnu_triplet_regexp.
+ * gdbarch.sh (gnu_triplet_regexp): New method.
+ * gdbarch.c, gdbarch.h: Rebuild.
+ * arch-utils.h (default_gnu_triplet_regexp): Declare.
+ * arch-utils.c (default_gnu_triplet_regexp): New function.
+
+2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * arch-utils.c (default_infcall_mmap)
+ (default_gcc_target_options): New functions.
+ * arch-utils.h (GDB_MMAP_PROT_READ, GDB_MMAP_PROT_WRITE)
+ (GDB_MMAP_PROT_EXEC): Define.
+ (default_infcall_mmap, default_gcc_target_options): Declare.
+ * gdbarch.h: Rebuild.
+ * gdbarch.c: Rebuild.
+ * gdbarch.sh (infcall_mmap, gcc_target_options): New methods.
+
+2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dummy-frame.c (struct dummy_frame) <dtor, dtor_data>: New
+ fields.
+ (pop_dummy_frame): Call the destructor if it exists.
+ (register_dummy_frame_dtor, find_dummy_frame_dtor): New
+ functions.
+ * dummy-frame.h (dummy_frame_dtor_ftype): New typedef.
+ (register_dummy_frame_dtor, find_dummy_frame_dtor): Declare.
+
+2014-12-12 Tom Tromey <tromey@redhat.com>
+
+ * gdbtypes.h (make_unqualified_type): Declare.
+ * gdbtypes.c (make_unqualified_type): New function.
+
+2014-12-12 Tom Tromey <tromey@redhat.com>
+
+ * ui-file.h (ui_file_write_for_put): Declare.
+ * ui-file.c (ui_file_write_for_put): New function.
+ * mi/mi-out.c (do_write): Remove.
+ (mi_out_put): Use ui_file_write_for_put.
+
+2014-12-12 Doug Evans <dje@google.com>
+
+ * NEWS: Mention gdb.lookup_objfile.
+ * python/python.c (GdbMethods): Add lookup_objfile.
+ * python/python-internal.h (gdbpy_lookup_objfile): Declare.
+ * python/py-objfile.c: #include "symtab.h".
+ (objfpy_build_id_ok, objfpy_build_id_matches): New functions.
+ (objfpy_lookup_objfile_by_name): New function.
+ (objfpy_lookup_objfile_by_build_id): New function.
+ (gdbpy_lookup_objfile): New function.
+
+2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * mips-tdep.h (MSYMBOL_TARGET_FLAG_MIPS16): New macro.
+ (MSYMBOL_TARGET_FLAG_MICROMIPS): Likewise.
+ * mips-tdep.c (mips_elf_make_msymbol_special): Use the new
+ macros.
+ (msymbol_is_mips, msymbol_is_mips16, msymbol_is_micromips):
+ Likewise.
+
+2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * completer.c: Include "target.h", "reggroups.h", and
+ "user-regs.h".
+ (reg_or_group_completer): New.
+ * completer.h (reg_or_group_completer): Declare.
+ * infcmd.c (_initialize_infcmd): Set reg_or_group_completer for
+ the "info registers" and "info all-registers" commands and the
+ dbx-mode "lr" command.
+
+2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * user-regs.c: Include "arch-utils.h", "command.h", and
+ "cli/cli-cmds.h".
+ (maintenance_print_user_registers): New.
+ (_initialize_user_regs): Register new "maint print user-registers"
+ subcommand.
+ * NEWS: Mention new GDB command "maint print user-registers".
+
+2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
+ Maciej W. Rozycki <macro@mips.com>
+ Pedro Alves <pedro@codesourcery.com>
+
+ * gdbarch.sh (elf_make_msymbol_special): Change type to `F',
+ remove `predefault' and `invalid_p' initializers.
+ (make_symbol_special): New architecture method.
+ (adjust_dwarf2_addr, adjust_dwarf2_line): Likewise.
+ (objfile, symbol): New declarations.
+ * arch-utils.h (default_elf_make_msymbol_special): Remove
+ prototype.
+ (default_make_symbol_special): New prototype.
+ (default_adjust_dwarf2_addr): Likewise.
+ (default_adjust_dwarf2_line): Likewise.
+ * mips-tdep.h (mips_unmake_compact_addr): New prototype.
+ * arch-utils.c (default_elf_make_msymbol_special): Remove
+ function.
+ (default_make_symbol_special): New function.
+ (default_adjust_dwarf2_addr): Likewise.
+ (default_adjust_dwarf2_line): Likewise.
+ * dwarf2-frame.c (decode_frame_entry_1): Call
+ `gdbarch_adjust_dwarf2_addr'.
+ * dwarf2loc.c (dwarf2_find_location_expression): Likewise.
+ * dwarf2read.c (create_addrmap_from_index): Likewise.
+ (process_psymtab_comp_unit_reader): Likewise.
+ (add_partial_symbol): Likewise.
+ (add_partial_subprogram): Likewise.
+ (process_full_comp_unit): Likewise.
+ (read_file_scope): Likewise.
+ (read_func_scope): Likewise. Call `gdbarch_make_symbol_special'.
+ (read_lexical_block_scope): Call `gdbarch_adjust_dwarf2_addr'.
+ (read_call_site_scope): Likewise.
+ (dwarf2_ranges_read): Likewise.
+ (dwarf2_record_block_ranges): Likewise.
+ (read_attribute_value): Likewise.
+ (dwarf_decode_lines_1): Call `gdbarch_adjust_dwarf2_line'.
+ (new_symbol_full): Call `gdbarch_adjust_dwarf2_addr'.
+ * elfread.c (elf_symtab_read): Don't call
+ `gdbarch_elf_make_msymbol_special' if unset.
+ * mips-linux-tdep.c (micromips_linux_sigframe_validate): Strip
+ the ISA bit from the PC.
+ * mips-tdep.c (mips_unmake_compact_addr): New function.
+ (mips_elf_make_msymbol_special): Set the ISA bit in the symbol's
+ address appropriately.
+ (mips_make_symbol_special): New function.
+ (mips_pc_is_mips): Set the ISA bit before symbol lookup.
+ (mips_pc_is_mips16): Likewise.
+ (mips_pc_is_micromips): Likewise.
+ (mips_pc_isa): Likewise.
+ (mips_adjust_dwarf2_addr): New function.
+ (mips_adjust_dwarf2_line): Likewise.
+ (mips_read_pc, mips_unwind_pc): Keep the ISA bit.
+ (mips_addr_bits_remove): Likewise.
+ (mips_skip_trampoline_code): Likewise.
+ (mips_write_pc): Don't set the ISA bit.
+ (mips_eabi_push_dummy_call): Likewise.
+ (mips_o64_push_dummy_call): Likewise.
+ (mips_gdbarch_init): Install `mips_make_symbol_special',
+ `mips_adjust_dwarf2_addr' and `mips_adjust_dwarf2_line' gdbarch
+ handlers.
+ * solib.c (gdb_bfd_lookup_symbol_from_symtab): Get
+ target-specific symbol address adjustments.
+ * gdbarch.h: Regenerate.
+ * gdbarch.c: Regenerate.
+
+2014-12-12 Yao Qi <yao@codesourcery.com>
+
+ PR tdep/14261
+ * arm-tdep.c (arm_skip_prologue): Remove unused local variable
+ 'skip_pc'. Remove code skipping prologue instructions, use
+ arm_analyze_prologue instead.
+ (arm_analyze_prologue): Stop the scanning for unrecognized
+ instruction when skipping prologue.
+
+2014-12-12 Yao Qi <yao@codesourcery.com>
+
+ * arm-tdep.c (arm_instruction_restores_sp): New function.
+ (arm_analyze_prologue): Call arm_instruction_restores_sp.
+ (arm_in_function_epilogue_p): Move code to
+ arm_instruction_restores_sp.
+
+2014-12-11 Doug Evans <xdje42@gmail.com>
+
+ * cp-namespace.c (cp_lookup_nested_symbol): Fix comments.
+
+2014-12-11 Doug Evans <xdje42@gmail.com>
+
+ * symtab.c (lookup_symbol_in_objfile_symtabs): Delete forward decl.
+ (symbol *lookup_symbol_via_quick_fns): Ditto.
+ (lookup_symbol_in_objfile): Add forward decl.
+ (lookup_global_symbol_from_objfile): Simplify, call
+ lookup_symbol_in_objfile.
+
+2014-12-11 Doug Evans <xdje42@gmail.com>
+
+ * symtab.c (domain_name) <MODULE_DOMAIN>: Add missing case.
+
+2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
+
+ PR breakpoints/17012
+ * breakpoint.c (remove_breakpoints_pid): Skip removing breakpoint if
+ it is marked as persistent.
+
+2014-12-10 Doug Evans <xdje42@gmail.com>
+
+ * cp-namespace.c (cp_lookup_symbol_nonlocal): Move definition,
+ closer to its subroutines.
+
+2014-12-10 Doug Evans <xdje42@gmail.com>
+
+ * cp-namespace.c (lookup_symbol_file): Move next to only caller.
+
+2014-12-10 Doug Evans <xdje42@gmail.com>
+
+ * cp-namespace.c (cp_lookup_symbol_imports): Make static.
+ * cp-support.c (cp_lookup_symbol_imports): Delete.
+
+2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
+
+ PR gdb/17627
+ * target.c (cleanup_restore_target_terminal): New function.
+ (make_cleanup_restore_target_terminal): New function.
+ * target.h (make_cleanup_restore_target_terminal): New declaration.
+ * mi/mi-interp.c (mi_thread_exit): Use the new cleanup.
+
+2014-12-08 Doug Evans <dje@google.com>
+
+ * python/py-objfile.c (objfpy_get_owner): Increment refcount of result.
+
+2014-12-08 Doug Evans <dje@google.com>
+
+ * NEWS: Mention gdb.Objfile.owner.
+ * python/py-objfile.c (objfpy_get_owner): New function.
+ (objfile_getset): Add "owner".
+
+2014-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * symtab.c (lookup_symbol_in_objfile_symtabs): New declaration.
+ (lookup_global_symbol_from_objfile): Call it.
+
+2014-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Remove const from struct objfile *.
+ * solib-darwin.c, solib-spu.c, solib-svr4.c, solib.c, solist.h,
+ symtab.c, symtab.h: In these files.
+
+2014-12-05 Andreas From <andreas.from@ericsson.com>
+
+ * MAINTAINERS (Write After Approval): Add "Andreas From"
+
+2014-12-05 Doug Evans <xdje42@gmail.com>
+
+ Revert:
+ PR symtab/17602
+ * linespec.c (iterate_name_matcher): Fix arguments to symbol_name_cmp.
+
+2014-12-04 Doug Evans <dje@google.com>
+
+ * NEWS: Mention gdb.Objfile.add_separate_debug_file.
+ * python/py-objfile.c (objfpy_add_separate_debug_file): New function.
+ (objfile_getset): Add "add_separate_debug_file".
+
+2014-12-04 Doug Evans <dje@google.com>
+
+ * NEWS: Mention gdb.Objfile.build_id.
+ * build-id.c (build_id_bfd_get): Make non-static.
+ * build-id.h (build_id_bfd_get): Add declaration.
+ * python/py-objfile.c: #include "build-id.h", "elf-bfd.h".
+ (OBJFPY_REQUIRE_VALID): New macro.
+ (objfpy_get_build_id): New function.
+ (objfile_getset): Add "build_id".
+ * utils.c (make_hex_string): New function.
+ * utils.h (make_hex_string): Add declaration.
+
+2014-12-04 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * block.c (block_lookup_symbol_primary): New function.
+ * block.h (block_lookup_symbol_primary): New declaration.
+ * symtab.c (lookup_symbol_in_objfile_symtabs): Assert BLOCK_INDEX.
+ Call block_lookup_symbol_primary.
+
+2014-12-03 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * tramp-frame.h (tramp_frame): Add `validate' member.
+ * tramp-frame.c (tramp_frame_start): Validate trampoline before
+ scanning.
+ * mips-linux-tdep.c (MICROMIPS_INST_LI_V0): New macro.
+ (MICROMIPS_INST_POOL32A, MICROMIPS_INST_SYSCALL): Likewise.
+ (mips_linux_o32_sigframe): Initialize `validate' member.
+ (mips_linux_o32_rt_sigframe): Likewise.
+ (mips_linux_n32_rt_sigframe): Likewise.
+ (mips_linux_n64_rt_sigframe): Likewise.
+ (micromips_linux_o32_sigframe): New variable.
+ (micromips_linux_o32_rt_sigframe): Likewise.
+ (micromips_linux_n32_rt_sigframe): Likewise.
+ (micromips_linux_n64_rt_sigframe): Likewise.
+ (mips_linux_o32_sigframe_init): Handle microMIPS trampolines.
+ (mips_linux_n32n64_sigframe_init): Likewise.
+ (mips_linux_sigframe_validate): New function.
+ (micromips_linux_sigframe_validate): Likewise.
+ (mips_linux_init_abi): Install microMIPS trampoline unwinders.
+
+2014-12-03 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * config/sparc/sol2.mh (NATDEPFILES): Remove core-regset.o.
+ * sparc-sol2-tdep.c: Include "regset.h".
+ (sparc32_sol2_supply_core_gregset): New function.
+ (sparc32_sol2_collect_core_gregset): Likewise.
+ (sparc32_sol2_supply_core_fpregset): Likewise.
+ (sparc32_sol2_collect_core_fpregset): Likewise.
+ (sparc32_sol2_gregset, sparc32_sol2_fpregset): New variables.
+ (sparc32_sol2_init_abi): Set tdep->gregset/sizeof_gregset and
+ tdep->fpregset/sizeof_fpregset.
+ * sparc64-sol2-tdep.c: Include "regset.h".
+ (sparc64_sol2_supply_core_gregset): New function.
+ (sparc64_sol2_collect_core_gregset): Likewise.
+ (sparc64_sol2_supply_core_fpregset): Likewise.
+ (sparc64_sol2_collect_core_fpregset): Likewise.
+ (sparc64_sol2_gregset, sparc64_sol2_fpregset): New variables.
+ (sparc64_sol2_init_abi): Set tdep->gregset/sizeof_gregset and
+ tdep->fpregset/sizeof_fpregset.
+
+2014-12-03 Simon Marchi <simon.marchi@ericsson.com>
+
+ * common/cleanups.c (make_cleanup_dtor): Use typedef for dtor
+ type.
+
+2014-12-02 Doug Evans <dje@google.com>
+
+ * symtab.c (symbol_init_cplus_specific): Delete.
+ (symbol_set_demangled_name): Remove special c++ support.
+ (symbol_get_demangled_name, symbol_set_language): Ditto.
+ * symtab.h (struct cplus_specific): Delete.
+ (struct general_symbol_info) <language_specific>: Remove
+ cplus_specific.
+
+2014-12-02 Doug Evans <dje@google.com>
+
+ PR symtab/17602
+ * linespec.c (iterate_name_matcher): Fix arguments to symbol_name_cmp.
+
+2014-12-02 Doug Evans <dje@google.com>
+
+ PR symtab/17591
+ * dwarf2read.c (find_slot_in_mapped_hash): Use cp_remove_params
+ to strip parameters.
+
+2014-12-02 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (peek_die_abbrev): Improve error message text.
+
+2014-12-02 Doug Evans <dje@google.com>
+
+ * valops.c (do_search_struct_field): Remove remnant of Chill support.
+ Ref: commit 4c2260aa5c261f7bfb26dcf3aa7c67876720b17e
+
+2014-12-02 Simon Marchi <simon.marchi@ericsson.com>
+
+ * common/cleanups.c (make_cleanup_dtor): Fix comment typo.
+
+2014-12-02 Nick Bull <nicholaspbull@gmail.com>
+
+ * NEWS: Mention new Python events.
+ * Makefile.in (SUBDIR_PYTHON_OBS): Add py-infevents.o.
+ (SUBDIR_PYTHON_SRCS): Add py-infevents.c.
+ (py-infevents.o): New rule.
+ * doc/observer.texi (inferior_call_pre, inferior_call_post)
+ (memory_changed, register_changed): New observers.
+ * infcall.c (call_function_by_hand): Notify observer before and
+ after inferior call.
+ * python/py-event.h (inferior_call_kind): New enum.
+ (emit_inferior_call_event): New prototype.
+ (emit_register_changed_event): New prototype.
+ (emit_memory_changed_event): New prototype.
+ * python/py-events.h (events_object): New registries
+ inferior_call, memory_changed and register_changed.
+ * python/py-evts.c (gdbpy_initialize_py_events): Add the
+ inferior_call, memory_changed and register_changed registries.
+ * python/py-infevents.c: New.
+ * python/py-inferior.c (python_on_inferior_call_pre)
+ (python_on_inferior_call_post, python_on_register_change)
+ (python_on_memory_change): New functions.
+ (gdbpy_initialize_inferior): Attach python handler to new
+ observers.
+ * python/py-infthread.c(gdbpy_create_ptid_object): New.
+ (thpy_get_ptid) Use gdbpy_create_ptid_object.
+ * python/python-internal.h:
+ (gdbpy_create_ptid_object)
+ (gdbpy_initialize_inferior_call_pre_event)
+ (gdbpy_initialize_inferior_call_post_event)
+ (gdbpy_initialize_register_changed_event)
+ (gdbpy_initialize_memory_changed_event): New prototypes.
+ * python/python.c (_initialize_python): Initialize new events.
+ * valops.c (value_assign): Notify register_changed observer.
+
+2014-12-02 Doug Evans <dje@google.com>
+
+ * python/py-infthread.c: Whitespace fixes.
+
+2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * features/Makefile (s390-te-linux64-expedite): Replace
+ non-existant r14 and r15 by r14l and r15l, respectively.
+ * regformats/s390-te-linux64.dat: Regenerate.
+
+2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
+
+ * objfiles.c (allocate_objfile): Remove duplicate comment.
+
+2014-12-01 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * config/i386/i386gnu.mh (NATDEPFILES): Remove core-regset.o.
+ * i386gnu-nat.c: Do not include <sys/procfs.h> or "gregset.h".
+ (CREG_OFFSET, creg_offset, CREG_ADDR): Remove.
+ (supply_gregset, supply_fpregset): Remove.
+ * i386gnu-tdep.c (i386gnu_gregset_reg_offset): New variable.
+ (i386gnu_init_abi): Set tdep->gregset_reg_offset, gregset_num_regs,
+ and sizeof_gregset.
+
+2014-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Add add-auto-load-scripts-directory.
+ * NEWS (Changes since GDB 7.8): Add add-auto-load-scripts-directory.
+ * auto-load.c (add_auto_load_dir): New function.
+ (_initialize_auto_load): Install it.
+
+2014-11-30 Martin Galvan <martin.galvan@tallertechnologies.com> (tiny patch, obvious)
+
+ Pushed by Joel Brobecker <brobecker@adacore.com>.
+ * frame.c (frame_id_eq): Fix the check for FID_STACK_INVALID.
+
+2014-11-29 Siva Chandra Reddy <sivachandra@google.com>
+
+ * eval.c (evaluate_subexp): Check that the thread stack temporaries
+ are not already enabled before enabling them.
+
+2014-11-29 Yao Qi <yao@codesourcery.com>
+
+ * arm-tdep.c (arm_analyze_prologue): Move local variables
+ 'framereg' and 'framesize' to inner block. Move code to
+ inner block too.
+
+2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
+
+ * eval.c: Include gdbthread.h.
+ (evaluate_subexp): Enable thread stack temporaries before
+ evaluating a complete expression and clean them up after the
+ evaluation is complete.
+ * gdbthread.h: Include common/vec.h.
+ (value_ptr): New typedef.
+ (VEC (value_ptr)): New vector type.
+ (value_vec): New typedef.
+ (struct thread_info): Add new fields stack_temporaries_enabled
+ and stack_temporaries.
+ (enable_thread_stack_temporaries)
+ (thread_stack_temporaries_enabled_p, push_thread_stack_temporary)
+ (get_last_thread_stack_temporary)
+ (value_in_thread_stack_temporaries): Declare.
+ * gdbtypes.c (class_or_union_p): New function.
+ * gdbtypes.h (class_or_union_p): Declare.
+ * infcall.c (call_function_by_hand): Store return values of class
+ type as temporaries on stack.
+ * thread.c (enable_thread_stack_temporaries): New function.
+ (thread_stack_temporaries_enabled_p, push_thread_stack_temporary)
+ (get_last_thread_stack_temporary): Likewise.
+ (value_in_thread_stack_temporaries): Likewise.
+ * value.c (value_force_lval): New function.
+ * value.h (value_force_lval): Declare.
+
+2014-11-28 Pierre Muller <muller@sourceware.org>
+
+ Pushed by Joel Brobecker <brobecker@adacore.com>.
+ * amd64-tdep.c (amd64_dwarf_regmap array): Add missing MMX
+ registers.
+
+2014-11-28 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * config/ia64/linux.mh (NATDEPFILES): Remove core-regset.o.
+ * config/sparc/linux.mh (NATDEPFILES): Likewise.
+ * config/sparc/linux64.mh (NATDEPFILES): Likewise.
+ * m68klinux-nat.c (fetch_core_registers): Remove.
+ (linux_elf_core_fns): Remove.
+ (_initialize_m68k_linux_nat): Do not call deprecated_add_core_fns.
+
+2014-11-28 Joel Brobecker <brobecker@adacore.com>
+
+ * utils.c (gdb_realpath): Rework comment about handling on
+ Windows.
+
+2014-11-28 Yao Qi <yao@codesourcery.com>
+
+ * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
+ rename.
+ * gnulib/aclocal.m4: Re-generated.
+ * gnulib/config.in: Re-generated.
+ * gnulib/configure: Re-generated.
+ * gnulib/import/Makefile.am: Re-generated.
+ * gnulib/import/Makefile.in: Re-generated.
+ * gnulib/import/m4/gnulib-cache.m4: Re-generated.
+ * gnulib/import/m4/gnulib-comp.m4: Re-generated.
+ * import/basename-lgpl.c: New file.
+ * import/dirname-lgpl.c: New file.
+ * import/dirname.h: New file.
+ * import/m4/dirname.m4: New file.
+ * import/m4/malloc.m4: New file.
+ * import/m4/rename.m4: New file.
+ * import/m4/rmdir.m4: New file.
+ * import/m4/stdio_h.m4: New file.
+ * import/malloc.c: New file.
+ * import/rename.c: New file.
+ * import/rmdir.c: New file.
+ * import/same-inode.h: New file.
+ * import/stdio.c: New file.
+ * import/stdio.in.h: New file.
+ * import/stripslash.c: New file.
+
+2014-11-28 Yao Qi <yao@codesourcery.com>
+
+ * configure.ac (AC_CHECK_FUNCS): Remove canonicalize_file_name
+ and realpath.
+ * config.in: Re-generated.
+ * configure: Re-generated.
+ * utils.c (gdb_realpath): Remove code calling realpath,
+ canonicalize_file_name and pathconf.
+ [!_WIN32]: Call canonicalize_file_name.
+
+2014-11-28 Yao Qi <yao@codesourcery.com>
+
+ * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
+ canonicalize-lgpl.
+ * aclocal.m4: Re-generated.
+ * config.in: Re-generated.
+ * configure: Re-generated.
+ * import/Makefile.am: Re-generated.
+ * import/Makefile.in: Re-generated.
+ * import/m4/gnulib-cache.m4: Re-generated.
+ * import/m4/gnulib-comp.m4: Re-generated.
+ * import/canonicalize-lgpl.c: New file.
+ * import/extra/snippet/_Noreturn.h: New file.
+ * import/m4/canonicalize.m4: New file.
+ * import/m4/double-slash-root.m4: New file.
+ * import/m4/eealloc.m4: New file.
+ * import/m4/malloca.m4: New file.
+ * import/m4/nocrash.m4: New file.
+ * import/m4/stdlib_h.m4: New file.
+ * import/malloca.c: New file.
+ * import/malloca.h: New file.
+ * import/malloca.valgrind: New file.
+
+2014-11-28 Yao Qi <yao@codesourcery.com>
+
+ * configure.ac (AC_CHECK_FUNCS): Remove lstat.
+ * config.in, configure: Regenerate.
+ * symfile.c (find_separate_debug_file_by_debuglink): Remove
+ code checking HAVE_LSTAT is defined.
+
+2014-11-28 Yao Qi <yao@codesourcery.com>
+
+ * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
+ lstat.
+ * gnulib/aclocal.m4: Re-generated.
+ * gnulib/config.in: Re-generated.
+ * gnulib/configure: Re-generated.
+ * gnulib/import/Makefile.am: Re-generated.
+ * gnulib/import/Makefile.in: Re-generated.
+ * gnulib/import/m4/gnulib-cache.m4: Re-generated.
+ * gnulib/import/m4/gnulib-comp.m4: Re-generated.
+ * gnulib/import/lstat.c: New file.
+ * gnulib/import/m4/lstat.m4: New file.
+
+2014-11-28 Yao Qi <yao@codesourcery.com>
+
+ * configure.ac (AC_CHECK_FUNCS): Remove readlink.
+ * config.in, configure: Re-generate.
+ * inf-child.c (inf_child_fileio_readlink): Don't check
+ HAVE_READLINK is defined.
+
+2014-11-28 Yao Qi <yao@codesourcery.com>
+
+ * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add readlink.
+ * gnulib/aclocal.m4: Re-generated.
+ * gnulib/config.in: Likewise.
+ * gnulib/configure: Likewise.
+ * gnulib/import/Makefile.am: Likewise.
+ * gnulib/import/Makefile.in: Likewise.
+ * gnulib/import/m4/gnulib-cache.m4: Likewise.
+ * gnulib/import/m4/gnulib-comp.m4: Likewise.
+ * gnulib/import/dosname.h: New file
+ * gnulib/import/m4/largefile.m4: New file.
+ * gnulib/import/m4/readlink.m4: New file.
+ * gnulib/import/m4/stat.m4: New file.
+ * gnulib/import/readlink.c: New file.
+ * gnulib/import/stat.c: New file.
+
+2014-11-26 Mark Wielaard <mjw@redhat.com>
+
+ * dwarf2read.c (set_cu_language): Recognize DW_LANG_C11,
+ DW_LANG_C_plus_plus_11, DW_LANG_C_plus_plus_14.
+
+2014-11-25 Sandra Loosemore <sandra@codesourcery.com>
+
+ * nios2-tdep.c (nios2_analyze_prologue): Replace restriction
+ that there can be only one stack adjustment in the prologue
+ with tests to detect specific disallowed stack adjustments.
+
+2014-11-25 Sandra Loosemore <sandra@codesourcery.com>
+
+ * nios2-tdep.c (nios2_in_epilogue_p): Handle multiple stack
+ adjustments.
+
+2014-11-25 Sandra Loosemore <sandra@codesourcery.com>
+
+ * nios2-tdep.c (nios2_fetch_insn): Move up in file. Disassemble
+ the instruction as well as reading it from memory.
+ (nios2_match_add): New.
+ (nios2_match_sub): New.
+ (nios2_match_addi): New.
+ (nios2_match_orhi): New.
+ (nios2_match_stw): New.
+ (nios2_match_ldw): New.
+ (nios2_match_rdctl): New.
+ (enum branch_condition): New.
+ (nios2_match_branch): New.
+ (nios2_match_jmpi): New.
+ (nios2_match_calli): New.
+ (nios2_match_jmpr): New.
+ (nios2_match_callr): New.
+ (nios2_match_break): New.
+ (nios2_match_trap): New.
+ (nios2_in_epilogue_p): Rewrite to use new functions.
+ (nios2_analyze_prologue): Likewise.
+ (nios2_skip_prologue): Delete unused local limit_pc.
+ (nios2_breakpoint_from_pc): Make R1-specific encodings explicit.
+ (nios2_get_next_pc): Rewrite to use new functions.
+
+2014-11-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdbtypes.c (resolve_dynamic_type_internal): Reindent the code.
+
+2014-11-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
+ Pushed by Joel Brobecker <brobecker@adacore.com>
+ * gdb/gnu-nat.c (inf_validate_procinfo): Multiply the number of
+ elements pi_len by the size of the elements before calling
+ vm_deallocate.
+ (inf_validate_task_sc): Likewise, and properly deallocate the
+ noise array.
+
+2014-11-23 Doug Evans <xdje42@gmail.com>
+
+ * gdbtypes.c (print_args): Renamed from print_arg_types. Print arg
+ number and name if present. All callers updated.
+ (dump_fn_fieldlists): Fix indentation of args.
+
+2014-11-23 Patrick Palka <patrick@parcs.ath.cx>
+
+ * MAINTAINERS (Write After Approval): Add myself.
+
+2014-11-23 Joel Brobecker <brobecker@adacore.com>
+
+ * breakpoint.c (bp_loc_is_permanent): Return 0 if LOC corresponds
+ to a bp_call_dummy breakpoint type.
+
+2014-11-23 Patrick Palka <patrick@parcs.ath.cx>
+
+ * tui/tui-win.c (tui_initialize_win): Specify SA_RESTART when
+ registering the signal handler.
+
+2014-11-23 Patrick Palka <patrick@parcs.ath.cx>
+
+ * event-top.h (call_stdin_event_handler_again_p): Declare.
+ * event-top.c (call_stdin_event_handler_again_p): Define.
+ (stdin_event_handler): Use it.
+ * tui/tui-io.c (tui_getc): Prepare to call the stdin event
+ handler again if there is pending input following a
+ start sequence.
+
+2014-11-23 Patrick Palka <patrick@parcs.ath.cx>
+
+ Pushed by Joel Brobecker <brobecker@adacore.com>
+ * linux-fork.c (checkpoint_command): Print index of new
+ checkpoint in response message.
+
+2014-11-23 Yao Qi <yao@codesourcery.com>
+
+ * valprint.c (read_string): Move local variables 'found_nul',
+ 'chunksize' and 'limit' to inner scope. Update comments.
+
+2014-11-22 Doug Evans <xdje42@gmail.com>
+
+ * symtab.c (lookup_symbol_in_objfile_from_linkage_name): Improve
+ function comment.
+ (search_symbols): Fix comments and whitespace.
+
+2014-11-22 Doug Evans <xdje42@gmail.com>
+
+ * cp-namespace.c (cp_lookup_symbol_nonlocal): Fix comment.
+
+2014-11-21 Doug Evans <dje@google.com>
+
+ * psymtab.c (psymtab_search_name): Fix whitespace.
+
+2014-11-21 Yao Qi <yao@codesourcery.com>
+
+ * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
+ errno.
+ * gnulib/import/Makefile.am: Re-generated.
+ * gnulib/import/Makefile.in: Likewise.
+ * gnulib/import/m4/gnulib-cache.m4: Likewise.
+
+2014-11-21 Yao Qi <yao@codesourcery.com>
+
+ * gdb_wchar.h: Include wchar.h and wctype.h.
+ [HAVE_ICONV && HAVE_BTOWC]: Don't check HAVE_WCHAR_T and don't
+ include wchar.h and wctype.h.
+ Don't check HAVE_WCHAR_H.
+
+2014-11-21 Yao Qi <yao@codesourcery.com>
+
+ * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add wchar
+ and wctype-h.
+ * gnulib/import/Makefile.am: Re-generated.
+ * gnulib/import/Makefile.in: Likewise.
+ * gnulib/import/m4/gnulib-cache.m4: Likewise.
+
+2014-11-21 Yao Qi <yao@codesourcery.com>
+
+ * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
+ memchr.
+ * gnulib/import/Makefile.am: Re-generated.
+ * gnulib/import/Makefile.in: Likewise.
+ * gnulib/import/m4/gnulib-cache.m4: Likewise.
+
+2014-11-21 Yao Qi <yao@codesourcery.com>
+
+ * common/common-defs.h: Include alloca.h
+ * configure.ac: Don't invoke AC_FUNC_ALLOCA.
+ * configure: Re-generated.
+ * defs.h: Remove code handling alloca.
+ * utils.c (gdb_realpath): Don't check HAVE_ALLOCA is defined
+ or not.
+
+2014-11-21 Yao Qi <yao@codesourcery.com>
+
+ * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULE): Add
+ alloca.
+ * gnulib/import/Makefile.am: Re-generated.
+ * gnulib/import/Makefile.in: Likewise..
+ * gnulib/import/m4/gnulib-cache.m4: Likewise.
+
2014-11-21 Yao Qi <yao@codesourcery.com>
* gnulib/update-gnulib.sh: Make IMPORTED_GNULIB_MODULES in