target: add to_record_will_replay target method
[binutils-gdb.git] / gdb / ChangeLog
index ac65a2186ae1d4e557152b03d0d1972078543702..a2bd84340498dc4d98be7b67af8884db8220f204 100644 (file)
+2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * record-btrace.c ((record_btrace_will_replay): New.
+       (init_record_btrace_ops): Initialize to_record_will_replay.
+       * record-full.c ((record_full_will_replay): New.
+       (init_record_full_ops): Initialize to_record_will_replay.
+       * target-delegates.c: Regenerated.
+       * target.c (target_record_will_replay): New.
+       * target.h (struct target_ops) <to_record_will_replay>: New.
+       (target_record_will_replay): New.
+
+2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * record-btrace.c (record_btrace_resume): Call
+       target_record_stop_replaying.
+       (record_btrace_stop_replaying_all): New.
+       (init_record_btrace_ops): Initialize to_record_stop_replaying.
+       * record-full.c (record_full_stop_replaying): New.
+       (init_record_full_ops ): Initialize to_record_stop_replaying.
+       * target-delegates.c: Regenerated.
+       * target.c (target_record_stop_replaying): New.
+       * target.h (struct target_ops) <to_record_stop_replaying>: New.
+       (target_record_stop_replaying): New.
+
+2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * record-btrace.c (record_btrace_xfer_partial)
+       (record_btrace_store_registers, record_btrace_prepare_to_store):
+       Call record_btrace_is_replaying with inferior_ptid instead of
+       minus_one_ptid.
+       (record_btrace_store_registers): Change error message.
+
+2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * record-btrace.c (record_btrace_is_replaying): Add ptid argument.
+       Update users to pass minus_one_ptid.
+       * record-full.c (record_full_is_replaying): Add ptid argument (ignored).
+       * record.c (cmd_record_delete): Pass inferior_ptid to
+       target_record_is_replaying.
+       * target-delegates.c: Regenerated.
+       * target.c (target_record_is_replaying): Add ptid argument.
+       * target.h (struct target_ops) <to_record_is_replaying>: Add ptid
+       argument.
+       (target_record_is_replaying): Add ptid argument.
+
+2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * record-btrace.c (record_btrace_open): Remove non_stop check.
+       * NEWS: Announce that record btrace supports non-stop mode.
+
+2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * infrun.c (handle_inferior_event_1): Switch to the eventing thread
+       in the TARKET_WAITKIND_NO_HISTORY case.
+
+2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * record-btrace.c (record_btrace_maybe_mark_async_event): New.
+       (record_btrace_wait): Call record_btrace_maybe_mark_async_event.
+
+2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * record-btrace.c (get_thread_current_frame): New.
+       (record_btrace_start_replaying): Call get_thread_current_frame.
+
+2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * record-btrace.c (record_btrace_resume_thread): A move request
+       overwrites a previous move request.
+       (record_btrace_find_resume_thread): Removed.
+       (record_btrace_resume): Resume all requested threads.
+
+2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * record-btrace.c: Include vec.h.
+       (record_btrace_find_thread_to_move): Removed.
+       (btrace_step_no_resumed, btrace_step_again)
+       (record_btrace_stop_replaying_at_end): New.
+       (record_btrace_cancel_resume): Call record_btrace_stop_replaying_at_end.
+       (record_btrace_single_step_forward): Remove calls to
+       record_btrace_stop_replaying.
+       (record_btrace_step_thread): Do only one step for BTHR_CONT and
+       BTHR_RCONT.  Keep threads at the end of their history moving.
+       (record_btrace_wait): Call record_btrace_step_thread for all threads
+       until one reports an event.  Call record_btrace_stop_replaying_at_end
+       for the eventing thread.
+
+2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * record-btrace.c (record_btrace_single_step_forward): Return
+       NO_HISTORY if a step brings us to the end of the execution history.
+
+2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * record-btrace.c (record_btrace_step_thread): Move breakpoint check
+       to ...
+       (record_btrace_single_step_forward): ... here and
+       (record_btrace_single_step_backward): ... here.
+
+2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * record-btrace.c (btrace_step_spurious)
+       (record_btrace_single_step_forward)
+       (record_btrace_single_step_backward): New.
+       (record_btrace_step_thread): Call record_btrace_single_step_forward
+       and record_btrace_single_step_backward.
+
+2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * record-btrace.c (record_btrace_replay_at_breakpoint): New.
+       (record_btrace_step_thread): Call record_btrace_replay_at_breakpoint.
+
+2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * record-btrace.c (btrace_thread_flag_to_str)
+       (record_btrace_cancel_resume): New.
+       (record_btrace_step_thread): Call btrace_thread_flag_to_str.
+       (record_btrace_resume): Print execution direction.
+       (record_btrace_resume_thread): Call btrace_thread_flag_to_str.
+       (record_btrace_wait): Call record_btrace_cancel_resume.
+
+2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * btrace.h (enum btrace_thread_flag) <BTHR_STOP>: New.
+       * record-btrace (record_btrace_resume_thread): Clear BTHR_STOP.
+       (record_btrace_find_thread_to_move): Also accept threads that have
+       BTHR_STOP set.
+       (btrace_step_stopped_on_request, record_btrace_stop): New.
+       (record_btrace_step_thread): Support BTHR_STOP.
+       (record_btrace_wait): Also clear BTHR_STOP when stopping other threads.
+       (init_record_btrace_ops): Initialize to_stop.
+
+2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * record-btrace.c (record_btrace_wait): Replace non_stop check with
+       target_is_non_stop_p ().
+
+2015-09-15  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * ada-typeprint.c (print_array_type): Do not describe arrays as
+       packed when they embed dynamic elements.
+
+2015-09-15  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * symtab.h (address_class): Document that TLS variables
+       are handled by LOC_UNRESOLVED.
+       * findvar.c (default_read_var_value): Don't relocate TLS variables.
+       * printcmd.c (address_info): Don't relocate TLS variables.
+
+2015-09-15  Pierre Langlois  <pierre.langlois@arm.com>
+
+       * aarch64-tdep.c (decode_add_sub_imm): Use debug_printf.
+       (decode_adrp): Likewise.
+       (decode_b): Likewise.
+       (decode_bcond): Likewise.
+       (decode_br): Likewise.
+       (decode_cb): Likewise.
+       (decode_eret): Likewise.
+       (decode_movz): Likewise.
+       (decode_orr_shifted_register_x): Likewise.
+       (decode_ret): Likewise.
+       (decode_stp_offset): Likewise.
+       (decode_stp_offset_wb): Likewise.
+       (decode_stur): Likewise.
+       (decode_tb): Likewise.
+       (aarch64_analyze_prologue): Likewise.
+       (pass_in_x): Likewise.
+       (pass_in_v): Likewise.
+       (pass_on_stack): Likewise.
+       (aarch64_push_dummy_call): Likewise.
+       (aarch64_extract_return_value): Likewise.
+       (aarch64_store_return_value): Likewise.
+       (aarch64_return_value): Likewise.
+       (aarch64_record_asimd_load_store): Likewise.
+       (aarch64_record_load_store): Likewise.
+       (aarch64_record_data_proc_simd_fp): Likewise.
+
+2015-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * linespec.c (minsym_found): Call gdbarch_skip_entrypoint.
+       * ppc64-tdep.c (ppc64_skip_trampoline_code): Rename to ...
+       (ppc64_skip_trampoline_code_1): ... here.
+       (ppc64_skip_trampoline_code): New wrapper function.
+       * symtab.c (find_function_start_sal): Call gdbarch_skip_entrypoint.
+
+2015-09-15  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-linux-nat.c (aarch64_linux_can_do_single_step): New
+       function.
+       (_initialize_aarch64_linux_nat): Install it to to_can_do_single_step.
+       * arm-linux-tdep.c (arm_linux_software_single_step): Return 0
+       if target_can_do_single_step returns 1.
+       * remote.c (struct vCont_action_support) <s, S>: New fields.
+       (PACKET_vContSupported): New enum.
+       (remote_protocol_features): New element for vContSupported.
+       (remote_query_supported): Append "vContSupported+".
+       (remote_vcont_probe): Remove support_s and support_S, use
+       rs->supports_vCont.s and rs->supports_vCont.S instead.  Disable
+       vCont packet if c and C actions are not supported.
+       (remote_can_do_single_step): New function.
+       (init_remote_ops): Install it to to_can_do_single_step.
+       (_initialize_remote): Call add_packet_config_cmd.
+       * target.h (struct target_ops) <to_can_do_single_step>: New field.
+       (target_can_do_single_step): New macro.
+       * target-delegates.c: Re-generated.
+
+2015-09-15  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-linux-nat.c (aarch64_linux_siginfo_fixup): New function.
+       (_initialize_aarch64_linux_nat): Call linux_nat_set_siginfo_fixup.
+       * nat/aarch64-linux.c (aarch64_compat_siginfo_from_siginfo):
+       New function.
+       (aarch64_siginfo_from_compat_siginfo): New function.
+       * nat/aarch64-linux.h: Include signal.h.
+       (compat_int_t, compat_uptr_t, compat_time_t): Typedef.
+       (compat_timer_t, compat_clock_t): Likewise.
+       (struct compat_timeval): New.
+       (union compat_sigval): New.
+       (struct compat_siginfo): New.
+       (cpt_si_pid, cpt_si_uid, cpt_si_timerid): New macros.
+       (cpt_si_overrun, cpt_si_status, cpt_si_utime): Likewise.
+       (cpt_si_stime, cpt_si_ptr, cpt_si_addr): Likewise.
+       (cpt_si_band, cpt_si_fd): Likewise.
+
+2015-09-14  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (current_stop_id): New global.
+       (get_stop_id, new_stop_id): New functions.
+       (fetch_inferior_event): Handle normal_stop proceeding the target.
+       (struct stop_context): New.
+       (save_stop_context, release_stop_context_cleanup)
+       (stop_context_changed): New functions.
+       (normal_stop): Return true if the hook-stop changes the stop
+       context.
+       * infrun.h (get_stop_id): Declare.
+       (normal_stop): Now returns int.  Add documentation.
+
+2015-09-14  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * ada-lang.c (ada_value_ptr_subscript): Update the heading
+       comment.  Handle packed arrays.
+
+2015-09-14  Pedro Alves  <palves@redhat.com>
+
+       * NEWS (Changes in GDB 7.10, New commands>: Remove duplicate
+       mention of maint set/show target-non-stop.
+
+2015-09-11  Don Breazeal  <donb@codesourcery.com>
+
+       * NEWS: Announce new remote packets for the exec-events
+       feature and the exec-events feature and associated commands.
+
+2015-09-11  Don Breazeal  <donb@codesourcery.com>
+
+       * remote.c (remote_exec_event_p): New function.
+       (remote_insert_exec_catchpoint): New function.
+       (remote_remove_exec_catchpoint): New function.
+       (init_extended_remote_ops): Initialize extended_remote_ops
+       members to_insert_exec_catchpoint and
+       to_remove_exec_catchpoint.
+
+2015-09-11  Don Breazeal  <donb@codesourcery.com>
+           Luis Machado  <lgustavo@codesourcery.com>
+
+       * infrun.c (follow_exec): Use process-style ptid for
+       exec message.  Call add_inferior_with_spaces and
+       target_follow_exec.
+       * nat/linux-ptrace.c (linux_supports_traceexec): New function.
+       * nat/linux-ptrace.h (linux_supports_traceexec): Declare.
+       * remote.c (remote_pspace_data): New static variable.
+       (remote_pspace_data_cleanup): New function.
+       (get_remote_exec_file): New function.
+       (set_remote_exec_file_1): New function.
+       (set_remote_exec_file): New function.
+       (show_remote_exec_file): New function.
+       (remote_exec_file): Delete static variable.
+       (anonymous enum) <PACKET_exec_event_feature>: New
+       enumeration constant.
+       (remote_protocol_features): Add entry for exec-events feature.
+       (remote_query_supported): Add client side of qSupported query
+       for exec-events feature.
+       (remote_follow_exec): New function.
+       (remote_parse_stop_reply): Handle 'exec' stop reason.
+       (extended_remote_run, extended_remote_create_inferior): Call
+       get_remote_exec_file and set_remote_exec_file_1.
+       (init_extended_remote_ops) <to_follow_exec>: Initialize new
+       member.
+       (_initialize_remote): Call
+       register_program_space_data_with_cleanup.  Call
+       add_packet_config_cmd for remote exec-events feature.
+       Modify call to add_setshow_string_noescape_cmd for exec-file
+       to use new functions set_remote_exec_file and
+       show_remote_exec_file.
+       * target-debug.h, target-delegates.c: Regenerated.
+       * target.c (target_follow_exec): New function.
+       * target.h (struct target_ops) <to_follow_exec>: New member.
+       (target_follow_exec): Declare new function.
+
+2015-09-11  Pierre Langlois  <pierre.langlois@arm.com>
+
+       * aarch64-tdep.c (decode_cb): Move up comment describing the
+       encoding.
+       (decode_tb): Fix a typo in comment above the function.  Move up
+       comment describing the encoding.
+
+2015-09-11  Pierre Langlois  <pierre.langlois@arm.com>
+
+       * aarch64-tdep.c (decode_bcond): Fix incorrect mask.
+
+2015-09-11  Mihail-Marian Nistor  <mihail.nistor@freescale.com>
+
+       PR gdb/18947
+       * aarch64-linux-tdep.c: (aarch64_linux_init_abi): Install
+       glibc_skip_solib_resolver as gdbarch_skip_solib_resolver callback.
+
+2015-09-10  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * ada-lang.c (scan_discrim_bound): Factor out arithmetic
+       operations.
+
+2015-09-10  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * ada-lang.c (ada_search_struct_field): Constify parameters
+       and/or variables..
+       (xget_renaming_scope): Likewise.
+       (ada_is_redundant_range_encoding): Likewise.
+       (scan_discrim_bound): Likewise.
+       (to_fixed_range_type): Likewise.
+
+2015-09-10  Yao Qi  <yao.qi@linaro.org>
+
+       * breakpoint.c (download_tracepoint_locations): New local
+       can_download_tracepoint.  Check the result of
+       target_can_download_tracepoint and save it in
+       can_download_tracepoint if there are tracepoints to download.
+       * linux-nat.h (enum tribool): Move it to ...
+       * common/common-types.h: ... here.
+
+2015-09-09  Pedro Alves  <palves@redhat.com>
+
+       * inf-loop.c (inferior_event_handler): Delete INF_TIMER case.
+       * target.h (enum inferior_event_type) <INF_TIMER>: Delete.
+
+2015-09-09  Pedro Alves  <palves@redhat.com>
+
+       * continuations.c (add_continuation, restore_thread_cleanup)
+       (do_all_continuations_ptid, do_all_continuations_thread_callback)
+       (do_all_continuations_thread, do_all_continuations)
+       (discard_all_continuations_thread_callback)
+       (discard_all_continuations_thread, discard_all_continuations)
+       (add_intermediate_continuation)
+       (do_all_intermediate_continuations_thread_callback)
+       (do_all_intermediate_continuations_thread)
+       (do_all_intermediate_continuations)
+       (discard_all_intermediate_continuations_thread_callback)
+       (discard_all_intermediate_continuations_thread)
+       (discard_all_intermediate_continuations): Delete.
+       * continuations.h (add_continuation, do_all_continuations)
+       (do_all_continuations_thread, discard_all_continuations)
+       (discard_all_continuations_thread, add_intermediate_continuation)
+       (do_all_intermediate_continuations)
+       (do_all_intermediate_continuations_thread)
+       (discard_all_intermediate_continuations)
+       (discard_all_intermediate_continuations_thread): Delete
+       declarations.
+       * event-top.c (stdin_event_handler): Delete references to
+       continuations.
+       * gdbthread.h (struct thread_info): Delete continuations and
+       intermediate_continuations fields.
+       * inf-loop.c (inferior_event_handler): Remove references to
+       continuations.
+       * infrun.c (infrun_thread_stop_requested_callback): Remove
+       references to continuations.
+       * target.h (enum inferior_event_type) <INF_EXEC_CONTINUE>: Delete.
+       * thread.c: Don't include "continuations.h".
+       (clear_thread_inferior_resources): Remove references to
+       continuations.
+
+2015-09-09  Pedro Alves  <palves@redhat.com>
+
+       * infcall.c (struct dummy_frame_context_saver): Delete.
+       (dummy_frame_context_saver_free, dummy_frame_context_saver_dtor)
+       (dummy_frame_context_saver_drop)
+       (dummy_frame_context_saver_cleanup)
+       (dummy_frame_context_saver_get_regs)
+       (dummy_frame_context_saver_setup): Delete.
+       * infcall.h (dummy_frame_context_saver_drop)
+       (dummy_frame_context_saver_cleanup)
+       (dummy_frame_context_saver_get_regs, dummy_frame_context_saver):
+       Delete.
+       (get_return_value): Remove 'ctx_saver' paremeter.  Adjust.
+       * inferior.h (get_return_value): Remove 'ctx_saver' paremeter.
+       * python/py-finishbreakpoint.c (bpfinishpy_pre_stop_hook): Adjust.
+
+2015-09-09  Pedro Alves  <palves@redhat.com>
+
+       * breakpoint.c: Include "thread-fsm.h".
+       (struct until_break_command_continuation_args): Delete.
+       (struct until_break_fsm): New.
+       (until_break_fsm_ops): New global.
+       (new_until_break_fsm, until_break_fsm_should_stop): New functions.
+       (until_break_command_continuation): Delete.
+       (until_break_fsm_clean_up): New function.
+       (until_break_fsm_async_reply_reason): New function.
+       (until_break_command): Adjust to create an until_break_fsm instead
+       of a continuation.
+       (momentary_bkpt_print_it): No longer print MI's async-stop-reason
+       here.
+       * infcmd.c (struct until_next_fsm): New.
+       (until_next_fsm_ops): New global.
+       (new_until_next_fsm, until_next_fsm_should_stop): New function.
+       (until_next_continuation): Delete.
+       (until_next_fsm_clean_up, until_next_fsm_async_reply_reason): New
+       functions.
+       (until_next_command): Adjust to create a new until_next_fsm
+       instead of a continuation.
+
+2015-09-09  Pedro Alves  <palves@redhat.com>
+
+       * infcall.c: Include thread_fsm.h.
+       (struct call_return_meta_info): New.
+       (get_call_return_value): New function, factored out from
+       call_function_by_hand_dummy.
+       (struct call_thread_fsm): New.
+       (call_thread_fsm_ops): New global.
+       (new_call_thread_fsm, call_thread_fsm_should_stop)
+       (call_thread_fsm_should_notify_stop): New functions.
+       (run_inferior_call): Add 'sm' parameter.  Associate the FSM with
+       the thread.
+       (call_function_by_hand_dummy): Create a new call_thread_fsm
+       instance, associate it with the thread, and wait for the FSM to
+       finish.  If finished successfully, fetch the function's result
+       value out of the FSM.
+       * infrun.c (fetch_inferior_event): If the FSM says the stop
+       shouldn't be notified, don't call normal_stop.
+       (maybe_remove_breakpoints): New function, factored out from ...
+       (normal_stop): ... here.  Simplify.
+       * infrun.h (maybe_remove_breakpoints): Declare.
+       * thread-fsm.c (thread_fsm_should_notify_stop): New function.
+       (thread-fsm.h) <struct thread_fsm_ops>: New field.
+       (thread_fsm_should_notify_stop): Declare.
+
+2015-09-09  Pedro Alves  <palves@redhat.com>
+
+       * Makefile.in (COMMON_OBS): Add thread-fsm.o.
+       * breakpoint.c (handle_jit_event): Print debug output.
+       (bpstat_what): Split event callback handling to ...
+       (bpstat_run_callbacks): ... this new function.
+       (momentary_bkpt_print_it): No longer handle bp_finish here.
+       * breakpoint.h (bpstat_run_callbacks): Declare.
+       * gdbthread.h (struct thread_info) <step_multi>: Delete field.
+       <thread_fsm>: New field.
+       (thread_cancel_execution_command): Declare.
+       * infcmd.c: Include thread-fsm.h.
+       (struct step_command_fsm): New.
+       (step_command_fsm_ops): New global.
+       (new_step_command_fsm, step_command_fsm_prepare): New functions.
+       (step_1): Adjust to use step_command_fsm_prepare and
+       prepare_one_step.
+       (struct step_1_continuation_args): Delete.
+       (step_1_continuation): Delete.
+       (step_command_fsm_should_stop): New function.
+       (step_once): Delete.
+       (step_command_fsm_clean_up, step_command_fsm_async_reply_reason)
+       (prepare_one_step): New function, based on step_once.
+       (until_next_command): Remove step_multi reference.
+       (struct return_value_info): New.
+       (print_return_value): Rename to ...
+       (print_return_value_1): ... this.  New struct return_value_info
+       parameter.  Adjust.
+       (print_return_value): Reimplement as wrapper around
+       print_return_value_1.
+       (struct finish_command_fsm): New.
+       (finish_command_continuation): Delete.
+       (finish_command_fsm_ops): New global.
+       (new_finish_command_fsm, finish_command_fsm_should_stop): New
+       functions.
+       (finish_command_fsm_clean_up, finish_command_fsm_return_value):
+       New.
+       (finish_command_continuation_free_arg): Delete.
+       (finish_command_fsm_async_reply_reason): New.
+       (finish_backward, finish_forward): Change symbol parameter to a
+       finish_command_fsm.  Adjust.
+       (finish_command): Create a finish_command_fsm.  Adjust.
+       * infrun.c: Include "thread-fsm.h".
+       (clear_proceed_status_thread): Delete the thread's FSM.
+       (infrun_thread_stop_requested_callback): Cancel the thread's
+       execution command.
+       (clean_up_just_stopped_threads_fsms): New function.
+       (fetch_inferior_event): Handle the event_thread's should_stop
+       method saying the command isn't done yet.
+       (process_event_stop_test): Run breakpoint callbacks here.
+       (print_stop_event): Rename to ...
+       (print_stop_location): ... this.
+       (restore_current_uiout_cleanup): New function.
+       (print_stop_event): Reimplement.
+       (normal_stop): No longer notify the end_stepping_range observers
+       here handle "step N" nor "finish" here.  No longer call
+       print_stop_event here.
+       * infrun.h (struct return_value_info): Forward declare.
+       (print_return_value): Declare.
+       (print_stop_event): Change prototype.
+       * thread-fsm.c: New file.
+       * thread-fsm.h: New file.
+       * thread.c: Include "thread-fsm.h".
+       (thread_cancel_execution_command): New function.
+       (clear_thread_inferior_resources): Call it.
+       * cli/cli-interp.c (cli_on_normal_stop): New function.
+       (cli_interpreter_init): Install cli_on_normal_stop as normal_stop
+       observer.
+       * mi/mi-interp.c: Include "thread-fsm.h".
+       (restore_current_uiout_cleanup): Delete.
+       (mi_on_normal_stop): If the thread has an FSM associated, and it
+       finished, ask it for the async-reply-reason to print.  Always call
+       print_stop_event here, regardless of the top-level interpreter.
+       Check bpstat_what to tell whether an asynchronous breakpoint hit
+       triggered.
+       * tui/tui-interp.c (tui_on_normal_stop): New function.
+       (tui_init): Install tui_on_normal_stop as normal_stop observer.
+
+2015-09-09  Pedro Alves  <palves@redhat.com>
+
+       * breakpoint.c (bpstat_do_actions_1, until_break_command): Don't
+       check whether the target can async.
+       * inf-loop.c (inferior_event_handler): Only call target_async if
+       the target can async.
+       * infcall.c: Include top.h and interps.h.
+       (run_inferior_call): For the interpreter to sync mode while
+       running the infcall.  Call wait_sync_command_done instead of
+       wait_for_inferior plus normal_stop.
+       * infcmd.c (prepare_execution_command): Don't check whether the
+       target can async when running in the foreground.
+       (step_1): Delete synchronous case handling.
+       (step_once): Always install a continuation, even in sync mode.
+       (until_next_command, finish_forward): Don't check whether the
+       target can async.
+       (attach_command_post_wait, notice_new_inferior): Always install a
+       continuation, even in sync mode.
+       * infrun.c (mark_infrun_async_event_handler): New function.
+       (proceed): In sync mode, mark infrun's event source instead of
+       waiting for events here.
+       (fetch_inferior_event): If the target can't async, do a blocking
+       wait.
+       (prepare_to_wait): In sync mode, mark infrun's event source.
+       (infrun_async_inferior_event_handler): No longer bail out if the
+       target can't async.
+       * infrun.h (mark_infrun_async_event_handler): New declaration.
+       * linux-nat.c (linux_nat_wait_1): Remove calls to
+       set_sigint_trap/clear_sigint_trap.
+       (linux_nat_terminal_inferior): No longer check whether the target
+       can async.
+       * mi/mi-interp.c (mi_on_sync_execution_done): Update and simplify
+       comment.
+       (mi_execute_command_input_handler): No longer check whether the
+       target is async.  Update and simplify comment.
+       * target.c (default_target_wait): New function.
+       * target.h (struct target_ops) <to_wait>: Now defaults to
+       default_target_wait.
+       (default_target_wait): Declare.
+       * top.c (wait_sync_command_done): New function, factored out from
+       ...
+       (maybe_wait_sync_command_done): ... this.
+       * top.h (wait_sync_command_done): Declare.
+       * target-delegates.c: Regenerate.
+
+2015-09-09  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * nat/linux-btrace.h (struct btrace_target_info) <ptr_bits>: Remove.
+       * nat/linux-btrace.c: Include filestuff.h and inttypes.h.
+       Remove include of sys/utsname.h.
+       (linux_determine_kernel_ptr_bits): Remove.
+       (linux_determine_kernel_start): New.
+       (perf_event_is_kernel_addr): Remove tinfo argument.  Update users.
+       Update check.
+       (perf_event_skip_bts_record): Remove tinfo argument.  Update users.
+       (linux_enable_bts, linux_enable_pt): Remove tinfo->ptr_bits
+       initialization.
+       * x86-linux-nat.c (x86_linux_enable_btrace): Remove ptr_bits
+       assignment.
+
+2015-09-07  Pedro Alves  <palves@redhat.com>
+
+       * guile/guile-internal.h (as_a_scm_t_subr): New.
+       * guile/guile.c (misc_guile_functions): Use it.
+       * guile/scm-arch.c (arch_functions): Use it.
+       * guile/scm-block.c (block_functions, gdbscm_initialize_blocks):
+       Use it.
+       * guile/scm-breakpoint.c (breakpoint_functions): Use it.
+       * guile/scm-cmd.c (command_functions): Use it.
+       * guile/scm-disasm.c (disasm_functions): Use it.
+       * guile/scm-exception.c (exception_functions)
+       (private_exception_functions): Use it.
+       * guile/scm-frame.c (frame_functions)
+       * guile/scm-gsmob.c (gsmob_functions): Use it.
+       * guile/scm-iterator.c (iterator_functions): Use it.
+       * guile/scm-lazy-string.c (lazy_string_functions): Use it.
+       * guile/scm-math.c (math_functions): Use it.
+       * guile/scm-objfile.c (objfile_functions): Use it.
+       * guile/scm-param.c (parameter_functions): Use it.
+       * guile/scm-ports.c (port_functions, private_port_functions): Use
+       it.
+       * guile/scm-pretty-print.c (pretty_printer_functions): Use it.
+       * guile/scm-progspace.c (pspace_functions): Use it.
+       * guile/scm-string.c (string_functions): Use it.
+       * guile/scm-symbol.c (symbol_functions): Use it.
+       * guile/scm-symtab.c (symtab_functions): Use it.
+       * guile/scm-type.c (type_functions, gdbscm_initialize_types): Use
+       it.
+       * guile/scm-value.c (value_functions): Use it.
+
+2015-09-04  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * tui/tui-data.c (win_with_focus): Remove cast of NULL pointer.
+       (tui_next_win): Likewise.
+       (tui_prev_win): Likewise.
+       (tui_partial_win_by_name): Likewise.
+       (tui_init_generic_part): Likewise.
+       (init_content_element): Likewise.
+       (tui_del_window): Likewise.
+       (tui_free_window): Likewise.
+       (tui_del_data_windows): Likewise.
+       (tui_free_data_content): Likewise.
+       * tui/tui-layout.c (make_source_or_disasm_window): Likewise.
+       * tui/tui-regs.c (tui_show_register_group): Likewise.
+       * tui/tui-win.c (tui_resize_all): Likewise.
+       (tui_set_focus): Likewise.
+       (tui_set_win_height): Likewise.
+       (make_invisible_and_set_new_height): Likewise.
+       * tui/tui-windata.c (tui_delete_data_content_windows): Likewise.
+       * tui/tui-wingeneral.c (make_visible): Likewise.
+
+2015-09-04  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * cli/cli-decode.c (find_cmd): Remove cast of NULL pointer.
+
+2015-09-04  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * c-valprint.c (print_unpacked_pointer): Remove cast of NULL
+       pointer.
+       * dbxread.c (dbx_end_psymtab): Likewise.
+       * gnu-nat.c (gnu_write_inferior): Likewise.
+       * mdebugread.c (cross_ref): Likewise.
+       * p-valprint.c (pascal_val_print): Likewise.
+       * xcoffread.c (xcoff_end_psymtab): Likewise.
+
+2015-09-04  Yao Qi  <yao.qi@linaro.org>
+
+       * NEWS: Mention the aarch64 multi-arch debugging support.
+
+2015-09-03  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * ada-lang.c (ada_language_arch_info): Create a TYPE_CODE_CHAR
+       type instead of a TYPE_CODE_INT one for the string_char_type
+       and the ada_primitive_type_char types.
+
+2015-09-03  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
+       Move code to aarch64_linux_region_ok_for_watchpoint.  Call
+       aarch64_linux_region_ok_for_watchpoint.
+       * nat/aarch64-linux-hw-point.c (aarch64_linux_region_ok_for_watchpoint):
+       New function.
+       * nat/aarch64-linux-hw-point.h (aarch64_linux_region_ok_for_watchpoint):
+       Declare it.
+
+2015-09-02  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * gdb_obstack.h (obstack_strdup): Declare.
+       * gdb_obstack.c (obstack_strdup): Define.
+       * gdbarch.sh (gdbarch_obstack_strdup): Declare and define.
+       * gdbarch.c: Regenerate.
+       * gdbarch.h: Regenerate.
+       * gdbtypes.c (arch_type): Use gdbarch_obstack_strdup.
+
+2015-09-02  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * gdbtypes.c (copy_type_recursive): Update documentation.
+
+2015-09-01  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * solib-svr4.c (solib_event_probe_action): Initialize 'probe_argc'
+       as zero.
+
+2015-09-01  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * solib-svr4.c (svr4_handle_solib_event): Initialize 'val' as NULL
+
+2015-09-01  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * solib-svr4.c (solib_event_probe_action): Call
+       get_probe_argument_count using TRY...CATCH.
+       (svr4_handle_solib_event): Likewise, for evaluate_probe_argument.
+
+2015-09-01  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * probe.h (struct probe_ops) <get_probe_argument_count,
+       evaluate_probe_argument, enable_probe, disable_probe>: Mention in
+       the comment that the function can throw an exception.
+       (get_probe_argument_count): Likewise.
+       (evaluate_probe_argument): Likewise.
+       * stap-probe.c (stap_get_opcode): Call error instead of
+       internal_error.
+       (stap_get_expected_argument_type): Likewise.  Add argument
+       'probe'.  Improve error message by mentioning the probe's name.
+       (stap_parse_probe_arguments): Adjust call to
+       stap_get_expected_argument_type.
+       (stap_get_arg): Add comment.  Assert that 'probe->args_parsed' is
+       not zero.  Call internal_error if GDB requests an argument but the
+       probe has no arguments.
+
+2015-09-01  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * ada-lang.c (ada_resolve_function): Do not ask the user what
+       match to use when in completion mode.
+
+2015-08-31  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * tui/tui-data.c (tui_win_name): Make local variable const, remove
+       cast of NULL.
+
+2015-08-31  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * xtensa-tdep.h (XTENSA_GDBARCH_TDEP_INSTANTIATE): Initialize
+       call_abi using XSHAL_ABI macro.
+
+2015-08-29  Doug Evans  <xdje42@gmail.com>
+
+       * symtab.h (struct symbol): Tweak comment.
+
+2015-08-29  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * gdbtypes.c (alloc_type_arch): Allocate the type on the given
+       gdbarch obstack instead of on the heap.  Update commentary
+       accordingly.
+
+2015-08-28  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 7.10 released.
+
+2015-08-28  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * NEWS: Update entry about non-8-bits addressable memory.
+
+2015-08-28  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       Revert:
+       2014-11-06  Doug Evans  <xdje42@gmail.com>
+       * solib.c (solib_global_lookup): Fetch arch from objfile,
+       not target_gdbarch.
+
+2015-08-27  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Do not
+       attempt to relocate a TLS variable offset.
+
+2015-08-27  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * spu-multiarch.c (parse_spufs_run): Bail out if inferior is not
+       registered yet.  Set inferior_ptid while calling target_read_memory.
+
+2015-08-27  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * nat/linux-ptrace.h (GDB_ARCH_TRAP_BRKPT): Replace by ...
+       (GDB_ARCH_IS_TRAP_BRKPT): ... this.  Add __powerpc__ case.
+       * linux-nat.c (check_stopped_by_breakpoint): Use
+       GDB_ARCH_IS_TRAP_BRKPT instead of GDB_ARCH_TRAP_BRKPT.
+
+2015-08-27  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * linux-thread-db.c (thread_db_get_thread_local_address): If the
+       thread was not yet discovered, use thread_from_lwp instead of
+       calling thread_db_find_new_threads_1.
+
+2015-08-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * m88k-tdep.c (m88k_analyze_prologue): Fix inverted allocation
+       statements.
+
+2015-08-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * NEWS: Document support for non-8-bits addressable memory.
+
+2015-08-27  Pedro Alves  <palves@redhat.com>
+
+       * configure.ac: Remove AC_TYPE_SIGNAL call.
+       * configure, config.in: Regenerate.
+
+2015-08-27  Pedro Alves  <palves@redhat.com>
+
+       * cp-support.c (gdb_demangle): Use sighandler_t.  Remove cast.
+       * extension-priv.h: Include signal.h.
+       (struct signal_handler) <handler>: Change type to sighandler_t.
+       * extension.c (install_gdb_sigint_handler): Use sighandler_t.
+       * inflow.c (sigint_ours, sigquit_ours): Change type to
+       sighandler_t.
+       (child_terminal_inferior): Remove casts.
+       (child_terminal_ours_1, new_tty): Use sighandler_t.  Remove casts.
+       (osig): Change type to sighandler_t.
+       * nto-procfs.c (ofunc): Change type to sighandler_t.
+       (procfs_wait): Remove casts.
+       * remote-m32r-sdi.c (m32r_wait, m32r_load): Use sighandler_t.
+       * remote-sim.c (gdbsim_wait): Use sighandler_t.
+       * utils.c (wait_to_die_with_timeout): Use sighandler_t.
+
+2015-08-27  Pedro Alves  <palves@redhat.com>
+
+       * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add signal-h.
+       * gnulib/aclocal.m4: Renegerate.
+       * gnulib/config.in: Renegerate.
+       * gnulib/configure: Renegerate.
+       * gnulib/import/Makefile.am: Update.
+       * gnulib/import/Makefile.in: Regenerate.
+       * gnulib/import/m4/gnulib-cache.m4: Update.
+       * gnulib/import/m4/gnulib-comp.m4: Update.
+       * gnulib/import/m4/signal_h.m4: New file.
+       * gnulib/import/signal.in.h: New file.
+
+2015-08-27  Pedro Alves  <palves@redhat.com>
+
+       * remote.c (DEFAULT_MAX_MEMORY_PACKET_SIZE)
+       (MIN_MEMORY_PACKET_SIZE): New.
+       (MAX_REMOTE_PACKET_SIZE, MIN_REMOTE_PACKET_SIZE): Delete.
+       (get_memory_packet_size): Adjust.  No longer limit the max packet
+       size.
+       (set_memory_packet_size): Adjust, and remove dead code.
+       (remote_check_symbols): Use xmalloc and a cleanup instead of
+       alloca.
+       (remote_packet_size): No longer cap the packet size.
+       (putpkt_binary): Use xmalloc and a cleanup instead of alloca.
+
+2015-08-26  Luis Machado  <lgustavo@codesourcery.com>
+
+       * compile/compile.c (compile_to_object): Mention language in
+       error message.
+
+2015-08-26  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * target.c (target_pre_inferior): Unset attach_flag.
+
+2015-08-26  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdbarch.sh (append_name): Fix type in XRESIZEVEC.
+       * gdbarch.c: Re-generate.
+
+2015-08-26  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * aarch64-linux-nat.c (aarch64_add_process): Replace xmalloc-family
+       function with the XNEW-family equivalent.
+       * aarch64-tdep.c (aarch64_gdbarch_init): Likewise.
+       * ada-exp.y (write_ambiguous_var): Likewise.
+       * ada-lang.c (resolve_subexp): Likewise.
+       (user_select_syms): Likewise.
+       (assign_aggregate): Likewise.
+       (ada_evaluate_subexp): Likewise.
+       (cache_symbol): Likewise.
+       * addrmap.c (allocate_key): Likewise.
+       (addrmap_create_mutable): Likewise.
+       * aix-thread.c (sync_threadlists): Likewise.
+       * alpha-tdep.c (alpha_push_dummy_call): Likewise.
+       (alpha_gdbarch_init): Likewise.
+       * amd64-windows-tdep.c (amd64_windows_push_arguments): Likewise.
+       * arm-linux-nat.c (arm_linux_add_process): Likewise.
+       * arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Likewise.
+       * arm-tdep.c (push_stack_item): Likewise.
+       (arm_displaced_step_copy_insn): Likewise.
+       (arm_gdbarch_init): Likewise.
+       (_initialize_arm_tdep): Likewise.
+       * avr-tdep.c (push_stack_item): Likewise.
+       * ax-general.c (new_agent_expr): Likewise.
+       * block.c (block_initialize_namespace): Likewise.
+       * breakpoint.c (alloc_counted_command_line): Likewise.
+       (update_dprintf_command_list): Likewise.
+       (parse_breakpoint_sals): Likewise.
+       (decode_static_tracepoint_spec): Likewise.
+       (until_break_command): Likewise.
+       (clear_command): Likewise.
+       (update_global_location_list): Likewise.
+       (get_breakpoint_objfile_data) Likewise.
+       * btrace.c (ftrace_new_function): Likewise.
+       (btrace_set_insn_history): Likewise.
+       (btrace_set_call_history): Likewise.
+       * buildsym.c (add_symbol_to_list): Likewise.
+       (record_pending_block): Likewise.
+       (start_subfile): Likewise.
+       (start_buildsym_compunit): Likewise.
+       (push_subfile): Likewise.
+       (end_symtab_get_static_block): Likewise.
+       (buildsym_init): Likewise.
+       * cli/cli-cmds.c (source_command): Likewise.
+       * cli/cli-decode.c (add_cmd): Likewise.
+       * cli/cli-script.c (build_command_line): Likewise.
+       (setup_user_args): Likewise.
+       (realloc_body_list): Likewise.
+       (process_next_line): Likewise.
+       (copy_command_lines): Likewise.
+       * cli/cli-setshow.c (do_set_command): Likewise.
+       * coff-pe-read.c (read_pe_exported_syms): Likewise.
+       * coffread.c (coff_locate_sections): Likewise.
+       (coff_symtab_read): Likewise.
+       (coff_read_struct_type): Likewise.
+       * common/cleanups.c (make_my_cleanup2): Likewise.
+       * common/common-exceptions.c (throw_it): Likewise.
+       * common/filestuff.c (make_cleanup_close): Likewise.
+       * common/format.c (parse_format_string): Likewise.
+       * common/queue.h (DEFINE_QUEUE_P): Likewise.
+       * compile/compile-object-load.c (munmap_list_add): Likewise.
+       (compile_object_load): Likewise.
+       * compile/compile-object-run.c (compile_object_run): Likewise.
+       * compile/compile.c (append_args): Likewise.
+       * corefile.c (specify_exec_file_hook): Likewise.
+       * cp-support.c (make_symbol_overload_list): Likewise.
+       * cris-tdep.c (push_stack_item): Likewise.
+       (cris_gdbarch_init): Likewise.
+       * ctf.c (ctf_trace_file_writer_new): Likewise.
+       * dbxread.c (init_header_files): Likewise.
+       (add_new_header_file): Likewise.
+       (init_bincl_list): Likewise.
+       (dbx_end_psymtab): Likewise.
+       (start_psymtab): Likewise.
+       (dbx_end_psymtab): Likewise.
+       * dcache.c (dcache_init): Likewise.
+       * dictionary.c (dict_create_hashed): Likewise.
+       (dict_create_hashed_expandable): Likewise.
+       (dict_create_linear): Likewise.
+       (dict_create_linear_expandable): Likewise.
+       * dtrace-probe.c (dtrace_process_dof_probe): Likewise.
+       * dummy-frame.c (register_dummy_frame_dtor): Likewise.
+       * dwarf2-frame-tailcall.c (cache_new_ref1): Likewise.
+       * dwarf2-frame.c (dwarf2_build_frame_info): Likewise.
+       (decode_frame_entry_1): Likewise.
+       * dwarf2expr.c (new_dwarf_expr_context): Likewise.
+       * dwarf2loc.c (dwarf2_compile_expr_to_ax): Likewise.
+       * dwarf2read.c (dwarf2_has_info): Likewise.
+       (create_signatured_type_table_from_index): Likewise.
+       (dwarf2_read_index): Likewise.
+       (dw2_get_file_names_reader): Likewise.
+       (create_all_type_units): Likewise.
+       (read_cutu_die_from_dwo): Likewise.
+       (init_tu_and_read_dwo_dies): Likewise.
+       (init_cutu_and_read_dies): Likewise.
+       (create_all_comp_units): Likewise.
+       (queue_comp_unit): Likewise.
+       (inherit_abstract_dies): Likewise.
+       (read_call_site_scope): Likewise.
+       (dwarf2_add_field): Likewise.
+       (dwarf2_add_typedef): Likewise.
+       (dwarf2_add_member_fn): Likewise.
+       (attr_to_dynamic_prop): Likewise.
+       (abbrev_table_alloc_abbrev): Likewise.
+       (abbrev_table_read_table): Likewise.
+       (add_include_dir): Likewise.
+       (add_file_name): Likewise.
+       (dwarf_decode_line_header): Likewise.
+       (dwarf2_const_value_attr): Likewise.
+       (dwarf_alloc_block): Likewise.
+       (parse_macro_definition): Likewise.
+       (set_die_type): Likewise.
+       (write_psymtabs_to_index): Likewise.
+       (create_cus_from_index): Likewise.
+       (dwarf2_create_include_psymtab): Likewise.
+       (process_psymtab_comp_unit_reader): Likewise.
+       (build_type_psymtab_dependencies): Likewise.
+       (read_comp_units_from_section): Likewise.
+       (compute_compunit_symtab_includes): Likewise.
+       (create_dwo_unit_in_dwp_v1): Likewise.
+       (create_dwo_unit_in_dwp_v2): Likewise.
+       (read_func_scope): Likewise.
+       (process_structure_scope): Likewise.
+       (mark_common_block_symbol_computed): Likewise.
+       (load_partial_dies): Likewise.
+       (dwarf2_symbol_mark_computed): Likewise.
+       * elfread.c (elf_symfile_segments): Likewise.
+       (elf_read_minimal_symbols): Likewise.
+       * environ.c (make_environ): Likewise.
+       * eval.c (evaluate_subexp_standard): Likewise.
+       * event-loop.c (create_file_handler): Likewise.
+       (create_async_signal_handler): Likewise.
+       (create_async_event_handler): Likewise.
+       (create_timer): Likewise.
+       * exec.c (build_section_table): Likewise.
+       * fbsd-nat.c (fbsd_remember_child): Likewise.
+       * fork-child.c (fork_inferior): Likewise.
+       * frv-tdep.c (new_variant): Likewise.
+       * gdbarch.sh (gdbarch_alloc): Likewise.
+       (append_name): Likewise.
+       * gdbtypes.c (rank_function): Likewise.
+       (copy_type_recursive): Likewise.
+       (add_dyn_prop): Likewise.
+       * gnu-nat.c (make_proc): Likewise.
+       (make_inf): Likewise.
+       (gnu_write_inferior): Likewise.
+       * gnu-v3-abi.c (build_gdb_vtable_type): Likewise.
+       (build_std_type_info_type): Likewise.
+       * guile/scm-param.c (compute_enum_list): Likewise.
+       * guile/scm-utils.c (gdbscm_parse_function_args): Likewise.
+       * guile/scm-value.c (gdbscm_value_call): Likewise.
+       * h8300-tdep.c (h8300_gdbarch_init): Likewise.
+       * hppa-tdep.c (hppa_init_objfile_priv_data): Likewise.
+       (read_unwind_info): Likewise.
+       * ia64-tdep.c (ia64_gdbarch_init): Likewise.
+       * infcall.c (dummy_frame_context_saver_setup): Likewise.
+       (call_function_by_hand_dummy): Likewise.
+       * infcmd.c (step_once): Likewise.
+       (finish_forward): Likewise.
+       (attach_command): Likewise.
+       (notice_new_inferior): Likewise.
+       * inferior.c (add_inferior_silent): Likewise.
+       * infrun.c (add_displaced_stepping_state): Likewise.
+       (save_infcall_control_state): Likewise.
+       (save_inferior_ptid): Likewise.
+       (_initialize_infrun): Likewise.
+       * jit.c (bfd_open_from_target_memory): Likewise.
+       (jit_gdbarch_data_init): Likewise.
+       * language.c (add_language): Likewise.
+       * linespec.c (decode_line_2): Likewise.
+       * linux-nat.c (add_to_pid_list): Likewise.
+       (add_initial_lwp): Likewise.
+       * linux-thread-db.c (add_thread_db_info): Likewise.
+       (record_thread): Likewise.
+       (info_auto_load_libthread_db): Likewise.
+       * m32c-tdep.c (m32c_gdbarch_init): Likewise.
+       * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
+       * m68k-tdep.c (m68k_gdbarch_init): Likewise.
+       * m88k-tdep.c (m88k_analyze_prologue): Likewise.
+       * macrocmd.c (macro_define_command): Likewise.
+       * macroexp.c (gather_arguments): Likewise.
+       * macroscope.c (sal_macro_scope): Likewise.
+       * macrotab.c (new_macro_table): Likewise.
+       * mdebugread.c (push_parse_stack): Likewise.
+       (parse_partial_symbols): Likewise.
+       (parse_symbol): Likewise.
+       (psymtab_to_symtab_1): Likewise.
+       (new_block): Likewise.
+       (new_psymtab): Likewise.
+       (mdebug_build_psymtabs): Likewise.
+       (add_pending): Likewise.
+       (elfmdebug_build_psymtabs): Likewise.
+       * mep-tdep.c (mep_gdbarch_init): Likewise.
+       * mi/mi-main.c (mi_execute_command): Likewise.
+       * mi/mi-parse.c (mi_parse_argv): Likewise.
+       * minidebug.c (lzma_open): Likewise.
+       * minsyms.c (terminate_minimal_symbol_table): Likewise.
+       * mips-linux-nat.c (mips_linux_insert_watchpoint): Likewise.
+       * mips-tdep.c (mips_gdbarch_init): Likewise.
+       * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
+       * msp430-tdep.c (msp430_gdbarch_init): Likewise.
+       * mt-tdep.c (mt_registers_info): Likewise.
+       * nat/aarch64-linux.c (aarch64_linux_new_thread): Likewise.
+       * nat/linux-btrace.c (linux_enable_bts): Likewise.
+       (linux_enable_pt): Likewise.
+       * nat/linux-osdata.c (linux_xfer_osdata_processes): Likewise.
+       (linux_xfer_osdata_processgroups): Likewise.
+       * nios2-tdep.c (nios2_gdbarch_init): Likewise.
+       * nto-procfs.c (procfs_meminfo): Likewise.
+       * objc-lang.c (start_msglist): Likewise.
+       (selectors_info): Likewise.
+       (classes_info): Likewise.
+       (find_methods): Likewise.
+       * objfiles.c (allocate_objfile): Likewise.
+       (update_section_map): Likewise.
+       * osabi.c (gdbarch_register_osabi): Likewise.
+       (gdbarch_register_osabi_sniffer): Likewise.
+       * parse.c (start_arglist): Likewise.
+       * ppc-linux-nat.c (hwdebug_find_thread_points_by_tid): Likewise.
+       (hwdebug_insert_point): Likewise.
+       * printcmd.c (display_command): Likewise.
+       (ui_printf): Likewise.
+       * procfs.c (create_procinfo): Likewise.
+       (load_syscalls): Likewise.
+       (proc_get_LDT_entry): Likewise.
+       (proc_update_threads): Likewise.
+       * prologue-value.c (make_pv_area): Likewise.
+       (pv_area_store): Likewise.
+       * psymtab.c (extend_psymbol_list): Likewise.
+       (init_psymbol_list): Likewise.
+       (allocate_psymtab): Likewise.
+       * python/py-inferior.c (add_thread_object): Likewise.
+       * python/py-param.c (compute_enum_values): Likewise.
+       * python/py-value.c (valpy_call): Likewise.
+       * python/py-varobj.c (py_varobj_iter_next): Likewise.
+       * python/python.c (ensure_python_env): Likewise.
+       * record-btrace.c (record_btrace_start_replaying): Likewise.
+       * record-full.c (record_full_reg_alloc): Likewise.
+       (record_full_mem_alloc): Likewise.
+       (record_full_end_alloc): Likewise.
+       (record_full_core_xfer_partial): Likewise.
+       * regcache.c (get_thread_arch_aspace_regcache): Likewise.
+       * remote-fileio.c (remote_fileio_init_fd_map): Likewise.
+       * remote-notif.c (remote_notif_state_allocate): Likewise.
+       * remote.c (demand_private_info): Likewise.
+       (remote_notif_stop_alloc_reply): Likewise.
+       (remote_enable_btrace): Likewise.
+       * reverse.c (save_bookmark_command): Likewise.
+       * rl78-tdep.c (rl78_gdbarch_init): Likewise.
+       * rx-tdep.c (rx_gdbarch_init): Likewise.
+       * s390-linux-nat.c (s390_insert_watchpoint): Likewise.
+       * ser-go32.c (dos_get_tty_state): Likewise.
+       (dos_copy_tty_state): Likewise.
+       * ser-mingw.c (ser_windows_open): Likewise.
+       (ser_console_wait_handle): Likewise.
+       (ser_console_get_tty_state): Likewise.
+       (make_pipe_state): Likewise.
+       (net_windows_open): Likewise.
+       * ser-unix.c (hardwire_get_tty_state): Likewise.
+       (hardwire_copy_tty_state): Likewise.
+       * solib-aix.c (solib_aix_new_lm_info): Likewise.
+       * solib-dsbt.c (dsbt_current_sos): Likewise.
+       (dsbt_relocate_main_executable): Likewise.
+       * solib-frv.c (frv_current_sos): Likewise.
+       (frv_relocate_main_executable): Likewise.
+       * solib-spu.c (spu_bfd_fopen): Likewise.
+       * solib-svr4.c (lm_info_read): Likewise.
+       (svr4_copy_library_list): Likewise.
+       (svr4_default_sos): Likewise.
+       * source.c (find_source_lines): Likewise.
+       (line_info): Likewise.
+       (add_substitute_path_rule): Likewise.
+       * spu-linux-nat.c (spu_bfd_open): Likewise.
+       * spu-tdep.c (info_spu_dma_cmdlist): Likewise.
+       * stabsread.c (dbx_lookup_type): Likewise.
+       (read_type): Likewise.
+       (read_member_functions): Likewise.
+       (read_struct_fields): Likewise.
+       (read_baseclasses): Likewise.
+       (read_args): Likewise.
+       (_initialize_stabsread): Likewise.
+       * stack.c (func_command): Likewise.
+       * stap-probe.c (handle_stap_probe): Likewise.
+       * symfile.c (addrs_section_sort): Likewise.
+       (addr_info_make_relative): Likewise.
+       (load_section_callback): Likewise.
+       (add_symbol_file_command): Likewise.
+       (init_filename_language_table): Likewise.
+       * symtab.c (create_filename_seen_cache): Likewise.
+       (sort_search_symbols_remove_dups): Likewise.
+       (search_symbols): Likewise.
+       * target.c (make_cleanup_restore_target_terminal): Likewise.
+       * thread.c (new_thread): Likewise.
+       (enable_thread_stack_temporaries): Likewise.
+       (make_cleanup_restore_current_thread): Likewise.
+       (thread_apply_all_command): Likewise.
+       * tic6x-tdep.c (tic6x_gdbarch_init): Likewise.
+       * top.c (gdb_readline_wrapper): Likewise.
+       * tracefile-tfile.c (tfile_trace_file_writer_new): Likewise.
+       * tracepoint.c (trace_find_line_command): Likewise.
+       (all_tracepoint_actions_and_cleanup): Likewise.
+       (make_cleanup_restore_current_traceframe): Likewise.
+       (get_uploaded_tp): Likewise.
+       (get_uploaded_tsv): Likewise.
+       * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
+       (tui_alloc_win_info): Likewise.
+       (tui_alloc_content): Likewise.
+       (tui_add_content_elements): Likewise.
+       * tui/tui-disasm.c (tui_find_disassembly_address): Likewise.
+       (tui_set_disassem_content): Likewise.
+       * ui-file.c (ui_file_new): Likewise.
+       (stdio_file_new): Likewise.
+       (tee_file_new): Likewise.
+       * utils.c (make_cleanup_restore_integer): Likewise.
+       (add_internal_problem_command): Likewise.
+       * v850-tdep.c (v850_gdbarch_init): Likewise.
+       * valops.c (find_oload_champ): Likewise.
+       * value.c (allocate_value_lazy): Likewise.
+       (record_latest_value): Likewise.
+       (create_internalvar): Likewise.
+       * varobj.c (install_variable): Likewise.
+       (new_variable): Likewise.
+       (new_root_variable): Likewise.
+       (cppush): Likewise.
+       (_initialize_varobj): Likewise.
+       * windows-nat.c (windows_make_so): Likewise.
+       * x86-nat.c (x86_add_process): Likewise.
+       * xcoffread.c (arrange_linetable): Likewise.
+       (allocate_include_entry): Likewise.
+       (process_linenos): Likewise.
+       (SYMBOL_DUP): Likewise.
+       (xcoff_start_psymtab): Likewise.
+       (xcoff_end_psymtab): Likewise.
+       * xml-support.c (gdb_xml_parse_attr_ulongest): Likewise.
+       * xtensa-tdep.c (xtensa_register_type): Likewise.
+       * gdbarch.c: Regenerate.
+       * gdbarch.h: Regenerate.
+
+2015-08-25  Don Breazeal  <donb@codesourcery.com>
+
+       * infrun.c (follow_exec): Re-order operations for
+       handling follow-exec-mode "new".
+       (handle_inferior_event_1): Assign ecs->event_thread
+       to the current thread.
+       * remote.c (get_remote_arch_state): Add an assertion.
+
+2015-08-26  Pedro Alves  <palves@redhat.com>
+
+       * MAINTAINERS: Add Markus Metzger as btrace maintainer.
+
+2015-08-25  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/18804
+       * defs.h (maybe_quit): Declare.
+       (QUIT): Now calls maybe_quit.
+       * event-loop.c (clear_async_signal_handler)
+       (async_signal_handler_is_marked): New functions.
+       * event-loop.h (async_signal_handler_is_marked)
+       (clear_async_signal_handler): New declarations.
+       * remote.c (remote_check_pending_interrupt): New function.
+       (interrupt_query): Use make_cleanup_restore_target_terminal.  No
+       longer check whether the target is async.  If waiting for a stop
+       reply, and a Ctrl-C as been sent to the target, offer to
+       disconnect, and throw TARGET_CLOSE_ERROR instead of a quit.
+       Otherwise do not disconnect and throw a quit.
+       (_initialize_remote): Install remote_check_pending_interrupt as
+       to_check_pending_interrupt.
+       * target.c (target_check_pending_interrupt): New function.
+       * target.h (struct target_ops) <to_check_pending_interrupt>: New
+       field.
+       (target_check_pending_interrupt): New declaration.
+       * utils.c (maybe_quit): New function.
+       * target-delegates.c: Regenerate.
+
+2015-08-25  Yao Qi  <yao.qi@linaro.org>
+
+       * nat/aarch64-linux-hw-point.c (debug_reg_change_callback):
+       Rename local variable pid to tid, and get lwpid of lwp.  Update
+       debug output.
+
+2015-08-25  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * ada-lang.c (ada_read_var_value): Add a var_block argument
+       and pass it to default_read_var_value.
+       * block.c (block_static_link): New accessor.
+       * block.h (block_static_link): Declare it.
+       * buildsym.c (finish_block_internal): Add a static_link
+       argument.  If there is a static link, associate it to the new
+       block.
+       (finish_block): Add a static link argument and pass it to
+       finish_block_internal.
+       (end_symtab_get_static_block): Update calls to finish_block and
+       to finish_block_internal.
+       (end_symtab_with_blockvector): Update call to
+       finish_block_internal.
+       * buildsym.h: Forward-declare struct dynamic_prop.
+       (struct context_stack): Add a static_link field.
+       (finish_block): Add a static link argument.
+       * c-exp.y: Remove an obsolete comment (evaluation of variables
+       already start from the selected frame, and now they climb *up*
+       the call stack) and propagate the block information to the
+       produced expression.
+       * d-exp.y: Likewise.
+       * f-exp.y: Likewise.
+       * go-exp.y: Likewise.
+       * jv-exp.y: Likewise.
+       * m2-exp.y: Likewise.
+       * p-exp.y: Likewise.
+       * coffread.c (coff_symtab_read): Update calls to finish_block.
+       * dbxread.c (process_one_symbol): Likewise.
+       * xcoffread.c (read_xcoff_symtab): Likewise.
+       * compile/compile-c-symbols.c (convert_one_symbol): Promote the
+       "sym" parameter to struct block_symbol, update its uses and pass
+       its block to calls to read_var_value.
+       (convert_symbol_sym): Update the calls to convert_one_symbol.
+       * compile/compile-loc2c.c (do_compile_dwarf_expr_to_c): Update
+       call to read_var_value.
+       * dwarf2loc.c (block_op_get_frame_base): New.
+       (dwarf2_block_frame_base_locexpr_funcs): Implement the
+       get_frame_base method.
+       (dwarf2_block_frame_base_loclist_funcs): Likewise.
+       (dwarf2locexpr_baton_eval): Add a frame argument and use it
+       instead of the selected frame in order to evaluate the
+       expression.
+       (dwarf2_evaluate_property): Add a frame argument.  Update call
+       to dwarf2_locexpr_baton_eval to provide a frame in available and
+       to handle the absence of address stack.
+       * dwarf2loc.h (dwarf2_evaluate_property): Add a frame argument.
+       * dwarf2read.c (attr_to_dynamic_prop): Add a forward
+       declaration.
+       (read_func_scope): Record any available static link description.
+       Update call to finish_block.
+       (read_lexical_block_scope): Update call to finish_block.
+       * findvar.c (follow_static_link): New.
+       (get_hosting_frame): New.
+       (default_read_var_value): Add a var_block argument.  Use
+       get_hosting_frame to handle non-local references.
+       (read_var_value): Add a var_block argument and pass it to the
+       LA_READ_VAR_VALUE method.
+       * gdbtypes.c (resolve_dynamic_range): Update calls to
+       dwarf2_evaluate_property.
+       (resolve_dynamic_type_internal): Likewise.
+       * guile/scm-frame.c (gdbscm_frame_read_var): Update call to
+       read_var_value, passing it the block coming from symbol lookup.
+       * guile/scm-symbol.c (gdbscm_symbol_value): Update call to
+       read_var_value (TODO).
+       * infcmd.c (finish_command_continuation): Update call to
+       read_var_value, passing it the block coming from symbol lookup.
+       * infrun.c (insert_exception_resume_breakpoint): Likewise.
+       * language.h (struct language_defn): Add a var_block argument to
+       the LA_READ_VAR_VALUE method.
+       * objfiles.c (struct static_link_htab_entry): New.
+       (static_link_htab_entry_hash): New.
+       (static_link_htab_entry_eq): New.
+       (objfile_register_static_link): New.
+       (objfile_lookup_static_link): New.
+       (free_objfile): Free the STATIC_LINKS hashed map if needed.
+       * objfiles.h: Include hashtab.h.
+       (struct objfile): Add a static_links field.
+       (objfile_register_static_link): New.
+       (objfile_lookup_static_link): New.
+       * printcmd.c (print_variable_and_value): Update call to
+       read_var_value.
+       * python/py-finishbreakpoint.c (bpfinishpy_init): Likewise.
+       * python/py-frame.c (frapy_read_var): Update call to
+       read_var_value, passing it the block coming from symbol lookup.
+       * python/py-framefilter.c (extract_sym): Add a sym_block
+       parameter and set the pointed value to NULL (TODO).
+       (enumerate_args): Update call to extract_sym.
+       (enumerate_locals): Update calls to extract_sym and to
+       read_var_value.
+       * python/py-symbol.c (sympy_value): Update call to
+       read_var_value (TODO).
+       * stack.c (read_frame_local): Update call to read_var_value.
+       (read_frame_arg): Likewise.
+       (return_command): Likewise.
+       * symtab.h (struct symbol_block_ops): Add a get_frame_base
+       method.
+       (struct symbol): Add a block field.
+       (SYMBOL_BLOCK): New accessor.
+       * valops.c (value_of_variable): Remove frame/block handling and
+       pass the block argument to read_var_value, which does this job
+       now.
+       (value_struct_elt_for_reference): Update calls to
+       read_var_value.
+       (value_of_this): Pass the block found to read_var_value.
+       * value.h (read_var_value): Add a var_block argument.
+       (default_read_var_value): Likewise.
+
+2015-08-25  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-linux-nat.c (aarch64_linux_new_thread): Move it to ...
+       * nat/aarch64-linux.c (aarch64_linux_new_thread): ... here.
+       * nat/aarch64-linux.h (aarch64_linux_new_thread): Declare.
+
+2015-08-25  Yao Qi  <yao.qi@linaro.org>
+
+       * Makefile.in (aarch64-liunx.o): New rule.
+       (HFILES_NO_SRCDIR): Add aarch64-linux.h.
+       * config/aarch64/linux.mh (NAT_FILE): Add aarch64-linux.o.
+       * aarch64-linux-nat.c: Include nat/aarch64-linux.h.
+       * aarch64-linux-nat.c (aarch64_get_debug_reg_state): Make it
+       extern.
+       (aarch64_linux_prepare_to_resume): Move it nat/aarch64-linux.c.
+       * nat/aarch64-linux-hw-point.h (aarch64_debug_reg_state): Declare
+       * nat/aarch64-linux.c: New file.
+       * nat/aarch64-linux.h: New file.
+
+2015-08-25  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-linux-nat.c (aarch64_linux_prepare_to_resume): Use
+       lwp_arch_private_info and ptid_of_lwp.
+
+2015-08-25  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-linux-nat.c (struct arch64_dr_update_callback_param):
+       Move it to nat/aarch64-linux-hw-point.c.
+       (debug_reg_change_callback): Likewise.
+       (aarch64_notify_debug_reg_change): :Likewise.
+       * nat/aarch64-linux-hw-point.c: Include nat/linux-nat.h.
+       (aarch64_dr_update_callback_param): New.
+       (debug_reg_change_callback): New function.
+       (aarch64_notify_debug_reg_change): Likewise.
+       * nat/aarch64-linux-hw-point.h (aarch64_notify_debug_reg_change):
+       Remove the declaration.
+
+2015-08-25  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-linux-nat.c (aarch64_notify_debug_reg_change):
+       Call current_lwp_ptid.
+
+2015-08-25  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-linux-nat.c (debug_reg_change_callback): Use
+       debug_printf.
+
+2015-08-25  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-linux-nat.c (debug_reg_change_callback): Call
+       ptid_get_pid rather than ptid_get_lwp.
+
+2015-08-24  Pedro Alves  <palves@redhat.com>
+
+       * NEWS (New commands): Mention set/show remote
+       multiprocess-extensions-packet.
+       * remote.c (remote_query_supported): Only tell the server to use
+       the multiprocess extensions if the user hasn't force-disabled them
+       with "set remote multiprocess-extensions-packet off".
+
 2015-08-24  Pedro Alves  <palves@redhat.com>
 
        * gnulib/update-gnulib.sh (GNULIB_COMMIT_SHA1): Set to