This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix Linux attach to signalled/stopped processes
> Date: Sat, 30 Jun 2007 18:39:30 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
>
> 2007-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * gdb.texinfo (Attach): Document the ATTACH and DETACH commands for
> stopped processes. Document the messages on the seen pending signals.
>
> --- ./gdb/NEWS 21 Jun 2007 15:18:50 -0000 1.232
> +++ ./gdb/NEWS 30 Jun 2007 16:27:37 -0000
> @@ -44,6 +44,9 @@ segment base addresses (rather than offs
> * The /i format now outputs any trailing branch delay slot instructions
> immediately following the last instruction within the count specified.
>
> +* Stopped processes may get attached now. Signals being delivered at the time
> +of the attach command no longer get lost.
> +
> * New commands
I don't think this is newsworthy. At the very least this is
misleading. This always was supposed to work. And it does on most
operating systems. I'm pretty sure it worked on Linux too in the
past. If you or Eli insist on having a NEWS entry on this, please
change it to something like.
* A workaround for a Linux kernel bug has been added such that stopped
processes can get attached to (again).
Mark