This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] PR server/9684: gdbserver, attach to stopped processes
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 24 Feb 2012 15:00:12 -0800
- Subject: Re: [PATCH] PR server/9684: gdbserver, attach to stopped processes
- References: <20120224222127.14659.51317.stgit@hit-nxdomain.opendns.com>
> 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