[PATCH] PR server/9684: gdbserver, attach to stopped processes

Joel Brobecker brobecker@adacore.com
Fri Feb 24 23:22:00 GMT 2012


> I'm a bit ambivalent on this.  I found out that this isn't actually
> necessary on recent kernels (I haven't looked for the exact version or
> commit that made it so) -- waitpid no longer hangs.  OTOH, we still
> need it on systems with not so recent kernels where support is still
> well active, so I figure this may be useful to many upstream as well.

FWIW, I tend to agree. If it is possibly useful to others, and it's
not intrusive, it is all good reasons for the patch to go in. I took
a look just to have an idea of what it's about, and it seems like
a reasonably uninvasive patch...

As always, I always marvel at the beautiful and informative comments
that explain why we have to do all these horrible things :-).

-- 
Joel



More information about the Gdb-patches mailing list