+2016-05-04 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * spu-linux-nat.c (spu_bfd_iovec_pread): Add pointer cast for C++.
+ (spu_bfd_open): Likewise.
+
+2016-05-04 Yao Qi <yao.qi@linaro.org>
+
+ PR gdb/19947
+ * corefile.c (read_memory): Rename it to ...
+ (read_memory_object): ... it. Add parameter object.
+ (read_memory): Call read_memory_object.
+ (read_stack): Likewise.
+ (read_code): Likewise.
+
+2016-05-03 Yunlian Jiang <yunlian@google.com>
+ Doug Evans <dje@google.com>
+
+ PR symtab/19914
+ * dwarf2read.c (open_and_init_dwp_file): Look at backlink if objfile
+ is separate debug file.
+
+2016-05-03 Don Breazeal <donb@codesourcery.com>
+
+ * serial.h (gdb_pipe): Fix argument names in comment.
+
+2016-05-03 Pedro Alves <palves@redhat.com>
+
+ PR python/20037
+ * python/python.c (_initialize_python) [IS_PY3K]: xstrdup/xfree
+ oldloc.
+
+2016-05-03 Pedro Alves <palves@redhat.com>
+
+ * python/python.c (_initialize_python) [IS_PY3K]: Remove dead
+ code.
+
+2016-05-03 Pedro Alves <palves@redhat.com>
+
+ * configure.ac (PYTHON_LIBS): Sed away "-Xlinker -export-dynamic".
+ * configure: Regenerate.
+
+2016-05-03 Pedro Alves <palves@redhat.com>
+
+ * configure.ac (checking for the dynamic export flag): Add
+ $PYTHON_CPPFLAGS to CPPFLAGS.
+ * configure: Regenerate.
+
+2016-05-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ * symfile.c (find_pc_overlay): Add braces to avoid -Wparentheses
+ warning.
+ (find_pc_mapped_section): Likewise.
+ (list_overlays_command): Likewise.
+
+2016-05-02 Eli Zaretskii <eliz@gnu.org>
+
+ * windows-nat.c (_initialize_check_for_gdb_ini): Fix off-by-one
+ error in allocation of space for "$HOME/.gdbinit" string. This
+ caused GDB to abort on startup whenever a '~/gdb.ini' file was
+ actually found, because xsnprintf would hit an assertion
+ violation.
+
+2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
+
+ * cli/cli-decode.c (help_cmd_list): Do not list commands that
+ are deprecated.
+
+2016-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * remote.c (remote_start_remote): Detect PACKET_vFile_setfs.support.
+
+2016-04-27 Martin Galvan <martin.galvan@tallertechnologies.com>
+
+ * c-valprint.c (c_value_print): Always convert val back to reference
+ type if we converted it to a pointer type.
+
+2016-04-27 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * configure.ac: Enhance configure check for babeltrace to reject
+ non-C++-enabled versions.
+ * configure: Regenerate.
+
+2016-04-26 Sanimir Agovic <sanimir.agovic@intel.com>
+ Keven Boell <keven.boell@intel.com>
+ Bernhard Heckel <bernhard.heckel@intel.com>
+
+ * f-valprint.c (f77_create_arrayprint_offset_tbl): Remove
+ function.
+ (F77_DIM_SIZE, F77_DIM_OFFSET): Remove macro.
+ (f77_print_array_1): Use value_subscript to subscript a
+ value array.
+ (f77_print_array): Remove call to f77_create_arrayprint_offset_tbl.
+ (f_val_print): Use value_field to construct a field value.
+
+2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
+
+ * valarith.c (value_address): Resolve dynamic types.
+
+2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
+ Keven Boell <kevel.boell@intel.com>
+
+ * NEWS: Add new supported features for fortran.
+ * gdbtypes.c (remove_dyn_prop): New.
+ (resolve_dynamic_struct): Keep type length for fortran structs.
+ * gdbtypes.h: Forward declaration of new function.
+ * value.c (value_address): Return dynamic resolved location of a value.
+ (set_value_component_location): Adjust the value address
+ for single value prints.
+ (value_primitive_field): Support value types with a dynamic location.
+ (set_internalvar): Remove dynamic location property of
+ internal variables.
+
+2016-04-25 Pedro Alves <palves@redhat.com>
+ Yao Qi <yao.qi@linaro.org>
+
+ * mem-break.c (set_raw_breakpoint_at): Create a raw breakpoint
+ object. Insert it if it is not inserted yet. Increase the
+ refcount and link it into the proc's raw breakpoint list.
+
+2016-04-25 Yao Qi <yao.qi@linaro.org>
+
+ * breakpoint.c (should_be_inserted): Return 0 if the location's
+ owner is not single step breakpoint or single step breakpoint's
+ thread isn't the thread which is stepping past a breakpoint.
+ * gdbarch.sh (software_single_step): Update comments.
+ * gdbarch.h: Regenerated.
+ * infrun.c (struct step_over_info) <thread>: New field.
+ (set_step_over_info): New argument 'thread'. Callers updated.
+ (clear_step_over_info): Set field thread to -1.
+ (thread_is_stepping_over_breakpoint): New function.
+ * infrun.h (thread_is_stepping_over_breakpoint): Declaration.
+
+2016-04-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
+
+ * ppc-linux-nat.c (ppc_linux_read_description): Use PPC_FEATURE_HAS_VSX
+ and PPC_FEATURE_HAS_ALTIVEC to check if such features are available.
+
+2016-04-22 Yao Qi <yao.qi@linaro.org>
+
+ * valops.c (read_value_memory): New local variable 'stack'.
+ Set it to either TARGET_OBJECT_STACK_MEMORY or
+ TARGET_OBJECT_MEMORY.
+
+2016-04-22 Pedro Alves <palves@redhat.com>
+
+ * ada-exp.y: Remove all yy symbol remappings.
+ (GDB_YY_REMAP_PREFIX): Define.
+ Include "yy-remap.h".
+ * ada-lang.c (ada_language_defn): Adjust.
+ * ada-lang.h (ada_error): Rename to ...
+ (ada_yyerror): ... this.
+ * c-exp.y: Remove all yy symbol remappings.
+ (GDB_YY_REMAP_PREFIX): Define.
+ Include "yy-remap.h".
+ * c-lang.c (c_language_defn, cplus_language_defn)
+ (asm_language_defn, minimal_language_defn): Adjust.
+ * c-lang.h (c_error): Rename to ...
+ (c_yyerror): ... this.
+ * d-exp.y: Remove all yy symbol remappings.
+ (GDB_YY_REMAP_PREFIX): Define.
+ Include "yy-remap.h".
+ * d-lang.c (d_language_defn): Adjust.
+ * d-lang.h (d_error): Rename to ...
+ (d_yyerror): ... this.
+ * f-exp.y: Remove all yy symbol remappings.
+ (GDB_YY_REMAP_PREFIX): Define.
+ Include "yy-remap.h".
+ * f-lang.c (f_language_defn): Adjust.
+ * f-lang.h (f_error): Rename to ...
+ (f_yyerror): ... this.
+ * go-exp.y: Remove all yy symbol remappings.
+ (GDB_YY_REMAP_PREFIX): Define.
+ Include "yy-remap.h".
+ * go-lang.c (go_language_defn): Adjust.
+ * go-lang.h (go_error): Rename to ...
+ (go_yyerror): ... this.
+ * jv-exp.y: Remove all yy symbol remappings.
+ (GDB_YY_REMAP_PREFIX): Define.
+ Include "yy-remap.h".
+ * jv-lang.c (java_language_defn): Adjust.
+ * jv-lang.h (java_error): Rename to ...
+ (java_yyerror): ... this.
+ * m2-exp.y: Remove all yy symbol remappings.
+ (GDB_YY_REMAP_PREFIX): Define.
+ Include "yy-remap.h".
+ * m2-lang.c (m2_language_defn): Adjust.
+ * m2-lang.h (m2_error): Rename to ...
+ (m2_yyerror): ... this.
+ * objc-exp.y: Remove all yy symbol remappings.
+ (GDB_YY_REMAP_PREFIX): Define.
+ Include "yy-remap.h".
+ * objc-lang.c (objc_language_defn): Adjust.
+ * opencl-lang.c (opencl_language_defn): Adjust.
+ * p-exp.y: Remove all yy symbol remappings.
+ (GDB_YY_REMAP_PREFIX): Define.
+ Include "yy-remap.h".
+ * p-lang.c (pascal_language_defn): Adjust.
+ * p-lang.h (pascal_error): Rename to ...
+ (pascal_yyerror): ... this.
+ * yy-remap.h: New file.
+
+2016-04-22 Pedro Alves <palves@redhat.com>
+
+ * common/common-exceptions.h (GDB_XCPT_TRY): Remove mention of
+ the foreign frames issue.
+ [__cplusplus] (GDB_XCPT): Define as GDB_XCPT_TRY.
+
+2016-04-22 Pedro Alves <palves@redhat.com>
+
+ * common/common-exceptions.c (enum catcher_state, struct catcher)
+ (current_catcher): Define in C++ mode too.
+ (exceptions_state_mc_catch): Call throw_exception_sjlj instead of
+ throw_exception.
+ (throw_exception_sjlj, throw_exception_cxx): New functions,
+ factored out from throw_exception.
+ (throw_exception): Reimplement.
+ * common/common-exceptions.h (exceptions_state_mc_init)
+ (exceptions_state_mc_action_iter)
+ (exceptions_state_mc_action_iter_1, exceptions_state_mc_catch):
+ Declare in C++ mode too.
+ (TRY): Rename to ...
+ (TRY_SJLJ): ... this.
+ (CATCH): Rename to ...
+ (CATCH_SJLJ): ... this.
+ (END_CATCH): Rename to ...
+ (END_CATCH_SJLJ): ... this.
+ [GDB_XCPT == GDB_XCPT_SJMP] (TRY, CATCH, END_CATCH): Map to SJLJ
+ equivalents.
+ (throw_exception): Update comments.
+ (throw_exception_sjlj): Declare.
+ * event-top.c (gdb_rl_callback_read_char_wrapper): Extend intro
+ comment. Wrap body in TRY_SJLJ/CATCH_SJLJ and rethrow any
+ intercepted exception.
+ (gdb_rl_callback_handler): New function.
+ (gdb_rl_callback_handler_install): Always install
+ gdb_rl_callback_handler as readline callback.
+
+2016-04-22 Pedro Alves <palves@redhat.com>
+
+ * event-top.c (rl_callback_read_char_wrapper): Rename to ...
+ (gdb_rl_callback_read_char_wrapper): ... this.
+ (change_line_handler, gdb_setup_readline): Adjust.
+
+2016-04-22 Yao Qi <yao.qi@linaro.org>
+
+ * aarch32-linux-nat.c (aarch32_gp_regcache_supply): Clear CPSR
+ bits 20 to 23.
+
+2016-04-22 Joel Brobecker <brobecker@adacore.com>
+
+ * MAINTAINER: Remove myself as AIX Maintainer.
+
+2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
+
+ * mips-tdep.c (mips_gdbarch_init): For GDB_OSABI_LINUX set
+ `num_regs' to 90 rather than 79. Where a target description is
+ present adjust the setting appropriately.
+
+2016-04-21 Pedro Alves <palves@redhat.com>
+
+ * common/common-exceptions.h (GDB_XCPT_TRY): Add comment.
+ (GDB_XCPT): Always define as GDB_XCPT_SJMP.
+
+2016-04-21 Pedro Alves <palves@redhat.com>
+
+ * aix-thread.c (pdc_read_data, pdc_write_data): Add cast.
+ (aix_thread_resume): Use PTRACE_TYPE_ARG5.
+ * rs6000-nat.c (rs6000_ptrace64): Use PTRACE_TYPE_ARG5.
+ (rs6000_ptrace_ldinfo): Change type of 'ldi' local to void
+ pointer, and cast return to gdb_byte pointer.
+
+2016-04-21 Pedro Alves <palves@redhat.com>
+
+ * s390-linux-nat.c (fetch_regset, store_regset, check_regset): Use
+ void * instead of gdb_byte *.
+
+2016-04-21 Pedro Alves <palves@redhat.com>
+
+ * dwarf2read.c (try_open_dwop_file, open_dwo_file)
+ (file_file_name, file_full_name): Add char * cast to sentinel in
+ concat/reconcat calls.
+ * event-top.c (top_level_prompt): Likewise.
+ * guile/guile.c (initialize_scheme_side): Likewise.
+ * linux-tdep.c (linux_fill_prpsinfo): Likewise.
+ * macrotab.c (macro_source_fullname): Likewise.
+ * main.c (get_init_files, captured_main): Likewise.
+ * psymtab.c (psymtab_to_fullname): Likewise.
+ * python/python.c (_initialize_python)
+ (gdbpy_finish_initialization): Likewise.
+ * source.c (symtab_to_fullname): Likewise.
+
+2016-04-20 Pedro Alves <palves@redhat.com>
+
+ * build-with-cxx.m4 (GDB_AC_BUILD_WITH_CXX): Default to yes.
+ * configure: Renegerate.
+
+2016-04-20 Pedro Alves <palves@redhat.com>
+
+ * darwin-nat.c (darwin_decode_message): Use gdb_signal_from_host.
+
+2016-04-20 Pedro Alves <palves@redhat.com>
+
+ * aarch64-tdep.c (aarch64_record_load_store): Change type of
+ 'reg_rm_val' local to ULONGEST.
+
+2016-04-20 Pedro Alves <palves@redhat.com>
+
+ * darwin-nat.c (darwin_resume_thread): Add uintptr_t cast.
+
+2016-04-20 Doug Evans <xdje42@gmail.com>
+
+ * symmisc.c (dump_symtab_1): Print owning compunit for identical
+ blockvectors.
+
+2016-04-20 Yao Qi <yao.qi@linaro.org>
+
+ * aarch32-linux-nat.c: Include "arch/arm-linux.h".
+
+2016-04-20 Yao Qi <yao.qi@linaro.org>
+
+ * arm-linux-tdep.h (ARM_CPSR_GREGNUM): Move it to ...
+ * arch/arm-linux.h: ... here.
+
+2016-04-19 John Baldwin <jhb@FreeBSD.org>
+
+ * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Change xstateregs
+ to void *.
+ (amd64bsd_store_inferior_registers): Likewise.
+ * fbsd-nat.c (resume_one_thread_cb): Explicitly cast data to ptid_t *.
+ (resume_all_threads_cb): Likewise.
+ * i386bsd-nat.c (i386bsd_supply_gregset): Cast gregs to char *.
+ (i386bsd_collect_gregset): Likewise.
+ (i386bsd_fetch_inferior_registers): Change xstateregs to void *.
+ (i386bsd_store_inferior_registers): Likewise.
+
+2016-04-19 John Baldwin <jhb@FreeBSD.org>
+
+ * main.c (setup_alternate_signal_stack): Cast to char *.
+
+2016-04-19 Doug Evans <xdje42@gmail.com>
+
+ * symmisc.c (dump_symtab_1, dump_symtab): Delete arg objfile.
+ All callers updated.
+
+2016-04-19 Doug Evans <xdje42@gmail.com>
+
+ PR gdb/17911
+ * source.c (is_regular_file): New arg errno_ptr.
+ All callers updated.
+
+2016-04-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * linux-record.c (record_linux_system_call): Merge handling for
+ readlink/recv/read and pipe/pipe2.
+
+2016-04-14 Walfred Tedeschi <walfred.tedeschi@intel.com>
+
+ * features/i386/amd64-mpx-linux.xml: Remove AVX feature.
+ * features/i386/amd64-mpx.xml: Remove AVX feature.
+ * features/i386/i386-mpx-linux.xml: Remove AVX feature.
+ * features/i386/i386-mpx.xml: Remove AVX feature.
+ * features/i386/amd64-mpx-linux.c: Regenerate.
+ * features/i386/amd64-mpx.c: Regenerate.
+ * features/i386/i386-mpx-linux.c: Regenerate.
+ * features/i386/i386-mpx.c: Regenerate.
+ * regformats/i386/amd64-mpx-linux.dat: Regenerate.
+ * regformats/i386/amd64-mpx.dat: Regenerate.
+ * regformats/i386/i386-mpx-linux.dat: Regenerate.
+ * regformats/i386/i386-mpx.dat: Regenerate.
+
+2016-04-16 Walfred Tedeschi <walfred.tedeschi@intel.com>
+
+ * amd64-linux-tdep.c (features/i386/amd64-avx-mpx-linux.c):
+ New include.
+ (amd64_linux_core_read_description): Add case for
+ X86_XSTATE_AVX_MPX_MASK.
+ (_initialize_amd64_linux_tdep): Call initialize_tdesc_amd64_avx_mpx_linux.
+ * amd64-linux-tdep.h (tdesc_amd64_avx_mpx_linux): New definition.
+ * amd64-tdep.c (features/i386/amd64-avx-mpx.c): New include.
+ (amd64_target_description): Add case for X86_XSTATE_AVX_MPX_MASK.
+ (_initialize_amd64_tdep): Call initialize_tdesc_amd64_avx_mpx.
+ * common/x86-xstate.h (X86_XSTATE_MPX_MASK): Remove AVX bits.
+ (X86_XSTATE_AVX_MPX_MASK): New case.
+ * features/Makefile (i386/i386-avx-mpx, i386/i386-avx-mpx-linux)
+ (i386/amd64-avx-mpx, i386/amd64-avx-mpx-linux): New rules.
+ (i386/i386-avx-mpx-expedite, i386/i386-avx-mpx-linux-expedite)
+ (i386/amd64-avx-mpx-expedite, i386/amd64-avx-mpx-linux-expedite):
+ New expedites.
+ * i386-linux-tdep.c (features/i386/i386-avx-mpx-linux.c): New
+ include.
+ (i386_linux_core_read_description): Add case
+ X86_XSTATE_AVX_MPX_MASK.
+ (_initialize_i386_linux_tdep): Call
+ initialize_tdesc_i386_avx_mpx_linux.
+ * i386-linux-tdep.h (tdesc_i386_avx_mpx_linux): New include.
+ * i386-tdep.c (features/i386/i386-avx-mpx.c): New include.
+ (i386_target_description): Add case for X86_XSTATE_AVX_MPX_MASK.
+ * x86-linux-nat.c (x86_linux_read_description): Add case for
+ X86_XSTATE_AVX_MPX_MASK.
+ * features/i386/amd64-avx-mpx-linux.xml: New file.
+ * features/i386/i386-avx-mpx-linux.xml: New file.
+ * features/i386/i386-avx-mpx.xml: New file.
+ * features/i386/amd64-avx-mpx.xml: New file.
+ * features/i386/amd64-avx-mpx-linux.c: Generated.
+ * features/i386/amd64-avx-mpx.c: Generated.
+ * features/i386/i386-avx-mpx-linux.c: Generated.
+ * features/i386/i386-avx-mpx.c: Generated.
+ * regformats/i386/amd64-avx-mpx-linux.dat: Generated.
+ * regformats/i386/amd64-avx-mpx.dat: Generated.
+ * regformats/i386/i386-avx-mpx-linux.dat: Generated.
+ * regformats/i386/i386-avx-mpx.dat: Generated.
+
+2016-04-18 Pedro Alves <palves@redhat.com>
+
+ * ptrace.m4 (GDB_AC_PTRACE): Don't run tests in C++ mode.
+ * configure: Regenerate.
+
+2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
+
+ * valops.c (value_addr): For C++ references, set the copied value's
+ enclosing_type as well.
+
+2016-04-18 Yao Qi <yao.qi@linaro.org>
+
+ Revert:
+ 2016-04-15 Yao Qi <yao.qi@linaro.org>
+
+ * arm-tdep.c (thumb_stack_frame_destroyed_p): Return zero if
+ PC is far from the end of function.
+
+2016-04-16 Pedro Alves <palves@redhat.com>
+
+ * ada-exp.y (yydefred): Define as ada_yydefred.
+
+2016-04-15 Pedro Alves <palves@redhat.com>
+
+ * ada-lang.c (ada_lookup_struct_elt_type): Constify 'type_str' and
+ 'name_str' locals.
+
+2016-04-15 Pedro Alves <palves@redhat.com>
+
+ * btrace.c (pt_btrace_insn_flags): Change return type to
+ btrace_insn_flags. Use btrace_insn_flags for local.
+
2016-04-15 Pedro Alves <palves@redhat.com>
* nat/linux-ptrace.h [__mips__] (GDB_ARCH_IS_TRAP_BRKPT): Also