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
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: eliz at gnu dot org
- Cc: mark dot kettenis at xs4all dot nl, jan dot kratochvil at redhat dot com, gdb-patches at sourceware dot org
- Date: Sun, 1 Jul 2007 11:34:05 +0200 (CEST)
- Subject: Re: [patch] Fix Linux attach to signalled/stopped processes
- References: <20070606143432.GA11555@host0.dyn.jankratochvil.net> <200706151801.l5FI1xH6022843@brahms.sibelius.xs4all.nl> <20070626210341.GA1406@host0.dyn.jankratochvil.net> <200706262254.l5QMsrPn007445@brahms.sibelius.xs4all.nl> <20070627065203.GA9427@host0.dyn.jankratochvil.net> <20070630101854.GA29173@host0.dyn.jankratochvil.net> <uir95mzsu.fsf@gnu.org> <20070630163930.GA12233@host0.dyn.jankratochvil.net> <200706301852.l5UIq8ek010536@brahms.sibelius.xs4all.nl> <uzm2glsms.fsf@gnu.org>
> Date: Sun, 01 Jul 2007 06:17:31 +0300
> From: Eli Zaretskii <eliz@gnu.org>
>
> > Date: Sat, 30 Jun 2007 20:52:08 +0200 (CEST)
> > From: Mark Kettenis <mark.kettenis@xs4all.nl>
> > CC: gdb-patches@sourceware.org, eliz@gnu.org
> >
> > > +* 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.
>
> I do.
>
> > 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.
>
> Then all we need is a trivial change like this:
>
> On GNU/Linux, stopped processes may get attached now. Signals being
> delivered at the time of the attach command no longer get lost.
Fine with me.