This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Linux: Use kill_lwp/tkill instead of kill when killing a, process
- From: Stan Shebs <stanshebs at earthlink dot net>
- To: gdb-patches at sourceware dot org
- Date: Tue, 15 Jul 2014 13:52:27 -0700
- Subject: Re: [PATCH] Linux: Use kill_lwp/tkill instead of kill when killing a, process
- Authentication-results: sourceware.org; auth=none
- References: <53C54C7C dot 3070907 at redhat dot com> <20140715192749 dot GA32218 at host2 dot jankratochvil dot net>
On 7/15/14, 12:27 PM, Jan Kratochvil wrote:
> On Tue, 15 Jul 2014 17:45:00 +0200, Pedro Alves wrote:
>> Another thing I noticed by inspection while fixing the
>> recent gdbserver kill crash.
>>
>> Anyone know a reason we use plain "kill" here, instead
>> of tkill like everywhere else?
>
> I do not.
Heh, since it ultimately stems from a patch you did for Archer:
https://sourceware.org/ml/archer/2011-q1/msg00102.html
But going by context, maybe kill_lwp was just overlooked at
the time, and then propagated verbatim thereafter.
Stan
stan@codesourcery.com