+2015-08-25 Yao Qi <yao.qi@linaro.org>
+
+ * Makefile.in (aarch64-linux.o): New rule.
+ * configure.srv (aarch64*-*-linux*): Append aarch64-linux.o to
+ srv_tgtobj.
+ * linux-aarch64-low.c: Include nat/aarch64-linux.h.
+ (aarch64_init_debug_reg_state): Make it extern.
+ (aarch64_linux_prepare_to_resume): Remove.
+
+2015-08-25 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch64-low.c (aarch64_linux_prepare_to_resume): Use
+ lwp_arch_private_info and ptid_of_lwp.
+
+2015-08-25 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch64-low.c (aarch64_get_debug_reg_state): Add argument pid.
+ Find proc_info by find_process_pid. All callers updated.
+
+2015-08-25 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch64-low.c (struct arch64_dr_update_callback_param):
+ Remove.
+ (debug_reg_change_callback): Remove.
+ (aarch64_notify_debug_reg_change): Remove.
+
+2015-08-25 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch64-low.c (aarch64_notify_debug_reg_change):
+ Call current_lwp_ptid.
+
+2015-08-25 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch64-low.c (debug_reg_change_callback): Use
+ debug_printf.
+
+2015-08-25 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch64-low.c (debug_reg_change_callback): Use phex.
+
+2015-08-25 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch64-low.c (debug_reg_change_callback): Remove comments.
+
+2015-08-25 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch64-low.c (debug_reg_change_callback): Re-indent
+ the code.
+
+2015-08-25 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch64-low.c (aarch64_dr_update_callback_param) <pid>:
+ Remove.
+ (debug_reg_change_callback): Remove argument entry and add argument
+ lwp. Remove local variable thread. Don't print thread id in the
+ debugging output. Don't check whether pid of thread equals to pid.
+ (aarch64_notify_debug_reg_change): Don't set param.pid. Call
+ iterate_over_lwps instead find_inferior.
+
+2015-08-24 Pedro Alves <palves@redhat.com>
+
+ * inferiors.c (get_first_process): New function.
+ * inferiors.h (get_first_process): New declaration.
+ * remote-utils.c (read_ptid): Default to the first process in the
+ list, instead of to the current thread's process.
+
+2015-08-24 Pedro Alves <palves@redhat.com>
+
+ * debug.c: Include gdb_sys_time.h instead of sys/time.h.
+ * event-loop.c: Likewise.
+ * remote-utils.c: Likewise.
+ * tracepoint.c: Likewise.
+
+2015-08-24 Pedro Alves <palves@redhat.com>
+
+ * spu-low.c (spu_request_interrupt): Use lwpid_of instead of
+ ptid_get_lwp.
+
+2015-08-21 Pedro Alves <palves@redhat.com>
+
+ * ax.c (gdb_eval_agent_expr): Return expr_eval_unhandled_opcode
+ instead of literal 1.
+
+2015-08-21 Pedro Alves <palves@redhat.com>
+
+ * tdesc.c (default_description): Explicitly zero-initialize.
+
+2015-08-21 Pedro Alves <palves@redhat.com>
+
+ PR gdb/18749
+ * inferiors.c (remove_thread): Discard any pending stop reply for
+ this thread.
+ * server.c (remove_all_on_match_pid): Rename to ...
+ (remove_all_on_match_ptid): ... this. Work with a filter ptid
+ instead of a pid.
+ (discard_queued_stop_replies): Change parameter to a ptid. Now
+ extern.
+ (handle_v_kill, kill_inferior_callback, captured_main)
+ (process_serial_event): Adjust.
+ * server.h (discard_queued_stop_replies): Declare.
+
+2015-08-21 Pedro Alves <palves@redhat.com>
+
+ * linux-low.c (wait_for_sigstop): Always switch to no thread
+ selected if the previously current thread dies.
+ * lynx-low.c (lynx_request_interrupt): Use the first thread's
+ process instead of the current thread's.
+ * remote-utils.c (input_interrupt): Don't check if there's no
+ current thread.
+ * server.c (gdb_read_memory, gdb_write_memory): If setting the
+ current thread to the general thread fails, error out.
+ (handle_qxfer_auxv, handle_qxfer_libraries)
+ (handle_qxfer_libraries_svr4, handle_qxfer_siginfo)
+ (handle_qxfer_spu, handle_qxfer_statictrace, handle_qxfer_fdpic)
+ (handle_query): Check if there's a thread selected instead of
+ checking whether there's any thread in the thread list.
+ (handle_qxfer_threads, handle_qxfer_btrace)
+ (handle_qxfer_btrace_conf): Don't error out early if there's no
+ thread in the thread list.
+ (handle_v_cont, myresume): Don't set the current thread to the
+ continue thread.
+ (process_serial_event) <Hg handling>: Also set thread_id if the
+ previous general thread is still alive.
+ (process_serial_event) <g/G handling>: If setting the current
+ thread to the general thread fails, error out.
+ * spu-low.c (spu_resume, spu_request_interrupt): Use the first
+ thread's lwp instead of the current thread's.
+ * target.c (set_desired_thread): If the desired thread was not
+ found, leave the current thread pointing to NULL. Return an int
+ (boolean) indicating success.
+ * target.h (set_desired_thread): Change return type to int.
+
+2015-08-20 Max Filippov <jcmvbkbc@gmail.com>
+
+ * configure.srv (xtensa*-*-linux*): Add srv_linux_thread_db=yes.
+ * linux-xtensa-low.c (arch/xtensa.h gdb_proc_service.h): New
+ #includes.
+ (ps_get_thread_area): New function.
+
+2015-08-19 Gary Benson <gbenson@redhat.com>
+
+ * hostio.c (handle_pread): Do not attempt to read more data
+ than hostio_reply_with_data can fit in a packet.
+
+2015-08-18 Joel Brobecker <brobecker@adacore.com>
+
+ * linux-aarch32-low.c (NT_ARM_VFP): Define if not already defined.
+
+2015-08-14 Matthew Fortune <matthew.fortune@imgtec.com>
+
+ * linux-low.c (get_r_debug): Handle DT_MIPS_RLD_MAP_REL.
+
+2015-08-06 Pedro Alves <palves@redhat.com>
+
+ * tracepoint.c (expr_eval_result): Now an int.
+
+2015-08-06 Pedro Alves <palves@redhat.com>
+
+ * gdbthread.h (struct regcache): Forward declare.
+ (struct thread_info) <regcache_data>: Now a struct regcache
+ pointer.
+ * inferiors.c (inferior_regcache_data)
+ (set_inferior_regcache_data): Now work with struct regcache
+ pointers.
+ * inferiors.h (struct regcache): Forward declare.
+ (inferior_regcache_data, set_inferior_regcache_data): Now work
+ with struct regcache pointers.
+ * regcache.c (get_thread_regcache, regcache_invalidate_thread)
+ (free_register_cache_thread): Remove struct regcache pointer
+ casts.
+
+2015-08-06 Pedro Alves <palves@redhat.com>
+
+ * server.c (captured_main): On error, print the exception message
+ to stderr, and if run_once is set, throw a quit.
+
+2015-08-06 Pedro Alves <palves@redhat.com>
+
+ * linux-low.c (move_out_of_jump_pad_callback): Temporarily switch
+ the current thread.
+
+2015-08-06 Pedro Alves <palves@redhat.com>
+
+ * linux-low.c (linux_write_memory): Rewrite debug output to avoid
+ reading beyond the passed in buffer length.
+
+2015-08-06 Pierre Langlois <pierre.langlois@arm.com>
+
+ * tracepoint.c (symbol_list) <required>: Remove.
+
+2015-08-06 Pedro Alves <palves@redhat.com>
+
+ * linux-low.c (handle_extended_wait): Set the fork child's suspend
+ count if stopping and suspending threads.
+ (check_stopped_by_breakpoint): If stopped by trace, set the LWP's
+ stop reason to TARGET_STOPPED_BY_SINGLE_STEP.
+ (linux_detach): Complete an ongoing step-over.
+ (lwp_suspended_inc, lwp_suspended_decr): New functions. Use
+ throughout.
+ (resume_stopped_resumed_lwps): Don't resume a suspended thread.
+ (linux_wait_1): If passing a signal to the inferior after
+ finishing a step-over, unsuspend and re-resume all lwps. If we
+ see a single-step event but the thread should be continuing, don't
+ pass the trap to gdb.
+ (stuck_in_jump_pad_callback, move_out_of_jump_pad_callback): Use
+ internal_error instead of gdb_assert.
+ (enqueue_pending_signal): New function.
+ (check_ptrace_stopped_lwp_gone): Add debug output.
+ (start_step_over): Use internal_error instead of gdb_assert.
+ (complete_ongoing_step_over): New function.
+ (linux_resume_one_thread): Don't resume a suspended thread.
+ (proceed_one_lwp): If the LWP is stepping over a breakpoint, reset
+ it stepping.
+
+2015-08-06 Pedro Alves <palves@redhat.com>
+
+ * linux-low.c (add_lwp): Set waitstatus to TARGET_WAITKIND_IGNORE.
+ (linux_thread_alive): Use lwp_is_marked_dead.
+ (extended_event_reported): Delete.
+ (linux_wait_1): Check if waitstatus is TARGET_WAITKIND_IGNORE
+ instead of extended_event_reported.
+ (mark_lwp_dead): Don't set the 'dead' flag. Store the waitstatus
+ as well.
+ (lwp_is_marked_dead): New function.
+ (lwp_running): Use lwp_is_marked_dead.
+ * linux-low.h: Delete 'dead' field, and update 'waitstatus's
+ comment.
+
+2015-08-06 Pedro Alves <palves@redhat.com>
+
+ * linux-low.c (linux_wait_1): Move fork event output out of the
+ !report_to_gdb check. Pass event_child->waitstatus to
+ target_waitstatus_to_string instead of ourstatus.
+
+2015-08-04 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch64-low.c (aarch64_supports_tracepoints): Return 0
+ if current_thread is 32 bit.
+
+2015-08-04 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch64-low.c (aarch64_supports_z_point_type): Return
+ 0 for Z_PACKET_SW_BP if it may be used in multi-arch debugging.
+ * server.c (extended_protocol): Remove "static".
+ * server.h (extended_protocol): Declare it.
+
+2015-08-04 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch64-low.c (aarch64_get_pc): Get PC register on
+ both aarch64 and aarch32.
+ (aarch64_set_pc): Likewise.
+
+2015-08-04 Yao Qi <yao.qi@linaro.org>
+
+ * configure.srv (case aarch64*-*-linux*): Append arm-with-neon.o
+ to srv_regobj and append arm-core.xml arm-vfpv3.xml and
+ arm-with-neon.xml to srv_xmlfiles.
+ * linux-aarch64-low.c: Include linux-aarch32-low.h.
+ (is_64bit_tdesc): New function.
+ (aarch64_linux_read_description): New function.
+ (aarch64_arch_setup): Call aarch64_linux_read_description.
+ (regs_info): Rename to regs_info_aarch64.
+ (aarch64_regs_info): Return right regs_info.
+ (initialize_low_arch): Call initialize_low_arch_aarch32.
+
+2015-08-04 Yao Qi <yao.qi@linaro.org>
+
+ * configure.srv (srv_tgtobj): Add linux-aarch32-low.o.
+ * linux-aarch32-low.c: New file.
+ * linux-aarch32-low.h: New file.
+ * linux-arm-low.c (arm_fill_gregset): Move it to
+ linux-aarch32-low.c.
+ (arm_store_gregset): Likewise.
+ (arm_fill_vfpregset): Call arm_fill_vfpregset_num
+ (arm_store_vfpregset): Call arm_store_vfpregset_num.
+ (arm_arch_setup): Check if PTRACE_GETREGSET works.
+ (regs_info): Rename to regs_info_arm.
+ (arm_regs_info): Return regs_info_aarch32 if
+ have_ptrace_getregset is 1 and target description is
+ arm_with_neon or arm_with_vfpv3.
+ (initialize_low_arch): Don't call init_registers_arm_with_neon.
+ Call initialize_low_arch_aarch32 instead.
+
2015-08-04 Yao Qi <yao.qi@linaro.org>
* linux-x86-low.c (have_ptrace_getregset): Move it to ...