Re: [PATCH] ptrace(2) single-stepping into signal handlers

From: Daniel Jacobowitz
Date: Fri Jun 03 2005 - 13:17:36 EST


On Fri, Jun 03, 2005 at 02:07:40PM -0400, John Blackwood wrote:
> > Subject: Re: [PATCH] ptrace(2) single-stepping into signal handlers
> > From: Daniel Jacobowitz <dan@xxxxxxxxxx>
> > Date: Fri, 3 Jun 2005 13:34:33 -0400
> > To: John Blackwood <john.blackwood@xxxxxxxx>
> > CC: linux-kernel@xxxxxxxxxxxxxxx, roland@xxxxxxxxxx, ak@xxxxxxx,
> akpm@xxxxxxxx, bugsy@xxxxxxxx
> >
> > On Fri, Jun 03, 2005 at 01:21:20PM -0400, John Blackwood wrote:
>
> > >> The reason for this behavior is due to the fact that:
> > >>
> > >> - We saved off the eflags (with the TF bit set) in setup_sigcontext()
> > >> before we single stepped into the user's signal handler.
> >
> >
> > You didn't say what kernel you were using. I believe this was fixed
> > some time ago.
>
> Hi Dan,
>
> I observed this behavior in a 2.6.11.10 kernel. The code in 2.6.11.11
> looks the same in this area... this is the i386 code that I am speaking of.
>
> I guess that 'some time ago' is more recent than that?
>
>
> If so, then please excuse me... and it's great that this is fixed.

I'm not sure of the timeline, but could you check that in a current
2.6.12 GIT snapshot?

--
Daniel Jacobowitz
CodeSourcery, LLC
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/