[PATCH v2] Enable multi-process mode in the NetBSD native target.
Simon Marchi
simark@simark.ca
Tue Jul 21 02:00:28 GMT 2020
On 2020-07-20 8:21 p.m., Kamil Rytarowski wrote:
> This enables proper support for multiple inferiors and ptrace(2)
> assisted management of the inferior processes and their threads.
>
> (gdb) info inferior
> Num Description Connection Executable
> * 1 process 14952 1 (native) /usr/bin/dig
> 2 <null> 1 (native)
> 3 process 25684 1 (native) /bin/ls
> 4 <null> 1 (native) /bin/ls
>
> Without this patch, additional inferiors can be added, but not
> properly controlled.
>
> gdb/ChangeLog:
>
> * nbsd-nat.h (nbsd_nat_target::supports_multi_process): New
> declaration.
> * nbsd-nat.c (nbsd_nat_target::supports_multi_process): New
> function.
Thanks for the commit message, this is OK.
Simon
More information about the Gdb-patches
mailing list