This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v4 3/3] Fix failure to detach if process exits while detaching on Linux
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 24 Jun 2016 20:28:25 +0100
- Subject: Re: [PATCH v4 3/3] Fix failure to detach if process exits while detaching on Linux
- Authentication-results: sourceware.org; auth=none
- References: <1466119968-15171-1-git-send-email-palves at redhat dot com> <1466119968-15171-4-git-send-email-palves at redhat dot com> <86k2hnsvk0 dot fsf at gmail dot com>
On 06/17/2016 04:07 PM, Yao Qi wrote:
> Pedro Alves <palves@redhat.com> writes:
>
>> +# If testing single-process, simply detach from the process.
>> +#
>> +# If testing multi-process, first detach from the child, then detach
>> +# from the parent and confirm that the parent exits, thus unsuring
>
> s/unsuring/ensuring/ ?
Indeed.
>> + } else {
>> + perror "unhandled command: $mode: $cmd"
>
> no variable "mode".
Whoops, there used to be one. Fixed now (the two instances):
- perror "unhandled command: $mode: $cmd"
+ perror "unhandled command: $cmd"
Thanks,
Pedro Alves