This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix attaching to Linux stopped processes
On Mon, Sep 18, 2006 at 10:49:12PM +0200, Jan Kratochvil wrote:
> (I did not test but) I expect the Red Hat kernels behavior change is due to the
> new utrace patch from Intel present in Red Hat kernels. It is going to be
> imported to kernel.org one day changing the current (IMO broken - I may be
> wrong) kernels behavior.
Actually, I think it's probably a separate issue: Roland McGrath wrote
utrace, and he was pretty meticulous about matching existing ptrace
behavior. It may be a change since the last time I looked at his
patches.
I definitely agree that the current kernel behavior is not very useful.
It may be that the "signal 0" behavior you describe is better, but I'll
let linux-kernel figure that out...
> Still I consider the patch to be better than the current behavior but still it
> is not fully functional, sorry for its submission; going to check the patches
> on kernel.org kernels next time. Patch update from me possible later.
Thanks; hopefully this will be fixed in kernel.org sometime soon. And
hopefully utrace will be merged, too.
--
Daniel Jacobowitz
CodeSourcery