[PATCH v4] Avoid get_ptrace_pid() usage on NetBSD in x86-bsd-nat.c

Simon Marchi simark@simark.ca
Thu Mar 19 13:40:09 GMT 2020


On 2020-03-19 9:36 a.m., Kamil Rytarowski wrote:
> Add gdb_ptrace() that wraps the ptrace(2) API and correctly passes
> the pid,lwp pair to the calls on NetBSD; and the result of
> get_ptrace_pid() on other BSD Operating Systems.

Thanks.  I can't test, but by inspection this patch LGTM.

Simon


More information about the Gdb-patches mailing list