Re: [PATCH v2 4/6] Use LWP IDs with ptrace register requests on FreeBSD.

Pedro Alves
2016-01-14T15:07:31Z

[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