[PATCH 0/6] Improve ptrace-error detection
Sergio Durigan Junior
sergiodj@redhat.com
Sun Mar 15 04:21:50 GMT 2020
On Friday, March 06 2020, I wrote:
> On Wednesday, February 26 2020, I wrote:
>
>> This patch series is the continuation of:
>>
>> [PATCH v5] Improve ptrace-error detection on Linux targets
>> https://sourceware.org/ml/gdb-patches/2019-09/msg00504.html
>
> Ping. Some of the patch have not been reviewed yet. I can submit a v2
> with an updated version of the series if needed.
Ping^2.
> Thanks.
>
>> I decided to start a new series because this involved a rewrite of
>> several parts of the patch. I addressed all of the comments I
>> received back in September (mostly from Pedro), but I also did some
>> improvements, especially in the 'fork_inferior' code.
>>
>> After submitting this series to our Buildbot, no regressions were
>> found.
>>
>> Sergio Durigan Junior (6):
>> Introduce scoped_pipe.h
>> Don't reset errno/bfd_error on 'throw_perror_with_name'
>> Expand 'fork_inferior' to check whether 'traceme_fun' succeeded
>> Extend GNU/Linux to check for ptrace error
>> Document Linux-specific possible ptrace restrictions
>> Fix comment for 'gdb_dlopen'
>>
>> gdb/Makefile.in | 1 +
>> gdb/doc/gdb.texinfo | 143 ++++++++++++++++
>> gdb/inf-ptrace.c | 18 +-
>> gdb/linux-nat.c | 10 +-
>> gdb/nat/fork-inferior.c | 231 ++++++++++++++++++++++++--
>> gdb/nat/fork-inferior.h | 87 ++++++++--
>> gdb/nat/linux-ptrace.c | 178 +++++++++++++++++++-
>> gdb/nat/linux-ptrace.h | 27 ++-
>> gdb/remote.c | 40 ++++-
>> gdb/unittests/scoped_pipe-selftests.c | 96 +++++++++++
>> gdb/utils.c | 6 -
>> gdbserver/linux-low.cc | 31 +++-
>> gdbserver/server.cc | 38 ++++-
>> gdbserver/thread-db.cc | 2 +-
>> gdbserver/utils.cc | 2 +
>> gdbsupport/gdb-dlfcn.h | 4 +-
>> gdbsupport/scoped_pipe.h | 63 +++++++
>> 17 files changed, 909 insertions(+), 68 deletions(-)
>> create mode 100644 gdb/unittests/scoped_pipe-selftests.c
>> create mode 100644 gdbsupport/scoped_pipe.h
>>
>> --
>> 2.24.1
>
> --
> Sergio
> GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36
> Please send encrypted e-mail if possible
> http://sergiodj.net/
--
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/
More information about the Gdb-patches
mailing list