linux-low: Remove unused variables
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index 595faf59fe33678d710ef44007f5c38218834291..45274a44006d4be03461b300c1803e831a4ae6ee 100644 (file)
@@ -1,3 +1,117 @@
+2017-09-15  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * linux-low.c (linux_set_resume_request): Remove unused
+       variables.
+
+2017-09-15  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * server.c (first_thread_of): Remove.
+       (process_serial_event): Replace usage of first_thread_of with
+       find_any_thread_of_pid.
+       * tracepoint.c (same_process_p): Remove.
+       (gdb_agent_about_to_close): Replace usage of same_process_p with
+       find_any_thread_of_pid.
+       * linux-x86-low.c (same_process_callback): Remove.
+       (x86_arch_setup_process_callback): Replace usage of
+       same_process_callback with find_any_thread_of_pid.
+       * thread-db.c (any_thread_of): Remove.
+       (switch_to_process): Replace usage of any_thread_of with
+       find_any_thread_of_pid.
+       * inferiors.c (thread_pid_matches_callback): Remove.
+       (find_thread_process): Adjust to use find_any_thread_of_pid.
+
+2017-09-10  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * regcache.c (get_thread_regcache): Guard calls to "memset"
+          with "!VEC_empty".
+
+2017-09-10  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * linux-low.c (handle_extended_wait): Use
+       "allocate_target_description" instead of "XNEW".
+       * linux-x86-low.c (initialize_low_arch): Likewise.
+
+2017-09-05  Yao Qi  <yao.qi@linaro.org>
+
+       * configure.srv (srv_i386_regobj): Remove.
+       (srv_amd64_regobj): Remove.
+       (srv_regobj): Set it to "" for x86 non-linux targets.
+       * linux-x86-tdesc.c (i386_linux_read_description):
+       * lynx-i386-low.c: Include x86-xstate.h and arch/i386.h.
+       (init_registers_i386): Remove the declaration.
+       (tdesc_i386): Remove the declaration.
+       (lynx_i386_arch_setup): Call i386_create_target_description.
+       * nto-x86-low.c: Likewise.
+       * win32-i386-low.c [__x86_64__]: include arch/amd64.h.
+       [!__x86_64__]: include arch/i386.h.
+       (i386_arch_setup) [__x86_64__]: Call amd64_create_target_description.
+
+2017-09-05  Yao Qi  <yao.qi@linaro.org>
+
+       * configure.srv (srv_amd64_linux_xmlfiles): Remove
+       i386/amd64-XXX-linux from it.
+
+2017-09-05  Yao Qi  <yao.qi@linaro.org>
+
+       * configure.srv: Empty srv_amd64_linux_regobj if $development is
+       false.
+       (ipa_amd64_linux_regobj): Remove.
+       (ipa_x32_linux_regobj): Remove.
+
+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>.
This page took 0.031679 seconds and 4 git commands to generate.