diff options
author | Sergio Durigan Junior <sergiodj@redhat.com> | 2019-09-26 14:24:30 -0400 |
---|---|---|
committer | Sergio Durigan Junior <sergiodj@redhat.com> | 2019-09-26 14:24:30 -0400 |
commit | 50fa3001ce25e221ca2e54564b5589d29c4bed19 (patch) | |
tree | 4f99db1e48244cf2e3d86b867a90314dcf6d7777 /gdb/ChangeLog | |
parent | 381beca6146ac68b57edf47d28cdb335fbd11635 (diff) | |
download | gdb-50fa3001ce25e221ca2e54564b5589d29c4bed19.zip gdb-50fa3001ce25e221ca2e54564b5589d29c4bed19.tar.gz gdb-50fa3001ce25e221ca2e54564b5589d29c4bed19.tar.bz2 |
Revert "Improve ptrace-error detection on Linux targets"
This reverts commit 381beca6146ac68b57edf47d28cdb335fbd11635.
The patch hasn't been fully reviewed yet, and Pedro would like to see
more fixes.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 37626bd..f323cf6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,48 +1,3 @@ -2019-09-26 Sergio Durigan Junior <sergiodj@redhat.com> - Jan Kratochvil <jan.kratochvil@redhat.com> - Pedro Alves <palves@redhat.com> - - * gdbsupport/gdb-dlfcn.h (gdb_dlopen): Update comment and - mention that the function throws an error. - * inf-ptrace.c (default_inf_ptrace_me_fail_reason): New - function. - (inf_ptrace_me_fail_reason): New variable. - (inf_ptrace_me): Update call to 'trace_start_error_with_name'. - * inf-ptrace.h (inf_ptrace_me_fail_reason): New variable. - * linux-nat.c (attach_proc_task_lwp_callback): Call - 'linux_ptrace_attach_fail_reason_lwp'. - (linux_nat_target::attach): Update call to - 'linux_ptrace_attach_fail_reason'. - (_initialize_linux_nat): Set 'inf_ptrace_me_fail_reason'. - * nat/fork-inferior.c (trace_start_error_with_name): Add - optional 'append' argument. - * nat/fork-inferior.h (trace_start_error_with_name): Update - prototype. - * nat/linux-ptrace.c: Include "gdbsupport/gdb-dlfcn.h", - "gdbsupport/filestuff.h" and "nat/fork-inferior.h". - (selinux_ftype): New typedef. - (linux_ptrace_restricted_fail_reason): New function. - (linux_ptrace_attach_fail_reason_1): New function. - (linux_ptrace_attach_fail_reason): Change first argument type - from 'ptid_t' to 'pid_t'. Call - 'linux_ptrace_attach_fail_reason_1' and - 'linux_ptrace_restricted_fail_reason'. - (linux_ptrace_attach_fail_reason_lwp): New function. - (linux_ptrace_me_fail_reason): New function. - (errno_pipe): New variable. - (linux_fork_to_function): Initialize pipe before forking. - (linux_child_function): Deal with errno-passing from child. - Handle ptrace error. - (linux_check_child_ptrace_errno): New function. - (linux_check_child_ptrace_errno): Call - 'linux_check_child_ptrace_errno'. - * nat/linux-ptrace.h (linux_ptrace_attach_fail_reason): Update - prototype. - (linux_ptrace_attach_fail_reason_lwp): New prototype. - (linux_ptrace_me_fail_reason): New prototype. - * remote.c (extended_remote_target::attach): Handle error - message passed by the server when attach fails. - 2019-09-26 Christian Biesinger <cbiesinger@google.com> * blockframe.c (find_pc_partial_function): Change return type to bool. |