[RFA] Factorize killing the children in linux-ptrace.c, and fix a 'process leak'.

Philippe Waroquiers philippe.waroquiers@skynet.be
Sun Dec 16 20:27:00 GMT 2018


On Fri, 2018-12-14 at 18:39 -0500, Simon Marchi wrote:
> 
> Not sure if you got that far in your archeology, but here is the 
> discussion about it:
> 
>    https://sourceware.org/ml/archer/2011-q1/msg00102.html
> 
> which is a reply to:
> 
>    https://sourceware.org/ml/archer/2010-q3/msg00209.html
> 
> Realistically, we could probably just get rid of using PTRACE_KILL.
> 
> Please push the patch.  I think it's totally fine to do one small step 
> at the time.  As you said, it's already a significant improvement.
> 
> Simon
Thanks for the review, I have pushed the patch, and added on my
list of things to do (one day) to work on a bigger cleanup.

Philippe



More information about the Gdb-patches mailing list