+2017-09-05 Yao Qi <yao.qi@linaro.org>
+
+ * Makefile.in (arch-amd64.o): New rule.
+ * configure.srv: Append arch-amd64.o.
+ * linux-amd64-ipa.c: Include common/x86-xstate.h.
+ (get_ipa_tdesc): Call amd64_linux_read_description.
+ (initialize_low_tracepoint): Don't call init_registers_x32_XXX
+ and init_registers_amd64_XXX.
+ * linux-x86-low.c (x86_linux_read_description): Call
+ amd64_linux_read_description.
+ (x86_get_ipa_tdesc_idx): Call amd64_get_ipa_tdesc_idx.
+ (initialize_low_arch): Don't call init_registers_x32_XXX and
+ init_registers_amd64_XXX.
+ * linux-x86-tdesc-selftest.c: Declare init_registers_amd64_XXX
+ and tdesc_amd64_XXX.
+ [__x86_64__] (amd64_tdesc_test): New function.
+ (initialize_low_tdesc) [__x86_64__]: Call init_registers_x32_XXX
+ and init_registers_amd64_XXX.
+ * linux-x86-tdesc.c: Include arch/amd64.h.
+ (xcr0_to_tdesc_idx): New function.
+ (i386_linux_read_description): New function.
+ (amd64_get_ipa_tdesc_idx): New function.
+ * linux-x86-tdesc.h (amd64_get_ipa_tdesc_idx): Declare.
+ (amd64_get_ipa_tdesc): Declare.
+
+2017-09-05 Yao Qi <yao.qi@linaro.org>
+
+ * configure.srv (srv_i386_linux_xmlfiles): Remove
+ i386/i386-XXX-linux.xml from it.
+
+2017-09-05 Yao Qi <yao.qi@linaro.org>
+
+ * configure.srv: Set srv_i386_linux_regobj empty if $development
+ is false.
+ * linux-i386-ipa.c (initialize_low_tracepoint): Don't call
+ initialize_low_tdesc.
+ * linux-x86-low.c (initialize_low_arch): Wrap initialize_low_tdesc
+ with #if initialize_low_tdesc.
+ * linux-x86-tdesc-selftest.c: New file.
+ * linux-x86-tdesc.c: Move code to linux-x86-tdesc-selftest.c.
+
+2017-09-05 Yao Qi <yao.qi@linaro.org>
+
+ * Makefile.in (arch-i386.o): New rule.
+ * configure.srv (i[34567]86-*-linux*): Add arch-i386.o.
+ (x86_64-*-linux*): Likewise.
+ * linux-x86-tdesc.c: Don't include ../features/i386/32bit-XXX.c,
+ include arch/i386.h.
+ (i386_linux_read_description): Remove code and call
+ i386_create_target_description.
+ * tdesc.c (allocate_target_description): New function.
+ * tdesc.h (set_tdesc_architecture): Remove declaration.
+ (set_tdesc_osabi): Likewise.
+
+2017-09-05 Yao Qi <yao.qi@linaro.org>
+
+ * linux-x86-tdesc.c: Don't include <inttypes.h>.
+ (i386_linux_read_description) [!IN_PROCESS_AGENT]: Call
+ set_tdesc_architecture and set_tdesc_osabi. Remove code setting
+ .xmltarget.
+ * server.c (get_features_xml): Call tdesc_get_features_xml.
+ * tdesc.c (set_tdesc_architecture): New function.
+ (set_tdesc_osabi): New function.
+ (tdesc_get_features_xml): New function.
+ (tdesc_create_feature): Add an argument.
+ * tdesc.h (struct target_desc) <features>: New field.
+ <arch, osabi>: New field.
+ (~target_desc): xfree features, arch, and osabi.
+ (target_desc::oerator==): Don't compare .xmltarget.
+ [!IN_PROCESS_AGENT] (set_tdesc_architecture): Declare.
+ (set_tdesc_osabi): Likewise.
+ (tdesc_get_features_xml): Likewise.
+
+2017-09-05 Yao Qi <yao.qi@linaro.org>
+
+ * linux-x86-tdesc.c: Include selftest.h.
+ (i386_tdesc_test): New function.
+ (initialize_low_tdesc): Call selftests::register_test.
+ * tdesc.h: Include regdef.h.
+ (target_desc): Override operator == and !=.
+
+2017-09-05 Yao Qi <yao.qi@linaro.org>
+
+ * configure.srv (srv_tgtobj): Append linux-x86-tdesc.o.
+ (ipa_obj): Likewise.
+ * linux-i386-ipa.c: Include common/x86-xstate.h
+ (get_ipa_tdesc): Call i386_linux_read_description.
+ (initialize_low_tracepoint): Don't call init_registers_XXX
+ functions, call initialize_low_tdesc instead.
+ * linux-x86-low.c (x86_linux_read_description): Call
+ i386_linux_read_description.
+ (initialize_low_arch): Don't call init_registers_i386_XXX
+ functions, call initialize_low_tdesc.
+ * linux-x86-tdesc.c: New file.
+ * linux-x86-tdesc.h (x86_linux_tdesc): New X86_TDESC_LAST.
+ (i386_get_ipa_tdesc_idx): Declare.
+ (i386_get_ipa_tdesc): Declare.
+ (initialize_low_tdesc): Declare.
+
+2017-09-05 Yao Qi <yao.qi@linaro.org>
+
+ * linux-x86-low.c (x86_get_ipa_tdesc_idx): Use X86_TDESC_MMX
+ instead of 0.
+
+2017-09-05 Yao Qi <yao.qi@linaro.org>
+
+ * Makefile.in (IPA_OBJS): Add vec-ipa.o
+ * regcache.c (get_thread_regcache): Use VEC_length.
+ (init_register_cache): Likewise.
+ (regcache_cpy): Likewise.
+ (registers_to_string): Iterate reg_defs via VEC_iterate.
+ (find_regno): Likewise.
+ (find_register_by_number): Use VEC_index.
+ (register_size): Call find_register_by_number.
+ (register_data): Call find_register_by_number.
+ (supply_regblock): Use VEC_length.
+ (regcache_raw_read_unsigned): Likewise.
+ * tdesc.c (init_target_desc): Iterate reg_defs via
+ VEC_iterate.
+ (default_description): Update initializer.
+ (copy_target_description): Don't update field num_registers.
+ * tdesc.h (struct target_desc) <reg_defs>: Change it to VEC.
+ <num_registers>: Remove.
+
+2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
+
+ * Makefile.in (.SECONDARY): Define target.
+
+2017-09-03 Simon Marchi <simon.marchi@ericsson.com>
+
+ * linux-low.c (linux_wait_1): Adjust.
+ * server.c (queue_stop_reply_callback): Adjust.
+
+2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * server.c (handle_general_set): Handle QEnvironmentHexEncoded,
+ QEnvironmentUnset and QEnvironmentReset packets.
+ (handle_query): Inform remote that QEnvironmentHexEncoded,
+ QEnvironmentUnset and QEnvironmentReset are supported.
+
+2017-08-25 Simon Marchi <simon.marchi@ericsson.com>
+
+ * inferiors.h (inferior_target_data): Rename to ...
+ (thread_target_data): ... this.
+ (inferior_regcache_data): Rename to ...
+ (thread_regcache_data): ... this.
+ (set_inferior_regcache_data): Rename to ...
+ (set_thread_regcache_data): ... this.
+ * inferiors.c (inferior_target_data): Rename to ...
+ (thread_target_data): ... this.
+ (inferior_regcache_data): Rename to ...
+ (thread_regcache_data): ... this.
+ (set_inferior_regcache_data): Rename to ...
+ (set_thread_regcache_data): ... this.
+ (free_one_thread): Update.
+ * linux-low.h (get_thread_lwp): Update.
+ * regcache.c (get_thread_regcache): Update.
+ (regcache_invalidate_thread): Update.
+ (free_register_cache_thread): Update.
+ * win32-i386-low.c (update_debug_registers_callback): Update.
+ (win32_get_current_dr): Update.
+ * win32-low.c (thread_rec): Update.
+ (delete_thread_info): Update.
+ (continue_one_thread): Update.
+ (suspend_one_thread): Update.
+
+2017-08-24 Simon Marchi <simon.marchi@ericsson.com>
+
+ * inferiors.c (set_inferior_target_data): Remove.
+ * inferiors.h (set_inferior_target_data): Remove.
+
+2017-08-18 Yao Qi <yao.qi@linaro.org>
+
+ * Makefile.in (OBS): Add selftest.o.
+ * configure.ac: AC_DEFINE GDB_SELF_TEST if $development.
+ * configure, config.in: Re-generated.
+ * server.c: Include common/sefltest.h.
+ (captured_main): Handle option --selftest.
+
+2017-08-09 Yao Qi <yao.qi@linaro.org>
+
+ * configure.srv (srv_i386_regobj): Remove i386-avx.o,
+ i386-avx-avx512.o, i386-avx-mpx-avx512-pku.o, i386-mpx.o,
+ i386-avx-mpx.o and i386-mmx.o.
+ (srv_amd64_regobj): Remove amd64-avx.o, amd64-avx-avx512.o,
+ amd64-avx-mpx-avx512-pku.o, amd64-mpx.o and amd64-avx-mpx.o.
+ (srv_i386_xmlfiles): Remove i386/i386-avx.xml,
+ i386/i386-avx-avx512.xml, i386/i386-avx-mpx-avx512-pku.xml,
+ i386/i386-mpx.xml, i386/i386-avx-mpx.xml and i386/i386-mmx.xml.
+ (srv_amd64_xmlfile):i386/amd64-avx.xml, i386/amd64-avx-avx512.xml,
+ i386/amd64-avx-mpx-avx512-pku.xml, i386/amd64-mpx.xml,
+ i386/amd64-avx-mpx.xml.
+
+2017-08-09 Yao Qi <yao.qi@linaro.org>
+
+ * configure.srv (srv_amd64_regobj): Remove x32.o, x32-avx.o
+ and x32-avx-avx512.o.
+ (srv_amd64_xmlfiles): Remove i386/x32.xml, i386/x32-avx.xml
+ i386/x32-avx-avx512.xml.
+
+2017-07-26 Simon Marchi <simon.marchi@ericsson.com>
+
+ * tracepoint.h (enum class fast_tpoint_collect_result): New
+ enumeration.
+ (fast_tracepoint_collecting): Change return type to
+ fast_tpoint_collect_result.
+ * tracepoint.c (fast_tracepoint_collecting): Likewise.
+ * linux-low.h: Include tracepoint.h.
+ (struct lwp_info) <collecting_fast_tracepoint>: Change type to
+ fast_tpoint_collect_result.
+ * linux-low.c (handle_tracepoints): Adjust.
+ (linux_fast_tracepoint_collecting): Change return type to
+ fast_tpoint_collect_result.
+ (maybe_move_out_of_jump_pad, linux_wait_for_event_filtered,
+ linux_wait_1, stuck_in_jump_pad_callback,
+ lwp_signal_can_be_delivered, linux_resume_one_lwp_throw,
+ proceed_one_lwp): Adjust to type change.
+
+2017-07-10 Yao Qi <yao.qi@linaro.org>
+
+ * linux-x86-low.c (x86_linux_read_description): Re-indent the code.
+
+2017-06-29 Yao Qi <yao.qi@linaro.org>
+
+ * tdesc.h (struct target_desc) [IN_PROCESS_AGENT] <expedite_regs>:
+ Remove.
+ [IN_PROCESS_AGENT] <xmltarget>: Likewise.
+
+2017-06-20 Simon Marchi <simon.marchi@ericsson.com>
+
+ * Makefile.in (IPA_OBJS): Sort and format one item per line.
+
+2017-06-20 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * linux-low.c (linux_create_inferior): Adjust code to access the
+ environment information via 'gdb_environ' class.
+ * lynx-low.c (lynx_create_inferior): Likewise.
+ * server.c (our_environ): Make it an instance of 'gdb_environ'.
+ (get_environ): Return a pointer to 'our_environ'.
+ (captured_main): Initialize 'our_environ'.
+ * server.h (get_environ): Adjust prototype.
+ * spu-low.c (spu_create_inferior): Adjust code to access the
+ environment information via 'gdb_environ' class.
+
+2017-06-17 Simon Marchi <simon.marchi@ericsson.com>
+
+ * linux-low.c (linux_read_memory, linux_write_memory): Remove
+ usage of "register" keyword.
+
+2017-06-17 Simon Marchi <simon.marchi@ericsson.com>
+
+ * configure: Re-generate.
+
+2017-06-17 Simon Marchi <simon.marchi@ericsson.com>
+
+ * configure: Re-generate.
+
+2017-06-17 Simon Marchi <simon.marchi@ericsson.com>
+
+ * Makefile.in (COMPILE.pre): Add "-x c++".
+
+2017-06-09 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * fork-child.c: Conditionally include <signal.h>.
+
+2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * server.c (handle_general_set): Handle new packet
+ "QStartupWithShell".
+ (handle_query): Add "QStartupWithShell" to the list of supported
+ packets.
+ (gdbserver_usage): Add help text explaining the
+ new "--startup-with-shell" and "--no-startup-with-shell" CLI
+ options.
+ (captured_main): Recognize and act upon the presence of the new
+ CLI options.
+
+2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
+ Pedro Alves <palves@redhat.com>
+
+ * Makefile.in (SFILES): Add "nat/fork-inferior.o".
+ * configure: Regenerate.
+ * configure.srv (srv_linux_obj): Add "fork-child.o" and
+ "fork-inferior.o".
+ (i[34567]86-*-lynxos*): Likewise.
+ (spu*-*-*): Likewise.
+ * fork-child.c: New file.
+ * linux-low.c: Include "common-inferior.h", "nat/fork-inferior.h"
+ and "environ.h".
+ (linux_ptrace_fun): New function.
+ (linux_create_inferior): Adjust function prototype to reflect
+ change on "target.h". Adjust function code to use
+ "fork_inferior".
+ (linux_request_interrupt): Delete "signal_pid".
+ * lynx-low.c: Include "common-inferior.h" and "nat/fork-inferior.h".
+ (lynx_ptrace_fun): New function.
+ (lynx_create_inferior): Adjust function prototype to reflect
+ change on "target.h". Adjust function code to use
+ "fork_inferior".
+ * nto-low.c (nto_create_inferior): Adjust function prototype and
+ code to reflect change on "target.h". Update comments.
+ * server.c: Include "common-inferior.h", "nat/fork-inferior.h",
+ "common-terminal.h" and "environ.h".
+ (terminal_fd): Moved to fork-child.c.
+ (old_foreground_pgrp): Likewise.
+ (restore_old_foreground_pgrp): Likewise.
+ (last_status): Make it global.
+ (last_ptid): Likewise.
+ (our_environ): New variable.
+ (startup_with_shell): Likewise.
+ (program_name): Likewise.
+ (program_argv): Rename to...
+ (program_args): ...this.
+ (wrapper_argv): New variable.
+ (start_inferior): Delete function.
+ (get_exec_wrapper): New function.
+ (get_exec_file): Likewise.
+ (get_environ): Likewise.
+ (prefork_hook): Likewise.
+ (post_fork_inferior): Likewise.
+ (postfork_hook): Likewise.
+ (postfork_child_hook): Likewise.
+ (handle_v_run): Update code to deal with arguments coming from the
+ remote host. Update calls from "start_inferior" to
+ "create_inferior".
+ (captured_main): Likewise. Initialize environment variable. Call
+ "have_job_control".
+ * server.h (post_fork_inferior): New prototype.
+ (get_environ): Likewise.
+ (last_status): Declare.
+ (last_ptid): Likewise.
+ (signal_pid): Likewise.
+ * spu-low.c: Include "common-inferior.h" and "nat/fork-inferior.h".
+ (spu_ptrace_fun): New function.
+ (spu_create_inferior): Adjust function prototype to reflect change
+ on "target.h". Adjust function code to use "fork_inferior".
+ * target.c (target_terminal_init): New function.
+ (target_terminal_inferior): Likewise.
+ (target_terminal_ours): Likewise.
+ * target.h: Include <vector>.
+ (struct target_ops) <create_inferior>: Update prototype.
+ (create_inferior): Update macro.
+ * utils.c (gdb_flush_out_err): New function.
+ * win32-low.c (win32_create_inferior): Adjust function prototype
+ and code to reflect change on "target.h".
+
+2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * inferiors.c (switch_to_thread): New function.
+
+2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * Makefile.in (SFILE): Add "common/job-control.c".
+ (OBS): Add "job-control.o".
+
+2017-05-06 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * Makefile: Remove "@host_makefile_frag@".
+
+2017-05-05 Pedro Alves <palves@redhat.com>
+
+ * configure: Regenerate.
+
+2017-05-03 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * configure: Regenerate.
+
+2017-05-02 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * linux-arm-low.c (arm_gdbserver_get_next_pcs): Adjust to
+ software_single_step change of return type to
+ std::vector<CORE_ADDR>.
+ * linux-low.c (install_software_single_step_breakpoints):
+ Likewise.
+ * linux-low.h (install_software_single_step_breakpoints):
+ Likewise.
+
+2017-04-12 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * remote-utils.c: Include "gdb_termios.h" instead of
+ "terminal.h".
+ * terminal.h: Delete file.
+
+2017-04-12 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * server.c: Include <vector>.
+ <program_argv, wrapper_argv>: Convert to std::vector.
+ (start_inferior): Rewrite function to use C++.
+ (handle_v_run): Likewise. Update code that calculates the argv
+ based on the vRun packet; use C++.
+ (captured_main): Likewise.
+
+2017-04-06 Simon Marchi <simon.marchi@ericsson.com>
+
+ * server.c (handle_v_cont): Initialize thread_resume::thread
+ with null_ptid.
+
+2017-04-05 Pedro Alves <palves@redhat.com>
+
+ * configure: Regenerate.
+
+2017-04-05 Pedro Alves <palves@redhat.com>
+
+ * gdbreplay.c (sync_error): Constify.
+ * linux-x86-low.c (push_opcode): Constify.
+
+2017-04-05 Pedro Alves <palves@redhat.com>
+
+ * win32-low.c (get_child_debug_event)
+ <CREATE_PROCESS_DEBUG_EVENT>: Don't report TARGET_WAITKIND_EXECD.
+ Report TARGET_WAITKIND_SPURIOUS instead.
+
+2017-04-05 Pedro Alves <palves@redhat.com>
+
+ * remote-utils.c (remote_prepare, remote_open): Constify.
+ * remote-utils.h (remote_prepare, remote_open): Constify.
+ * server.c (captured_main): Constify 'port' handling.
+
+2017-04-04 Simon Marchi <simon.marchi@ericsson.com>
+
+ * Makefile.in (clean): Clear .deps.
+
+2017-03-31 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * .gitignore: Remove generated files, replace with wildcard.
+ * (clean): Replace removal of generated files with wildcard.
+ (version.c): Replace with...
+ (version-generated.c): ...this.
+ (xml-builtin.c): Replace with...
+ (xml-builtin-generated.c): ...this.
+ (%-ipa.o: %-generated.c, %.o: %-generated.c): New rules.
+ (%.c: *regformats*): Replace with...
+ (%-generated.c: *regformats*): ...this.
+
+2017-03-27 Max Filippov <jcmvbkbc@gmail.com>
+
+ * linux-xtensa-low.c (regnum::R_THREADPTR): New enum member.
+ (xtensa_fill_gregset): Call collect_register_by_name for
+ threadptr register.
+ (xtensa_store_gregset): Call supply_register_by_name for
+ threadptr register.
+
+2017-03-27 Max Filippov <jcmvbkbc@gmail.com>
+
+ * linux-xtensa-low.c (xtensa_fill_gregset): Call collect_register
+ for all registers in a0_regnum..a0_regnum + C0_NREGS range.
+ (xtensa_store_gregset): Call supply_register for all registers in
+ a0_regnum..a0_regnum + C0_NREGS range.
+
+2017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * Makefile.in (%-ipa.o: %-ipa.c): New rule.
+ (ax-ipa.o: ax.c): Remove.
+ (linux-i386-ipa.o: linux-i386-ipa.c): Remove.
+ (linux-amd64-ipa.o: linux-amd64-ipa.c): Remove.
+ (linux-aarch64-ipa.o: linux-aarch64-ipa.c): Remove.
+ (linux-s390-ipa.o: linux-s390-ipa.c): Remove.
+ (linux-ppc-ipa.o: linux-ppc-ipa.c): Remove.
+
+2017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * Makefile.in (%-ipa.o: ../common/%.c): New rule.
+ (print-utils-ipa.o: ../common/print-utils.c): Remove.
+ (rsp-low-ipa.o: ../common/rsp-low.c): Remove.
+ (errors-ipa.o: ../common/errors.c): Remove.
+ (format-ipa.o: ../common/format.c): Remove.
+ (common-utils-ipa.o: ../common/common-utils.c): Remove.
+
+2017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * Makefile.in (%-ipa.o: %.c): New rule.
+ (tracepoint-ipa.o: tracepoint.c): Remove.
+ (utils-ipa.o: utils.c): Remove.
+ (remote-utils-ipa.o: remote-utils.c): Remove.
+ (regcache-ipa.o: regcache.c): Remove.
+ (i386-linux-ipa.o: i386-linux.c): Remove.
+ (i386-mmx-linux-ipa.o: i386-mmx-linux.c): Remove.
+ (i386-avx-linux-ipa.o: i386-avx-linux.c): Remove.
+ (i386-mpx-linux-ipa.o: i386-mpx-linux.c): Remove.
+ (i386-avx-mpx-linux-ipa.o: i386-avx-mpx-linux.c): Remove.
+ (i386-avx-avx512-linux-ipa.o: i386-avx-avx512-linux.c): Remove.
+ (i386-avx-mpx-avx512-pku-linux-ipa.o: i386-avx-mpx-avx512-pku-linux.c): Remove.
+ (amd64-linux-ipa.o: amd64-linux.c): Remove.
+ (amd64-avx-linux-ipa.o: amd64-avx-linux.c): Remove.
+ (amd64-mpx-linux-ipa.o: amd64-mpx-linux.c): Remove.
+ (amd64-avx-mpx-linux-ipa.o: amd64-avx-mpx-linux.c): Remove.
+ (amd64-avx-avx512-linux-ipa.o: amd64-avx-avx512-linux.c): Remove.
+ (amd64-avx-mpx-avx512-pku-linux-ipa.o: amd64-avx-mpx-avx512-pku-linux.c): Remove.
+ (aarch64-ipa.o: aarch64.c): Remove.
+ (s390-linux32-ipa.o: s390-linux32.c): Remove.
+ (s390-linux32v1-ipa.o: s390-linux32v1.c): Remove.
+ (s390-linux32v2-ipa.o: s390-linux32v2.c): Remove.
+ (s390-linux64-ipa.o: s390-linux64.c): Remove.
+ (s390-linux64v1-ipa.o: s390-linux64v1.c): Remove.
+ (s390-linux64v2-ipa.o: s390-linux64v2.c): Remove.
+ (s390-te-linux64-ipa.o: s390-te-linux64.c): Remove.
+ (s390-vx-linux64-ipa.o: s390-vx-linux64.c): Remove.
+ (s390-tevx-linux64-ipa.o: s390-tevx-linux64.c): Remove.
+ (s390x-linux64-ipa.o: s390x-linux64.c): Remove.
+ (s390x-linux64v1-ipa.o: s390x-linux64v1.c): Remove.
+ (s390x-linux64v2-ipa.o: s390x-linux64v2.c): Remove.
+ (s390x-te-linux64-ipa.o: s390x-te-linux64.c): Remove.
+ (s390x-vx-linux64-ipa.o: s390x-vx-linux64.c): Remove.
+ (s390x-tevx-linux64-ipa.o: s390x-tevx-linux64.c): Remove.
+ (powerpc-32l-ipa.o: powerpc-32l.c): Remove.
+ (powerpc-altivec32l-ipa.o: powerpc-altivec32l.c): Remove.
+ (powerpc-cell32l-ipa.o: powerpc-cell32l.c): Remove.
+ (powerpc-vsx32l-ipa.o: powerpc-vsx32l.c): Remove.
+ (powerpc-isa205-32l-ipa.o: powerpc-isa205-32l.c): Remove.
+ (powerpc-isa205-altivec32l-ipa.o: powerpc-isa205-altivec32l.c): Remove.
+ (powerpc-isa205-vsx32l-ipa.o: powerpc-isa205-vsx32l.c): Remove.
+ (powerpc-e500l-ipa.o: powerpc-e500l.c): Remove.
+ (powerpc-64l-ipa.o: powerpc-64l.c): Remove.
+ (powerpc-altivec64l-ipa.o: powerpc-altivec64l.c): Remove.
+ (powerpc-cell64l-ipa.o: powerpc-cell64l.c): Remove.
+ (powerpc-vsx64l-ipa.o: powerpc-vsx64l.c): Remove.
+ (powerpc-isa205-64l-ipa.o: powerpc-isa205-64l.c): Remove.
+ (powerpc-isa205-altivec64l-ipa.o: powerpc-isa205-altivec64l.c): Remove.
+ (powerpc-isa205-vsx64l-ipa.o: powerpc-isa205-vsx64l.c): Remove.
+ (tdesc-ipa.o: tdesc.c): Remove.
+ (x32-linux-ipa.o: x32-linux.c): Remove.
+ (x32-avx-linux-ipa.o: x32-avx-linux.c): Remove.
+ (x32-avx512-linux-ipa.o: x32-avx512-linux.c): Remove.
+
+2017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * Makefile.in (%.o: ../arch/%.c): New rule.
+ (arm.o: ../arch/arm.c): Remove.
+ (arm-linux.o: ../arch/arm-linux.c): Remove.
+ (arm-get-next-pcs.o: ../arch/arm-get-next-pcs.c): Remove.
+ (aarch64-insn.o: ../arch/aarch64-insn.c): Remove.
+
+2017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * Makefile.in (%.o: ../nat/%.c): New rule.
+ (x86-dregs.o: ../nat/x86-dregs.c): Remove.
+ (amd64-linux-siginfo.o: ../nat/amd64-linux-siginfo.c): Remove.
+ (linux-btrace.o: ../nat/linux-btrace.c): Remove.
+ (linux-osdata.o: ../nat/linux-osdata.c): Remove.
+ (linux-procfs.o: ../nat/linux-procfs.c): Remove.
+ (linux-ptrace.o: ../nat/linux-ptrace.c): Remove.
+ (linux-waitpid.o: ../nat/linux-waitpid.c): Remove.
+ (mips-linux-watch.o: ../nat/mips-linux-watch.c): Remove.
+ (ppc-linux.o: ../nat/ppc-linux.c): Remove.
+ (linux-personality.o: ../nat/linux-personality.c): Remove.
+ (aarch64-linux-hw-point.o: ../nat/aarch64-linux-hw-point.c): Remove.
+ (aarch64-linux.o: ../nat/aarch64-linux.c): Remove.
+ (x86-linux.o: ../nat/x86-linux.c): Remove.
+ (x86-linux-dregs.o: ../nat/x86-linux-dregs.c): Remove.
+ (linux-namespaces.o: ../nat/linux-namespaces.c): Remove.
+
+2017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * Makefile.in (%.o: ../common/%.c): New rule.
+ (signals.o: ../common/signals.c): Remove.
+ (print-utils.o: ../common/print-utils.c): Remove.
+ (rsp-low.o: ../common/rsp-low.c): Remove.
+ (common-utils.o: ../common/common-utils.c): Remove.
+ (posix-strerror.o: ../common/posix-strerror.c): Remove.
+ (mingw-strerror.o: ../common/mingw-strerror.c): Remove.
+ (vec.o: ../common/vec.c): Remove.
+ (gdb_vecs.o: ../common/gdb_vecs.c): Remove.
+ (xml-utils.o: ../common/xml-utils.c): Remove.
+ (ptid.o: ../common/ptid.c): Remove.
+ (buffer.o: ../common/buffer.c): Remove.
+ (format.o: ../common/format.c): Remove.
+ (filestuff.o: ../common/filestuff.c): Remove.
+ (agent.o: ../common/agent.c): Remove.
+ (errors.o: ../common/errors.c): Remove.
+ (environ.o: ../common/environ.c): Remove.
+ (common-debug.o: ../common/common-debug.c): Remove.
+ (cleanups.o: ../common/cleanups.c): Remove.
+ (common-exceptions.o: ../common/common-exceptions.c): Remove.
+ (fileio.o: ../common/fileio.c): Remove.
+ (common-regcache.o: ../common/common-regcache.c): Remove.
+ (signals-state-save-restore.o: ../common/signals-state-save-restore.c): Remove.
+ (new-op.o: ../common/new-op.c): Remove.
+ (btrace-common.o: ../common/btrace-common.c): Remove.
+
+2017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * Makefile.in (%.o: ../target/%.c): New rule.
+ (waitstatus.o: ../target/waitstatus.c): Remove.
+
+2017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * Makefile.in
+ (%.c: ../regformats/%.dat,
+ (%.c: ../regformats/arm/%.dat,
+ (%.c: ../regformats/i386/%.dat,
+ (%.c: ../regformats/rs6000/%.dat): New rules.
+ (aarch64.c): Remove.
+ (reg-arm.c): Remove.
+ (arm-with-iwmmxt.c): Remove.
+ (arm-with-vfpv2.c): Remove.
+ (arm-with-vfpv3.c): Remove.
+ (arm-with-neon.c): Remove.
+ (reg-bfin.c): Remove.
+ (reg-cris.c): Remove.
+ (reg-crisv32.c): Remove.
+ (i386.c): Remove.
+ (i386-linux.c): Remove.
+ (i386-avx.c): Remove.
+ (i386-avx-linux.c): Remove.
+ (i386-avx-avx512.c): Remove.
+ (i386-avx-avx512-linux.c): Remove.
+ (i386-mpx.c): Remove.
+ (i386-mpx-linux.c): Remove.
+ (i386-avx-mpx-avx512-pku.c): Remove.
+ (i386-avx-mpx-avx512-pku-linux.c): Remove.
+ (i386-avx-mpx.c): Remove.
+ (i386-avx-mpx-linux.c): Remove.
+ (i386-mmx.c): Remove.
+ (i386-mmx-linux.c): Remove.
+ (reg-ia64.c): Remove.
+ (reg-m32r.c): Remove.
+ (reg-m68k.c): Remove.
+ (reg-cf.c): Remove.
+ (mips-linux.c): Remove.
+ (mips-dsp-linux.c): Remove.
+ (mips64-linux.c): Remove.
+ (mips64-dsp-linux.c): Remove.
+ (nios2-linux.c): Remove.
+ (powerpc-32.c): Remove.
+ (powerpc-32l.c): Remove.
+ (powerpc-altivec32l.c): Remove.
+ (powerpc-cell32l.c): Remove.
+ (powerpc-vsx32l.c): Remove.
+ (powerpc-isa205-32l.c): Remove.
+ (powerpc-isa205-altivec32l.c): Remove.
+ (powerpc-isa205-vsx32l.c): Remove.
+ (powerpc-e500l.c): Remove.
+ (powerpc-64l.c): Remove.
+ (powerpc-altivec64l.c): Remove.
+ (powerpc-cell64l.c): Remove.
+ (powerpc-vsx64l.c): Remove.
+ (powerpc-isa205-64l.c): Remove.
+ (powerpc-isa205-altivec64l.c): Remove.
+ (powerpc-isa205-vsx64l.c): Remove.
+ (s390-linux32.c): Remove.
+ (s390-linux32v1.c): Remove.
+ (s390-linux32v2.c): Remove.
+ (s390-linux64.c): Remove.
+ (s390-linux64v1.c): Remove.
+ (s390-linux64v2.c): Remove.
+ (s390-te-linux64.c): Remove.
+ (s390-vx-linux64.c): Remove.
+ (s390-tevx-linux64.c): Remove.
+ (s390x-linux64.c): Remove.
+ (s390x-linux64v1.c): Remove.
+ (s390x-linux64v2.c): Remove.
+ (s390x-te-linux64.c): Remove.
+ (s390x-vx-linux64.c): Remove.
+ (s390x-tevx-linux64.c): Remove.
+ (tic6x-c64xp-linux.c): Remove.
+ (tic6x-c64x-linux.c): Remove.
+ (tic6x-c62x-linux.c): Remove.
+ (reg-sh.c): Remove.
+ (reg-sparc64.c): Remove.
+ (reg-spu.c): Remove.
+ (amd64.c): Remove.
+ (amd64-linux.c): Remove.
+ (amd64-avx.c): Remove.
+ (amd64-avx-linux.c): Remove.
+ (amd64-avx-avx512.c): Remove.
+ (amd64-avx-avx512-linux.c): Remove.
+ (amd64-mpx.c): Remove.
+ (amd64-mpx-linux.c): Remove.
+ (amd64-avx-mpx-avx512-pku.c): Remove.
+ (amd64-avx-mpx-avx512-pku-linux.c): Remove.
+ (amd64-avx-mpx.c): Remove.
+ (amd64-avx-mpx-linux.c): Remove.
+ (x32.c): Remove.
+ (x32-linux.c): Remove.
+ (x32-avx.c): Remove.
+ (x32-avx-linux.c): Remove.
+ (x32-avx-avx512.c): Remove.
+ (x32-avx-avx512-linux.c): Remove.
+ (reg-xtensa.c): Remove.
+ (reg-tilegx.c): Remove.
+ (reg-tilegx32.c): Remove.
+
+2017-03-07 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * Makefile.in (SFILES): Add "common/environ.c".
+ (OBJS): Add "common/environ.h".
+
+2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
+
+ * configure.ac: Check if the fs_base and gs_base members of
+ `struct user_regs_struct' exist.
+ * config.in: Regenerated.
+ * configure: Likewise.
+
+2017-01-09 Antoine Tremblay <antoine.tremblay@ericsson.com>
+
+ * linux-aarch32-low.c (arm_breakpoint_kind_from_pc): Use
+ target_read_memory.
+ * linux-arm-low.c (get_next_pcs_read_memory_unsigned_integer): Likewise.
+ (get_next_pcs_syscall_next_pc): Likewise.
+
+2016-12-23 Luis Machado <lgustavo@codesourcery.com>
+
+ * win32-i386-low.c: Fix incorrect reference to a couple source files.
+ * nto-x86-low.c: Likewise.
+
+2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * Makefile.in: Include disable-implicit-rules.mk.
+
+2016-11-23 Pedro Alves <palves@redhat.com>
+
+ * debug.c: Include <chrono> instead of "gdb_sys_time.h".
+ (debug_vprintf): Use std::chrono::steady_clock instead of
+ gettimeofday. Use '.' instead of ':'.
+ * tracepoint.c: Include <chrono> instead of "gdb_sys_time.h".
+ (get_timestamp): Use std::chrono::steady_clock instead of
+ gettimeofday.
+
+2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * Makefile.in: Fix whitespace formatting.
+
+2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * Makefile.in (SFILES, OBS): Flatten list and order
+ alphabetically.
+
+2016-11-23 Pedro Alves <palves@redhat.com>
+
+ * event-loop.c (handle_file_event): Use warning.
+ * linux-low.c (linux_resume_one_lwp_throw): Use warning.
+ * mem-break.c (add_breakpoint_condition, add_breakpoint_commands):
+ Use warning.
+
+2016-11-23 Pedro Alves <palves@redhat.com>
+
+ * linux-low.c (check_zombie_leaders): Use debug_printf for debug
+ output.
+ * notif.c (handle_notif_ack, notif_event_enque): Likewise.
+ * remote-utils.c (putpkt_binary_1, readchar, getpkt): Use
+ debug_printf and debug_flush for debug output.
+ * server.c (handle_general_set): Likewise.
+ * thread-db.c (try_thread_db_load): Use debug_printf for debug
+ output.
+
+2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * Makefile.in (.c.o): Replace rule with ...
+ (%.o: %.c): ... this one.
+
+2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
+ prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
+ make.
+ * configure.ac: Remove checks for the make program.
+ * configure: Re-generate.
+
+2016-10-28 Pedro Alves <palves@redhat.com>
+
+ * Makefile.in (CXX_DIALECT): Get from configure.
+ (COMPILE.pre, CC_LD): Append $(CXX_DIALECT).
+ * acinclude.m4: Include ../ax_cxx_compile_stdcxx.m4.
+ * configure.ac: Call AX_CXX_COMPILE_STDCXX.
+ * config.in: Regenerate.
+ * configure: Regenerate.
+
+2016-10-27 Yao Qi <yao.qi@linaro.org>
+
+ * linux-low.c (linux_supports_range_stepping): Return true if
+ can_software_single_step return true.
+
+2016-10-27 Yao Qi <yao.qi@linaro.org>
+
+ * inferiors.c (find_inferior_in_random): New function.
+ * inferiors.h (find_inferior_in_random): Declare.
+ * linux-low.c (linux_wait_for_event_filtered): Call
+ find_inferior_in_random instead of find_inferior.
+
+2016-10-27 Yao Qi <yao.qi@linaro.org>
+
+ * linux-low.c (linux_wait_1): If single-step breakpoints are
+ inserted, remove them.
+
+2016-10-26 Pedro Alves <palves@redhat.com>
+
+ * linux-low.c (handle_extended_wait): Link parent/child fork
+ threads.
+ (linux_wait_1): Unlink them.
+ (linux_set_resume_request): Ignore resume requests for
+ already-resumed and unhandled fork child threads.
+ * linux-low.h (struct lwp_info) <fork_relative>: New field.
+ * server.c (in_queued_stop_replies_ptid, in_queued_stop_replies):
+ New functions.
+ (handle_v_requests) <vCont>: Don't call require_running.
+ * server.h (in_queued_stop_replies): New declaration.
+
+2016-10-24 Yao Qi <yao.qi@linaro.org>
+
+ PR server/20733
+ * linux-aarch64-low.c (append_insns): Cast the return value to
+ 'uint32_t *'.
+
+2016-10-10 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch32-low.c (enum arm_breakpoint_kinds): Remove.
+
+2016-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * target.c (target_supports_multi_process): New function, moved
+ from...
+ * target.h (target_supports_multi_process): ... here. Remove
+ macro.
+
+2016-10-05 Tom Tromey <tom@tromey.com>
+
+ PR remote/20655:
+ * tracepoint.c (handle_tracepoint_bkpts): Check
+ ipa_error_tracepoint, not ipa_stopping_tracepoint.
+
+2016-10-05 Yao Qi <yao.qi@linaro.org>
+
+ * configure.srv: Update the path of arm-*.xml files.
+
+2016-10-05 Terry Guo <terry.guo@arm.com>
+ Yao Qi <yao.qi@linaro.org>
+
+ * Makefile.in: Adjust the path of rules.
+ * configure.srv: Update the path of xml files.
+ * regformats/arm-with-iwmmxt.dat: Regenerated.
+ * regformats/arm-with-neon.dat: Likewise.
+ * regformats/arm-with-vfpv2.dat: Likewise.
+ * regformats/arm-with-vfpv3.dat Likewise.
+
+2016-09-30 Yao Qi <yao.qi@linaro.org>
+
+ PR gdbserver/20627
+ * target.c (target_stop_and_wait): Don't call
+ target_continue_no_signal, use resume_stop instead.
+
+2016-09-26 Yao Qi <yao.qi@linaro.org>
+
+ * linux-low.c (linux_wait_1): Call debug_exit.
+
+2016-09-23 Pedro Alves <palves@redhat.com>
+
+ * Makefile.in (SFILES): Add common/new-op.c.
+ (OBS): Add common/new-op.o.
+ (new-op.o): New rule.
+
+2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
+
+ * .gitinore: Ignore more files.
+
+2016-09-21 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch32-low.c (arm_fill_gregset): Keep bits 20 to
+ 23.
+
+2016-09-19 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * server.c (start_inferior): Call target_mourn_inferior instead of
+ mourn_inferior; pass ptid_t argument to it.
+ (resume): Likewise.
+ (handle_target_event): Likewise.
+ * target.c (target_mourn_inferior): New function.
+ * target.h (mourn_inferior): Delete macro.
+
+2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * linux-low.c (lwp_is_stepping): New function.
+
+2016-09-06 Carl Love <cel@us.ibm.com>
+
+ * server.c (start_inferior): Fixed comment, requested comment change
+ didn't get updated correctly. Removed reference to ptrace () call as
+ it is only true on Linux systems.
+
+2016-09-06 Carl Love <cel@us.ibm.com>
+
+ * server.c (start_inferior): Do not call
+ function target_post_create_inferior () if the
+ inferior process has already exited.
+
+2016-09-05 Pedro Alves <palves@redhat.com>
+
+ * Makefile.in (COMPILER, COMPILER_CFLAGS): Remove.
+ (COMPILE.pre, CC_LD): Use CXX directly.
+ (INTERNAL_CFLAGS_BASE): Use CXXFLAGS directly.
+ * acinclude.m4: Don't include build-with-cxx.m4.
+ * configure.ac: Remove GDB_AC_BUILD_WITH_CXX call.
+ * configure: Regenerate.
+
+2016-09-02 Akash Trehan <akash.trehan123@gmail.com>
+
+ PR gdb/19495
+ * remote-utils.c (relocate_instruction): Remove redundant strcpy()
+ call writing data to own_buf.
+
+2016-09-01 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * target.c (mywait): Call target_wait instead of
+ the_target->wait.
+ (target_wait): New function.
+
+2016-09-01 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * server.c (start_inferior): New variable 'ptid'. Replace calls
+ to the_target->resume by target_continue{,_no_signal}, depending
+ on the case.
+ * target.c (target_stop_and_wait): Call target_continue_no_signal
+ instead of the_target->resume.
+ (target_continue): New function.
+
+2016-08-31 Antoine Tremblay <antoine.tremblay@ericsson.com>
+
+ * linux-low.c (linux_wait_1): Move event switch after unsuspend_lwps.
+
+2016-08-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
+
+ PR server/20491
+ * gdb_proc_service.h (ps_get_thread_area): Remove const from struct
+ ps_prochandle.
+ * linux-aarch64-low.c (ps_get_thread_area): Likewise.
+ * linux-arm-low.c (ps_get_thread_area): Likewise.
+ * linux-crisv32-low.c (ps_get_thread_area): Likewise.
+ * linux-m68k-low.c (ps_get_thread_area): Likewise.
+ * linux-mips-low.c (ps_get_thread_area): Likewise.
+ * linux-nios2-low.c (ps_get_thread_area): Likewise.
+ * linux-tic6x-low.c (ps_get_thread_area): Likewise.
+ * linux-x86-low.c (ps_get_thread_area): Likewise.
+ * linux-xtensa-low.c (ps_get_thread_area): Likewise.
+
+2016-08-19 Pedro Alves <palves@redhat.com>
+
+ * linux-x86-low.c (amd64_emit_call): Emit missing call opcode.
+
+2016-08-19 Pedro Alves <palves@redhat.com>
+
+ * linux-x86-low.c (amd64_install_fast_tracepoint_jump_pad): Fix
+ comment. Use memcpy instead of casting through unsigned long.
+
+2016-08-19 Pedro Alves <palves@redhat.com>
+
+ * linux-amd64-ipa.c (alloc_jump_pad_buffer) [__ILP32__]: Try
+ allocating around 0x80000000.
+
+2016-08-19 Pedro Alves <palves@redhat.com>
+
+ PR gdb/20415
+ * Makefile.in (x32-linux-ipa.o, x32-avx-linux-ipa.o)
+ (x32-avx512-linux-ipa.o): New rules.
+ * configure.ac (x86_64-*-linux*): New x32 check.
+ * configure.srv (ipa_x32_linux_regobj): New.
+ (x86_64-*-linux*): Use $ipa_x32_linux_regobj if building for x32.
+ * linux-amd64-ipa.c (get_ipa_tdesc) [__ILP32__]: Return x32
+ descriptions.
+ (initialize_low_tracepoint) [__ILP32__]: Initialize x32
+ descriptions.
+ * configure: Regenerate.
+
+2016-08-09 Pedro Alves <palves@redhat.com>
+
+ PR gdb/18653
+ * Makefile.in (OBS): Add signals-state-save-restore.o.
+ (signals-state-save-restore.o): New rule.
+ * config.in: Regenerate.
+ * configure: Regenerate.
+ * linux-low.c: Include "signals-state-save-restore.h".
+ (linux_create_inferior): Call
+ restore_original_signals_state.
+ * server.c: Include "dispositions-save-restore.h".
+ (captured_main): Call save_original_signals_state.
+
+2016-08-05 Pedro Alves <palves@redhat.com>
+
+ * configure: Regenerate.
+
+2016-08-04 Yao Qi <yao.qi@linaro.org>
+
+ * linux-low.c (regsets_fetch_inferior_registers): Check
+ errno is ESRCH or not.
+
+2016-08-02 Yao Qi <yao.qi@linaro.org>
+
+ * thread-db.c (struct thread_db) <td_ta_event_getmsg_p>: Remove.
+ <td_ta_set_event_p, td_ta_event_addr_p>: Remove.
+ (thread_db_load_search): Update.
+ (try_thread_db_load_1): Don't look for td_ta_event_addr,
+ td_ta_set_event and td_ta_event_getmsg.
+
+2016-07-26 Pedro Alves <palves@redhat.com>
+
+ PR server/20414
+ * linux-x86-low.c (x86_get_pc, x86_set_pc): Use uint64_t instead
+ of unsigned long for 64-bit registers and use uint32_t instead of
+ unsigned int for 32-bit registers.
+
+2016-07-26 Pedro Alves <palves@redhat.com>
+
+ * linux-x86-low.c (x86_siginfo_fixup): Rename 'native' parameter
+ to 'ptrace'.
+
+2016-07-21 Tom Tromey <tom@tromey.com>
+
+ * configure: Rebuild.
+
+2016-07-21 Yao Qi <yao.qi@linaro.org>
+
+ * mem-break.c (find_gdb_breakpoint): Cast bp to
+ 'struct gdb_breakpoint *' rather than 'gdb_breakpoint *'.
+
+2016-07-21 Yao Qi <yao.qi@linaro.org>
+
+ * server.c (handle_v_requests): Support s and S actions
+ if target_supports_software_single_step return true.
+
+2016-07-21 Yao Qi <yao.qi@linaro.org>
+
+ * linux-low.c (resume_stopped_resumed_lwps): If resume request
+ is resume_step, call maybe_hw_step.
+ (linux_wait_1): Stop all threads, remove reinsert breakpoints,
+ and unstop them.
+ (linux_resume_one_lwp_throw): Don't assert the thread has reinsert
+ breakpoints or not.
+ (proceed_one_lwp): If resume request is resume_step, install
+ reinsert breakpoints and call maybe_hw_step.
+
+2016-07-21 Yao Qi <yao.qi@linaro.org>
+
+ * linux-low.c (proceed_one_lwp): Declare.
+ (linux_resume_one_thread): Remove local variable 'step'.
+ Lift code enqueue signal. Call proceed_one_lwp instead of
+ linux_resume_one_lwp.
+
+2016-07-21 Yao Qi <yao.qi@linaro.org>
+
+ * linux-low.c (linux_resume_one_thread): Call
+ enqueue_pending_signal.
+
+2016-07-21 Yao Qi <yao.qi@linaro.org>
+
+ * gdbthread.h (make_cleanup_restore_current_thread): Declare.
+ * inferiors.c (do_restore_current_thread_cleanup): New function.
+ (make_cleanup_restore_current_thread): Likewise.
+ * linux-low.c (install_software_single_step_breakpoints): Call
+ make_cleanup_restore_current_thread. Switch current_thread to
+ thread.
+
+2016-07-21 Yao Qi <yao.qi@linaro.org>
+
+ * mem-break.c (struct reinsert_breakpoint) <ptid>: New field.
+ (set_reinsert_breakpoint): New parameter ptid. Callers updated.
+ (clone_one_breakpoint): Likewise.
+ (delete_reinsert_breakpoints): Change parameter to thread.
+ Callers updated.
+ (has_reinsert_breakpoints): Likewise.
+ (uninsert_reinsert_breakpoints): Likewise.
+ (reinsert_reinsert_breakpoints): Likewise.
+ * mem-break.h (set_reinsert_breakpoint): Update declaration.
+ (delete_reinsert_breakpoints): Likewise.
+ (reinsert_reinsert_breakpoints): Likewise.
+ (uninsert_reinsert_breakpoints): Likewise.
+ (has_reinsert_breakpoints): Likewise.
+
+2016-07-21 Yao Qi <yao.qi@linaro.org>
+
+ * inferiors.c (get_thread_process): Make parameter const.
+ * inferiors.h (get_thread_process): Update declaration.
+ * mem-break.c (clone_all_breakpoints): Remove all parameters.
+ Add new parameters child_thread and parent_thread. Callers
+ updated.
+ * mem-break.h (clone_all_breakpoints): Update declaration.
+
+2016-07-21 Yao Qi <yao.qi@linaro.org>
+
+ * mem-break.c (struct breakpoint) <cond_list>: Remove.
+ <command_list, handler>: Remove.
+ (struct gdb_breakpoint): New.
+ (struct other_breakpoint): New.
+ (struct reinsert_breakpoint): New.
+ (is_gdb_breakpoint): New function.
+ (any_persistent_commands): Update command_list if
+ is_gdb_breakpoint returns true.
+ (set_breakpoint): Create breakpoints according to their types.
+ (find_gdb_breakpoint): Return 'struct gdb_breakpoint *'.
+ (set_gdb_breakpoint_1): Likewise.
+ (set_gdb_breakpoint): Likewise.
+ (clear_breakpoint_conditions): Change parameter type to
+ 'struct gdb_breakpoint *'.
+ (clear_breakpoint_commands): Likewise.
+ (clear_breakpoint_conditions_and_commands): Likewise.
+ (add_condition_to_breakpoint): Likewise.
+ (add_breakpoint_condition): Likewise.
+ (add_commands_to_breakpoint): Likewise.
+ (check_breakpoints): Check other_breakpoint.
+ (clone_one_breakpoint): Clone breakpopint according to its type.
+ * mem-break.h (struct gdb_breakpoint): Declare.
+ (set_gdb_breakpoint): Update declaration.
+ (clear_breakpoint_conditions_and_commands): Likewise.
+ (add_breakpoint_condition): Likewise.
+ (add_breakpoint_commands): Likewise.
+ * server.c (process_point_options): Change parameter type to
+ 'struct gdb_breakpoint *'.
+
+2016-07-21 Yao Qi <yao.qi@linaro.org>
+
+ * mem-break.c (set_breakpoint_at): Rename it to ...
+ (set_breakpoint_type_at): ... it.
+ (set_breakpoint_at): Call set_breakpoint_type_at.
+ (set_reinsert_breakpoint): Call set_breakpoint_type_at.
+ * mem-break.h (set_breakpoint_at): Update comments.
+
+2016-07-12 Chung-Lin Tang <cltang@codesourcery.com>
+
+ * linux-nios2-low.c (nios2_fill_gregset): Add type cast
+ to buf parameter.
+ (nios2_store_gregset): Likewise.
+
+2016-07-01 Pedro Alves <palves@redhat.com>
+ Antoine Tremblay <antoine.tremblay@ericsson.com>
+
+ * linux-low.c: Change interface to take the target lwp_info
+ pointer directly and return void. Handle detaching from a zombie
+ thread.
+ (linux_detach_lwp_callback): New function.
+ (linux_detach): Detach from the leader thread after detaching from
+ the clone threads.
+
+2016-06-28 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch64-low.c (aarch64_ftrace_insn_reloc_b): Use int64_t
+ for variable new_offset.
+ (aarch64_ftrace_insn_reloc_b_cond): Likewise.
+ (aarch64_ftrace_insn_reloc_cb): Likewise.
+ (aarch64_ftrace_insn_reloc_tb): Likewise.
+ (aarch64_install_fast_tracepoint_jump_pad): Likewise. Use
+ PRIx64 instead of PRIx32.
+
+2016-06-28 Yao Qi <yao.qi@linaro.org>
+
+ * linux-arm-low.c (arm_get_syscall_trapinfo): New function.
+ (the_low_target): Install arm_get_syscall_trapinfo.
+
+2016-06-28 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch64-low.c (aarch64_get_syscall_trapinfo): New
+ function.
+ (the_low_target): Install aarch64_get_syscall_trapinfo.
+
+2016-06-28 Yao Qi <yao.qi@linaro.org>
+
+ * linux-low.c (get_syscall_trapinfo): Remove parameter sysret.
+ Callers updated.
+ * linux-low.h (struct linux_target_ops) <get_syscall_trapinfo>:
+ Remove parameter sysno.
+ * linux-x86-low.c (x86_get_syscall_trapinfo): Remove parameter
+ sysret.
+
+2016-06-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * linux-s390-low.c (s390_emit_eq_goto): Mark function static.
+ (s390_emit_ne_goto): Likewise.
+ (s390_emit_lt_goto): Likewise.
+ (s390_emit_le_goto): Likewise.
+ (s390_emit_gt_goto): Likewise.
+ (s390_emit_ge_goto): Likewise.
+ (s390x_emit_eq_goto): Likewise.
+ (s390x_emit_ne_goto): Likewise.
+ (s390x_emit_lt_goto): Likewise.
+ (s390x_emit_le_goto): Likewise.
+ (s390x_emit_gt_goto): Likewise.
+ (s390x_emit_ge_goto): Likewise.
+ (s390_emit_ops_impl): Mark variable static.
+ (s390x_emit_ops): Likewise.
+
+2016-06-17 Yao Qi <yao.qi@linaro.org>
+
+ * linux-low.c (handle_extended_wait): Call
+ uninsert_reinsert_breakpoints for the parent process. Remove
+ reinsert breakpoints from the child process. Reinsert them to
+ the parent process when vfork is done.
+ * mem-break.c (uninsert_reinsert_breakpoints): New function.
+ (reinsert_reinsert_breakpoints): New function.
+ * mem-break.h (uninsert_reinsert_breakpoints): Declare
+ (reinsert_reinsert_breakpoints): Declare.
+
+2016-06-17 Yao Qi <yao.qi@linaro.org>
+
+ * linux-low.c (handle_extended_wait): If the parent is doing
+ step-over, remove the reinsert breakpoints from the forked child.
+
+2016-06-17 Yao Qi <yao.qi@linaro.org>
+
+ * linux-low.c (unsuspend_all_lwps): Declare.
+ (linux_low_filter_event): If thread exited, call finish_step_over.
+ If step-over is finished, unsuspend other threads.
+
+2016-06-17 Yao Qi <yao.qi@linaro.org>
+
+ * linux-low.c (linux_resume_one_lwp_throw): Assert
+ has_reinsert_breakpoints returns false.
+ * mem-break.c (delete_disabled_breakpoints): Assert
+ bp type isn't reinsert_breakpoint.
+
+2016-06-17 Yao Qi <yao.qi@linaro.org>
+
+ * linux-low.c (maybe_hw_step): New function.
+ (linux_resume_one_lwp_throw): Call maybe_hw_step.
+ (finish_step_over): Switch current_thread to lwp temporarily,
+ and assert has_reinsert_breakpoints returns true.
+ (proceed_one_lwp): Call maybe_hw_step.
+ * mem-break.c (has_reinsert_breakpoints): New function.
+ * mem-break.h (has_reinsert_breakpoints): Declare.
+
+2016-06-02 Jon Turney <jon.turney@dronecode.org.uk>
+
+ * win32-low.c (win32_create_inferior): Add pointer casts for C++.
+
+2016-05-17 Yao Qi <yao.qi@linaro.org>
+
+ * linux-low.c (linux_stabilize_threads): Call unsuspend_all_lwps
+ instead of find_inferior.
+
+2016-05-05 Yao Qi <yao.qi@linaro.org>
+
+ * linux-arm-low.c (get_next_pcs_read_memory_unsigned_integer):
+ Initialize res to zero.
+
+2016-05-05 Yao Qi <yao.qi@linaro.org>
+
+ * linux-arm-low.c (arm_sigreturn_next_pc): Change type of cpsr
+ to uint32_t.
+
+2016-05-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+
+ * spu-low.c (fetch_ppc_register): Cast PowerPC-Linux-specific value
+ used as first ptrace argument to PTRACE_TYPE_ARG1 for C++.
+ (fetch_ppc_memory_1, store_ppc_memory_1): Likewise.
+
+2016-04-28 Par Olsson <par.olsson@windriver.com>
+ Simon Marchi <simon.marchi@ericsson.com>
+
+ * tracepoint.c (write_inferior_int8): New function.
+ (cmd_qtenable_disable): Write enable flag using
+ write_inferior_int8.
+
+2016-04-25 Yao Qi <yao.qi@linaro.org>
+
+ * linux-low.c (lwp_signal_can_be_delivered): Adjust.
+ (need_step_over_p): Return zero if the LWP has pending signals
+ can be delivered on software single step target.
+
+2016-04-25 Yao Qi <yao.qi@linaro.org>
+
+ * linux-low.c (reinsert_raw_breakpoint): If bp->inserted is true
+ return instead of error.
+
+2016-04-22 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch32-low.c (arm_store_gregset): Clear CPSR bits 20
+ to 23.
+
+2016-04-22 Yao Qi <yao.qi@linaro.org>
+
+ * linux-low.c (lwp_signal_can_be_delivered): Don't deliver
+ signal when stepping over breakpoint with software single
+ step.
+
+2016-04-21 Pedro Alves <palves@redhat.com>
+
+ * linux-s390-low.c (s390_collect_ptrace_register)
+ (s390_supply_ptrace_register, s390_get_hwcap): Use gdb_byte * and
+ add casts.
+ (s390_check_regset): Use void * instead of gdb_byte *.
+
+2016-04-20 Pedro Alves <palves@redhat.com>
+
+ * configure: Renegerate.
+
+2016-04-20 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch32-low.c: Include "arch/arm-linux.h".
+ (arm_fill_gregset): Use ARM_CPSR_GREGNUM rather than magic
+ number 16.
+ (arm_store_gregset): Likewise.
+
+2016-04-16 Walfred Tedeschi <walfred.tedeschi@intel.com>
+
+ * Makefile.in (clean): Add removal for i386-avx-mpx.c,
+ i386-avx-mpx-linux.c, amd64-avx-mpx.c and amd64-avx-mpx-linux.c.
+ (i386-avx-mpx.c, i386-avx-mpx-linux.c, amd64-avx-mpx.c)
+ (amd64-avx-mpx-linux.c): New rules.
+ (amd64-avx-mpx-linux-ipa.o, i386-avx-mpx-linux-ipa.o): New rule.
+ * configure.srv (srv_i386_regobj): Add i386-avx-mpx.o.
+ (srv_i386_linux_regobj): Add i386-avx-mpx-linux.o.
+ (srv_amd64_regobj): Add amd64-avx-mpx.o.
+ (srv_amd64_linux_regobj): Add amd64-avx-mpx-linux.o.
+ (srv_i386_xmlfiles): Add i386/i386-avx-mpx.xml.
+ (srv_amd64_xmlfiles): Add i386/amd64-avx-mpx.xml.
+ (srv_i386_linux_xmlfiles): Add i386/i386-avx-mpx-linux.xml.
+ (srv_amd64_linux_xmlfiles): Add i386/amd64-avx-mpx-linux.xml.
+ (ipa_i386_linux_regobj): Add i386-avx-mpx-linux-ipa.o.
+ (ipa_amd64_linux_regobj): Add amd64-avx-mpx-linux-ipa.o.
+ * linux-x86-low.c (x86_linux_read_description): Add case for
+ X86_XSTATE_AVX_MPX_MASK.
+ (x86_get_ipa_tdesc_idx): Add cases for avx_mpx.
+ (initialize_low_arch): Call init_registers_amd64_avx_mpx_linux and
+ init_registers_i386_avx_mpx_linux.
+ * linux-i386-ipa.c (get_ipa_tdesc): Add case for avx_mpx.
+ (initialize_low_tracepoint): Call
+ init_registers_i386_avx_mpx_linux.
+ * linux-amd64-ipa.c (get_ipa_tdesc): Add case for avx_mpx.
+ (initialize_low_tracepoint): Call
+ init_registers_amd64_avx_mpx_linux.
+ * linux-x86-tdesc.h (X86_TDESC_AVX_MPX): New enum value.
+ (init_registers_amd64_avx_mpx_linux, tdesc_amd64_avx_mpx_linux)
+ (init_registers_i386_avx_mpx_linux, tdesc_i386_avx_mpx_linux): New
+ declarations.
+
+2016-04-18 Pedro Alves <palves@redhat.com>
+
+ * configure: Regenerate.
+
+2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
+
+ * linux-aarch64-low.c (aarch64_emit_add): Switch x1 and x0.
+ (aarch64_emit_sub): Likewise.
+
+2016-04-12 Pedro Alves <palves@redhat.com>
+
+ * utils.c (prepare_to_throw_exception): Delete.
+
+2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
+
+ * Makefile.in ($(IPA_LIB)): Set SONAME of the IPA lib.
+
+2016-04-05 Marcin Kościelnicki <koriakin@0x04.net>
+
+ * tracepoint.c (getauxval): Move to #ifdef IN_PROCESS_AGENT.
+
+2016-04-03 Marcin Kościelnicki <koriakin@0x04.net>
+
+ * linux-aarch64-ipa.c: Add <elf.h> include.
+ * linux-ppc-ipa.c: Add <elf.h> include.
+ * linux-s390-ipa.c: Add <elf.h> include.
+
+2016-03-31 Marcin Kościelnicki <koriakin@0x04.net>
+
+ * tracepoint.c (gdb_collect_ptr): Remove const qualifier.
+ (get_raw_reg_ptr): Likewise.
+ (get_trace_state_variable_value_ptr): Likewise.
+ (set_trace_state_variable_value_ptr): Likewise.
+ (initialize_tracepoint): Cast alloc_jump_pad_buffer result to
+ char *.
+
+2016-03-31 Wei-cheng Wang <cole945@gmail.com>
+ Marcin Kościelnicki <koriakin@0x04.net>
+
+ PR/17221
+ * linux-ppc-low.c (emit_insns): New function.
+ (__EMIT_ASM, _EMIT_ASM, EMIT_ASM): New macros.
+ (ppc_emit_prologue): New function.
+ (ppc_emit_epilogue): New function.
+ (ppc_emit_add): New function.
+ (ppc_emit_sub): New function.
+ (ppc_emit_mul): New function.
+ (ppc_emit_lsh): New function.
+ (ppc_emit_rsh_signed): New function.
+ (ppc_emit_rsh_unsigned): New function.
+ (ppc_emit_ext): New function.
+ (ppc_emit_zero_ext): New function.
+ (ppc_emit_log_not): New function.
+ (ppc_emit_bit_and): New function.
+ (ppc_emit_bit_or): New function.
+ (ppc_emit_bit_xor): New function.
+ (ppc_emit_bit_not): New function.
+ (ppc_emit_equal): New function.
+ (ppc_emit_less_signed): New function.
+ (ppc_emit_less_unsigned): New function.
+ (ppc_emit_ref): New function.
+ (ppc_emit_const): New function.
+ (ppc_emit_reg): New function.
+ (ppc_emit_pop): New function.
+ (ppc_emit_stack_flush): New function.
+ (ppc_emit_swap): New function.
+ (ppc_emit_stack_adjust): New function.
+ (ppc_emit_call): New function.
+ (ppc_emit_int_call_1): New function.
+ (ppc_emit_void_call_2): New function.
+ (ppc_emit_if_goto): New function.
+ (ppc_emit_goto): New function.
+ (ppc_emit_eq_goto): New function.
+ (ppc_emit_ne_goto): New function.
+ (ppc_emit_lt_goto): New function.
+ (ppc_emit_le_goto): New function.
+ (ppc_emit_gt_goto): New function.
+ (ppc_emit_ge_goto): New function.
+ (ppc_write_goto_address): New function.
+ (ppc_emit_ops_impl): New static variable.
+ (ppc64v1_emit_prologue): New function.
+ (ppc64v2_emit_prologue): New function.
+ (ppc64_emit_epilogue): New function.
+ (ppc64_emit_add): New function.
+ (ppc64_emit_sub): New function.
+ (ppc64_emit_mul): New function.
+ (ppc64_emit_lsh): New function.
+ (ppc64_emit_rsh_signed): New function.
+ (ppc64_emit_rsh_unsigned): New function.
+ (ppc64_emit_ext): New function.
+ (ppc64_emit_zero_ext): New function.
+ (ppc64_emit_log_not): New function.
+ (ppc64_emit_bit_and): New function.
+ (ppc64_emit_bit_or): New function.
+ (ppc64_emit_bit_xor): New function.
+ (ppc64_emit_bit_not): New function.
+ (ppc64_emit_equal): New function.
+ (ppc64_emit_less_signed): New function.
+ (ppc64_emit_less_unsigned): New function.
+ (ppc64_emit_ref): New function.
+ (ppc64_emit_const): New function.
+ (ppc64v1_emit_reg): New function.
+ (ppc64v2_emit_reg): New function.
+ (ppc64_emit_pop): New function.
+ (ppc64_emit_stack_flush): New function.
+ (ppc64_emit_swap): New function.
+ (ppc64v1_emit_call): New function.
+ (ppc64v2_emit_call): New function.
+ (ppc64v1_emit_int_call_1): New function.
+ (ppc64v2_emit_int_call_1): New function.
+ (ppc64v1_emit_void_call_2): New function.
+ (ppc64v2_emit_void_call_2): New function.
+ (ppc64_emit_if_goto): New function.
+ (ppc64_emit_eq_goto): New function.
+ (ppc64_emit_ne_goto): New function.
+ (ppc64_emit_lt_goto): New function.
+ (ppc64_emit_le_goto): New function.
+ (ppc64_emit_gt_goto): New function.
+ (ppc64_emit_ge_goto): New function.
+ (ppc64v1_emit_ops_impl): New static variable.
+ (ppc64v2_emit_ops_impl): New static variable.
+ (ppc_emit_ops): New function.
+ (linux_low_target): Wire in ppc_emit_ops.
+
+2016-03-31 Wei-cheng Wang <cole945@gmail.com>
+ Marcin Kościelnicki <koriakin@0x04.net>
+
+ PR/17221
+ * Makefile.in: Add powerpc-*-ipa.o
+ * configure.srv: Add ipa_obj for powerpc*-linux.
+ * linux-ppc-ipa.c: New file.
+ * linux-ppc-low.c: Added linux-ppc-tdesc.h, ax.h, tracepoint.h
+ includes.
+ (PPC_FIELD): New macro.
+ (PPC_SEXT): New macro.
+ (PPC_OP6): New macro.
+ (PPC_BO): New macro.
+ (PPC_LI): New macro.
+ (PPC_BD): New macro.
+ (init_registers_*): Move prototype to linux-ppc-tdesc.h.
+ (tdesc_*): Move declaration to linux-ppc-tdesc.h.
+ (ppc_get_hwcap): Rename to ppc_get_auxv and add type parameter.
+ (ppc_get_thread_area): New function.
+ (is_elfv2_inferior): New function.
+ (gen_ds_form): New function.
+ (GEN_STD): New macro.
+ (GEN_STDU): New macro.
+ (GEN_LD): New macro.
+ (GEN_LDU): New macro.
+ (gen_d_form): New function.
+ (GEN_ADDI): New macro.
+ (GEN_ADDIS): New macro.
+ (GEN_LI): New macro.
+ (GEN_LIS): New macro.
+ (GEN_ORI): New macro.
+ (GEN_ORIS): New macro.
+ (GEN_LWZ): New macro.
+ (GEN_STW): New macro.
+ (GEN_STWU): New macro.
+ (gen_xfx_form): New function.
+ (GEN_MFSPR): New macro.
+ (GEN_MTSPR): New macro.
+ (GEN_MFCR): New macro.
+ (GEN_MTCR): New macro.
+ (GEN_SYNC): New macro.
+ (GEN_LWSYNC): New macro.
+ (gen_x_form): New function.
+ (GEN_OR): New macro.
+ (GEN_MR): New macro.
+ (GEN_LWARX): New macro.
+ (GEN_STWCX): New macro.
+ (GEN_CMPW): New macro.
+ (gen_md_form): New function.
+ (GEN_RLDICL): New macro.
+ (GEN_RLDICR): New macro.
+ (gen_i_form): New function.
+ (GEN_B): New macro.
+ (GEN_BL): New macro.
+ (gen_b_form): New function.
+ (GEN_BNE): New macro.
+ (GEN_LOAD): New macro.
+ (GEN_STORE): New macro.
+ (gen_limm): New function.
+ (gen_atomic_xchg): New function.
+ (gen_call): New function.
+ (ppc_relocate_instruction): New function.
+ (ppc_install_fast_tracepoint_jump_pad): New function.
+ (ppc_get_min_fast_tracepoint_insn_len): New function.
+ (ppc_get_ipa_tdesc_idx): New function.
+ (the_low_target): Wire in the new functions.
+ (initialize_low_arch) [!__powerpc64__]: Don'it initialize 64-bit
+ tdescs.
+ * linux-ppc-tdesc.h: New file.
+
+2016-03-31 Marcin Kościelnicki <koriakin@0x04.net>
+
+ * linux-aarch64-ipa.c: Add <sys/mman.h> and <sys/auxv.h> includes.
+ (alloc_jump_pad_buffer): New function.
+ * linux-amd64-ipa.c: Add <sys/mman.h> include.
+ (alloc_jump_pad_buffer): New function.
+ * linux-i386-ipa.c (alloc_jump_pad_buffer): New function.
+ * linux-s390-ipa.c: Add <sys/mman.h> and <sys/auxv.h> includes.
+ (alloc_jump_pad_buffer): New function.
+ * tracepoint.c (getauxval) [!HAVE_GETAUXVAL]: New function.
+ (initialize_tracepoint): Delegate to alloc_jump_pad_buffer.
+ * tracepoint.h (alloc_jump_pad_buffer): New prototype.
+ (getauxval) [!HAVE_GETAUXVAL]: New prototype.
+
+2016-03-30 Marcin Kościelnicki <koriakin@0x04.net>
+
+ * linux-aarch64-ipa.c: Rename gdb_agent_get_raw_reg to get_raw_reg.
+ * linux-amd64-ipa.c: Likewise.
+ * linux-i386-ipa.c: Likewise.
+ * linux-s390-ipa.c: Likewise.
+ * tracepoint.c: IPA-export gdb_collect_ptr instead of gdb_collect,
+ ditto for get_raw_reg_ptr, get_trace_state_variable_value_ptr,
+ set_trace_state_variable_value_ptr.
+ (struct ipa_sym_addresses): Likewise.
+ (symbol_list): Likewise.
+ (install_fast_tracepoint): Dereference gdb_collect_ptr instead of
+ accessing gdb_collect directly.
+ (gdb_collect_ptr_type): New typedef.
+ (get_raw_reg_ptr_type): New typedef.
+ (get_trace_state_variable_value_ptr_type): New typedef.
+ (set_trace_state_variable_value_ptr_type): New typedef.
+ (gdb_collect_ptr): New global.
+ (get_raw_reg_ptr): New global.
+ (get_trace_state_variable_value_ptr): New global.
+ (set_trace_state_variable_value_ptr): New global.
+ (get_raw_reg_func_addr): Dereference get_raw_reg_ptr instead of
+ accessing get_raw_reg directly.
+ (get_get_tsv_func_addr): Likewise for
+ get_trace_state_variable_value_ptr.
+ (get_set_tsv_func_addr): Likewise for
+ set_trace_state_variable_value_ptr.
+ * tracepoint.h: Rename gdb_agent_get_raw_reg to get_raw_reg.
+
+2016-03-30 Simon Marchi <simon.marchi@ericsson.com>
+
+ * tracepoint.c (cmd_qtenable_disable): Remove whitespace.
+
+2016-03-30 Marcin Kościelnicki <koriakin@0x04.net>
+
+ * remote-utils.c (look_up_one_symbol): Remove own_buf, handle 'v'
+ packets.
+ (relocate_instruction): Remove own_buf.
+ * server.c (own_buf): Make global.
+ (handle_v_requests): Make global.
+ * server.h (own_buf): New declaration.
+ (handle_v_requests): New prototype.
+
+2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
+
+ PR 18377
+ * linux-s390-low.c (add_insns): New function.
+ (s390_emit_prologue): New function.
+ (s390_emit_epilogue): New function.
+ (s390_emit_add): New function.
+ (s390_emit_sub): New function.
+ (s390_emit_mul): New function.
+ (s390_emit_lsh): New function.
+ (s390_emit_rsh_signed): New function.
+ (s390_emit_rsh_unsigned): New function.
+ (s390_emit_ext): New function.
+ (s390_emit_log_not): New function.
+ (s390_emit_bit_and): New function.
+ (s390_emit_bit_or): New function.
+ (s390_emit_bit_xor): New function.
+ (s390_emit_bit_not): New function.
+ (s390_emit_equal): New function.
+ (s390_emit_less_signed): New function.
+ (s390_emit_less_unsigned): New function.
+ (s390_emit_ref): New function.
+ (s390_emit_if_goto): New function.
+ (s390_emit_goto): New function.
+ (s390_write_goto_address): New function.
+ (s390_emit_litpool): New function.
+ (s390_emit_const): New function.
+ (s390_emit_call): New function.
+ (s390_emit_reg): New function.
+ (s390_emit_pop): New function.
+ (s390_emit_stack_flush): New function.
+ (s390_emit_zero_ext): New function.
+ (s390_emit_swap): New function.
+ (s390_emit_stack_adjust): New function.
+ (s390_emit_set_r2): New function.
+ (s390_emit_int_call_1): New function.
+ (s390_emit_void_call_2): New function.
+ (s390_emit_eq_goto): New function.
+ (s390_emit_ne_goto): New function.
+ (s390_emit_lt_goto): New function.
+ (s390_emit_le_goto): New function.
+ (s390_emit_gt_goto): New function.
+ (s390_emit_ge_goto): New function.
+ (s390x_emit_prologue): New function.
+ (s390x_emit_epilogue): New function.
+ (s390x_emit_add): New function.
+ (s390x_emit_sub): New function.
+ (s390x_emit_mul): New function.
+ (s390x_emit_lsh): New function.
+ (s390x_emit_rsh_signed): New function.
+ (s390x_emit_rsh_unsigned): New function.
+ (s390x_emit_ext): New function.
+ (s390x_emit_log_not): New function.
+ (s390x_emit_bit_and): New function.
+ (s390x_emit_bit_or): New function.
+ (s390x_emit_bit_xor): New function.
+ (s390x_emit_bit_not): New function.
+ (s390x_emit_equal): New function.
+ (s390x_emit_less_signed): New function.
+ (s390x_emit_less_unsigned): New function.
+ (s390x_emit_ref): New function.
+ (s390x_emit_if_goto): New function.
+ (s390x_emit_const): New function.
+ (s390x_emit_call): New function.
+ (s390x_emit_reg): New function.
+ (s390x_emit_pop): New function.
+ (s390x_emit_stack_flush): New function.
+ (s390x_emit_zero_ext): New function.
+ (s390x_emit_swap): New function.
+ (s390x_emit_stack_adjust): New function.
+ (s390x_emit_int_call_1): New function.
+ (s390x_emit_void_call_2): New function.
+ (s390x_emit_eq_goto): New function.
+ (s390x_emit_ne_goto): New function.
+ (s390x_emit_lt_goto): New function.
+ (s390x_emit_le_goto): New function.
+ (s390x_emit_gt_goto): New function.
+ (s390x_emit_ge_goto): New function.
+ (s390_emit_ops): New function.
+ (struct linux_target_ops): Fill in emit_ops hook.
+
+2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
+
+ PR 18377
+ * Makefile.in: Add s390 IPA files.
+ * configure.srv: Build IPA for s390.
+ * linux-s390-ipa.c: New file.
+ * linux-s390-low.c: New includes - inttypes.h and linux-s390-tdesc.h.
+ (init_registers_s390_linux32): Move declaration to linux-s390-tdesc.h.
+ (tdesc_s390_linux32): Likewise.
+ (init_registers_s390_linux32v1): Likewise.
+ (tdesc_s390_linux32v1): Likewise.
+ (init_registers_s390_linux32v2): Likewise.
+ (tdesc_s390_linux32v2): Likewise.
+ (init_registers_s390_linux64): Likewise.
+ (tdesc_s390_linux64): Likewise.
+ (init_registers_s390_linux64v1): Likewise.
+ (tdesc_s390_linux64v1): Likewise.
+ (init_registers_s390_linux64v2): Likewise.
+ (tdesc_s390_linux64v2): Likewise.
+ (init_registers_s390_te_linux64): Likewise.
+ (tdesc_s390_te_linux64): Likewise.
+ (init_registers_s390_vx_linux64): Likewise.
+ (tdesc_s390_vx_linux64): Likewise.
+ (init_registers_s390_tevx_linux64): Likewise.
+ (tdesc_s390_tevx_linux64): Likewise.
+ (init_registers_s390x_linux64): Likewise.
+ (tdesc_s390x_linux64): Likewise.
+ (init_registers_s390x_linux64v1): Likewise.
+ (tdesc_s390x_linux64v1): Likewise.
+ (init_registers_s390x_linux64v2): Likewise.
+ (tdesc_s390x_linux64v2): Likewise.
+ (init_registers_s390x_te_linux64): Likewise.
+ (tdesc_s390x_te_linux64): Likewise.
+ (init_registers_s390x_vx_linux64): Likewise.
+ (tdesc_s390x_vx_linux64): Likewise.
+ (init_registers_s390x_tevx_linux64): Likewise.
+ (tdesc_s390x_tevx_linux64): Likewise.
+ (have_hwcap_s390_vx): New static variable.
+ (s390_arch_setup): Fill have_hwcap_s390_vx.
+ (s390_get_thread_area): New function.
+ (s390_ft_entry_gpr_esa): New const.
+ (s390_ft_entry_gpr_zarch): New const.
+ (s390_ft_entry_misc): New const.
+ (s390_ft_entry_fr): New const.
+ (s390_ft_entry_vr): New const.
+ (s390_ft_main_31): New const.
+ (s390_ft_main_64): New const.
+ (s390_ft_exit_fr): New const.
+ (s390_ft_exit_vr): New const.
+ (s390_ft_exit_misc): New const.
+ (s390_ft_exit_gpr_esa): New const.
+ (s390_ft_exit_gpr_zarch): New const.
+ (append_insns): New function.
+ (s390_relocate_instruction): New function.
+ (s390_install_fast_tracepoint_jump_pad): New function.
+ (s390_get_min_fast_tracepoint_insn_len): New function.
+ (s390_get_ipa_tdesc_idx): New function.
+ (struct linux_target_ops): Wire in the above functions.
+ (initialize_low_arch) [!__s390x__]: Don't initialize s390x tdescs.
+ * linux-s390-tdesc.h: New file.
+
+2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
+
+ * linux-s390-low.c (s390_supports_tracepoints): New function.
+ (struct linux_target_ops): Fill supports_tracepoints hook.
+
+2016-03-18 Yao Qi <yao.qi@linaro.org>
+
+ * linux-low.c (lwp_signal_can_be_delivered): New function.
+ (linux_resume_one_lwp_throw): Use lwp_signal_can_be_delivered.
+
+2016-03-18 Yao Qi <yao.qi@linaro.org>
+
+ * linux-low.c (linux_resume_one_lwp_throw): Set 'signal' to
+ 0 if signal is enqueued. Remove 'signal' from one debugging
+ message. Move one debugging message to some lines below.
+ Remove code setting 'signal' to 0.
+
+2016-03-18 Yao Qi <yao.qi@linaro.org>
+
+ * linux-low.c (linux_low_filter_event): Remove redundant
+ WIFSTOPPED check together with linux_wstatus_maybe_breakpoint.
+
+2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
+
+ * linux-ppc-low.c (ppc_supports_tracepoints): New function.
+ (struct linux_target_ops): Wire in the above.
+
+2016-03-03 Yao Qi <yao.qi@linaro.org>
+
+ * linux-low.c: Update comments to start_step_over.
+
2016-03-03 Yao Qi <yao.qi@linaro.org>
PR server/19736