+2016-08-09 Pedro Alves <palves@redhat.com>
+
+ PR gdb/20418
+ * event-top.c (ui_register_input_event_handler)
+ (ui_unregister_input_event_handler): New functions.
+ (async_enable_stdin): Register input in the event loop.
+ (async_disable_stdin): Unregister input from the event loop.
+ (gdb_setup_readline): Register input in the event loop.
+ * infrun.c (check_curr_ui_sync_execution_done): Register input in
+ the event loop.
+ * target.c (target_terminal_inferior): Don't unregister input from
+ the event loop.
+ (target_terminal_ours): Don't register input in the event loop.
+ * target.h (target_terminal_inferior)
+ (target_terminal_ours_for_output, target_terminal_ours): Update
+ comments.
+ * top.h (ui_register_input_event_handler)
+ (ui_unregister_input_event_handler): New declarations.
+ * utils.c (ui_unregister_input_event_handler_cleanup)
+ (prepare_to_handle_input): New functions.
+ (defaulted_query, prompt_for_continue): Use
+ prepare_to_handle_input.
+
+2016-08-09 Pedro Alves <palves@redhat.com>
+
+ PR mi/20431
+ * mi/mi-main.c (mi_execute_command): Enable input and set prompt
+ state to PROMPT_NEEDED.
+
+2016-08-09 Pedro Alves <palves@redhat.com>
+
+ PR gdb/18653
+ * Makefile.in (SFILES): Add
+ common/signals-state-save-restore.c.
+ (HFILES_NO_SRCDIR): Add common/signals-state-save-restore.h.
+ (COMMON_OBS): Add signals-state-save-restore.o.
+ (signals-state-save-restore.o): New rule.
+ * configure: Regenerate.
+ * fork-child.c: Include "signals-state-save-restore.h".
+ (fork_inferior): Call restore_original_signals_state.
+ * main.c: Include "signals-state-save-restore.h".
+ (captured_main): Call save_original_signals_state.
+ * common/common.m4: Add sigaction to AC_CHECK_FUNCS checks.
+ * common/signals-state-save-restore.c: New file.
+ * common/signals-state-save-restore.h: New file.
+
+2016-08-09 Pedro Alves <palves@redhat.com>
+
+ * value.c (unpack_value_bitfield): Skip unpacking if the parent
+ has no contents buffer to begin with.
+
+2016-08-08 Pedro Alves <palves@redhat.com>
+
+ * features/i386/amd64-avx-mpx-linux.c: Regenerate.
+ * features/i386/amd64-avx-mpx.c: Regenerate.
+ * features/i386/i386-avx-mpx-linux.c: Regenerate.
+ * features/i386/i386-avx-mpx.c: Regenerate.
+
+2016-08-05 Simon Marchi <simon.marchi@ericsson.com>
+
+ * event-top.h (cli_command_loop): Remove.
+
+2016-08-05 Pedro Alves <palves@redhat.com>
+
+ PR remote/20398
+ * remote-fileio.c (remote_fileio_quit_handler): Check the quit
+ flag before calling quit.
+
+2016-08-05 Pedro Alves <palves@redhat.com>
+
+ * NEWS: Mention that GDB and GDBserver build with a C++ compiler
+ by default.
+
+2016-08-05 Pedro Alves <palves@redhat.com>
+
+ * build-with-cxx.m4: Change help string to be in terms of
+ --disable-build-with-cxx.
+ * configure: Regenerate.
+
+2016-08-04 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-linux-nat.c (tdesc_arm_with_vfpv3): Remove the
+ declaration.
+ (aarch64_linux_read_description): Remove code on getting
+ auxv and select target description on it. Select target
+ description by the result of NT_ARM_VFP ptrace request.
+
+2016-08-03 Tom Tromey <tom@tromey.com>
+
+ PR python/18565:
+ * python/py-frame.c (frapy_function): Use find_frame_funname.
+
+2016-08-03 Tom Tromey <tom@tromey.com>
+
+ * stack.c (find_frame_funname): Avoid any possible leak in case
+ cp_remove_params can throw.
+
+2016-08-03 Tom Tromey <tom@tromey.com>
+
+ * NEWS: Mention new Python breakpoint events.
+
+2016-08-02 Tom Tromey <tom@tromey.com>
+
+ * MAINTAINERS (Core): Add self as Rust maintainer.
+
+2016-08-01 Joel Brobecker <brobecker@adacore.com>
+
+ * NEWS: Create a new section for the next release branch.
+ Rename the section of the current branch, now that it has
+ been cut.
+
+2016-08-01 Joel Brobecker <brobecker@adacore.com>
+
+ GDB 7.12 branch created (41bfcd638a4e0e48b96ce4de2845372dea481322):
+ * version.in: Bump version to 7.12.50.DATE-git.
+
+2016-07-27 Alan Modra <amodra@gmail.com>
+
+ * amd64-darwin-tdep.c: Don't include libbfd.h.
+ * i386-darwin-tdep.c: Likewise.
+ * rs6000-nat.c: Likewise.
+ * rs6000-tdep.c: Likewise.
+
+2016-07-26 Tom Tromey <tom@tromey.com>
+
+ * symtab.c (register_symbol_computed_impl): Update.
+ PR python/20190:
+ * value.h (symbol_read_needs): Declare.
+ (symbol_read_needs_frame): Add comment.
+ * symtab.h (struct symbol_computed_ops) <read_variable>: Update
+ comment.
+ <get_symbol_read_needs>: Rename. Change return type.
+ * findvar.c (symbol_read_needs): New function.
+ (symbol_read_needs_frame): Rewrite.
+ (default_read_var_value): Use symbol_read_needs.
+ * dwarf2loc.c (struct symbol_needs_baton): Rename.
+ <needs>: Renamed from needs_frame. Changed type.
+ (needs_frame_read_addr_from_reg, symbol_needs_get_reg_value)
+ (symbol_needs_read_mem, symbol_needs_frame_base)
+ (symbol_needs_frame_cfa, symbol_needs_tls_address)
+ (symbol_needs_dwarf_call): Rename.
+ (needs_dwarf_reg_entry_value): Update.
+ (symbol_needs_ctx_funcs, dwarf2_loc_desc_get_symbol_read_needs):
+ Rename and update.
+ (locexpr_get_symbol_read_needs, loclist_symbol_needs): Likewise.
+ (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Update.
+ * defs.h (enum symbol_needs_kind): New.
+
+2016-07-26 Pedro Alves <palves@redhat.com>
+
+ * nat/linux-ptrace.c: Include "gregset.h".
+ (linux_ptrace_test_ret_to_nx): Use PTRACE_GETREGS instead of
+ PTRACE_PEEKUSER.
+
+2016-07-26 Pedro Alves <palves@redhat.com>
+
+ * amd64-linux-nat.c (amd64_linux_siginfo_fixup): Rename 'native'
+ parameter to 'ptrace'.
+ * nat/amd64-linux-siginfo.c (GDB_SI_SIZE): New define.
+ (nat_uptr_t): New an unsigned long.
+ (nat_clock_t): Remove attribute __aligned__.
+ (struct nat_timeval): Delete.
+ (nat_siginfo_t): Remove attribute __aligned__.
+ (ptrace_siginfo_t): Define.
+ (compat_siginfo_from_siginfo, siginfo_from_compat_siginfo)
+ (compat_x32_siginfo_from_siginfo)
+ (siginfo_from_compat_x32_siginfo): Make 'from' parameter const.
+ Convert through a ptrace_siginfo_t instead of a nat_siginfo_t.
+ Remove casts.
+ (amd64_linux_siginfo_fixup_common): Rename 'native' parameter to
+ 'ptrace'. Remove static assertions.
+ (top level): New static assertions.
+
+2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
+
+ * top.h (make_delete_ui_cleanup): New declaration.
+ * top.c (delete_ui_cleanup): New function.
+ (make_delete_ui_cleanup): New function.
+ (new_ui_command): Create restore_ui cleanup earlier, create a
+ delete_ui cleanup and discard it on success.
+
+2016-07-25 Pedro Alves <palves@redhat.com>
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * nat/linux-procfs.c (parse_proc_status_state): Handle lowercase
+ 't'.
+
+2016-07-25 Pedro Alves <palves@redhat.com>
+
+ * nat/linux-procfs.c (enum proc_state): New enum.
+ (parse_proc_status_state): New function.
+ (linux_proc_pid_get_state): Replace output string buffer parameter
+ with an output proc_state parameter. Use parse_proc_status_state.
+ (linux_proc_pid_is_gone): Adjust to use proc_state values.
+ (linux_proc_pid_has_state): Change type of 'state' parameter; now
+ an enum proc_state. Adjust to linux_proc_pid_get_state interface
+ change.
+ (linux_proc_pid_is_stopped)
+ (linux_proc_pid_is_trace_stopped_nowarn)
+ (linux_proc_pid_is_zombie_maybe_warn): Adjust to
+ linux_proc_pid_get_state interface change.
+
+2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
+
+ * MAINTAINERS (Write After Approval): Add Tim Wiederhake
+
+2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
+
+ * NEWS: Resume btrace on reconnect.
+ * record-btrace.c: Added record-btrace.h include.
+ (record_btrace_open): Split into this and ...
+ (record_btrace_push_target): ... this.
+ (record_btrace_disconnect): New function.
+ (init_record_btrace_ops): Use record_btrace_disconnect.
+ * record-btrace.h: New file.
+ * remote.c: Added record-btrace.h include.
+ (remote_start_remote): Check recording status.
+ (remote_btrace_maybe_reopen): New function.
+
+2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
+
+ * xml-syscall.c (get_syscalls_by_group): New.
+ (get_syscall_group_names): New.
+ (struct syscall_group_desc): New structure to store group data.
+ (struct syscalls_info): Include field to store the group list.
+ (sysinfo_free_syscall_group_desc): New.
+ (free_syscalls_info): Free group list.
+ (syscall_group_create_syscall_group_desc): New.
+ (syscall_group_add_syscall): New.
+ (syscall_create_syscall_desc): Add syscall to its groups.
+ (syscall_start_syscall): Load group attribute.
+ (syscall_group_get_group_by_name): New.
+ (xml_list_syscalls_by_group): New.
+ (xml_list_of_groups): New.
+ * xml-syscall.h (get_syscalls_by_group): Export function
+ to retrieve a list of syscalls filtered by the group name.
+ (get_syscall_group_names): Export function to retrieve the list
+ of syscall groups.
+ * break-catch-syscall.c (catch_syscall_split_args): Verify if
+ argument is a syscall group and expand it to a list of syscalls
+ when creating catchpoints.
+ (catch_syscall_completer): Add word completion for system call
+ groups.
+ * configure.ac: Include dependency for xsltproc when building
+ in maintainer-mode.
+ * break-catch-syscall.c (_initialize_breakpoint): Update catch
+ syscall command documentation.
+ * NEWS: Include section about catching groups of syscalls.
+ * configure: Regenerate.
+ * data-directory/Makefile.in: Generate syscall xml when building
+ in maintainer mode.
+ * syscalls/gdb-syscalls.dtd: Include group attribute to the
+ syscall element.
+ * syscalls/apply-defaults.xsl: New.
+ * syscalls/linux-defaults.xml.in: New.
+ * syscalls/aarch64-linux.xml: Rename to aarch64-linux.xml.in.
+ * syscalls/amd64-linux.xml: Rename to amd64-linux.xml.in.
+ * syscalls/arm-linux.xml: Rename to arm-linux.xml.in.
+ * syscalls/bfin-linux.xml: Rename to bfin-linux.xml.in.
+ * syscalls/i386-linux.xml: Rename to i386-linux.xml.in.
+ * syscalls/mips-n32-linux.xml: Rename to mips-n32-linux.xml.in.
+ * syscalls/mips-n64-linux.xml: Rename to mips-n64-linux.xml.in.
+ * syscalls/mips-o32-linux.xml: Rename to mips-o32-linux.xml.in.
+ * syscalls/ppc-linux.xml: Rename to ppc-linux.xml.in.
+ * syscalls/ppc64-linux.xml: Rename to ppc64-linux.xml.in.
+ * syscalls/s390-linux.xml: Rename to s390-linux.xml.in.
+ * syscalls/s390x-linux.xml: Rename to s390x-linux.xml.in.
+ * syscalls/sparc-linux.xml: Rename to sparc-linux.xml.in.
+ * syscalls/sparc64-linux.xml: Rename to sparc64-linux.xml.in.
+ * syscalls/aarch64-linux.xml: Regenerate.
+ * syscalls/amd64-linux.xml: Regenerate.
+ * syscalls/arm-linux.xml: Regenerate.
+ * syscalls/i386-linux.xml: Regenerate.
+ * syscalls/mips-n32-linux.xml: Regenerate.
+ * syscalls/mips-n64-linux.xml: Regenerate.
+ * syscalls/mips-o32-linux.xml: Regenerate.
+ * syscalls/ppc-linux.xml: Regenerate.
+ * syscalls/ppc64-linux.xml: Regenerate.
+ * syscalls/s390-linux.xml: Regenerate.
+ * syscalls/s390x-linux.xml: Regenerate.
+ * syscalls/sparc-linux.xml: Regenerate.
+ * syscalls/sparc64-linux.xml: Regenerate.
+
+2016-07-23 Andrew Pinski <apinski@cavium.com>
+
+ * nat/aarch64-linux-hw-point.c
+ (aarch64_linux_get_debug_reg_capacity): Handle
+ ARMv8.1 and ARMv8.2 debug versions.
+ * nat/aarch64-linux-hw-point.h
+ (AARCH64_DEBUG_ARCH_V8_1): New define.
+ (AARCH64_DEBUG_ARCH_V8_2): New define.
+
+2016-06-30 Руслан Ижбулатов <lrn1986@gmail.com>
+
+ PR gdb/14529
+ * windows-nat.c (signal_event_command): New command 'signal-event'
+ for W32 JIT debug support.
+ * NEWS: Add an entry about the new 'signal-event' command.
+
+2016-07-22 Tom Tromey <tom@tromey.com>
+
+ PR rust/20162:
+ * dwarf2read.c (scan_partial_symbols) <DW_TAG_structure_type>:
+ Call scan_partial_symbols for children when reading a Rust CU.
+ (dwarf2_physname): Ignore invalid DW_AT_linkage_name generated by
+ rustc.
+ (process_structure_scope) <DW_TAG_subprogram>: Call
+ read_func_scope for Rust.
+
+2016-07-22 Yao Qi <yao.qi@linaro.org>
+
+ * ctf.c (ctf_traceframe_info): Call bt_ctf_get_uint64 rather than
+ bt_ctf_get_int64.
+
+2016-07-21 Tom Tromey <tom@tromey.com>
+
+ * rust-lang.c (rust_tuple_struct_type_p): Return false for empty
+ structs.
+ * rust-exp.y (struct_expr_list): Allow empty elements.
+
+2016-07-21 Tom Tromey <tom@tromey.com>
+
+ * configure: Rebuild.
+ * warning.m4 (AM_GDB_WARNINGS) <build_warnings>: Add
+ -Wunused-but-set-parameter, -Wunused-but-set-variable.
+
+2016-07-21 Pedro Alves <palves@redhat.com>
+
+ * go32-nat.c (go32_create_inferior): Add cast.
+ * ser-go32.c (dos_noop): Delete.
+ (dos_flush_output, dos_setparity, dos_drain_output): New
+ functions.
+ (dos_write): Add cast.
+ (dos_ops): Use dos_flush_output, dos_setparity and
+ dos_drain_output.
+ * top.c (do_chdir_cleanup): Add cast.
+
+2016-07-21 Pedro Alves <palves@redhat.com>
+
+ * windows-nat.c (handle_exception): Remove "th".
+
+2016-07-21 Pedro Alves <palves@redhat.com>
+
+ * varobj.c (varobj_value_get_print_value): Move "gdbarch" to block
+ scope that uses it.
+
+2016-07-20 John Baldwin <jhb@FreeBSD.org>
+
+ * fbsd-nat.c (fbsd_enable_proc_events): Enable "PTRACE_VFORK"
+ events.
+ (fbsd_pending_vfork_done): Only define if "PTRACE_VFORK" is not
+ defined.
+ (fbsd_add_vfork_done): Likewise.
+ (fbsd_is_vfork_done_pending): Likewise.
+ (fbsd_next_vfork_done): Likewise.
+ (fbsd_resume): Only ignore pending vfork done events if
+ "PTRACE_VFORK" is not defined.
+ (fbsd_wait): Only look for pending vfork done events if
+ "PTRACE_VFORK" is not defined.
+ [PTRACE_VFORK]: Handle "PL_FLAG_VFORKED" and "PL_FLAG_VFORK_DONE"
+ events.
+ (fbsd_follow_fork): Only fake a vfork done event if "PTRACE_VFORK"
+ is not defined.
+
+2016-07-20 John Baldwin <jhb@FreeBSD.org>
+
+ * fbsd-nat.c (fbsd_wait): Use "fbsd_enable_proc_events" on
+ new child processes.
+
+2016-07-20 John Baldwin <jhb@FreeBSD.org>
+
+ * fbsd-nat.c (fbsd_enable_lwp_events): Remove function.
+ (fbsd_enable_proc_events): New function.
+ (fbsd_enable_follow_fork): Remove function.
+ (fbsd_post_startup_inferior): Use "fbsd_enable_proc_events".
+ (fbsd_post_attach): Likewise.
+
+2016-07-15 John Baldwin <jhb@FreeBSD.org>
+
+ * common/signals.c (gdb_signal_from_host): Handle SIGLIBRT.
+ (do_gdb_signal_to_host): Likewise.
+ * infrun.c (_initialize_infrun): Pass GDB_SIGNAL_LIBRT through to
+ programs.
+ * proc-events.c (signal_table): Add entry for SIGLIBRT.
+
+2016-07-14 Tom Tromey <tom@tromey.com>
+
+ * python/py-breakpoint.c (gdbpy_breakpoint_deleted): Add missing
+ newline.
+
+2016-07-14 Tom Tromey <tom@tromey.com>
+
+ * mips-tdep.c (micromips_scan_prologue): Remove "frame_addr".
+ (mips_o32_push_dummy_call): Remove "stack_used_p".
+ * aarch64-tdep.c (aarch64_record_data_proc_imm): Remove
+ "insn_bit28".
+ * rust-lang.c (rust_print_type): Remove "len".
+ * rust-exp.y (super_name): Remove "current_len".
+ * python/py-framefilter.c (py_print_type): Remove "type".
+ * mdebugread.c (parse_partial_symbols): Remove
+ "past_first_source_file".
+ <N_SO>: Remove "valu", "first_so_symnum", "prev_textlow_not_set".
+ * m2-valprint.c (m2_print_unbounded_array): Remove
+ "content_type".
+ (m2_val_print): Remove "i".
+ * linespec.c (unexpected_linespec_error): Remove "cleanup".
+ * f-valprint.c (f_val_print): Remove "i".
+ * elfread.c (elf_symtab_read): Remove "offset".
+ * dwarf2-frame.c (dwarf2_fetch_cfa_info): Remove "addr_size".
+ * jit.c (jit_dealloc_cache): Remove "i" and "frame_arch".
+
+2016-07-14 Tom Tromey <tom@tromey.com>
+
+ * arch-utils.c (default_skip_permanent_breakpoint): Remove
+ "bp_insn".
+ * disasm.c (do_assembly_only): Remove "num_displayed".
+ * dwarf2read.c (read_abbrev_offset): Remove "length".
+ (dwarf_decode_macro_bytes) <DW_MACINFO_vendor_ext>: Remove
+ "constant".
+ * m32c-tdep.c (make_regs): Remove "r2hl", "r3hl", and "intbhl".
+ * microblaze-tdep.c (microblaze_frame_cache): Remove "func".
+ * tracefile.c (trace_save): Remove "status".
+
+2016-07-14 Tom Tromey <tom@tromey.com>
+
+ * symfile.c (simple_overlay_update_1): Remove initialization
+ of "size", and commented-out code.
+ (simple_overlay_update): Likewise.
+
+2016-07-14 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-winsource.c (tui_show_source_line): Use getcurx.
+ * tui/tui-io.c (tui_puts): Use getcurx.
+ (tui_redisplay_readline): Likewise.
+
+2016-07-14 Tom Tromey <tom@tromey.com>
+
+ * inflow.c (child_terminal_ours_1): Use ATTRIBUTE_UNUSED.
+
+2016-07-14 Tom Tromey <tom@tromey.com>
+
+ * corefile.c (reopen_exec_file): Only examine st.st_mtime if stat
+ succeeded.
+
+2016-07-13 Tom Tromey <tom@tromey.com>
+
+ PR python/15620, PR python/18620:
+ * python/py-evts.c (gdbpy_initialize_py_events): Call
+ add_new_registry for new events.
+ * python/py-events.h (events_object) <breakpoint_created,
+ breakpoint_deleted, breakpoint_modified>: New fields.
+ * python/py-breakpoint.c (gdbpy_breakpoint_created): Emit the
+ breakpoint changed event.
+ (gdbpy_breakpoint_deleted): Emit the breakpoint deleted event.
+ (gdbpy_breakpoint_modified): New function.
+ (gdbpy_initialize_breakpoints): Attach to the breakpoint modified
+ observer.
+
+2016-07-13 Tom Tromey <tom@tromey.com>
+
+ PR python/17698:
+ * NEWS: Update.
+ * python/py-breakpoint.c (bppy_get_pending): New function.
+ (breakpoint_object_getset): Add entry for "pending".
+ * breakpoint.h (pending_breakpoint_p): Declare.
+ * breakpoint.c (pending_breakpoint_p): New function.
+
+2016-07-13 Tom Tromey <tom@tromey.com>
+
+ * python/py-breakpoint.c (bppy_get_visibility)
+ (gdbpy_breakpoint_created): Use user_breakpoint_p.
+
+2016-07-13 Tom Tromey <tom@tromey.com>
+
+ PR cli/18053:
+ * jit.c (jit_reader_load_command): Use tilde_expand.
+ (_initialize_jit): Fix help for jit-reader-unload. Set completer
+ for new commands.
+
+2016-07-12 Tom Tromey <tom@tromey.com>
+
+ PR python/19293:
+ * python/lib/gdb/command/unwinders.py (do_enable_unwinder): Call
+ gdb.invalidate_cached_frames.
+ * python/lib/gdb/unwinder.py (register_unwinder): Call
+ gdb.invalidate_cached_frames.
+ * python/python.c (gdbpy_invalidate_cached_frames): New function.
+ (python_GdbMethods): Add entry for invalidate_cached_frames.
+
+2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
+
+ * cp-namespace.c (cp_lookup_bare_symbol): Initialize
+ lang_this.symbol.
+
+2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
+
+ * cp-namespace.c (cp_lookup_bare_symbol): Use language passed as
+ parameter to look for the symbol "this".
+
+
+2016-07-06 John Baldwin <jhb@FreeBSD.org>
+
+ * h8300-tdep.c (h8300_print_register): Remove extraneous parentheses.
+
+2016-07-06 John Baldwin <jhb@FreeBSD.org>
+
+ * ada-lang.c (ada_unpack_from_contents): Use unsigned constants with
+ left shifts.
+
+2016-07-06 John Baldwin <jhb@FreeBSD.org>
+
+ * sh64-tdep.c (sh64_analyze_prologue): Set "uses_fp" when setting
+ the MEDIA_FP_REGNUM register.
+
+2016-07-06 John Baldwin <jhb@FreeBSD.org>
+
+ * score-tdep.c (score7_malloc_and_get_memblock): Remove check for
+ negative size.
+
+2016-07-06 John Baldwin <jhb@FreeBSD.org>
+
+ * fbsd-nat.c (fbsd_is_vfork_done_pending): Fix return type.
+
+2016-07-06 Yao Qi <yao.qi@linaro.org>
+
+ * arm-tdep.c (arm_vfp_cprc_sub_candidate): Don't call
+ arm_vfp_cprc_sub_candidate for static field.
+
+2016-07-06 Manish Goregaokar <manish@mozilla.com>
+
+ * rust-lang.c (rust_subscript): Allow subscripting pointers
+
+2016-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * configure: Regenerate.
+ * configure.ac (HAVE_LIBBABELTRACE): Fix pos variable dereference.
+
+2016-07-01 Don Breazeal <donb@codesourcery.com>
+
+ * remote.c (remote_get_memory_xfer_limit): New function.
+ * target-delegates.c: Regenerate.
+ * target.c (memory_xfer_partial): Call
+ target_ops.to_get_memory_xfer_limit.
+ * target.h (struct target_ops) <to_get_memory_xfer_limit>: New
+ member.
+
+2016-07-01 John Baldwin <jhb@FreeBSD.org>
+
+ * fbsd-nat.c (struct fbsd_fork_child_info): Rename to ...
+ (struct fbsd_fork_info): ... this.
+ (struct fbsd_fork_info) <child>: Rename to ...
+ (struct fbsd_fork_info) <ptid>: ... this.
+ (fbsd_pending_children): Update type.
+ (fbsd_remember_child): Update type and field name.
+ (fbsd_is_child_pending): Likewise.
+ (fbsd_pending_vfork_done): New variable.
+ (fbsd_is_vfork_done_pending): New function.
+ (fbsd_next_vfork_done): New function.
+ (fbsd_resume): Don't resume processes with a pending vfork done
+ event.
+ (fbsd_wait): Report pending vfork done events.
+ (fbsd_follow_fork): Delay and record a pending vfork done event
+ for a vfork parent when detaching the child.
+
+2016-07-01 John Baldwin <jhb@FreeBSD.org>
+
+ * fbsd-nat.c (super_resume): Move earlier next to "super_wait".
+ (resume_one_thread_cb): Move below fork following helper code.
+ (resume_all_threads_cb): Likewise.
+ (fbsd_resume): Likewise.
+
+2016-07-01 John Baldwin <jhb@FreeBSD.org>
+
+ * fbsd-nat.c (fbsd_follow_fork): Only detach child if
+ "detach_fork" is true.
+
+2016-07-01 John Baldwin <jhb@FreeBSD.org>
+
+ * x86bsd-nat.c: Include 'gdbthread.h'.
+ (x86bsd_dr_set): Set debug registers on all threads belonging to
+ the current inferior.
+
+2016-07-01 John Baldwin <jhb@FreeBSD.org>
+
+ * Makefile.in [HFILES_NO_SRCDIR]: Replace 'amd64bsd-nat.h' with
+ 'x86bsd-nat.h'.
+ * amd64bsd-nat.c: Include 'x86bsd-nat.h' instead of
+ 'amd64bsd-nat.h'.
+ (amd64bsd_xsave_len): Rename and move to x86bsd-nat.c.
+ (amd64bsd_fetch_inferior_registers): Replace 'amd64bsd_xsave_len'
+ with 'x86bsd_xsave_len'.
+ (amd64bsd_store_inferior_registers): Likewise.
+ (amd64bsd_target): Inherit from x86bsd_target.
+ (amd64bsd_dr_get): Rename and move to x86bsd-nat.c.
+ (amd64bsd_dr_set): Likewise.
+ (amd64bsd_dr_set_control): Likewise.
+ (amd64bsd_dr_set_addr): Likewise.
+ (amd64bsd_dr_get_addr): Likewise.
+ (amd64bsd_dr_get_status): Likewise.
+ (amd64bsd_dr_get_control): Likewise.
+ * amd64fbsd-nat.c: Include 'x86bsd-nat.h' instead of
+ 'amd64bsd-nat.h'.
+ (super_mourn_inferior): Move to x86bsd-nat.c.
+ (amd64fbsd_mourn_inferior): Rename and move to x86bsd-nat.c.
+ (amd64fbsd_read_description): Replace 'amd64bsd_xsave_len' with
+ 'x86bsd_xsave_len'.
+ (_initialize_amd64fbsd_nat): Remove x86 watchpoint setup and
+ mourn_inferior' target op.
+ * config/i386/fbsd.mh (NATDEPFILES): Add x86bsd-nat.o.
+ * config/i386/fbsd64.mh: Likewise.
+ * config/i386/nbsd64.mh: Likewise.
+ * config/i386/nbsdelf.mh: Likewise.
+ * config/i386/obsd.mh: Likewise.
+ * config/i386/obsd64.mh: Likewise.
+ * i386bsd-nat.c: Include 'x86bsd-nat.h'.
+ (i386bsd_xsave_len): Rename and move to x86bsd-nat.c.
+ (i386bsd_fetch_inferior_registers): Replace 'i386bsd_xsave_len'
+ with 'x86bsd_xsave_len'.
+ (i386bsd_store_inferior_registers): Likewise.
+ (i386bsd_target): Inherit from x86bsd_target.
+ (i386bsd_dr_get): Rename and move to x86bsd-nat.c.
+ (i386bsd_dr_set): Likewise.
+ (i386bsd_dr_set_control): Likewise.
+ (i386bsd_dr_set_addr): Likewise.
+ (i386bsd_dr_get_addr): Likewise.
+ (i386bsd_dr_get_status): Likewise.
+ (i386bsd_dr_get_control): Likewise.
+ * i386bsd-nat.h (i386bsd_xsave_len): Remove.
+ (i386bsd_dr_set_control): Remove.
+ (i386bsd_dr_set_addr): Remove.
+ (i386bsd_dr_get_addr): Remove.
+ (i386bsd_dr_get_status): Remove.
+ (i386bsd_dr_get_control): Remove.
+ * i386fbsd-nat.c: Include 'x86bsd-nat.h'.
+ (i386fbsd_read_description): Replace 'i386bsd_xsave_len' with
+ 'x86bsd_xsave_len'.
+ (_initialize_i386fbsd_nat): Remove x86 watchpoint setup and
+ mourn_inferior' target op.
+ * x86bsd-nat.c: New file.
+ * x86bsd-nat.h: New file.
+
+2016-07-01 Pedro Alves <palves@redhat.com>
+ Tom Tromey <tom@tromey.com>
+
+ * jit.c (jit_reader_load_command): Call reinit_frame_cache and
+ jit_inferior_created_hook.
+ (jit_reader_unload_command): Call reinit_frame_cache and
+ jit_inferior_exit_hook.
+ * jit.c (struct jit_unwind_private) <registers>: Delete field.
+ <regcache>: New field.
+ (jit_unwind_reg_set_impl): Set the register's value in the
+ regcache. Free the passed-in gdb_reg_value.
+ (jit_dealloc_cache): Adjust to free the regcache.
+ (jit_frame_sniffer): Allocate a regcache instead of an array of
+ gdb_reg_value pointers.
+ (jit_frame_this_id): Adjust.
+ (jit_frame_prev_register): Read raw registers off of the regcache
+ instead of from the gdb_reg_value pointer array. Use
+ gdbarch_pseudo_register_read_value to read pseudo registers.
+ * regcache.c (regcache_raw_set_cached_value): New function,
+ factored out from ...
+ (regcache_raw_write): ... here.
+ * regcache.h (regcache_raw_set_cached_value): Declare.
+
+2016-07-01 Pedro Alves <palves@redhat.com>
+ Antoine Tremblay <antoine.tremblay@ericsson.com>
+
+ * inf-ptrace.c (inf_ptrace_detach_success): New function, factored
+ out from ...
+ (inf_ptrace_detach): ... here.
+ * inf-ptrace.h (inf_ptrace_detach_success): New declaration.
+ * linux-nat.c (get_pending_status): Rename to ...
+ (get_detach_signal): ... this, and return a host signal instead of
+ filling in a wait status.
+ (detach_one_lwp): New function, factored out from detach_callback
+ and adjusted to handle detaching from a zombie thread.
+ (detach_callback): Skip the leader thread.
+ (linux_nat_detach): No longer defer to inf_ptrace_detach to detach
+ the leader thread, nor build a signal string to pass down.
+ Instead, use target_announce_detach, detach_one_lwp and
+ inf_ptrace_detach_success.
+
+2016-07-01 Pedro Alves <palves@redhat.com>
+
+ * breakpoint.c (breakpoint_init_inferior): Discard watchpoint
+ locations.
+ * infcmd.c (detach_command): Call breakpoint_init_inferior.
+
+2016-07-01 Pedro Alves <palves@redhat.com>
+
+ * darwin-nat.c (darwin_detach): Use target_announce_detach.
+ * inf-ptrace.c (inf_ptrace_detach): Likewise.
+ * nto-procfs.c (procfs_detach): Likewise.
+ * remote.c (remote_detach_1): Likewise.
+ * target.c (target_announce_detach): New function.
+ * target.h (target_announce_detach): New declaration.
+
+2016-06-29 Tom Tromey <tom@tromey.com>
+
+ PR python/20129:
+ * python/lib/gdb/command/frame_filters.py (_do_enable_frame_filter)
+ (SetFrameFilterPriority._set_filter_priority): Use "frame_filter",
+ not "name".
+
+2016-06-29 Tom Tromey <tom@tromey.com>
+
+ PR gdb/17210:
+ * target.c (free_memory_read_result_vector): Take a pointer to the
+ VEC as an argument.
+ (read_memory_robust): Install a cleanup for "result".
+ * mi/mi-main.c (mi_cmd_data_read_memory_bytes): Update.
+
+2016-06-29 Manish Goregaokar <manish@mozilla.com>
+
+ * rust-lang.c (rust_get_disr_info): Initialize saveptr to NULL.
+
+2016-06-29 Manish Goregaokar <manish@mozilla.com>
+
+ * rust-lang.c (rust_get_disr_info): Use strtok_r instead of strsep.
+
+2016-06-28 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-tdep.c (aarch64_displaced_step_b): Use int64_t for
+ variable new_offset.
+
+2016-06-27 Manish Goregaokar <manish@mozilla.com>
+
+ * rust-lang.c (rust_print_type, rust_decorations): Print unit
+ types as "()".
+ (rust_print_type): Omit return type for functions returning unit.
+
+2016-06-25 Pierre-Marie de Rodat <derodat@adacore.com>
+
+ * python/py-breakpoint.c (bppy_init): Clear bppy_pending_object
+ when there is an error during the breakpoint creation.
+
+2016-06-25 Tom Tromey <tom@tromey.com>
+
+ * rust-lang.c (rust_get_disr_info, rust_print_type): Fix
+ formatting.
+
+2016-06-25 Manish Goregaokar <manish@mozilla.com>
+
+ PR gdb/20239
+ * rust-lang.c (rust_get_disr_info): Correctly interpret
+ NonZero-optimized enums of arbitrary depth.
+ (rust_print_type): Correctly print NonZero-optimized
+ enums.
+
+2016-06-24 David Taylor <dtaylor@emc.com>
+
+ PR gdb/17520 Structure offset wrong when 1/4 GB or greater.
+ * c-lang.h: Change all parameters, variables, and struct or union
+ members used as struct or union fie3ld offsets from int to
+ LONGEST.
+ * c-valprint.c: Likewise.
+ * cp-abi.c: Likewise.
+ * cp-abi.h: Likewise.
+ * cp-valprint.c: Likewise.
+ * d-valprint.c: Likewise.
+ * dwarf2loc.c: Likewise.
+ * eval.c: Likewise.
+ * extension-priv.h: Likewise.
+ * extension.c: Likewise.
+ * extension.h: Likewise.
+ * findvar.c: Likewise.
+ * gdbtypes.h: Likewise.
+ * gnu-v2-abi.c: Likewise.
+ * gnu-v3-abi.c: Likewise.
+ * go-valprint.c: Likewise.
+ * guile/guile-internal.h: Likewise.
+ * guile/scm-pretty-print.c: Likewise.
+ * jv-valprint.c Likewise.
+ * opencl-lang.c: Likewise.
+ * p-lang.h: Likewise.
+ * python/py-prettyprint.c: Likewise.
+ * python/python-internal.h: Likewise.
+ * spu-tdep.c: Likewise.
+ * typeprint.c: Likewise.
+ * valarith.c: Likewise.
+ * valops.c: Likewise.
+ * valprint.c: Likewise.
+ * valprint.h: Likewise.
+ * value.c: Likewise.
+ * value.h: Likewise.
+ * p-valprint.c: Likewise.
+ * c-typeprint.c (c_type_print_base): When printing offset, use
+ plongest, not %d.
+ * gdbtypes.c (recursive_dump_type): Ditto.
+
+2016-06-24 David Taylor <david.taylor@emc.com>
+
+ * MAINTAINERS (Write After Approval): Add David Taylor.
+
+2016-06-24 John Baldwin <jhb@FreeBSD.org>
+
+ * configure.ac: Check for support for system call LWP fields on
+ FreeBSD.
+ * config.in, configure: Rebuild.
+ * data-directory/Makefile.in (SYSCALLS_FILES): Add freebsd.xml.
+ * fbsd-nat.c (fbsd_wait) [HAVE_STRUCT_PTRACE_LWPINFO_PL_SYSCALL_CODE]:
+ Report system call events.
+ [HAVE_STRUCT_PTRACE_LWPINFO_PL_SYSCALL_CODE]
+ (fbsd_set_syscall_catchpoint): New function.
+ (fbsd_nat_add_target) [HAVE_STRUCT_PTRACE_LWPINFO_PL_SYSCALL_CODE]:
+ Set "to_set_syscall_catchpoint" to "fbsd_set_syscall_catchpoint".
+ * fbsd-tdep.c: Include xml-syscall.h
+ (fbsd_get_syscall_number): New function.
+ (fbsd_init_abi): Set XML system call file name.
+ Add "get_syscall_number" gdbarch method.
+ * syscalls/freebsd.xml: New file.
+
+2016-06-24 John Baldwin <jhb@FreeBSD.org>
+
+ * fbsd-tdep.c: Include "auxv.h".
+ (fbsd_print_auxv_entry): New function.
+ (fbsd_init_abi): Install gdbarch "print_auxv_entry" method.
+
2016-06-24 John Baldwin <jhb@FreeBSD.org>
* auxv.c (fprint_auxv_entry): New function.