Fix gdbserver regression exposed by gdb.threads/multi-create-ns-info-thr.exp
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index fe30e91c0590d2845ba7dfe165bc427c2c2894ee..f27451da2f9b3301eb3f4ba044bdfdb5ef41d46f 100644 (file)
@@ -1,3 +1,75 @@
+2017-09-29  Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c (handle_extended_wait): Pass parent thread instead
+       of process to thread_db_notice_clone.
+       * linux-low.h (thread_db_notice_clone): Replace parent process
+       parameter with parent thread parameter.
+       * thread-db.c (find_one_thread): Add comment.
+       (thread_db_notice_clone): Replace parent process parameter with
+       parent thread parameter.  Temporarily switch to the parent thread.
+
+2017-09-26  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * gdbthread.h: Include "common-gdbthread.h".
+       * inferiors.c (switch_to_thread): Use "gdb_assert" instead of
+       "if" when validating the ptid.
+       * remote-utils.c: Include "gdbthread.h".
+       (prepare_resume_reply): Use "switch_to_thread".
+       * target.c (done_accessing_memory): Likewise.
+
+2017-09-25  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * configure.srv (s390*-*-linux*): Add s390-gs-linux64.o and
+       s390x-gs-linux64.o to srv_regobj.  Add s390-gs-linux64.xml,
+       s390x-gs-linux64.xml, s390-gs.xml, and s390-gsbc.xml to
+       srv_xmlfiles.  Add s390-gs-linux64-ipa.o and
+       s390x-gs-linux64-ipa.o to ipa_obj.
+       * linux-s390-low.c (HWCAP_S390_GS): New define.
+       (s390_fill_gs, s390_store_gs, s390_fill_gsbc, s390_store_gsbc):
+       New functions.
+       (s390_regsets): Add regsets for NT_S390_GS_CB and NT_S390_GS_BC.
+       (s390_arch_setup): Check for guarded-storage support and choose
+       appropriate tdesc.
+       (initialize_low_arch): Invoke init_registers_s390_gs_linux64 and
+       init_registers_s390x_gs_linux64.
+       * linux-s390-tdesc.h (enum s390_linux_tdesc) <S390_TDESC_GS>: New
+       enum value.
+       (init_registers_s390x_gs_linux64, tdesc_s390x_gs_linux64)
+       (init_registers_s390_gs_linux64, tdesc_s390_gs_linux64): Declare.
+
+2017-09-22  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * win32-i386-low.c (i386_arch_setup): Call init_target_desc.
+
+2017-09-21  Kevin Buettner  <kevinb@redhat.com>
+
+       * linux-low.h (struct lwp_info): Add new field, thread_handle.
+       (thread_db_thread_handle): Declare.
+       * linux-low.c (linux_target_ops): Initialize thread_handle.
+       * server.c (handle_qxfer_threads_worker): Add support for
+       "handle" attribute.
+       * target.h (struct target_ops): Add new function pointer,
+       thread_handle.
+       (target_thread_handle): Define.
+       * thread-db.c (find_one_thread, attach_thread): Set thread_handle
+       field in lwp.
+       (thread_db_thread_handle): New function.
+
+2017-09-21  Kevin Buettner  <kevinb@redhat.com>
+
+       * linux-low.c (handle_extended_wait): Call thread_db_notice_clone().
+       * linux-low.h (thread_db_notice_clone): Declare.
+       * thread-db.c (thread_db_notice_clone): New function.
+
+2017-09-21  Pedro Alves  <palves@redhat.com>
+
+       * server.c (gdb_read_memory, handle_status, process_serial_event)
+       (handle_serial_event, handle_target_event): Adjust to
+       set_desired_thread prototype change.
+       * target.c (set_desired_thread): Remove 'use_general' parameter
+       and adjust.
+       * target.h (set_desired_thread): Remove 'use_general' parameter.
+
 2017-09-20  Tom Tromey  <tom@tromey.com>
 
        * target.c (target_terminal::terminal_state): Define.
This page took 0.029588 seconds and 4 git commands to generate.