Improve ptrace-error detection on Linux targets
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index c0c6f51a0695b9891f8c275e7f2f3792d47d6a9d..e60980dc560b0032f1c55aefda98586845c0d659 100644 (file)
@@ -1,3 +1,17 @@
+2019-09-26  Sergio Durigan Junior  <sergiodj@redhat.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c (linux_ptrace_fun): Call
+       'linux_ptrace_me_fail_reason'.
+       (attach_proc_task_lwp_callback): Call
+       'linux_ptrace_attach_fail_reason_lwp'.
+       (linux_attach): Call 'linux_ptrace_attach_fail_reason'.
+       * server.c (handle_v_attach): Use try..catch when calling
+       'attach_inferior', and send an error message to the client
+       when needed.
+       * thread-db.c (attach_thread): Call
+       'linux_ptrace_attach_fail_reason_lwp'.
+
 2019-09-20  Christian Biesinger  <cbiesinger@google.com>
 
        * debug.c (debug_threads): Remove comment in favor of the header.
This page took 0.025148 seconds and 4 git commands to generate.