Kill init_sal
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index 840cf79b35f9a8e2b3e5af40b2e33116808a2f40..e5635d8c51aa16c6dce74432ca1383c42c66a738 100644 (file)
@@ -1,3 +1,221 @@
+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.
This page took 0.034126 seconds and 4 git commands to generate.