This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2 4/6] Use LWP IDs with ptrace register requests on FreeBSD.
- From: Pedro Alves <palves at redhat dot com>
- To: John Baldwin <jhb at FreeBSD dot org>, gdb-patches at sourceware dot org
- Date: Thu, 14 Jan 2016 15:07:28 +0000
- Subject: Re: [PATCH v2 4/6] Use LWP IDs with ptrace register requests on FreeBSD.
- Authentication-results: sourceware.org; auth=none
- References: <1452721551-657-1-git-send-email-jhb at FreeBSD dot org> <1452721551-657-5-git-send-email-jhb at FreeBSD dot org>
[Dropping binutils.]
On 01/13/2016 09:45 PM, John Baldwin wrote:
> This allows gdb to fetch per-thread registers for multi-threaded FreeBSD
> processes. NetBSD and OpenBSD also accept LWP IDs for ptrace requests
> to fetch per-thread state.
I'd prefer to make inf-ptrace.c:get_ptrace_pid extern and use
it, instead of duplicating it multiple times.
Thanks,
Pedro Alves